useSandbox=true
email=sm...@jones.com
password=password200
useragent=agent1
developerToken=sm...@jones.com++GBP
clientEmail=client_...@jones.com
I get the following error when I call the createCampaign() method:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @
operations[0]]
faultActor:
faultNode:
faultDetail:
{https://adwords.google.com/api/adwords/cm/v200909}
ApiExceptionFault:<message>
[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]</
message><ApplicationException.Type>ApiException</
ApplicationException.Type><errors xsi:type="OperationAccessDenied"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance"><fieldPath>operations[0]</fieldPath><trigger/
><ApiError.Type>OperationAccessDenied</
ApiError.Type><reason>ADD_OPERATION_NOT_PERMITTED</reason></errors>
Am I missing something in the adwords.properties file?
Rgds
Kevin
Although the SOAP header is called clientEmail, the Java Client
Library expects to read the value from the property "clientId" in
adwords.properties. This property can contain either a client email
or customer id. In your current configuration the clientEmail
property is ignored, and your requests are being executed as the MCC
user.
Best,
- Eric Koleda, AdWords API Team
On Dec 30, 6:23 am, Ambiency <k.hankin...@btinternet.com> wrote:
> I can successfully create campaigns in production, when I set the user
> credentials (adwords.properties) to 'sandbox':
>
> useSandbox=true
> email=sm...@jones.com
> password=password200
> useragent=agent1
> developerToken=sm...@jones.com++GBP
> clientEmail=client_1+sm...@jones.com