Hi All,
 I have the following problem: I'm trying to add a new campaign with
the following SOAP message:

<?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>Toading PHP Sync processor v1.0 Alpha</
ns1:useragent><ns1:password>toadingsundio</
ns1:password><ns1:email>toad...@traffic-builders.com</
ns1:email><ns1:clientCustomerId>918-983-0529</
ns1:clientCustomerId><ns1:developerToken>BKzbzkc4Y8YPfjfx0ud1Ow </
ns1:developerToken><ns1:applicationToken>FrS0Ze8HaSf_WTqtgLJISg</
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>

But I always get 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>
 ...

Actually I think NL should be a valid country code. Please help me
out.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to