Ads API •References / Campaigns / Get Campaigns by Ad Account
Get Campaigns by Ad Account
Returns a list of campaigns for a specific ad account.
Request
- ad_account_idstring [uuid]Required
- idsstring [uuid]
- advertiser_idsstring [uuid]
- statusesarray of Campaign Status
List of campaign status types to filter by
Allowed values:"ACTIVE"
,"PAUSED"
,"ARCHIVED"
Example:statuses=ACTIVE
- namestring
- sort_fieldstring
- sort_directionstring
- page_sizeinteger
- offsetinteger
- fieldsstring
Response
- advertiser_idstring [uuid]
The unique ID returned when a new advertiser is created.
- created_onstring [date-time]
Date the advertiser was created Time is in ISO-8601 format.
- ad_set_idsarray of strings
IDs associated with the ad set.
- idstring [uuid]
ID associated with the campaign that will contain one to many ad sets within it.
- namestring
Name given to identify your campaign.
- statusstring [campaign-status]Allowed values:
"UNSET"
,"ACTIVE"
,"PAUSED"
,"ARCHIVED"
,"UNRECOGNIZED"
Example:"ACTIVE"
- versioninteger [int64]
When a campaign is created or updated, it is assigned a new version.
Response sample
{ "campaigns": [ { "advertiser_id": "za66a2eb-35cf-46a4-8d2e-0j95dfc133r4", "created_on": "2022-02-07T21:00:00Z", "ad_set_ids": ["4ec2568b-0b72-11e8-a7af-52010a800891"], "id": "2g5488b7-0a48-4751-b3b8-701df2d8cd91", "name": "Spotify Ads Summer Campaign 2022", "status": "ACTIVE", "version": 1 }, { "advertiser_id": "za66a2eb-35cf-46a4-8d2e-0j95dfc133r4", "created_on": "2022-02-07T21:00:00Z", "ad_set_ids": ["4ec2568b-0b72-11e8-a7af-52010a800891"], "id": "2g5488b7-0a48-4751-b3b8-701df2d8cd91", "name": "Spotify Ads Summer Campaign 2022", "status": "ACTIVE", "version": 1 } ]}