You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hello,
Looking through the example code, I see and example to remove an ad group, however I don't see one that will pause an ad group. How would I go about doing that?
Thanks
sz...@mymail.mines.edu
unread,
Jun 22, 2018, 2:21:59 PM6/22/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Ideally, I am looking to pause an ad group when it breaks a certain cost threshold. Any help would be appreciated.
Thanks,
Sean
Milind Sankeshware (AdWords API Team)
unread,
Jun 22, 2018, 5:06:25 PM6/22/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hi Sean,
You can use AdGroupService.mutate() service to pause the AdGroup. Please refer sample Java code here. Samples in other languages can be found here. Let me know if you have any further questions.
Thanks, Milind, AdWords API Team.
sz...@mymail.mines.edu
unread,
Jun 26, 2018, 12:57:33 PM6/26/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Thank you! How would I go about using this in conjugate with a threshold? Would I be able to use a selector/predicate pairing?
Milind Sankeshware (AdWords API Team)
unread,
Jun 26, 2018, 5:13:20 PM6/26/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hi,
You will be able to get the status of the AdGroup using theAdGroup Performance Report.which aggregates stats at AdGroup level. You will then be able to use the AdGroupId and status from the report to update the status of the AdGroup using theAdGroupService.mutate()operation when it exceeds the limit. For this specific use case, you could also consider usingAdWords scripts where you will be able to schedule a script. You can set the frequency to run the script as per your requirement. Let me know if you have any further questions.