Hello
I' currently working on a project wherein we need to grant access from a Client Account to our Manage Account using the code below
$managedCustomerService = $adWordsServices->get(
$session,
ManagedCustomerService::class
);
$link = new ManagedCustomerLink();
$link->setManagerCustomerId('xxxxxxxxxx');
$link->setClientCustomerId(''xxxxxxxxxx');
$link->setLinkStatus(LinkStatus::PENDING);
$linkop = new LinkOperation();
$linkop->setOperator(Operator::ADD);
$linkop->setOperand($link);
$operations = array($linkop);
$result = $managedCustomerService->mutateLink($operations);
and resulting to an error
ManagedCustomerServiceError.NOT_AUTHORIZED @ operations[0]
both of the accounts are TEST accounts and I've been dealing for this problem for 2 days already. I've tried to check post about this problem but got no luck fixing this issue.