Hi Andy, This error is likely due to trying to add a campaign to an MCC account. Ensure that you specify a clientId in the auth.ini file. More information about how setting the clientEmail header in the sandbox is available here: http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbox.html#requestheaders.
Best, - Eric Koleda, AdWords API Team On Nov 13, 12:24 pm, Andy <andyrussel...@googlemail.com> wrote: > Hi, > I am having troubble with adding campaigns using the v200909 download. > I am running on the sandbox, with all the right details.. > > The "getallcampaigns.php" example, I believe works, as there are no > errors, only "No campaigns found. " which i guess is corrent.. > > However, when i run the addcampaignsexample.php in the examples > folder, i get the following error: > > [faultstring] => [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED > @ operations[0], OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ > operations[1]] > [faultcode] => soap:Server > [detail] => stdClass Object > ( > [ApiExceptionFault] => stdClass Object > ( > [message] => > [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0], > OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[1]] > [ApplicationException.Type] => ApiException > [errors] => Array > ( > [0] => SoapVar Object > ( > [enc_type] => 0 > [enc_value] => > OperationAccessDenied Object > ( > [reason] => > ADD_OPERATION_NOT_PERMITTED > [fieldPath] => operations > [0] > [trigger] => > [ApiErrorType] => > OperationAccessDenied > [_parameterMap:private] => > Array > ( > [ApiError.Type] => > ApiErrorType > ) > > ) > > [enc_stype] => > OperationAccessDenied > [enc_ns] > =>https://adwords.google.com/api/adwords/cm/v200909 > ) > > I cant think or seem to find the solution to this problem, do you have > any ideas?? > > Thanks in advance, > Andy -- 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-...@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=.