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/77c56c06-3db2-4cb7-9009-43418da18705%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to