List ad groups
GET {{baseUrl}}/ad_accounts/:ad_account_id/ad_groups?campaign_ids=2701711&ad_group_ids=2701711&entity_statuses=ACTIVE&entity_statuses=ACTIVE&page_size=25&order=ASCENDING&bookmark=nisi ullamco in magna reprehenderit&translate_interests_to_names=false
List ad groups based on provided campaign IDs or ad group IDs.(campaignids or adgroupids).
Note:
Provide only campaignid or adgroupid. Do not provide both.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
campaign_ids | number | List of Campaign Ids to use to filter the results. | |
ad_group_ids | number | List of Ad group Ids to use to filter the results. | |
entity_statuses | string | Entity status | |
entity_statuses | string | Entity status | |
page_size | number | Maximum number of items to include in a single page of the response. See documentation on <a href='/docs/api/v5/#tag/Pagination'>Pagination</a> for more information. | |
order | string | 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. | |||
bookmark | string | Cursor used to fetch the next page of items | |
translate_interests_to_names | boolean | Return interests as text names (if value is true) rather than topic IDs. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"items":[{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ad_account_id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"created_time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"updated_time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"conversion_learning_mode_type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"summary_status":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"feed_profile_id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dca_assets":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ad_account_id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"created_time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"updated_time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"conversion_learning_mode_type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"summary_status":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"feed_profile_id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dca_assets":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"bookmark":"laborum voluptate"}