Does AdMob API Support Email?

27 views
Skip to first unread message

l. lyeon

unread,
Feb 8, 2022, 7:04:05 AM2/8/22
to AdMob API Developer Forum
Hello,

I've been looking high and low to see if AdMob API supports getting user email. Currently the readonly datapoint provides current code, account name, time zone and publisher Id.

The platform has the datapoint access but I can't find documentation on how to retrieve this.

Sample code gone from stack overflow but doesn't seem to work:

$client->addScope('https://www.googleapis.com/auth/userinfo.email'); $client->addScope('https://www.googleapis.com/auth/userinfo.profile'); // $client->addScope(Google_Service_Plus::PLUS_ME);

$plus = new Google_Service_Plus($client); $person = $plus->people->get('me'); $email = ($person['emails'][0]['value']);

Any help would be greatly appreciated.

Kindest regards,
S.

AdMob API Forum Support

unread,
Feb 9, 2022, 11:57:09 AM2/9/22
to lyeo...@gmail.com, google-admob-api...@googlegroups.com
Hello,

The AdMob API does not support getting the user e-mail at this time.

All the best,
Google Logo
Amira Badreldin
AdMob API Team
 


ref:_00D1U1174p._5004Q2W5JNS:ref
Reply all
Reply to author
Forward
0 new messages