Create an ad
Ads
Create an ad
Creates a provider-backed ad. Requests use internal connected accountId plus platform-native adAccountId and require an Idempotency-Key header at runtime.
POST
Create an ad
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required string length:
16Pattern:
^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]{16}$Minimum string length:
1Required string length:
1 - 255Required string length:
1 - 255Required string length:
1 - 255Required string length:
1 - 255Available options:
engagement, traffic, awareness, video_views, lead_generation, lead_conversion, conversions, app_promotion, catalog_sales Available options:
daily, lifetime Minimum string length:
1Required string length:
1 - 400Required string length:
1 - 90Required string length:
1 - 500Required string length:
1 - 255Minimum string length:
1Minimum array length:
1Minimum string length:
1Required string length:
1 - 25Minimum string length:
1Minimum string length:
1Minimum string length:
2Required range:
13 <= x <= 65Required range:
13 <= x <= 65Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Available options:
display, search Minimum string length:
1