Pausing an Adgroup using just the Adgroup ID

7 views
Skip to first unread message

sz...@mymail.mines.edu

unread,
Jul 18, 2018, 1:38:03 PM7/18/18
to AdWords API and Google Ads API Forum
Hello,

I was wondering how I would go about pausing an Adgroup using just the id number, instead of getting the adgroup through a selector. I am using the PHP library.

Thanks,

Sean

Teja Makani

unread,
Jul 18, 2018, 5:05:52 PM7/18/18
to AdWords API and Google Ads API Forum
Hello Sean,

Yes, you could use only AdGroupID to change the status of your AdGroup without getting the entire AdGroup. You could use the SET operator and status field of AdGroup and then perform mutate operation to the AdGroupService to change the status of an AdGroup. Please let me know if you have any further questions.
 
Regards,
Sai Teja, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages