copy a campaign via REST

126 views
Skip to first unread message

Matan Peleg

unread,
May 29, 2022, 2:30:43 AM5/29/22
to Google Ads API and AdWords API Forum
Hi,
Is there a way to copy a campaign via REST? 
The isn't a copy method in the docs, but there is a copy option in the UI.

Google Ads API Forum Advisor

unread,
May 30, 2022, 6:09:07 AM5/30/22
to adwor...@googlegroups.com

Hi Matan,


Thanks for reaching out to the Google Ads API Support team.
 

With regard to your concern, "Is there a way to copy a campaign via REST? " Could you please provide more context or detail to your concern? to further investigate this concern.
 

Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bElpT:ref

Matan Peleg

unread,
May 31, 2022, 5:49:02 AM5/31/22
to Google Ads API and AdWords API Forum
Hi,
Looking for a way to create a new campaign identical to an existing one.

Matan Peleg

unread,
Jun 6, 2022, 9:21:35 AM6/6/22
to Google Ads API and AdWords API Forum
Any word on this?

Google Ads API Forum Advisor

unread,
Jun 6, 2022, 12:39:39 PM6/6/22
to adwor...@googlegroups.com
Hello Matan,

Thank you for raising this concern to the Google Ads API forum team.
To confirm this, if it is possible to get the information report using the Google Ads API, could you please provide a screenshot where we can see this in the Google Ads UI?

Please send the requested details via the Reply privately to the author option. If this option is not available, you may send the details directly to our googleadsapi-support@google.com alias by referring to this thread.

Best Regards,
Google Logo
Jakeia
Google Ads API Team
 

ref:_00D1U1174p._5004Q2bElpT:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
May 2, 2023, 10:55:57 AM5/2/23
to za...@databidmachine.com, adwor...@googlegroups.com

Hi Zayed,

Thank you for providing additional information.

Upon checking, I'm afraid that there's no way to directly copy a campaign as you can see in CampaignService's supported operations. However, you can retrieve the attributes of an existing campaign by querying the campaign resource using GAQL then adding a filter on the campaign.id field. Once you retrieve the relevant attributes of the campaign you would like to copy, you may use it on a create operation to create a similar version of the campaign.

If you encounter any issues, please provide the complete request and response logs with request-id so we can further investigate.

Reference links:
operations - https://developers.google.com/google-ads/api/reference/rpc/v13/CampaignOperation#operation
campaign - https://developers.google.com/google-ads/api/fields/v13/campaign
campaign.id - https://developers.google.com/google-ads/api/fields/v13/campaign#campaign.id
request - https://developers.google.com/google-ads/api/docs/concepts/field-service#request
response - https://developers.google.com/google-ads/api/docs/concepts/field-service#response
request-id - https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id

Regards,

Google Logo Google Ads API Team


ref:_00D1U1174p._5004Q2bElpT:ref
Reply all
Reply to author
Forward
0 new messages