Community Discussion
"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 4 months 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 12 months ago