I am also experiencing the same issue, using the Java client library. I 
have been successfully accessing the Ads API to pull reports for multiple 
client customers via the 'search' endpoint for the last month or so. 
Starting this morning intermittent 'UNAUTHENTICATED' errors began occurring 
unpredictably. By unpredictably, I mean:

-API requests using the same immutable Credentials object succeed both 
prior to and subsequent to the error.
-If a failed API request is repeated, it may succeed or may fail again.

These errors seem to occur on roughly 10% of API requests. Example:

19/04/26 10:51:19 WARN summary: FAILURE REQUEST SUMMARY. Method: google.ads.
googleads.v1.services.GoogleAdsService/Search, Endpoint: googleads.
googleapis.com:443, CustomerID: xxxxxxxxx, RequestID: dVfS-CY45L7gCmsbebvunw
, ResponseCode: UNAUTHENTICATED, Fault: 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..

19/04/26 10:51:19 WARN AdWordsLogIngestion: Exception checking status for 
customer xxxxxxxxx

com.google.ads.googleads.v1.errors.GoogleAdsException: errors {

 error_code {

   authentication_error: AUTHENTICATION_ERROR

 }

 message: "Authentication of the request failed."

}


        at com.google.ads.googleads.v1.errors.GoogleAdsException$Factory.
createException(GoogleAdsException.java:42)

   at com.google.ads.googleads.v1.errors.GoogleAdsException$Factory.
createException(GoogleAdsException.java:34)


Again, we have not had any issues accessing the API until this morning. No 
code or environment changes on our end. Please let me know if you need any 
more info.


On Friday, April 26, 2019 at 4:06:55 AM UTC-4, mspier...@bol.com wrote:
>
> Hi,
>
> We get a lot of authentication errors recently for our api calls. After 
> some retries they sometime work sometimes not:
>
> status = StatusCode.UNAUTHENTICATEDy
> details = "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.";
>
> We use the python client with a google-ads.yml file. 
> This worked without any problems until now.
> Is there a problem with the api currently?
>
>
> Regards,
>
> Manuel
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b706d0bc-d919-4235-86c7-b93b1bfcbd74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • getting... mspierenburg via AdWords API and Google Ads API Forum
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • Re... Charlie Flowers
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
        • ... mspierenburg via AdWords API and Google Ads API Forum
          • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
            • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... Igor Schut
    • Re... 'UK Analytics' via AdWords API and Google Ads API Forum
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • Re... 'Manuel Spierenburg' via AdWords API and Google Ads API Forum
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to