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?
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.
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!