list_queries: list_queries

Description Usage Arguments Value Examples

View source: R/list_queries.R

Description

Lists links between the specified customer and other Google advertising entities. Reference: <https://developers.google.com/ads-data-hub/reference/rest/v1/customers.analysisQueries/list>

Usage

1
list_queries(customer_id, token)

Arguments

customer_id

ADH Customer ID e.g. customers/123

token

Access token retrived from function google_auth()

Value

A list of analysis queries run on the ADH customer account.

Examples

1
2
3
4
5
6
7
8
## Not run: 
library(adsDataHubR)
token <- google_auth(client_id = client_id, client_secret=client_secret)
total_customers <- get_customers(token)
customer_id <- "customers/123456"
list_queries(customer_id, token)

## End(Not run)

adsDataHubR documentation built on Feb. 8, 2021, 5:07 p.m.