In the throes of the V13 > 2009 conversion, am now on the module that
automates ad creation.  Am stumped by the following SOAP request which
always gets an INVALID_AD_TYPE error.  Can you tell me what the
problem is?

When I use SOAPUI to examine the WSDL, the elements for
description1,description2 and headline don't appear under the ad
element, but when I look at the code in the per-call migration guide
it looks like they should appear under the <ad> element.  Did I read
that wrong?

thanks, -reed


<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/
v200909">
<soapenv:Header>
<v20:RequestHeader>
<v20:authToken>xxx
</v20:authToken>
<v20:developerToken>xxx
</v20:developerToken>
<v20:userAgent>V2009 Get ad
</v20:userAgent>
</v20:RequestHeader>
</soapenv:Header>
<soapenv:Body>
<v20:mutate>
<v20:operations>
<v20:operator>ADD
</v20:operator>
<v20:operand>
<v20:adGroupId>1245051285
</v20:adGroupId>
<v20:ad v20:type="TextAd">
<v20:url>http://www.36bits.com
</v20:url>
<v20:displayUrl>www.36bits.com
</v20:displayUrl>
<v20:description1>2009 API Test
</v20:description1>
<v20:description2>This is the new format
</v20:description2>
<v20:headline>Testing 2009 API
</v20:headline>
</v20:ad>
<v20:status>PAUSED
</v20:status>
</v20:operand>
</v20:operations>
</v20:mutate>
</soapenv:Body>
</soapenv:Envelope>

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to