Configure Creative distribution
https://api.ocamba.com/v2/adex/campaigns/{campaign_id}/distribute
https://api.ocamba.com/v2/adex/campaigns/{campaign_id}/distribute
Configures the distribution for Creatives
Name
Descriptioncampaign_idstringrequired
Unique campaign identifier.Example: campaign_id=1000001
Name
Descriptioncreatives[ creative-distribute ]
Array of creative distribution objects.Creative distribute
Name
Descriptiondistribution_ratenumber (int)
Describes the distribution rate of a creative. Minimum value is 0, maximum value is 100.Example: 33
idstring
Creative id.Example: 1233144
statusstring
Describes the status of a creative. Possible values are active and inactive.Example: active
Possible values: active | inactive
statusnumber (int)
Describes the status of distribution on a campaign, 0 - distribution is off 1 - distribution is on.Example: 1
Possible values: 0 | 1
204 - No Content
tip
1 If you don't know the campaign id, list the campaigns to find it.
2 If you don't know the creative id, list the creative to find it.
note
1 All creative ids must belong to the same campaign.
2 Sum of distribution rates across all active creatives on a campaign must be 100.