You do not have permission to delete messages in this group
Copy link
Report message
Sign in to 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,
If I have a list of adgroups in an array, or at least their ID or something similar, can I pause them without having to use a selector? Essentially I am filtering the adgroups to see which need to be paused using my own algorithm, as the predicates are not specific enough. Thus I put all the ads i want to pause into an array. How would I got about pausing these?
Thanks,
Sean
Luis Xander Talag (AdWords API Team)
unread,
Jul 11, 2018, 12:23:16 AM7/11/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
Sign in to 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 don't need a selector if your goal is just to pause the ad group. All you need to do is to create a loop for your array and set directly each ad group id and ad group status to PAUSE. You may refer to below code snippet for simple SET operation of the ad group.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to 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
Awesome, Thank you! Not sure how to use the operand to set the id, as I've never had to do that before. If you could give me some pesudocode or php code to show me how to do that, that would be great!
Luis Xander Talag (AdWords API Team)
unread,
Jul 11, 2018, 11:46:21 PM7/11/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
Sign in to 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 may refer to this sample code in PHP on how to set the ad group id to your operand.