You example helped! I was finally able to use the following request to create a text ad
<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 xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201605" soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0"> <ns1:clientCustomerId>[redacted]</ns1:clientCustomerId> <ns1:developerToken>[redacted]</ns1:developerToken> <ns1:validateOnly>false</ns1:validateOnly> <ns1:partialFailure>false</ns1:partialFailure> </ns1:RequestHeader> </soapenv:Header> <soapenv:Body> <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201605"> <operations> <operator>ADD</operator> <operand> <adGroupId>[redacted]</adGroupId> <ad xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201605" xsi:type="ns2:TextAd"> <ns2:displayUrl>example.com</ns2:displayUrl> <ns2:finalUrls>http://www.example.com</ns2:finalUrls> <ns2:devicePreference>30001</ns2:devicePreference> <ns2:headline>Summer things</ns2:headline> <ns2:description1>Get things for summer</ns2:description1> <ns2:description2>while the prices are low.</ns2:description2> </ad> <status>ENABLED</status> </operand> </operations> </mutate> </soapenv:Body> </soapenv:Envelope> Thank you very much. -Steve On Monday, June 27, 2016 at 5:55:31 PM UTC-4, Shwetha Vastrad (AdWords API Team) wrote: > > Hi, > > The error you are getting could be because of incorrect namespace > specifications. Could you try the request provided below and let me know if > you are able to create TextAds successfully? > > <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 xmlns:ns1=" > https://adwords.google.com/api/adwords/cm/v201605" > soapenv:mustUnderstand="0"> > > <ns1:clientCustomerId>YOUR_CLIENT_CUSTOMER_ID</ns1:clientCustomerId> > <ns1:developerToken>YOUR_DEVELOPER_TOKEN</ns1:developerToken> > <ns1:userAgent>YOUR_USER_AGENT</ns1:userAgent> > <ns1:validateOnly>false</ns1:validateOnly> > <ns1:partialFailure>false</ns1:partialFailure> > </ns1:RequestHeader> > </soapenv:Header> > <soapenv:Body> > <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201605"> > <operations> > <operator>ADD</operator> > <operand> > <adGroupId>AdGroupID</adGroupId> > <ad xmlns:ns2=" > https://adwords.google.com/api/adwords/cm/v201605" xsi:type="ns2:TextAd"> > <ns2:displayUrl>YOUR_DISPLAY_URL</ns2:displayUrl> > <ns2:finalUrls>YOUR_FINAL_URL</ns2:finalUrls> > <ns2:devicePreference>30001</ns2:devicePreference> > <ns2:headline>HEADLINE</ns2:headline> > <ns2:description1>DESCRIPTION1</ns2:description1> > <ns2:description2>DESCRIPTION2</ns2:description2> > </ad> > <status>PAUSED</status> > </operand> > </operations> > </mutate> > </soapenv:Body> > </soapenv:Envelope> > > Regards, > Shwetha, AdWords API Team. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/8c41e984-e440-4687-a6aa-2d791136acdd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
