Ads API •References / Ad Sets / Create Ad Set
Create Ad Set
Creates a new ad set.
Request
- ad_account_idstring [uuid]Required
- campaign_idstring [uuid]Required
- budget_micro_amountinteger [int64]Required
Total budget for the ad set multiplied by x10 to the 6th power.
Example:5000000
- end_datestring [date-time]Required
Date the ad set will end on. Time should be in ISO 8601 format using Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ
Example:"2022-12-06T14:00:00Z"
- namestringRequired
Name given to identify the ad set.
Example:"New ad set"
- start_datestring [date-time]Required
Date the ad set will start on. Time should be in ISO 8601 format using Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ
Example:"2022-11-06T14:00:00Z"
- Required
- maxintegerRequiredRange:
13
-65
Example:65
- minintegerRequiredRange:
13
-65
Example:13
- artist_idsarray of strings
- city_idsarray of integers
- country_codesarray of stringsExample:
"US"
- dma_idsarray of integers
- gender_namesarray of GenderAllowed values:
"MALE"
,"FEMALE"
,"NON_BINARY"
Example:"MALE"
- genre_idsarray of strings
- platform_namesarray of PlatformAllowed values:
"IOS"
,"DESKTOP"
,"ANDROID"
,"OTHER"
Example:"IOS"
- playlist_idsarray of strings
- region_idsarray of integers
- custom_audience_idsarray of strings
- slot_typestring [slot-type]RequiredAllowed values:
"AUDIO"
,"VIDEO"
Example:"AUDIO"
- ad_idsarray of strings
The Unique ID returned back when a new ad is created.
Can utilise the 3 parameters to set a Frequency cap by Day, Week and Month.
- namestringRequired
- artist_promotion_goalstring [artist-promotion-goal]RequiredAllowed values:
"ARTIST_BOOST"
,"ARTIST_CONTENT"
Example:"ARTIST_BOOST"
- artist_promotion_target_typestring [artist-promotion-target-type]RequiredAllowed values:
"ARTIST"
Example:"ARTIST"
- target_idstringRequired
- bid_optimization_goalstring [bid-optimization-goal]RequiredAllowed values:
"UNSET"
,"EVEN_IMPRESSION_DELIVERY"
,"REACH"
,"AD_COMPLETES"
Example:"AD_COMPLETES"
- bid_strategystring [bid-strategy]RequiredAllowed values:
"UNSET"
,"MAX_BID"
Example:"MAX_BID"
- bid_micro_amountinteger [int64]RequiredExample:
12000000
Response
- ad_set_idstring [uuid]
Response sample
{ "ad_set_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"}