Ads API •References / Campaigns / Get Campaign
Get Campaign
Returns data for a specific campaign.
Request
- ad_account_idstring [uuid]Required
- campaign_idstring [uuid]Required
- 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
{ "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}