How to get all account that belong to specific email

18 views
Skip to first unread message

Trong Luc

unread,
May 15, 2019, 8:38:10 AM5/15/19
to AdWords API and Google Ads API Forum

Hi

I used Integrating Google Sign-In into my web.

<meta name="google-signin-scope" content="email https://www.googleapis.com/auth/adwords">
<script src="https://apis.google.com/js/platform.js" async defer></script>

And I have the javascript function 

var google_auth = gapi.auth2.getAuthInstance();
    google_auth.grantOfflineAccess({
        response_type: 'code',
        approval_prompt: 'force',
        access_type: 'offline'
    }).then(function(res){
        console.log('res.code: ' + res.code);
    });

How to get list adwords account  from res.code after authentication ? 

Or How to get all account that belong to specific email

Pls help me

Thanks & Rgds

Luc

googleadsapi...@google.com

unread,
May 15, 2019, 1:51:20 PM5/15/19
to AdWords API and Google Ads API Forum
Hello Trong,

In this support channel we will discuss technical questions related to the Google Ads API/AdWords API only. You could refer the Google Ads scripts documentation here and can post your concerns on the Google Ads scripts on the forum mentioned here.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

Reply all
Reply to author
Forward
0 new messages