Hi Aaron,

The status value for paused in v2009 is "PAUSED":

  
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupService.AdGroup.Status.html

More generally, all enum values in v2009 are composed of all capital
letters.

Best,
- Eric Koleda, AdWords API Team

On Dec 11, 6:05 pm, "[email protected]" <[email protected]> wrote:
> our v13 code isn't working to update AdGroup statuses.  I figure we
> may as well update the code to 200909.  The following code isn't
> working.  any feedback?
>
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
> envelope/"
>   xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";>
>   <SOAP-ENV:Header>
>
>       <authToken>uUmUHbzhXt_C0JARpr-BOA</authToken>
>       <userAgent>OWNER</userAgent>
>       <developerToken>dagKPoCI2lhhoXABaLDjYg</developerToken>
>       <applicationToken>uUmUHbzhXt_C0JARpr-BOA</applicationToken>
>       <clientEmail>[email protected]</clientEmail>
>       <clientCustomerId>164-625-8590</clientCustomerId>
>       <email>[email protected]</email>
>       <password>iboyds1976</password>
>
>   </SOAP-ENV:Header>
>   <SOAP-ENV:Body>
>     <mutate xmlns="https://adwords.google.com/api/adwords/cm/v200906";>
>       <operations>
>         <operator>SET</operator>
>         <operand>
>           <campaignId>14432492</campaignId>
>           <id>1221441242</id>
>           <status>Paused</status>
>         </operand>
>       </operations>
>     </mutate>
>   </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>

--

You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.


Reply via email to