Hi, The API does not have specific clone functionality. However, you could approximate this functionality by issuing a CampaignService.get <https://developers.google.com/adwords/api/docs/reference/v201409/CampaignService#get> with all relevant fields in the *Selector*, changing the name of the returned object, and then passing it back into a CampaignService.mutate <https://developers.google.com/adwords/api/docs/reference/v201409/CampaignService#mutate> call with *operator = ADD*. This would only make a "shallow" copy of the campaign, however. You would have to repeat this process using other services if you also wanted to clone objects related to the template campaign, such as ad groups or negative keyword criteria.
Cheers, Josh, AdWords API Team On Tuesday, November 4, 2014 12:37:53 PM UTC-5, Berry wrote: > > (BTW: this functionallity exists in the UI as "copy-paste") > > > On Monday, November 3, 2014 7:18:46 PM UTC+2, Berry wrote: >> >> Is there a way to duplicate / clone a whole campaign via API? >> >> I'd like to create certain campaigns manually, and then clone each >> campaign without the need to update the creation code every time the >> "template" campaign changes. >> >> is that possible? and how? >> >> >> thank you. >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/cb1c31bc-9e89-4da7-b968-2a87e9847b4a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
