How to Update Status of Keyword

42 views
Skip to first unread message

Binu Mathew

unread,
Oct 29, 2023, 5:24:42 AM10/29/23
to Google Ads API and AdWords API Forum
Hello 

How can we Pause / enable / remove keyword any code sample with PHP? Its is required in RMF, 

Google Ads API Forum Advisor

unread,
Oct 30, 2023, 3:27:33 AM10/30/23
to binumat...@gmail.com, adwor...@googlegroups.com
Hi,

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

After reviewing your query, I understand that you are looking for sample code in PHP to pause, enable and remove keywords. I would suggest you refer to the document Required Minimum Functionality to get more information. Also, kindly refer to the document KeywordPlanAdGroupOperation to perform create, update and remove on a Keyword Plan ad group.

I hope this helps. Kindly get back to us if you have any further queries.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02q90PS:ref"

Thanks,
 
Google Logo Google Ads API Team


Binu Mathew

unread,
Oct 30, 2023, 4:59:39 AM10/30/23
to Google Ads API and AdWords API Forum
Hi

Thanks for your reply, but the problem is its not an Keyword Plan right? its a keyword in the adgroup. for as per the RMF we need to have
Pause / enable / remove keyword using 
ad_group_criterion.status which is a required field (M.140) I dont think KeywordPlanAdGroupOperation work there as its about planing keyword for a AdGroup

but what i need as per RMF is to Pause/Enable/Remove already added Keyword in a AdGroup. Which is much different


Google Ads API Forum Advisor

unread,
Oct 31, 2023, 3:27:46 AM10/31/23
to binumat...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for getting back to us. 

By reviewing your concern, I understand that you are looking for guidance on how to modify keywords within an AdGroup. I recommend referring to the "AdGroupCriterionStatus" documentation for further details. Additionally, you can find information in the "AdGroupCriterionOperation" guide where you can update the specific keyword by using the resource name.

Kindly get back to us if you have any further questions related to the Google Ads API.
Reply all
Reply to author
Forward
0 new messages