promotions
Create promotions
Create multiple new promotions.
post/ad_accounts/{ad_account_id}/promotions
Path parameters
ad_account_idstring required
Unique identifier of an ad account.
Request body
Example request
[
{
"promotion_type": "VARIABLE",
"template_values": [
{
"amount": 100,
"custom_text": "My promotion",
"percent": 10
}
]
}
]Response
The request has succeeded.
Example response
{
"promotions": [
{
"data": {
"promotion_type": "VARIABLE",
"status": "ACTIVE",
"template_values": [
{
"amount": 100,
"custom_text": "My promotion",
"percent": 10
}
]
},
"exception": {
"code": 2,
"message": "Advertiser not found."
}
}
]
}