Community Discussion
Duplicating campaigns with whitelists
When duplicating campaigns with whitelists via the API, will the whitelist always be duplicated with the campaign, or would setting certain values in the duplicate_settings exclude the whitelist from duplication?
Posted by Melina Yeh 7 months ago
"duplicate_settings" parameter not working in "Duplicate a Campaign" API
In replication settings the parameter duplicate_settings.include_blocked_publishers is not working.
I duplicated a campaign using the duplicate_settings parameter and set include_blocked_publishers as False. The created campaign still has blocked publishers from the original campaign. On another campaign the parameter worked as expected
Are there any conditions/factors that affect this parameter ?
Please let me know if you need any more information
Posted by Shubham A over 1 year ago
Unable to turn off publishers on whitelist campaigns VIA api
Hi, I make the following call:
curl --location --request PATCH 'https://backstage.taboola.com/backstage/api/1.0/{account_id}/campaigns/{campaign_id}/' \
--header 'Authorization: Bearer {token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"patch_operation": "REMOVE",
"publisher_targeting": {
"publishers": [
"ndtv-newsapp-ios"
]
}
}'
I get the following response:
{"http_status":400,"message":"publisher ndtv-newsapp-ios not exists in campaign targeting","offending_field":"publisher_targeting.publishers","message_code":"api.action.bad_request.publisher_targeting.publishers"}
is there a way to activate and deactivate publishers that are part of a whitelist campaign via the API?
thanks
Posted by aaron about 2 years ago