Get metrics such as clicks, CPM, CPC, CTR, and impressions about your Ad campaigns by date.
The unique view profile ID. For example:
LIST_ACCOUNTS_ANALYTICS_GOOGLE() to find the ID.
Date range, i.e.:
Name or ID of your compaign. For example: "
Range of metrics to retrieve about the campaign. By default, it will return the most common metrics about the ad account. For example: "
ga:adCost,ga:adClicks". For a complete list of possible metrics, see this Google documentation.
One or more dimensions to query. For example:
"ga:browser,ga:city". Supports up to 7 dimensions. See all metrics available in GA's documentation.
One or more metrics and dimensions indicating the sorting order and its direction. For example:
"-ga:country" (descending order).
One or more metrics or dimensions to filter the returned data, followed by the filter expression. For example:
The ID of a built-in or custom Google Analytics segment (e.g.
"gaid::-2") or specifying a segment using
"users::condition::ga:browser==Chrome" to select users who used Chrome browser in at least one of their sessions or
"sessions::condition::ga:browser==Chrome" to select sessions where the Chrome browser was used).