Hi Emin,
It looks like you're trying to pass the
MoveOperation<https://developers.google.com/adwords/api/docs/reference/v201309/ManagedCustomerService.MoveOperation>to
the
mutate action, however it needs to be used with the
mutateManager<https://developers.google.com/adwords/api/docs/reference/v201309/ManagedCustomerService#mutateManager>action.
This would cause you to get errors about missing fields, as the request is
still attempted by the PHP library, but without the relevant data.
Regards,
- Paul, AdWords API Team.
On Saturday, 26 October 2013 14:39:14 UTC+1, Emin Aydan wrote:
>
> Hi
> I want to move in client other MMC.
> Codes:
>
>
> $managedCustomerService =
> $user->google->GetService('ManagedCustomerService', ADWORDS_VERSION);
>
> $operation = new ManagedCustomerLink();
> $operation->clientCustomerId = 000000;
> $operation->managerCustomerId = 00000;
> // $operation->linkStatus = 'ACTIVE';
> $operation->pendingDescriptiveName = "?";
>
>
> $customer = new MoveOperation();
> $customer->operator = 'SET';
> $customer->oldManagerCustomerId = 000000;
> $customer->operand = $operation;
>
>
>
> $operations = array($customer);
>
> // Make the mutate request.
> $result = $managedCustomerService->mutate($operations);
>
> return :
>
> *Fatal error*: Uncaught SoapFault exception: [soap:Server]
> [ManagedCustomerServiceError.INVALID_DESCRIPTIVE_NAME @
> operations[0].operand.clientName] in
>
> What's problem ? Please help.
>
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.