Hello Support,

We are facing an error when we try to add campaigns for an account.
Version:

Request and response is given below:

Request:

<?xml version="1.0" encoding="UTF-8"?>
<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>
                <ns1:RequestHeader xsi:type="ns1:RequestHeader">
                        <ns1:applicationToken>Ignored</ns1:applicationToken>
                        <ns1:authToken>XXX</ns1:authToken>
                        
<ns1:clientCustomerId>669-744-4553</ns1:clientCustomerId>
                        <ns1:developerToken>XXX</ns1:developerToken>
                        <ns1:userAgent>XXX</ns1:userAgent>
                </ns1:RequestHeader>
        </SOAP-ENV:Header>
        <SOAP-ENV:Body>
                <ns1:mutate>
                        <ns1:operations>
                                <ns1:operator>ADD</ns1:operator>
                                <ns1:operand>
                                        <ns1:name>ENS Camp</ns1:name>
                                        <ns1:status>ACTIVE</ns1:status>
                                        <ns1:startDate>20120105</ns1:startDate>
                                        <ns1:endDate>20120205</ns1:endDate>
                                        <ns1:budget>
                                                <ns1:period>DAILY</ns1:period>
                                                <ns1:amount>
                                                        
<ns1:microAmount>260000</ns1:microAmount>
                                                </ns1:amount>
                                                
<ns1:deliveryMethod></ns1:deliveryMethod>
                                        </ns1:budget>
                                        <ns1:biddingStrategy 
xsi:type="ns1:ManualCPC" />
                                </ns1:operand>
                        </ns1:operations>
                </ns1:mutate>
        </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
        <soap:Header>
                <ResponseHeader
                        xmlns="https://adwords.google.com/api/adwords/cm/
v200909"><requestId>0004b5ca3c48f0880a421048000047b7</
requestId><operations>1</operations><responseTime>424</
responseTime><units>1</units></ResponseHeader>
        </soap:Header>
        <soap:Body>
                <soap:Fault>
                        <faultcode>soap:Server</faultcode>
                        
<faultstring>[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED
                        @ operations[0]]</faultstring>
                        <detail><ApiExceptionFault
                                
xmlns="https://adwords.google.com/api/adwords/cm/
v200909"><message>[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED
                        @ 
operations[0]]</message><ApplicationException.Type>ApiException</
ApplicationException.Type><errors
                                
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                                
xsi:type="OperationAccessDenied"><fieldPath>operations[0]</
fieldPath><trigger></trigger><ApiError.Type>OperationAccessDenied</
ApiError.Type><reason>ADD_OPERATION_NOT_PERMITTED</reason></errors></
ApiExceptionFault></detail>
                </soap:Fault>
        </soap:Body>
</soap:Envelope>


We are aware that the common reason for this error is if we try to add
the campaign to an MCC. Keeping that in mind, we have verified the
customer ID for the account and it seems to be valid and in the UI,
this account seems to come under the MCC and there are no issues we
can identify.

Please be aware that Add Campaign is working for other accounts. But
for those accounts, we use ClientEmail and not Client Customer Id.
Attaching a screenshot of the UI showing the account for which we have
the problem "ens-test" and please see that there is no email Id
associated with this account. Can this be a problem?

Thanks for your help. We have spent a long time to debug this with no
joy.

-Nidhin Baby

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