Hi Darshan,
Thank you for reaching out to us. The AUTHENTICATION_ERROR
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.errors#authenticationerror>
occurs
if the authentication of the request failed or if you are using incorrect
credentials when making API calls. Could you confirm if you are using the
correct credentials when making API calls? Also, could you please confirm
if the issue is persistent? If it is persistent, I would suggest that you
follow this guide
<https://developers.google.com/google-ads/api/docs/oauth/cloud-project> to
regenerate all the credentials (client Id, client secret, refresh token),
make sure that the email address you are using has access to your Google
Ads account. Should the issue persist after using this new credentials, let
me know so I could assist you further.
Regards,
Dave
Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
On 05/07/19 03:23:23 [email protected] wrote:
Hi,
We just noticed we started seeing an error when fetching a customer details
from new Google Ads Api.
Here is the error details. My user has 4 accessible accounts. I think the
issue is only when I am getting an account which is not fully activated,
which used to work without issue before. We do not pass loginCustomerId for
these call as we did not need to.
2019-05-06T19:13:03.630Z WARN [Gax-3]
com.google.ads.googleads.lib.request.summary: FAILURE REQUEST SUMMARY.
Method: google.ads.googleads.v1.services.CustomerService/GetCustomer,
Endpoint: googleads.googleapis.com:443, CustomerID: null, RequestID:
8uXJ2oCwff8aC_MLQn1CwA, 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..
2019-05-06 15:13:03.644 INFO 59069 --- [ Gax-3]
c.g.ads.googleads.lib.request.detail : FAILURE REQUEST DETAIL.
Request
-------
MethodName: google.ads.googleads.v1.services.CustomerService/GetCustomer
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, x-goog-api-client=gl-java/1.8.0_192
gapic/ gax/1.35.0 grpc/1.16.1}
Body: resource_name: "customers/3011223529"
Response
--------
Headers:
Metadata(content-type=application/grpc,request-id=8uXJ2oCwff8aC_MLQn1CwA,date=Mon,
06 May 2019 19:13:03 GMT,alt-svc=quic=":443"; ma=2592000; v="46,44,43,39")
Body: null
Failure message: errors {
error_code {
authentication_error: AUTHENTICATION_ERROR
}
message: "Authentication of the request failed."
}
Status: Status{code=UNAUTHENTICATED, description=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.,
cause=null}.
Thanks,
Darshan.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/ed970bc0-2152-422e-b33e-e8dbedccd7bc%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/ed970bc0-2152-422e-b33e-e8dbedccd7bc%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/h0ui9u6nq00000010tacl6000va5kux64mjgdhk6go30c1g68r34cpn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.