How to update existing keyword text using adwords php client library

333 views
Skip to first unread message

brst...@gmail.com

unread,
Mar 11, 2014, 1:53:00 AM3/11/14
to adwor...@googlegroups.com
hello,
i have stuck in a new problem : How to update existing keywords text ? I have the creation Id and i am using the service AdGroupCriterionService.mutate but still not able to figure out how can i change the text of the existing keywords. looking forward for you help!
Thanks!

Josh Radcliff (AdWords API Team)

unread,
Mar 11, 2014, 12:21:23 PM3/11/14
to adwor...@googlegroups.com
Hi,

As in the AdWords user interface, a Keyword object's text is immutable once it is created.  To modify the text you will need to remove the existing Keyword and then add a new Keyword with the new text. The following PHP examples illustrate how to do this:
Josh, AdWords API Team

Mohsin Khan

unread,
Feb 25, 2020, 5:27:29 AM2/25/20
to AdWords API and Google Ads API Forum
@Josh Radcliff
is this still not possible to update text of the existing keyword? because now on the Interface in Google Adword Dashboard I can edit that.
but i am unable to update it. because this post is very old so maybe now there is some possibility to update keyword text.

Google Ads API Forum Advisor Prod

unread,
Feb 25, 2020, 1:19:17 PM2/25/20
to mohsi...@gosign.de, adwor...@googlegroups.com
Hi Mohsin,

Thank you for reaching out. It is possible to update an existing keyword. You can follow this example (also available in other languages).

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5001UXT9Fw:ref

Rukeith Tseng

unread,
Mar 15, 2020, 10:59:07 PM3/15/20
to AdWords API and Google Ads API Forum
Your example did not match the question. The example cannot update keyword text only for stauts.

Google Ads API Forum Advisor Prod

unread,
Mar 16, 2020, 10:50:50 AM3/16/20
to rukeit...@mile.cloud, adwor...@googlegroups.com
Hello,

I can definitely see your point as UpdateKeyword doesn't mean you can update all the fields related to a keyword. It is more updating keyword metadata. I'll chat with our client library owners about making that more clear in the future. I really appreciate the feedback.

Thanks,
Nadine, Google Ads API Team

 

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