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 when a new ad is created.
Can utilise the 3 parameters to set a Frequency cap by Day, Week and Month.
- namestringRequired
- optimization_goalstring [optimization-goal]RequiredAllowed values:
"ARTIST_BOOST"
Example:"ARTIST_BOOST"
- Required
- optimization_target_typestring [optimization-target-type]RequiredAllowed values:
"ARTIST"
Example:"ARTIST"
- target_idstringRequired
Response
- ad_set_idstring [uuid]
Response sample
{ "ad_set_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"}