Get Keyword Dictionary From Google Ads Client Account
gads_get_keywords(
customer_id = getOption("gads.customer.id"),
fields = c("ad_group_criterion.criterion_id", "ad_group_criterion.keyword.text",
"ad_group_criterion.keyword.match_type", "ad_group_criterion.status",
"ad_group_criterion.approval_status", "ad_group_criterion.system_serving_status",
"ad_group_criterion.quality_info.quality_score",
"ad_group_criterion.quality_info.creative_quality_score",
"ad_group_criterion.quality_info.post_click_quality_score", "ad_group.id",
"ad_group.name", "ad_group.status", "campaign.id", "campaign.name", "customer.id",
"customer.descriptive_name",
"metrics.average_cpc", "metrics.average_cost",
"metrics.ctr", "metrics.bounce_rate"),
where = NULL,
order_by = NULL,
limit = NULL,
parameters = NULL,
login_customer_id = getOption("gads.login.customer.id"),
include_resource_name = FALSE,
cl = NULL,
verbose = TRUE
)
tibble with Keyword criterions dicrionary
Google Ads client customer id, supports a single account id: "xxx-xxx-xxxx" or a vector of ids from the same Google Ads MCC: c("xxx-xxx-xxxx", "xxx-xxx-xxxx")
character vector, list of report fields, all report has own fields list, for example see field list of keyword report.
Filter, for example you can filter campaigns by status where = "campaign.status = 'ENABLED'"
.
Sorting, character vectors of fields and sorting directions, for example order_by = c("campaign.name DESC", "metrics.clicks")
.
Maximun rows in report
Query parameters, for example parameters = "include_drafts=true"
.
Google Ads manager customer id
Get resource names fields in report
A cluster object created by makeCluster
, or an integer to indicate number of child-processes (integer values are ignored on Windows) for parallel evaluations (see Details on performance).
Console log output