Thanks, now I'm able to update the language, first I remove the previous 
language and after I add a new one, ir order to update the location or the 
platform, do I need to do the same ?, first delete the previous location 
and after add the new one ? 
and the same for platform ? 
thanks.

El martes, 15 de septiembre de 2015, 9:34:38 (UTC-5), Anthony Madrigal 
escribió:
>
> Hi Jonathan, 
>
> To add a language to your campaign, your SOAP XML request should look like:
>
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>     <soapenv:Header>
>         <ns1:RequestHeader xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201506"; 
> soapenv:mustUnderstand="0">
>             <ns1:clientCustomerId>XXXXXXXXX</ns1:clientCustomerId>
>             <ns1:developerToken>XXXXXXXX</ns1:developerToken>
>             <ns1:userAgent>XXXXXX (AwApi-Java, AdWords-Axis/2.2.0, 
> Common-Java/2.2.0, Axis/1.4, Java/1.7.0-google-v6, maven)</ns1:userAgent>
>             <ns1:validateOnly>false</ns1:validateOnly>
>             <ns1:partialFailure>false</ns1:partialFailure>
>         </ns1:RequestHeader>
>     </soapenv:Header>
>     <soapenv:Body>
>         <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201506";>
>             <operations>
>                 <operator>ADD</operator>
>                 <operand>
>                     <campaignId>XXXXXXXXXX</campaignId>
>                     <criterion xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201506"; 
> xsi:type="ns2:Language">
>                         <ns2:id>1019</ns2:id>
>                     </criterion>
>                 </operand>
>             </operations>
>         </mutate>
>     </soapenv:Body>
> </soapenv:Envelope>
>
> If your request was successful, you should get SOAP response similar to 
> this:
>
> <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="
> http://schemas.xmlsoap.org/soap/envelope/";>
>     <soap:Header>
>         <ResponseHeader xmlns="
> https://adwords.google.com/api/adwords/cm/v201506";>
>             <requestId>XXXXXXXXXXXXX</requestId>
>             <serviceName>CampaignCriterionService</serviceName>
>             <methodName>mutate</methodName>
>             <operations>1</operations>
>             <responseTime>130</responseTime>
>         </ResponseHeader>
>     </soap:Header>
>     <soap:Body>
>         <mutateResponse xmlns="
> https://adwords.google.com/api/adwords/cm/v201506";>
>             <rval>
>                 
> <ListReturnValue.Type>CampaignCriterionReturnValue</ListReturnValue.Type>
>                 <value>
>                     <campaignId>XXXXXXX</campaignId>
>                     <isNegative>false</isNegative>
>                     <criterion xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="Language">
>                         <id>1019</id>
>                         <type>LANGUAGE</type>
>                         <Criterion.Type>Language</Criterion.Type>
>                         <code>ar</code>
>                         <name>Arabic</name>
>                     </criterion>
>                     
> <CampaignCriterion.Type>CampaignCriterion</CampaignCriterion.Type>
>                 </value>
>             </rval>
>         </mutateResponse>
>     </soap:Body>
> </soap:Envelope>
>
> Regards,
> Anthony
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d87a19a3-90e8-4364-8251-88a759369654%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to