Object IDs: API vs AdWords URLs

13 views
Skip to first unread message

Ryan Aires

unread,
Sep 12, 2017, 3:32:17 PM9/12/17
to AdWords API Forum
How are the IDs listed in URLs translated to the ID values returned by the API?

For example, in the url for an account, an account is denoted with the following: "&__c=7810563030", but the value shown in the UI (and API minus the dashes) is: 475-959-0193.

We would like to be able to link to an account from our reporting tool but don't know how to build URLs based off the API values we have. 

Peter Oliquino

unread,
Sep 13, 2017, 1:47:59 AM9/13/17
to AdWords API Forum
Hi Ryan,

I'm afraid that the "&__c=7810563030" or any numbers seen in the AdWords UI's URL does not necessarily directly translate to one's MCC or client account ID. Account numbers via the API can be retrieved via the ExternalCustomerId field or via the CustomerService.Customer.customerid and the ManagedCustomerService.ManagedCustomer.customerid objects.

Feel free to correct me if I misunderstood your concern.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages