I'm starting to use the Google API to connect to the phone book ....

17 views
Skip to first unread message

Claudio Pelosi

unread,
May 23, 2016, 8:50:41 AM5/23/16
to AdWords API Forum
Hello

I'm starting to use the Google API to connect to the phone book ....

I decided to use JavaScript

Here in use code:


function auth() {
   var config = {
     'client_id': '******',
   };
   gapi.auth.authorize(config, function() {
     fetch(gapi.auth.getToken());  
    
   });
 }

        
        function fetch(token) {
    token['g-oauth-window'] = null;
    $.ajax({
        dataType: 'jsonp',
        data: token
    }).done(function(data) {
        document.getElementById('prova').innerHTML = JSON.stringify(data);
    }); 
}








Works well .... shame that only shows a small part of the names in my address book!

Does anyone have suggestions?

Peter Oliquino

unread,
May 23, 2016, 11:37:06 AM5/23/16
to AdWords API Forum
Hi,

We support AdWords API related cases and it appears that this issue is not related. Could you tell me which API you are using?

Thank you very much,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages