Problem with GetClientCustomerId using PHP

19 views
Skip to first unread message

Adrian Gomez

unread,
Mar 18, 2016, 9:09:51 AM3/18/16
to AdWords API Forum
Hi,

I really need help.

My code works perfects last weeks, but today stop working, when return from ask permissions from Adwords.
I recived the code, and I can get the access_token and refresh_token, but $costumerid = $user->GetClientCustomerId(); is not working.
$user->GetClientCustomerId() always return nil.

How can I get the ClientCustomerID, when the user logging.

Thanks
connect-adwords.php

Yin Niu

unread,
Mar 18, 2016, 10:37:54 AM3/18/16
to AdWords API Forum
Hello, 

ClientCustomerID is something you have to specify in your configuration. If you just want to get the MCC customerID, you can use CustomerService with AdWords API. 

Thanks,
Yin, AdWords API Team. 
Reply all
Reply to author
Forward
0 new messages