Hello,

I'm developing a simple web app using Google Ads API. This web app will be 
used by the advertisers, and what it does is (1) displaying the list of 
Customer IDs associated with them (instead of me (developer)), and (2) 
letting them select one of the customer IDs.

What I'm stuck at is the fact that the 'user' should be dynamic. Most of 
the documentation.. especially using OAuth 2.0 Playground seems to say that 
it's using my (developer's) own credentials and set up the GCP project and 
the OAuth Client to get the client ID and client secret, and generate 
refresh token using OAuth 2.0 Playground. So, with those, I can only get 
the list of customer IDs that's associated to my google account, by using 
CustomerService.listAccessibleCustomers 
<https://developers.google.com/google-ads/api/reference/rpc/v10/CustomerService#listaccessiblecustomers>.
 
(Btw, FYI, I'm a JS person so I was using 
https://github.com/Opteo/google-ads-api as the Google Ads API client, even 
though it's not an official one.)

What I'm trying to achieve is this:
(1) Let's say my users (who will access my web app) are Advertiser A and 
Advertiser B.
(2) When Advertiser A access my web app, it should display the list of 
customer IDs that are associated with Advertiser A, so they can select one 
of them.
(3) When Advertiser B access my web app, it should display the list of 
customer IDs that are associated with Advertiser B, so they can select one 
of them.

How can I achieve this (handling dynamic user to use 
'listAccessibleCustomers')?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/de07441c-e723-425c-ab5b-0cadcf51ee7cn%40googlegroups.com.

Reply via email to