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 
<https://developers.google.com/adwords/api/docs/reference/v201806/AdGroupService.AdGroup#id>
 and 
ad group status 
<https://developers.google.com/adwords/api/docs/reference/v201806/AdGroupService.AdGroup#status>
 to 
PAUSE. You may refer to below code snippet for simple SET operation of the 
ad group.

   <soapenv:Body>
        <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201806";>
            <operations>
                <operator>SET</operator>
                <operand>
                    <id>1234567890</id>
                    <status>PAUSED</status>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>


Thanks and regards,
Luis
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5e703fd0-601b-49c6-b8e0-a61b96efb8f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... szusi
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... szusi
        • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to