Re: request is missing required authentication credential. expected oauth 2 access token, login cookie or other valid authentication credential

2023-12-20 Thread ads dm
Thank you for your reply. We have found the cause of the problem. A 
colleague reset the developer token, causing the original token to become 
invalid. After replacing it with the new developer token interface, the 
interface runs normally.

On Thursday 21 December 2023 at 01:14:37 UTC+8 Google Ads API Forum Advisor 
wrote:

Hi,

Thank you for reaching out to the Google Ads API support team.

After reviewing your query, I understand that you are getting the error "
OAUTH_TOKEN_HEADER_INVALID 
"
 
in the production environment.

It appears that the credentials sent in your HTTP request are not valid and 
this is why you have encountered this error. The prevention tip recommended 
is to make sure you've passed the correct access token associated with your 
account. It's sometimes confused with refresh tokens and authorization 
codes. If you would like to get a credential that can access all client 
accounts under a manager account, make sure you get the refresh token 
 
for 
the manager account. For more details, see our guide on access token and 
refresh token 

 and OAuth2 
.

If the issue still persists, please provide us with the complete API logs (
request 

 and response 

 with request-id 

 and request header 
)
 
generated at your end to better assist you.
If you are using a client library and haven't enabled the logging yet, I 
would request you to enable logging for the specific client library that 
you are using. You can refer to the guides  

*Java* 

,  

*.Net* 

,  

*PHP* 
,
  

*Python* 

,  

*Ruby* 

 or  

*Perl* 
 to 
enable logging at your end. For REST interface requests, you can enable 
logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or 
direct private reply to this email.
This message is in relation to case "ref:!00D1U01174p.!5004Q02r2twx:ref"

Thanks,
  [image: Google Logo] Google Ads API Team 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b78ddca5-cefc-43a5-b5d5-de388e4336dcn%40googlegroups.com.


RE: 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\

2023-06-06 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thanks for reaching out to the Google Ads API Forum.

Upon checking logs, I can see that you’ve encountered AUTHENTICATION_ERROR, 
however, could you please double check if you’re sending the correct developer 
token for your API request? If you’re indeed sending the exact same developer 
token that was copied from MCC account’s API center, and still encountering it, 
then I request you may provide us with the complete logs in the format of the 
request and response logs along with the request-id without redacting, as seen 
in their respective links.

For you to enable complete logs on your end for the client library, logging can 
be enabled by navigating to the Client libraries > Your client library (ex 
Java) > Logging documentation, which you can access from this link here 
https://developers.google.com/google-ads/api/docs/client-libs. Kindly provide 
the requested details using reply privately to the author option.

Reference links:

request - 
https://developers.google.com/google-ads/api/docs/concepts/field-service#request
response - 
https://developers.google.com/google-ads/api/docs/concepts/field-service#response

This message is in relation to case "ref:_00D1U1174p._5004Q2lvyqr:ref"

Thanks,

Google Ads API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/KrIom0RVTMDI00ky7Zl9BRQGqihh2yn-7dQw%40sfdc.net.


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

2023-06-01 Thread 王众杰
 {
"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.",
"code": 16,
"status": "UNAUTHENTICATED",
"details": [
{
"@type": 
"type.googleapis.com\/google.ads.googleads.v13.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"authenticationError": "AUTHENTICATION_ERROR"
},
"message": "Authentication of the request failed."
}
],
"requestId": "GSXCYpCvLo7Hpq1bojGqUQ"
}
]
}

i want know why?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0c86194e-269c-43ee-8d42-a34d1eb40bb8n%40googlegroups.com.


RE: '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

2022-05-12 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Katherine,

Thanks for reaching out to the Google Ads API Forum.

Could you provide us with the complete request and response logs with the 
request-id, so our team can better check?

For the client library, logging can be enabled by navigating to the Client 
libraries > Your client library (ex Java) > Logging documentation, which you 
can access from this link. You may then send the requested information via the 
Reply privately to author option. If this option is not available, you may send 
the details directly to our googleadsapi-supp...@google.com alias instead.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2asET9:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/LLAhZ0RBS1P000R9QCOOIhSti_GjxciiihYA%40sfdc.net.


Re: '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

2022-05-12 Thread CFJ
I've started seeing this sporadically as well over the last 24-36 hours.  
I've been on the Ads API v10 for several weeks now with zero authentication 
issues.  This error just stated popping up yesterday randomly on a very 
tiny number of requests.

On Thursday, May 12, 2022 at 9:24:53 AM UTC-4 Katherine Martin wrote:

> Hi all,
>
> I am getting the following error: 
> ''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.'
>
> I am using a developer token, client secret, client id and developer 
> token, so not sure what more it needs.
>
> Thanks,
> Katherine
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/28c3a725-60e6-4226-8dcf-4d3a88ddf296n%40googlegroups.com.


'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/dev

2022-05-12 Thread Katherine Martin
Hi all,

I am getting the following error: 
''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.'

I am using a developer token, client secret, client id and developer token, 
so not sure what more it needs.

Thanks,
Katherine

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/728e208b-e42c-4681-9ec9-e8927b764eb2n%40googlegroups.com.


Re: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2022-04-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Sajal,

Thank you for the replies. I work with Nirmita and allow me to assist you here.

With regard to your concern "For One Account We are able to generate Access 
token, But for Other App we are not able to generate the Access token..", could 
you please elaborate on this concern and please provide more context of details 
so that we can address this. In addition to our clarification are you referring 
to specific authentication or Google Ads account?

Best regards,

Jinky
Google Ads API Team
ref:_00D1U1174p._5004Q2a5kk2:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/SNfme0RAY9NP00wpBe77ppRDCK4ymHYcG7ag%40sfdc.net.


Re: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2022-04-25 Thread Sajal Pal
Hi  Nirmita,
Currently,  we are sending request like below 
GoogleAdsConfig config = new GoogleAdsConfig() {
 DeveloperToken = AdwordsModel.DeveloperToken,
 OAuth2Mode = OAuth2Flow.APPLICATION,
 OAuth2ClientId = AdwordsModel.OAuth2ClientId,
 OAuth2ClientSecret = 
AdwordsModel.OAuth2ClientSecret,
 OAuth2RefreshToken = 
AdwordsModel.OAuth2RefreshToken
};
GoogleAdsClient = new GoogleAdsClient(config);

For One Account We are able to generate Access token, But for Other App we 
are not able to generate the Access token..

On Saturday, April 23, 2022 at 12:13:37 AM UTC+5:30 adsapi wrote:

> Hi Sajal,
>
> Thank you for reaching out to the Google Ads API support team.
>
> To investigate the issue further, could you please provide us with the 
> complete logs (request 
> 
>  
> and response 
> 
>  
> with request-id 
> )
>  
> via the Reply privately to the author option?
>
> Thanks,
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2a5kk2:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/28a31136-1687-4d6f-a92c-1779c9193691n%40googlegroups.com.


Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2022-04-21 Thread Sajal Pal
Hi,
I am trying to migrate Adwords API(sunset on 27th April, 2022) to Google 
Ads api. Using Asp.Net Core(5.0) and c#.

Exception:
Google.Ads.GoogleAds.V10.Errors.GoogleAdsException
  HResult=0x80131500
  Message=Status(StatusCode="Unauthenticated", Detail="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.;, 

I want to use "keywordPlanIdeaService"
Can anyone have any suggestions.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/da71a4d3-4b18-4ad4-ad15-063cadf3e18an%40googlegroups.com.


RE: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential

2021-08-16 Thread Google Ads API Forum Advisor
Hi,

Thanks for reaching out to us.

Could you provide us with the complete request and response logs with the 
request-id, so our team can better check?

If you haven't yet, logging can be enabled by navigating to the Client 
libraries > Your client library (ex. Java) > Logging documentation, which you 
can access from this link. You may then send the requested information via the 
Reply privately to author option. If this option is not available, you may send 
the details directly to our googleadsapi-supp...@google.com alias instead.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2LnOgb:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/K1Rdd0QXXF3600yKnQOHzDT9en5jXkgtvMwg%40sfdc.net.


RE: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential

2021-04-02 Thread Google Ads API Forum Advisor Prod
Hello,

Can you please send the full API request and response logs through reply 
privately so I can take a closer look?

Thanks,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2Ep2Ij:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/SRsAE0QQXZ2F00gYuZZwRQQC-JRF3Q0ZQHFQ%40sfdc.net.


Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential

2021-04-01 Thread ma zhiwei
Hi,

I am using google ads api to get adwords data, but I got an error when I 
execute the code.
```
$oAuth2Credential = (new 
OAuth2TokenBuilder())->fromFile("google_ads_php.ini")->build();
// OAuth2 credentials above.
$googleAdsClient = (new 
GoogleAdsClientBuilder())->fromFile("google_ads_php.ini")
->withOAuth2Credential($oAuth2Credential)
->build();

$googleAdsServiceClient = $googleAdsClient->getGoogleAdsServiceClient();

$customerServiceClient = $googleAdsClient->getCustomerServiceClient();

// Issues a request for listing all accessible customers.
$accessibleCustomers = $customerServiceClient->listAccessibleCustomers();
print 'Total results: ' . count($accessibleCustomers->getResourceNames()) . 
PHP_EOL;
```
Error:
```
{ "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.", 
"code": 16, "status": "UNAUTHENTICATED", "details": [ { "@type": 
"google.ads.googleads.v6.errors.googleadsfailure-bin", "data": "" }, { "@type": "grpc-status-details-bin", "data": "" }, { "@type": "request-id", "data": "feAcN0Pr2ap5iWrpDaC-rA" 
} ] }
```

After learning, someone said that it could be the wrong refresh token, but 
I can use the refresh token  to refresh access token.  

How can I solve it?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3c4c5266-b938-482e-a236-082a10953ea7n%40googlegroups.com.


Re: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-27 Thread Haik
Thanks! associating the user with the account solved it.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a32d626-8401-47c6-a61c-d9d05d5dff72%40googlegroups.com.


RE: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-26 Thread Google Ads API Forum Advisor Prod
Hello Haik,

The not_ads_user error usually occurs when the  login used to generate the 
access token is not associated with any Google Ads account. Please make sure 
the email address used to generate the OAuth credentials has a Google Ads 
account.

Regards,
Sai Teja, Google Ads API Team
ref:_00D1U1174p._5001UBoARK:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/OtehK0PTQ4EA00KMFkYxduR-uaaagO1_f1Dg%40sfdc.net.


Re: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-26 Thread Haik
Hi,

Just tested the keys in the app.
This is the error:

{{ "errorCode": { "authenticationError": "NOT_ADS_USER" }, "message": "User 
in the cookie is not a valid Ads user." }}


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9d4fa3da-3aaf-4bc5-b6fe-25fa47a0a837%40googlegroups.com.


RE: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-26 Thread Google Ads API Forum Advisor Prod
Hello Haik,

I see the CURL operation is succeeded, which means the credentials you used in 
the CURL operation are right. Could you please place those credentials in your 
configuration/properties files and retry the API request? If you are facing any 
error, please share the entire error log and the exact credentials you have 
used in the configuration/properties files without redacting using reply 
privately to the author option?

Regards,
Sai Teja, Google Ads API Team
ref:_00D1U1174p._5001UBoARK:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4RIeC0PTQ1Y900TjrGKWT1R0aUCtDW75JazQ%40sfdc.net.


Re: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-26 Thread Haik
Ran the curl, but again got a meaningless json

{
  "access_token": "ya29.GlszB59HETtP0sTg..",
  "expires_in": 3600,
  "scope": "https://www.googleapis.com/auth/dfp 
https://www.googleapis.com/auth/adwords;,
  "token_type": "Bearer"
}

The oauth doctor returns the folowing:


2019/06/26 19:02:44 Client library language: dotnet
2019/06/26 19:02:44 Google Ads API client library config file: 
C:\Users\USER\App.Config
2019/06/26 19:02:44 Config keys and values:
2019/06/26 19:02:44 ClientID = *** (hidden)
2019/06/26 19:02:44 ClientSecret = *** (hidden)
2019/06/26 19:02:44 DevToken = *** (hidden)
2019/06/26 19:02:44 RefreshToken = *** (hidden)
2019/06/26 19:02:44 Please enter a Google Ads account ID:
X
2019/06/26 19:03:00 JSON response error: 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/06/26 19:03:00 ERROR: The login email may not have access to the given 
account.
2019/06/26 19:03:00 Attempting to regenerate refresh token...
2019/06/26 19:03:00 Visit the URL for the auth dialog:





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4b4841ee-478a-4075-86fb-abbc1d719859%40googlegroups.com.


RE: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-26 Thread Google Ads API Forum Advisor Prod
Hello Haik,

To verify that your credentials are correct, you could try the CURL request 
provided below and see if you are able to generate the access token. If your 
credentials are correct, you should be able to generate an access token for the 
below CURL request.

curl https://www.googleapis.com/oauth2/v4/token \
-d refresh_token=your-refresh_token \
-d client_id=your-client-id \
-d client_secret=your-client-secret \
-d grant_type=refresh_token

If your credentials are incorrect or still facing issue then you could try 
generating a new refresh token with the help of this guide and retry your 
request. Please let me know if the issue persists.

Regards,
Sai Teja, AdWords API Team
ref:_00D1U1174p._5001UBoARK:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/GhyUd0PTPOYK00WLDab9leSHCTaKj4rcaeyg%40sfdc.net.


Re: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-26 Thread Haik
I run the OAuth tool but it does not help in any way.
I get the following error - ERROR: OAuth test failed.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b021a7c9-91e4-4404-8f13-532290c5e729%40googlegroups.com.


RE: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-19 Thread Google Ads API Forum Advisor Prod
Hello Haik

You will be able to validate your credentials by using the OAuth doctor. The 
tool will help determine if your OAuth2 credentials are correctly configured 
and ready to make API calls and guide you through fixing any OAuth2 problems it 
detects and verify the corrected configuration. Please give this a try and let 
us know if you have any issues.

Regards,
Sai Teja, Google Ads API Team
ref:_00D1U1174p._5001UBoARK:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/yM8QV0PTCXL200_E1zuwv5S-6VK9MUvb67Hg%40sfdc.net.


Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-19 Thread Haik
We have our app working with our development MCC keys and all works fine.

The problem is when we try to switch to the new production keys, we get 
an Expected OAuth 2 access token error.
  

*Request is missing required authentication credential. Expected OAuth 2 
access token, login cookie or other valid authentication credential.*



The only thing I do is change the app config keys:










As I said before, the application works fine with the old keys, but does 
not work with the new keys.

To generate the new refresh token I used the 
https://github.com/googleads/googleads-dotnet-lib/wiki/Using-OAuthTokenGenerator
 software.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/40aa80c1-9420-4dd7-9854-086ddcc3a3e1%40googlegroups.com.


Re: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential with Google Ads API request

2018-10-11 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Anirudh,

Looks like there is one more thread created for the same issue. To avoid 
confusion lets continue the discussion on that thread 

.

Regards,
Sai Teja, AdWords API Team.

On Thursday, October 11, 2018 at 7:14:33 AM UTC-4, anirudh maddy wrote:
>
> Here is my code in Node Js
>
> var newAcessToken = 
> getGoogleAccessToken(refresh_token);
> 
>  var bearerToken = 'Bearer '+ 
> newAcessToken;
>
>  var url =  '
> https://googleads.googleapis.com/v0/customers/XX?key=XX
> ';
>
> var  options = {
>   url: url,
>   headers: {
> 'Authorization': bearerToken,
> 'Accept': '*/*',
> 'developer-token':  '',
>   }
> };
>
>
> I'm getting Request is missing required authentication credential. 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/729d9cb3-3f72-4801-acf1-df144c3917bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential with Google Ads API request

2018-10-11 Thread anirudh maddy
Here is my code in Node Js

var newAcessToken = 
getGoogleAccessToken(refresh_token);

 var bearerToken = 'Bearer '+ newAcessToken;

 var url =  
'https://googleads.googleapis.com/v0/customers/XX?key=XX';

var  options = {
  url: url,
  headers: {
'Authorization': bearerToken,
'Accept': '*/*',
'developer-token':  '',
  }
};


I'm getting Request is missing required authentication credential. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/367e5000-f6cc-45d0-8200-58aab5e9c686%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.