i tried it by then i am getting following exception. *Is there something 
which i am missing* ???
*CampaignAdExtensionError.MUST_USE_CONCRETE_ADEXTENSION*
*
*
*Following is the request and response*

Request-----------------------------------------------------

<?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/v201101";>
            <ns1:authToken>
                XXXX
            </ns1:authToken>
            <ns1:clientEmail>XXXX</ns1:clientEmail>
            <ns1:developerToken>XXXX</ns1:developerToken>
            <ns1:userAgent>XXXX</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/v201101";>
            <operations>
                <operator>ADD</operator>
                <operand>
                    <campaignId>250039</campaignId>
                    <adExtension>
                        <id>12643</id>
                    </adExtension>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>


Response-----------------

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
        <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201101";>
            <requestId>XXXXXX</requestId>
            <operations>1</operations>
            <responseTime>84</responseTime>
            <units>1</units>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Server</faultcode>
            
<faultstring>[CampaignAdExtensionError.MUST_USE_CONCRETE_ADEXTENSION @ 
operations[0].operand.adExtension]
            </faultstring>
            <detail>
                <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201101";>
                    
<message>[CampaignAdExtensionError.MUST_USE_CONCRETE_ADEXTENSION @
                        operations[0].operand.adExtension]
                    </message>
                    
<ApplicationException.Type>ApiException</ApplicationException.Type>
                    <errors 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="CampaignAdExtensionError">
                        
<fieldPath>operations[0].operand.adExtension</fieldPath>
                        <trigger></trigger>
                        
<errorString>CampaignAdExtensionError.MUST_USE_CONCRETE_ADEXTENSION</errorString>
                        
<ApiError.Type>CampaignAdExtensionError</ApiError.Type>
                        <reason>MUST_USE_CONCRETE_ADEXTENSION</reason>
                    </errors>
                </ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

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