Hi Ernnie, Thanks for bringing this to our attention. It looks like some of those countries should have been removed from the list, as they aren't able to be targeted in the API or the AdWords web interface. I'll work with the documentation team to correct this problem.
Best, - Eric Koleda, AdWords API Team On Nov 9, 6:45 am, ernnie <[email protected]> wrote: > Hi, > > We encountered targeting errors for some countries which are included > in your countries list. Here's a soap xml request & response regarding > the error. Are we doing anything wrong? > > [Nov 05 2010 11:02:59.000000 - INFO] POST /api/adwords/cm/v201008/ > CampaignTargetService HTTP/1.1 > > Host: adwords.google.com > > Connection: Keep-Alive > > User-Agent: PHP-SOAP/5.2.11, gzip > > Accept-Encoding: gzip, deflate > > Content-Encoding: gzip > > Content-Type: text/xml; charset=utf-8 > > SOAPAction: "" > > Content-Length: 892 > > <?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/cm/ > v201008" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <SOAP-ENV:Header> > <ns1:RequestHeader xsi:type="ns1:RequestHeader"> > <ns1:authToken>****</ns1:authToken> > <ns1:developerToken>****</ns1:developerToken> > <ns1:userAgent>AwApi-PHP-2.3.0-Katana Agent</ns1:userAgent> > </ns1:RequestHeader> > </SOAP-ENV:Header> > <SOAP-ENV:Body> > <ns1:mutate> > <ns1:operations> > <ns1:operator>SET</ns1:operator> > <ns1:operand xmlns:ns1="https://adwords.google.com/api/adwords/ > cm/v201008" xsi:type="ns1:LanguageTargetList"> > <ns1:campaignId>32007005</ns1:campaignId> > <ns1:targets> > <ns1:languageCode>en</ns1:languageCode> > </ns1:targets> > </ns1:operand> > </ns1:operations> > <ns1:operations> > <ns1:operator>SET</ns1:operator> > <ns1:operand xmlns:ns1="https://adwords.google.com/api/adwords/ > cm/v201008" xsi:type="ns1:GeoTargetList"> > <ns1:campaignId>32007005</ns1:campaignId> > <ns1:targets xmlns:ns1="https://adwords.google.com/api/ > adwords/cm/v201008" xsi:type="ns1:CountryTarget"> > <ns1:countryCode>CU</ns1:countryCode> > </ns1:targets> > <ns1:targets xmlns:ns1="https://adwords.google.com/api/ > adwords/cm/v201008" xsi:type="ns1:CountryTarget"> > <ns1:countryCode>FX</ns1:countryCode> > </ns1:targets> > <ns1:targets xmlns:ns1="https://adwords.google.com/api/ > adwords/cm/v201008" xsi:type="ns1:CountryTarget"> > <ns1:countryCode>IR</ns1:countryCode> > </ns1:targets> > <ns1:targets xmlns:ns1="https://adwords.google.com/api/ > adwords/cm/v201008" xsi:type="ns1:CountryTarget"> > <ns1:countryCode>KP</ns1:countryCode> > </ns1:targets> > <ns1:targets xmlns:ns1="https://adwords.google.com/api/ > adwords/cm/v201008" xsi:type="ns1:CountryTarget"> > <ns1:countryCode>MM</ns1:countryCode> > </ns1:targets> > <ns1:targets xmlns:ns1="https://adwords.google.com/api/ > adwords/cm/v201008" xsi:type="ns1:CountryTarget"> > <ns1:countryCode>SD</ns1:countryCode> > </ns1:targets> > <ns1:targets xmlns:ns1="https://adwords.google.com/api/ > adwords/cm/v201008" xsi:type="ns1:CountryTarget"> > <ns1:countryCode>SY</ns1:countryCode> > </ns1:targets> > </ns1:operand> > </ns1:operations> > <ns1:operations> > <ns1:operator>SET</ns1:operator> > <ns1:operand xmlns:ns1="https://adwords.google.com/api/adwords/ > cm/v201008" xsi:type="ns1:NetworkTargetList"> > <ns1:campaignId>32007005</ns1:campaignId> > <ns1:targets> > <ns1:networkCoverageType>CONTENT_NETWORK</ > ns1:networkCoverageType> > </ns1:targets> > <ns1:targets> > <ns1:networkCoverageType>CONTENT_CONTEXTUAL</ > ns1:networkCoverageType> > </ns1:targets> > </ns1:operand> > </ns1:operations> > <ns1:operations> > <ns1:operator>SET</ns1:operator> > <ns1:operand xmlns:ns1="https://adwords.google.com/api/adwords/ > cm/v201008" xsi:type="ns1:AdScheduleTargetList"> > <ns1:campaignId>32007005</ns1:campaignId> > <ns1:targets> > <ns1:dayOfWeek>MONDAY</ns1:dayOfWeek> > <ns1:startHour>0</ns1:startHour> > <ns1:startMinute>ZERO</ns1:startMinute> > <ns1:endHour>24</ns1:endHour> > <ns1:endMinute>ZERO</ns1:endMinute> > <ns1:bidMultiplier>1</ns1:bidMultiplier> > </ns1:targets> > <ns1:targets> > <ns1:dayOfWeek>TUESDAY</ns1:dayOfWeek> > <ns1:startHour>0</ns1:startHour> > <ns1:startMinute>ZERO</ns1:startMinute> > <ns1:endHour>24</ns1:endHour> > <ns1:endMinute>ZERO</ns1:endMinute> > <ns1:bidMultiplier>1</ns1:bidMultiplier> > </ns1:targets> > <ns1:targets> > <ns1:dayOfWeek>WEDNESDAY</ns1:dayOfWeek> > <ns1:startHour>0</ns1:startHour> > <ns1:startMinute>ZERO</ns1:startMinute> > <ns1:endHour>24</ns1:endHour> > <ns1:endMinute>ZERO</ns1:endMinute> > <ns1:bidMultiplier>1</ns1:bidMultiplier> > </ns1:targets> > <ns1:targets> > <ns1:dayOfWeek>THURSDAY</ns1:dayOfWeek> > <ns1:startHour>0</ns1:startHour> > <ns1:startMinute>ZERO</ns1:startMinute> > <ns1:endHour>24</ns1:endHour> > <ns1:endMinute>ZERO</ns1:endMinute> > <ns1:bidMultiplier>1</ns1:bidMultiplier> > </ns1:targets> > <ns1:targets> > <ns1:dayOfWeek>FRIDAY</ns1:dayOfWeek> > <ns1:startHour>0</ns1:startHour> > <ns1:startMinute>ZERO</ns1:startMinute> > <ns1:endHour>24</ns1:endHour> > <ns1:endMinute>ZERO</ns1:endMinute> > <ns1:bidMultiplier>1</ns1:bidMultiplier> > </ns1:targets> > <ns1:targets> > <ns1:dayOfWeek>SATURDAY</ns1:dayOfWeek> > <ns1:startHour>0</ns1:startHour> > <ns1:startMinute>ZERO</ns1:startMinute> > <ns1:endHour>24</ns1:endHour> > <ns1:endMinute>ZERO</ns1:endMinute> > <ns1:bidMultiplier>1</ns1:bidMultiplier> > </ns1:targets> > <ns1:targets> > <ns1:dayOfWeek>SUNDAY</ns1:dayOfWeek> > <ns1:startHour>0</ns1:startHour> > <ns1:startMinute>ZERO</ns1:startMinute> > <ns1:endHour>24</ns1:endHour> > <ns1:endMinute>ZERO</ns1:endMinute> > <ns1:bidMultiplier>1</ns1:bidMultiplier> > </ns1:targets> > </ns1:operand> > </ns1:operations> > </ns1:mutate> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > HTTP/1.1 500 Internal Server Error > > Content-Type: text/xml; charset=UTF-8 > > Content-Encoding: gzip > > Transfer-Encoding: chunked > > Date: Fri, 05 Nov 2010 02:55:50 GMT > > Expires: Fri, 05 Nov 2010 02:55:50 GMT > > Cache-Control: private, max-age=0 > > X-Content-Type-Options: nosniff > > X-Frame-Options: SAMEORIGIN > > X-XSS-Protection: 1; mode=block > > Server: GSE > > <?xml version="1.0"?> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Header> > <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/ > v201008"> > <requestId>9ca418bb04fb1d8dd880476b5baae9de</requestId> > <operations>1</operations> > <responseTime>557</responseTime> > <units>1</units> > </ResponseHeader> > </soap:Header> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>[TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[0], TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[1], TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[2], TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[3], TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[4], TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[5], TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[6]]</faultstring> > <detail> > <ApiExceptionFault xmlns="https://adwords.google.com/api/ > adwords/cm/v201008"> > <message>[TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[0], TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[1], TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[2], TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[3], TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[4], TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[5], TargetError.CANNOT_TARGET_COUNTRY @ > operations[1].operand.targets[6]]</message> > <ApplicationException.Type>ApiException</ > ApplicationException.Type> > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- > instance" xsi:type="TargetError"> > <fieldPath>operations[1].operand.targets[0]</fieldPath> > <trigger/> > <errorString>TargetError.CANNOT_TARGET_COUNTRY</ > errorString> > <ApiError.Type>TargetError</ApiError.Type> > <reason>CANNOT_TARGET_COUNTRY</reason> > </errors> > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- > instance" xsi:type="TargetError"> > <fieldPath>operations[1].operand.targets[1]</fieldPath> > <trigger/> > <errorString>TargetError.CANNOT_TARGET_COUNTRY</ > errorString> > <ApiError.Type>TargetError</ApiError.Type> > <reason>CANNOT_TARGET_COUNTRY</reason> > </errors> > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- > instance" xsi:type="TargetError"> > <fieldPath>operations[1].operand.targets[2]</fieldPath> > <trigger/> > <errorString>TargetError.CANNOT_TARGET_COUNTRY</ > errorString> > <ApiError.Type>TargetError</ApiError.Type> > <reason>CANNOT_TARGET_COUNTRY</reason> > </errors> > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- > instance" xsi:type="TargetError"> > <fieldPath>operations[1].operand.targets[3]</fieldPath> > <trigger/> > <errorString>TargetError.CANNOT_TARGET_COUNTRY</ > errorString> > <ApiError.Type>TargetError</ApiError.Type> > <reason>CANNOT_TARGET_COUNTRY</reason> > </errors> > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- > instance" xsi:type="TargetError"> > <fieldPath>operations[1].operand.targets[4]</fieldPath> > <trigger/> > <errorString>TargetError.CANNOT_TARGET_COUNTRY</ > errorString> > <ApiError.Type>TargetError</ApiError.Type> > <reason>CANNOT_TARGET_COUNTRY</reason> > </errors> > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- > instance" xsi:type="TargetError"> > <fieldPath>operations[1].operand.targets[5]</fieldPath> > <trigger/> > <errorString>TargetError.CANNOT_TARGET_COUNTRY</ > errorString> > <ApiError.Type>TargetError</ApiError.Type> > <reason>CANNOT_TARGET_COUNTRY</reason> > </errors> > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- > instance" xsi:type="TargetError"> > <fieldPath>operations[1].operand.targets[6]</fieldPath> > <trigger/> > <errorString>TargetError.CANNOT_TARGET_COUNTRY</ > errorString> > <ApiError.Type>TargetError</ApiError.Type> > <reason>CANNOT_TARGET_COUNTRY</reason> > </errors> > </ApiExceptionFault> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> > > Thanks, > --Ernnie -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
