Hi, 

I'm using the project created previously for Node (Type - Web Application). 

However, as you suggested I created a new Project with Type - Others. Tried 
it with OAuth2.0 Playground. 

I'm getting the below error. 

[image: GAdsError.png]
. 


On Tuesday, 7 May 2019 16:03:54 UTC+5:30, anirudh maddy wrote:
>
> I'm passing the Developer Token in the GET request to fetch the MCC 
> accounts. But I keep getting the below error even though I'm passing the 
> required information.
>
>
>     
>
> "message": "developer-token parameter is missing
>
>
>
> I tried making the request in different ways. But I'm unable to figure it 
> out. Code is in Node JS 
>
> V1: GET request 
>
> var options = {
>             url: 
> 'https://googleads.googleapis.com/v1/customers:listAccessibleCustomers',
>
>                auth: {
>                 'bearer': access_token,
>                     'developer-token':'XXXX_XXXXXXXXXX'
>                  }
>
>             };
>
>         console.log('Access Token is - ', access_token);
>
>         request(options, function(err, response) {
>                 console.log(response); 
>             });
>
>
>
> v2: GET request 
>
> var bearerToken = 'Bearer '+ access_token;
>
>  var options = {
>            url: 
> 'https://googleads.googleapis.com/v1/customers:listAccessibleCustomers',
>
>            headers: {
>               'Authorization': bearerToken,
>               'developer-token': 'XXXX_XXXXXXXXXX'
>                 }
>
>         };
>
>
>
>     request(options, function(err, response) {
>                 console.log(response); 
>          });
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5d08b27a-3e50-49d0-8aca-0fc0d702d86b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • develop... anirudh . maddy
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • Re... anirudh maddy
    • Re... anirudh maddy
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
        • ... anirudh maddy
    • Re... anirudh maddy
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to