Hi there,

I am new to AdWords, so my apologies if I've missed something obvious.

When using the sample "add_campaign.pl" code (http://code.google.com/p/
google-api-adwords-perl/source/browse/tags/current/examples/v201109/
add_campaign.pl), I get an ADD_OPERATION_NOT_PERMITTED response.

The only difference between Google's sample code and my code is my
client instantiation:

    my $client = Google::Ads::AdWords::Client->new({
        version         => "v201109",
        properties_file => 't/data/sandbox.properties',
    });

The properties file looks like this (obviously without the asterisks):

 
email=****@********.com
    password=********
    userAgent=some_user_agent
    developerToken=****@********.com++EUR
    alternateUrl=https://adwords-sandbox.google.com

This is for a developer account which currently works just fine with
the AdWords v201008 API.

Any help appreciated.

Cheers,
Ovid (full error response below)

Error deserializing message: A fault was returned by the server:
[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]
.
Message was:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
        <ResponseHeader xmlns="https://adwords.google.com/api/adwords/
cm/v201109">
            <requestId>0004b39333f4a0c80a0ca30b00003303</requestId>
            <serviceName>CampaignService</serviceName>
            <methodName>mutate</methodName>
            <operations>1</operations>
            <responseTime>133</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/v201109">
 
<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>
 
<errorString>OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED</
errorString>
                    <ApiError.Type>OperationAccessDenied</
ApiError.Type>
                    <reason>ADD_OPERATION_NOT_PERMITTED</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