RE: [5-6040000026070] developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Anirudh, That error means that the developer token and the client-id/client-secret from your Google Could project can't be used in the same request. For a given Google Cloud project ID, the Google Ads API only allows you to use one developer token. When you receive the above error it usually

Re: developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-11 Thread anirudh maddy
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, aniru

RE: [5-6040000026070] developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-10 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Anirudh, Thanks for the question, and sorry you're running into this issue. As you're going through the OAuth playground, did you create a new project or are you using the one you created previously when writing your Node script? Just curious because when creating credentials for use in a sof

Re: developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-08 Thread anirudh maddy
Hello Sai, I'm following the exact thing, I'm generating the access_tokens using a refresh token if they expire. I used the same code to Integrate Google Analytics, Google Search, YouTube Reporting. It worked fine with all the APIs, only with Google Ads API I'm facing this issue. Is there any

RE: developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-08 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Aniruth, Usually, the access token has certain time limit after that time it will be invalidated and you have to generate another access token to work with. I faced the similar error when I pass the expired access token to the API call. If you have a refresh token with you, you can genera

Re: developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-08 Thread anirudh maddy
I tried it with curl by passing the below command curl --header "Authorization: Bearer MYACCESSTOKEN" --header "developer-token: MYDEVTOKEN" --header "Content-Type: application/json" https: //googleads.googleapis.com/v1/customers:listAccessibleCustomers I got this as a response { "error":

Re: developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-07 Thread anirudh maddy
I'm getting the below error. curl -H "Authorization: Bearer MYACCESSTOKEN" -H "developer-token:MYTOKEN" -H "Content-Type: application/json" https: //googleads.googleapis.com/v1/customers:listAccessibleCustomers curl: (3) Port number ended with '?' curl: (3) Port number ended with ' ' On Tuesda

RE: developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-07 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Aniruth, If you are looking to get the accounts under your manager account you have to use the resource customer_client instead. The error message you are seeing will occur when the developer token is not passed to

developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-07 Thread anirudh . maddy
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