i have code for AdExtension  as follows

http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201008/AddCampaignAdExtension.java

when i try to run the API.
 am getting the following error.

this is the response i got

<?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/
v200909"><requestId>b1c5159ddfa68cb42327f53e254ee193</
requestId><operations>1</operations><responseTime>145</
responseTime><units>1</units></ResponseHeader></
soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
faultcode><faultstring>[RequiredError.REQUIRED @
operations[0].operand.adExtension.address, RequiredError.REQUIRED @
operations[0].operand.adExtension.geoPoint]</
faultstring><detail><ApiExceptionFault xmlns="https://
adwords.google.com/api/adwords/cm/
v200909"><message>[RequiredError.REQUIRED @
operations[0].operand.adExtension.address, RequiredError.REQUIRED @
operations[0].operand.adExtension.geoPoint]</
message><ApplicationException.Type>ApiException</
ApplicationException.Type><errors xsi:type="RequiredError"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance"><fieldPath>operations[0].operand.adExtension.address</
fieldPath><trigger/><ApiError.Type>RequiredError</
ApiError.Type><reason>REQUIRED</reason></errors><errors
xsi:type="RequiredError" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance"><fieldPath>operations[0].operand.adExtension.geoPoint</
fieldPath><trigger/><ApiError.Type>RequiredError</
ApiError.Type><reason>REQUIRED</reason></errors></ApiExceptionFault></
detail></soap:Fault></soap:Body></soap:Envelope>

it was working fine but all of a sudden it giving the error.

It seem the request msg is missing the geolocation address as seen
here,


<?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
soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/
adwords/cm/v200909"><ns1:applicationToken>##################</
ns1:applicationToken><ns1:authToken xmlns:ns1="https://
adwords.google.com/api/adwords/cm/v200909">******</
ns1:authToken><ns1:clientCustomerId>'#######</
ns1:clientCustomerId><ns1:developerToken>####################</
ns1:developerToken><ns1:userAgent>AdWords API Java Client Library -
v7.1.0 - Eniro PHP Library for AdWords</
ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly></
ns1:RequestHeader></soapenv:Header><soapenv:Body><mutate
xmlns="https://adwords.google.com/api/adwords/cm/
v200909"><operations><operator>ADD</
operator><operand><campaignId>61846019</campaignId><adExtension
xsi:type="ns2:LocationExtension" xmlns:ns2="https://adwords.google.com/
api/adwords/cm/v200909"><companyName>ABC company</
companyName><phoneNumber>08-6232432</
phoneNumber><source>ADWORDS_FRONTEND</source></adExtension></operand></
operations></mutate></soapenv:Body></soapenv:Envelope>

i have the same code. which is having all the locationsExtensions as
shown in the code. i dont know y its not showing in request

can some one know whats going on.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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