Discussion:
Is there an option to Duplicate campaigns using the api
Barak Haviv
2014-10-02 12:51:29 UTC
Permalink
Is there option to duplicate campaigns via the AdWords api.
My colleague that work with AdWords admin panel and use to duplicate
campaigns by using C-c C-v
She said that she has this option also via the AdWords desktop editor.
Is there any way that I can implement this functionality using the api
And that it will also copy all the campaigns settings.

Thanks
Barak
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-***@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+***@googlegroups.com
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 adwords-api+***@googlegroups.com.
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/717d0b56-de76-4103-a49a-110e22663c27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alan Coleman
2014-10-03 10:22:16 UTC
Permalink
Hi Barak,

This is possible.

Read the campaign you want to duplicate:

function GetCampaignsExample() {
// Get the service, which loads the required classes.
$campaignService = $user->GetService('CampaignService', ADWORDS_VERSION);


Then create a new campaign with the same details:

function AddCampaignsExample() {
// Get the BudgetService, which loads the required classes.
$budgetService = $user->GetService('BudgetService', ADWORDS_VERSION);

This will only duplicate your campaign, it wont furnish it with AdGroups
ect. To do that you'll need to repeat the above process in a similar manner
for anything you need.

Can anyone suggest a better method?

Thanks
Post by Barak Haviv
Is there option to duplicate campaigns via the AdWords api.
My colleague that work with AdWords admin panel and use to duplicate
campaigns by using C-c C-v
She said that she has this option also via the AdWords desktop editor.
Is there any way that I can implement this functionality using the api
And that it will also copy all the campaigns settings.
Thanks
Barak
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-***@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+***@googlegroups.com
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 adwords-api+***@googlegroups.com.
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/a961b641-a765-4939-b3c2-90db5f8a7855%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Michael Cloonan (AdWords API Team)
2014-10-03 14:31:48 UTC
Permalink
Hello Barak,

I believe Alan's suggestion is the best. With API access, you can easily
grab a campaign and then create a new one with the same settings, and then
repeat for everything within the campaign that you want to keep. There is
no "automatic" way to do this with a single call.

Regards,
Mike, AdWords API Team
Post by Barak Haviv
Is there option to duplicate campaigns via the AdWords api.
My colleague that work with AdWords admin panel and use to duplicate
campaigns by using C-c C-v
She said that she has this option also via the AdWords desktop editor.
Is there any way that I can implement this functionality using the api
And that it will also copy all the campaigns settings.
Thanks
Barak
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-***@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+***@googlegroups.com
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 adwords-api+***@googlegroups.com.
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/9d8e11f3-b044-4fa5-894c-77002ebbb506%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...