How I can update campaign data after published campaigns?

58 views
Skip to first unread message

Amol Kawale

unread,
Sep 8, 2022, 7:50:27 AM9/8/22
to Google Ads API and AdWords API Forum
Hello team,

I have checked documentation but didn't find any info to update campaign & ad data for published campaigns. The scenario is like this - The user submitted a campaign but later on his mind changed & he wanted to update particular info from campaigns such as location or budget start end date, etc... 

Please let me know if there is any Google ad API in PHP to update campaign data & responsive search ads & Display ad data using API.

Your help is highly appreciated!!!

Thanks,
Amol

Google Ads API Forum Advisor

unread,
Sep 8, 2022, 11:03:32 AM9/8/22
to adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

With regards to your concern, you can use code example to update campaign. Let me know if you have any questions.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dwiHA:ref

Amol Kawale

unread,
Sep 12, 2022, 5:19:55 AM9/12/22
to Google Ads API and AdWords API Forum
Thank you for your reply. But https://developers.google.com/google-ads/api/docs/samples/update-campaign the documentation mentioned only campaign status to update. 

Suppose I want to change campaign dates or let's say I want to extend the campaign end date then which API can I use to update dates after the campaign is published? 

Also, suppose I want to add another location for the target audience then how to update it?

Please let me know how to update ad data such as headlines, descriptions, images, etc... (Responsive search Ad or Display ad) as well...

Regards,
Amol

Amol Kawale

unread,
Sep 13, 2022, 9:45:18 AM9/13/22
to Google Ads API and AdWords API Forum
Any updates guys pls??

Google Ads API Forum Advisor

unread,
Sep 13, 2022, 11:01:20 AM9/13/22
to adwor...@googlegroups.com
Hi Amol,


Thank you for your reply.

The example that my colleague provided earlier can be used as reference for updating your campaign. You can include additional attributes such as the end date, in your update request should you wish to specify a new date value.

As for this item "Also, suppose I want to add another location for the target audience then how to update it?" could you elaborate? If you are referring to location targeting, you may check out this guide.

Regarding updating your ads in general, you can use the AdService (see example here) to perform your UPDATE mutate operations for ads that are mutable. See also this table for ads that can be mutated.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


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