Hi Aaron,

I am able to pause an ad group with the following request:

  <v20:mutate>
     <v20:operations>
        <v20:operator>SET</v20:operator>
        <v20:operand xmlns="https://adwords.google.com/api/adwords/cm/
v200909">
           <id>XXXXXXXX</id>
           <campaignId>XXXXXXX</campaignId>
           <status>PAUSED</status>
        </v20:operand>
     </v20:operations>
  </v20:mutate>

Do you have the request ID for one of your requests that isn't
working?

Best,
- Eric

On Dec 11, 7:32 pm, "[email protected]" <[email protected]> wrote:
> Thanks Eric.  Just changed it to all caps, ran the call and still
> doesn't update...
>
> On Dec 11, 3:32 pm, AdWords API Advisor <[email protected]>
> wrote:
>
>
>
> > Hi Aaron,
>
> > The status value for paused in v2009 is "PAUSED":
>
> >  http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupServi...
>
> > 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