Link to the Google Ads UI

101 views
Skip to first unread message

Fabio Krauss Stabel

unread,
Nov 5, 2020, 3:22:44 AM11/5/20
to AdWords API and Google Ads API Forum
Hi there,

we're trying to make our account managers' lives easier by providing them a shortcut open in the browser whichever Google Ads account they are working on in the Google Ads UI.

The links to Google Ads have this format
https://ads.google.com/aw/accounts?ocid=220602934&authuser=0&__u=5209759141&__c=3685034611

the ocid value is something I can't seem to generate from the account id (client_id). 

Does anyone know how to assemble a proper URL like that programmatically?

Thanks a ton in  advance!

Cheers

Google Ads API Forum Advisor Prod

unread,
Nov 5, 2020, 2:23:41 PM11/5/20
to fa...@cobiro.com, adwor...@googlegroups.com

Hi Fabio,

Thanks for reaching out. The ocid is a client customer id internally generated and used. The API does not expose an endpoint to fetch this data as it is mostly used internally. I don’t think it is feasible to generate such a link programmatically.

Thanks and regards,
Xiaoming, Google Ads API Team
 

Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q277KGm:ref

Tom Nahum

unread,
Jan 13, 2021, 7:44:29 AM1/13/21
to AdWords API and Google Ads API Forum
hello there Xiaoming and Fabio.
i have the same interest in generating a link to the UI.
is there any other solution besides the ocid, in order to create some link for a user to go from our system to the correct screen in google ads api?
Assuming that my user needs to already be logged-in and of course have the credentials to view the customer in question, 
but how can i send him to a specific view?

i really hope there is some way to achieve my goal, would be very useful.
thanks, Tom

Google Ads API Forum Advisor Prod

unread,
Jan 13, 2021, 2:41:35 PM1/13/21
to tom....@kendago.com, adwor...@googlegroups.com

Hi Tom,

Thank you for reaching out. The URL link to access the Google Ads account includes the ocid that is an internal customer id and this ocid is not fetchable via the APIs. There isn’t any other way to form a link for a specific Google Ads account. Please reach out to the Google Ads Team via their email alias ads-s...@google.com to consult other possible ways to achieve it through the UI or on the product level.



Thanks and regards,
Xiaoming, Google Ads API Team
 

Tom Nahum

unread,
Jan 14, 2021, 3:05:50 AM1/14/21
to AdWords API and Google Ads API Forum
Hi Xiaoming,
i tried to contact the email address you mentioned, but i got a message saying it is no longer being monitored. 
do you happen to know about a monitored email to send my question to?

thanks! Tom

Google Ads API Forum Advisor Prod

unread,
Jan 14, 2021, 3:32:30 PM1/14/21
to tom....@kendago.com, adwor...@googlegroups.com

Hi Tom,

Thank you for reaching out. Please reach out to the Google Ads Team via this link.



Thanks and regards,
Xiaoming, Google Ads API Team

Reply all
Reply to author
Forward
0 new messages