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. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@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=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/4bcfd0bf-46f3-4648-9215-389cc7375e8b%40googlegroups.com.