List ad groups
List ad groups based on provided campaign IDs or ad group IDs.(campaign_ids or ad_group_ids). Note: Provide only campaign_id or ad_group_id. Do not provide both.
Path parameters
Unique identifier of an ad account.
Query parameters
Cursor used to fetch the next page of items
Maximum number of items to include in a single page. See documentation on Pagination for more information.
The order in which to sort the items returned: "ASCENDING" or "DESCENDING" by ID. Note that higher-value IDs are associated with more-recently added items.
List of Campaign Ids to use to filter the results.
List of Ad group Ids to retrieve keywords from. This feature is currently in BETA and is not available to all users.
Entity status
[ "ACTIVE" ]
Return interests as text names (if value is true) rather than topic IDs.
Response
The request has succeeded.
Example response
{
"items": [
{
"billable_event": "CLICKTHROUGH",
"placement_group": "ALL",
"status": "ACTIVE",
"targeting_spec": {
"SHOPPING_RETARGETING": [
{
"lookback_window": 30,
"exclusion_window": 14,
"tag_types": [
0,
6
]
}
]
},
"tracking_urls": {
"impression": [
"URL1",
"URL2"
],
"click": [
"URL1",
"URL2"
],
"engagement": [
"URL1",
"URL2"
],
"buyable_button": [
"URL1",
"URL2"
],
"audience_verification": [
"URL1",
"URL2"
]
}
}
]
}