List campaigns
GET {{baseUrl}}/ad_accounts/:ad_account_id/campaigns?campaign_ids=2701711&entity_statuses=ACTIVE&entity_statuses=ACTIVE&page_size=25&order=ASCENDING&bookmark=nisi ullamco in magna reprehenderit
Get a list of the campaigns in the specified adaccountid
, filtered by the specified options.
- The token's user_account must either be the Owner of the specified ad account, or have one of the necessary roles granted to them via Business Access: Admin, Analyst, Campaign Manager.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
campaign_ids | number | List of Campaign 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 |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"items":[{"objective_type":{"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"},"is_flexible_daily_budgets":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"is_campaign_budget_optimization":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"objective_type":{"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"},"is_flexible_daily_budgets":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"is_campaign_budget_optimization":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"bookmark":"enim sit incididunt"}