How to make a copy of campaigns/ad groups?

615 views
Skip to first unread message

sa

unread,
Feb 26, 2018, 8:34:42 AM2/26/18
to AdWords API Forum
Hi,

I am currently trying to make a copy of an AdWords campaign through AdWords' API in order to make changes and optimise the original campaign without affecting the original campaign and make performance comparisons. I saw other questions similar this this before but was asked a while ago; I would like to know if the process in duplicating an AdWords Campaign the same? If it is still the same, are there any new documentation that I can use to figure out the full list of objects I need to create a copy of in order to complete the campaign's duplication?

Vincent Racaza (AdWords API Team)

unread,
Feb 26, 2018, 9:48:51 AM2/26/18
to AdWords API Forum
Hi,

The first answer provided by Sreelakshmi in the forum thread you linked is still valid. Since there is still no direct feature that would clone an entity (e.g. campaigns, ad groups, etc.), then you need to follow the steps below (for copying a campaign and its dependencies) :
  • Use CampaignService.get() method to get the specific campaign with fields that you want to copy from.
  • Using the returned object in the first step, make necessary changes like changing the campaign name and then use that object as parameter in CampaignService.mutate().
  • Since the step 2 only creates a new campaign, and not its dependencies like ad groups and criterion, then you need to use the service of each entity (e.g. AdGroupServiceAdGroupCriterionService, etc.) to copy these entities and repeat steps 1 and 2 for each service.
As for your concern if we have a full list of objects/entities that you need to copy from a campaign, we only have a guide for the object hierarchies that you can refer from.

As additional information, you can also check the Campaign Drafts and Experiments guide if you wish to create draft and trial campaigns.

Let me know if you have further clarifications.

Thanks,
Vincent
AdWords API Team
Reply all
Reply to author
Forward
0 new messages