Hi John,

The UserID field in the credentials object is unrelated to the UserId field in 
Ads.

One way you can try to solve this problem is as follows:

1. Use the people.get method from the People API to get the login email of the 
current user: https://developers.google.com/people/api/rest/v1/people/get

2. Next, use the email address to filter on the query.

Note that the people.get() method will give you a person_id, but this will be 
different from the user ID. The User ID that is exposed by Google Ads API is 
specific to Google Ads API and not something unique across other Google systems.

Cheers
Anash
ref:_00D1U1174p._5004Q2AGyWB:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/n-Gnt000000000000000000000000000000000000000000000QMGYO900rh9_yGOdSReewiarKQLtYw%40sfdc.net.

Reply via email to