You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Hi,
I am new to Adwords api so excuse my lack of knowledge.
Just wanted to check if there is any way to programmatically pull the MCC client ID without physically adding it in the session builder code?
Thanks,
Sid
Shwetha Vastrad (AdWords API Team)
unread,
Mar 15, 2017, 1:18:46 PM3/15/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Hi Sid,
To retrieve the CustomerId you need to use the CustomerService.getCustomers() method without setting the clientCustomerId header along with the OAuth2 credentials of your manager account. The response will contain the details of AdWords accounts accessible by the authenticated Google account, including the CustomerId.