Community Discussion
How Can I duplicate campaigns to other countries at different bid?
lets say I have 2 campaigns, camp1 + camp2
i want to duplicate those campaigns and add [UK]
to the camp name so it will be camp1
[UK]
, camp2
[UK]and have them with different bid
how can i duplicate them and have this name change and different country and bid throw API?
its about 700 campaigns
Posted by Nathan over 1 year ago
Duplicate a campaign after 6pm EST fails with "Start Date cannot be set in the past" error
When duplicating a campaign from an account A to account B after 6pm EST fails with "Start Date cannot be set in the past" error. The POST endpoint with JSON body is attached below :
------------------------------------------------------------------
https://backstage.taboola.com/backstage/api/1.0/{account_A}/campaigns/{campaignId}/duplicate?destination_account={account_B}
{'tracking_code': 'parameter=1234', 'branding_text': 'Search', 'spending_limit': 40, 'name': 'this_is_the_campaign_name', 'daily_cap': 20, 'platform_targeting': {'type': 'INCLUDE', 'value': ['DESK']}, 'cpc': 0.5, 'country_targeting': {'type': 'INCLUDE', 'value': ['US']}, 'spending_limit_model': 'MONTHLY', 'marketing_objective': 'DRIVE_WEBSITE_TRAFFIC'}
------------------------------------------------------------------
Any recommendation on how to be able to duplicate without start date error?
Posted by Melody Song over 3 years ago
Duplicate a campaign to a different advertiser_id
This is regarding and endpoint to`DUPLICATE` a campaign - [backstage-api reference](https://developers.taboola.com/backstage-api/reference#duplicate-a-campaign)
POST https://backstage.taboola.com/backstage/api/1.0/{advertiser_id}/campaigns/{campaign_id}/duplicate
The above is the endpoint I'm using to duplicate a campaign, but attempting to duplicate to a different advertiser_id, I receive 400 BAD REQUEST with the following msg:
``{
"http_status": 400,
"message": "Trying to modify a read-only field",
"offending_field": "advertiser_id",
"message_code": "api.action.bad_request.field_read_only.advertiser_id"
}``
Is there a way to duplicate a campaign into a different `advertiser_id` via API? This functionality seems to be available on Taboola dashboard, so any guidance would be appreciated.
Posted by Melody Song about 4 years ago
bid strategy in duplicate
Hey,
I would like to know if there is an option to change the Bid Strategy while you duplicate a campaign?
Posted by Guy Horowitz about 4 years ago
Duplicate campaigns to different advertiser (within the same account)
Hello,
In taboola UI:
When we select "network" in advertiser selection in top right corner and then duplicate campaign (by click the last icon in campaign management) we have option to select advertiser on the next screen (its called provider).
However if we select specific advertiser we can duplicate only to the same advertiser - "provider" selection is grayed out.
We try to use the first behavior via API, duplicate campaign to different advertiser.
This is attempt to duplicate to different advertiser from network level as its done in UI:
https://backstage.taboola.com/backstage/api/1.0/webfoxconetwork/campaigns/5159895/duplicate
RES
{
"http_status": 404,
"message": "Resource not found"
}
This is attempt to duplicate to different advertiser (we not expected this will work as its not working in taboola UI)
https://backstage.taboola.com/backstage/api/1.0/bleacherbreaker-sc/campaigns/5159895/duplicate
BODY:
{
"advertiser_id": "bleacherbreaker-m-sc",
"name": "wuz-d-uk-c-0-p3-200623-bb-tb-0--dev"
}
RES
{
"http_status": 400,
"message": "Trying to modify a read-only field",
"offending_field": "advertiser_id"
}
Without passing "advertiser_id" duplication works fine.
Can we somehow duplicate to different advertiser_id from API as its done from taboola UI?
This can help us to avoid manual operations/error and reduce usage of taboola UI.
Thanks,
Misha
Posted by Misha Makarevsky about 4 years ago
Duplicate a campaign to another advertiser
Hey,
Is there an option to choose a different provider (advertiser) when using a "duplicate campaign API"?
For example, if I have "demo-advertiser" (that contains campaign 123) and "another-advertiser", can I do something like:
curl --request POST \
--url https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/duplicate \
--header 'content-type: application/json' \
--data '{"name":"Copy to another", "advertiser": "another-advertiser"}'
Thanks!
Posted by Sasha over 4 years ago
Duplicate A Campaign
## H3 Looks like something went wrong!
**Our server reports an error occurring while preparing this page. Please try again later once we have solved the problem.**
---
Every time [duplicate API](https://developers.taboola.com/backstage-api/reference#duplicate-a-campaign) is executed, 200 OK status with above error msg is received in HTML. Is this API ready to be used or is the sample call (below) constructed incorrectly?
https://backstage.taboola.com/backstage/api/1.0/`{{account id}}`/campaigns/`{{campaign id}}`/duplicate
with JSON body:
`{"name":"duplicate-or-clone-this-campaign"}`
Posted by Melody Song over 4 years ago