Hi 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 <[email protected]> wrote: > I can successfully create campaigns in production, when I set the user > credentials (adwords.properties) to 'sandbox': > > useSandbox=true > [email protected] > password=password200 > useragent=agent1 > [email protected]++gbp > [email protected] > > 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 -- 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.
