Hi,

We have a working web-server based app.
In addition, I'm trying to use REST google ads api to test some of the 
returning data.

When I use REST based API, I get an authentication error.

curl --request GET --header "Authorization : Bearer <token>" --header 
"developer-token : <token>" 
https://googleads.googleapis.com/v1/customers:listAccessibleCustomers

{

  "error": {

    "code": 401,

    "message": "Request is missing required authentication credential. 
Expected OAuth 2 access token, login cookie or other valid authentication 
credential. See 
https://developers.google.com/identity/sign-in/web/devconsole-project.";,

    "status": "UNAUTHENTICATED",

    "details": [

      {

        "@type": 
"type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure",

        "errors": [

          {

            "errorCode": {

              "authenticationError": "AUTHENTICATION_ERROR"

            },

            "message": "Authentication of the request failed."

          }

        ]

      }

    ]

  }

}

The token set I use is totally legit, proven by a running app. What could 
possibly go wrong?

Regards,
Edward



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fce66ada-f986-44f8-8668-0b408abf341a%40googlegroups.com.

Reply via email to