Change status of placement to paused in each adGroup

20 views
Skip to first unread message

Sharmila Timsina

unread,
Apr 30, 2020, 12:00:08 PM4/30/20
to adwor...@googlegroups.com
Hello Team,
I have placements in each adGroup. I want to change the status of some placement to PAUSED . Can you suggest to me how I can achieve this using  google adwords api?




thank you,
Sharmila Sapkota

Google Ads API Forum Advisor Prod

unread,
Apr 30, 2020, 2:53:29 PM4/30/20
to shar...@interactiveoffers.com, adwor...@googlegroups.com

Hi Sharmila,

Thanks for reaching out. With regards to your concern about to Change status of placement to paused in each adgroup via AdWords API, You can use AdGroupCriterionservice  with AdGroupCriterion.criterion field and set the status of userStatus to PAUSED. You can follow the code example here but add biddableAdGroupCriterion.setUserStatus("PAUSED")  and change the keywordID to their placementID.

Let me know if you have any questions.


Thanks,
Nirmita Patel Google Ads Team



ref:_00D1U1174p._5001UaT0Vc:ref

Sharmila Timsina

unread,
May 1, 2020, 4:56:47 AM5/1/20
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Thanks a lot. 
Reply all
Reply to author
Forward
0 new messages