Pause keyword using Ads API Beta w/ Python

38 views
Skip to first unread message

Ky Nguyen

unread,
Apr 14, 2020, 8:51:37 PM4/14/20
to AdWords API and Google Ads API Forum
I'd like to programmatically pause some keywords within an ad group. I was only able to find how to remove a keyword. After looking at the AdGroupCriterionOperation proto file, there does not appear to be a "Pause" field. Is there a different operation type that I should use? 

Thanks,
Ky

Google Ads API Forum Advisor Prod

unread,
Apr 15, 2020, 11:53:02 AM4/15/20
to adwor...@googlegroups.com
Hi Ky,

Thanks for reaching out. With regards to your concern about pausing keywords within the ad group, you can use the AdGroupCriterionService and set the status of the AdGroupCriterion to PAUSED. You can follow the update keywords example here but set the ad_group_criterion.status to PAUSED instead.

Regards,
Mitchell
Google Ads API Team

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