Problem solved
On jún. 9, 19:35, tamas <toad...@traffic-builders.com> wrote:
> Hi,
> Plz help, I'm getting the following error:
>
> ...
> <soapenv:Fault>
> <faultcode>soapenv:Server.userException</faultcode>
> <faultstring>One or more input elements failed validation.</
> faultstring>
> <detail>
> <ns1:fault xmlns:ns1="https://adwords.google.com/api/adwords/
> v13">
> <ns1:code>122</ns1:code>
> <ns1:message>One or more input elements failed validation.</
> ns1:message>
> <ns1:errors>
> <ns1:index>0</ns1:index>
> <ns1:field>geoTargeting.countryTargets</ns1:field>
> <ns1:code>26</ns1:code>
> <ns1:isExemptable>false</ns1:isExemptable>
> <ns1:detail>This country code is not valid.</ns1:detail>
> </ns1:errors>
> </ns1:fault>
> </detail>
> </soapenv:Fault>
> ...
>
> The SOAP message I send is:
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/v13"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-
> ENV:Header><ns1:useragent>...</ns1:useragent><ns1:password>...</
> ns1:password><ns1:email>...</ns1:email><ns1:clientCustomerId>...</
> ns1:clientCustomerId><ns1:developerToken>...</
> ns1:developerToken><ns1:applicationToken>...</ns1:applicationToken></
> SOAP-ENV:Header><SOAP-
> ENV:Body><ns1:addCampaignList><ns1:campaigns><ns1:budgetAmount>25000000</
> ns1:budgetAmount><ns1:budgetOptimizerSettings
> xsi:nil="true"/><ns1:budgetPeriod>Daily</
>
> ns1:budgetPeriod><ns1:contentTargeting>AllPlacements</
> ns1:contentTargeting><!-- ns1:conversionOptimizerSettings/ --><ns1:endDay
> xsi:nil="true"/><ns1:geoTargeting><ns1:cityTargets/
> ><ns1:countryTargets><ns1:countries>NL</
>
> ns1:countries><ns1:excludedCountries/></
> ns1:countryTargets><ns1:metroTargets/><ns1:proximityTargets/><ns1:regionTargets/><ns1:targetAll>false</ns1:targetAll></
>
> ns1:geoTargeting><ns1:id>0</
> ns1:id><ns1:languageTargeting><ns1:languages>nl</ns1:languages></
> ns1:languageTargeting><ns1:name>#40 - Toading Spanje</
> ns1:name><ns1:networkTargeting xsi:nil="true"/><ns1:schedule
> xsi:nil="true"/><ns1:startDay xsi:nil="true"/><ns1:status>Paused</
> ns1:status></ns1:campaigns></ns1:addCampaignList></SOAP-ENV:Body></
> SOAP-ENV:Envelope>
>
> I think coutnrycode 'NL' should be valid.
> Thx,
> Tamás
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---