Up to now I've successfully implemented Campaign and AdGroup services.
AdGroupAd service however doesn't accept my ads. The mutate method
tells that all fields are empty, while they are not.

Here is the XML posted:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v200909" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><SOAP-
ENV:Header>...headers...</SOAP-ENV:Header><SOAP-
ENV:Body><ns1:mutate><ns1:operations><ns1:operator>ADD</
ns1:operator><ns1:operand><ns1:adGroupId>375396524</
ns1:adGroupId><ns1:ad xsi:type="ns1:TextAd"><description1>Test TextAd
Description</description1><description2>Second Line</
description2><url>http://example.com</url><displayUrl>http://
example.com</displayUrl><headline>T1268826548 headline</headline></
ns1:ad></ns1:operand></ns1:operations></ns1:mutate></SOAP-ENV:Body></
SOAP-ENV:Envelope>

Here is the XML reponse:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/"><soap:Header><ResponseHeader xmlns="https://
adwords.google.com/api/adwords/cm/v200909"><requestId>...</
requestId><operations>1</operations><responseTime>165</
responseTime><units>40</units></ResponseHeader></
soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
faultcode><faultstring>[AdError.EMPTY_FIELD @
operations[0].operand.ad.url, AdError.EMPTY_FIELD @
operations[0].operand.ad.displayUrl, AdError.EMPTY_FIELD @
operations[0].operand.ad.headline, AdError.EMPTY_FIELD @
operations[0].operand.ad.description1, AdError.EMPTY_FIELD @
operations[0].operand.ad.description2]</
faultstring><detail><ApiExceptionFault xmlns="https://
adwords.google.com/api/adwords/cm/
v200909"><message>[AdError.EMPTY_FIELD @ operations[0].operand.ad.url,
AdError.EMPTY_FIELD @ operations[0].operand.ad.displayUrl,
AdError.EMPTY_FIELD @ operations[0].operand.ad.headline,
AdError.EMPTY_FIELD @ operations[0].operand.ad.description1,
AdError.EMPTY_FIELD @ operations[0].operand.ad.description2]</
message><ApplicationException.Type>ApiException</
ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance"
xsi:type="AdError"><fieldPath>operations[0].operand.ad.url</
fieldPath><trigger></trigger><ApiError.Type>AdError</
ApiError.Type><reason>EMPTY_FIELD</reason></errors><errors
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="AdError"><fieldPath>operations[0].operand.ad.displayUrl</
fieldPath><trigger></trigger><ApiError.Type>AdError</
ApiError.Type><reason>EMPTY_FIELD</reason></errors><errors
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="AdError"><fieldPath>operations[0].operand.ad.headline</
fieldPath><trigger></trigger><ApiError.Type>AdError</
ApiError.Type><reason>EMPTY_FIELD</reason></errors><errors
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="AdError"><fieldPath>operations[0].operand.ad.description1</
fieldPath><trigger></trigger><ApiError.Type>AdError</
ApiError.Type><reason>EMPTY_FIELD</reason></errors><errors
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="AdError"><fieldPath>operations[0].operand.ad.description2</
fieldPath><trigger></trigger><ApiError.Type>AdError</
ApiError.Type><reason>EMPTY_FIELD</reason></errors></
ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>

What's wrong?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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