RE: the invalid_grant error does not go away after account recovery

2024-08-19 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for reaching out to the Google Ads API support team. The reason for this error might be that the email account containing the client ID and client secret may have been deleted. As you informed us that you restored the account and subscription to the corporate email '@alytics.ru',

The invalid_grant error does not go away after account recovery

2024-08-19 Thread 'Alytics Info' via Google Ads API and AdWords API Forum
Hi, We encountered errors when requesting the ADS API google.auth.exceptions.RefreshError: ('invalid_grant: Account has been deleted', {'error': 'invalid_grant', 'error_description': 'Account has been deleted'}) We recently deactivated our cor

Urgent: Error "invalid_grant" with OAuth2 API Call

2024-06-26 Thread vinicius motta
Hello, I am facing this issue with the API call in auth2. Theoretically, everything is correct, including the client id, secret key, code, grant type, and redirect uri, but it does not return the expected results. Could you please check what might be wrong or suggest a solution? My app is ca

Re: google ads api Invalid_grant

2024-04-01 Thread CogniTech Systems
g out to the Google Ads API team. I hope you are doing > well today. > > > The "invalid_grant > <https://developers.google.com/google-ads/api/docs/best-practices/common-errors#invalid_grant> > ” > error usually indicates an issue with the refresh token. That said, yo

"error": "invalid_grant", "error_description": "Bad Request"

2024-03-04 Thread Isabel Gonzalez
.TokenResponseException: 400 Bad Request POST https://oauth2.googleapis.com/token { "error": "invalid_grant", "error_description": "Bad Request" } at com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:10

Re: {'error': 'invalid_grant', 'error_description': 'Bad Request'}

2024-02-22 Thread dimas ilham
Hi, > > Thank you for getting back to us. > > After reviewing your concern, I understand that you are encountering the > invalid_grant > <https://developers.google.com/google-ads/api/docs/common-errors#aderror:~:text=exceptions.RefreshError-,invalid_grant,-Summary> > erro

Re: {'error': 'invalid_grant', 'error_description': 'Bad Request'}

2023-12-19 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for getting back to us. After reviewing your concern, I understand that you are encountering the invalid_grant error while creating a campaign via the Google Ads API. The common cause for this error is that, a Google Cloud Platform project with an OAuth consent screen configured

Re: {'error': 'invalid_grant', 'error_description': 'Bad Request'}

2023-12-19 Thread 'ReVo' via Google Ads API and AdWords API Forum
Hi there, What if the error {"error": "invalid_grant", "error_description": "Bad Request"} appears when trying to exchange code for access and refresh tokens? I've already tried a bunch of possible solutions including generating a new client secret

RE: google ads api Invalid_grant

2022-12-15 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi All, Thanks for reaching out to the Google Ads API team. I hope you are doing well today. The "invalid_grant ” error usually indicates an issue with the refresh token. That said, you will need to regenerate credentials and refresh tokens. You may refer here to this guide for the ste

Re: google ads api Invalid_grant

2022-12-15 Thread Lambert Beekhuis
iven by > firebase i am having a error--> Error: 16 UNAUTHENTICATED: Failed to > retrieve auth metadata with error: invalid_grant > but when i use oauthAccessToken it's working fine . so i want to know > the expire time to oauthAccessTo

google ads api Invalid_grant

2022-12-15 Thread Muhammad Kaleem
fresh token given by firebase i am having a error--> Error: 16 UNAUTHENTICATED: Failed to retrieve auth metadata with error: invalid_grant but when i use oauthAccessToken it's working fine . so i want to know the expire time to oauthAccessToken or how can i refresh these to

RE: Cannot resolve invalid_grant

2022-12-06 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Johan, We understand the inconvenience you are encountering due to the invalid_grant error. In the guide I provided, it states that the Token (refresh token) has been expired or revoked. This other guide then lists some of the reasons why a refresh token is expired. That said, and so our

Cannot resolve invalid_grant

2022-12-06 Thread Johan Wallinder
Hello. We have a user that receives "invalid_grant" error. The user has re-auth so he should have a new refresh token (suggested from previous "invalid_grant" issues), but it still doesn't work. Please advice us how to resolve it! Best regards Johan Wall

Re: 'Failed to retrieve auth metadata with error: invalid_grant' - Exception occurred in retry method that was not classified as transient'

2022-11-16 Thread Sam Pascoe
I followed the link above but there is no mention of refresh tokens anywhere on the page. I already have a client ID and client secret On Tuesday, 8 November 2022 at 01:56:24 UTC adsapi wrote: > Hi Sam, > > Thank you for the reply. > > I'm afraid that we are not familiar with the site >

Re: Using postman and use refresh token to get access token. After 7 days, invalid_grant, bad request.

2022-11-09 Thread Minyen Hsieh
Hi Darwin, We are not really creating a specific app, we are basically just using POSTMAN and INFORMATICA CLOUD to automate getting data and loading into our Snowflake database. Does that answer your question? Minyen On Wednesday, November 9, 2022 at 12:46:57 AM UTC-6 adsapi wrote: > Hi Minye

Re: Using postman and use refresh token to get access token. After 7 days, invalid_grant, bad request.

2022-11-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Minyen, I'm Darwin, also a member of the Google Ads API team. I work with Carmela and allow me to assist you here. I hope you are doing well today. Please see my answer to your question below. 1.) So you're saying once I complete the app verification process, then I can get a refresh token

Re: Using postman and use refresh token to get access token. After 7 days, invalid_grant, bad request.

2022-11-08 Thread Minyen Hsieh
> Thank you for raising this concern to us. This is Carmela from the Google > Ads API team. > > With regard to your concern, I understand that you encountered the > invalid_grant error. To answer your questions in general and give you > information about the said error, it means t

Re: 'Failed to retrieve auth metadata with error: invalid_grant' - Exception occurred in retry method that was not classified as transient'

2022-11-07 Thread Sam Pascoe
an see that you encountered an invalid_grant error, it occurs when the > refresh token has been expired or revoked. The common cause of this error > is when a Google Cloud Platform project with an OAuth consent screen > configured for an external user type and a publishing status of "Te

Using postman and use refresh token to get access token. After 7 days, invalid_grant, bad request.

2022-11-07 Thread Minyen Hsieh
Problem: I'm using the *refresh token (I got it from the Oauth2.0 playground)* to get the* access token* using the POST method in POSTMAN. It worked, however, after 7 days, it gives me an {'error': 'invalid_grant', 'error_description': 'Bad Request'

RE: 'Failed to retrieve auth metadata with error: invalid_grant' - Exception occurred in retry method that was not classified as transient'

2022-11-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Sam, Thank you for posting your concern. Allow me to provide support. I can see that you encountered an invalid_grant error, it occurs when the refresh token has been expired or revoked. The common cause of this error is when a Google Cloud Platform project with an OAuth consent screen

'Failed to retrieve auth metadata with error: invalid_grant' - Exception occurred in retry method that was not classified as transient'

2022-11-07 Thread Sam Pascoe
I'm getting the error: code: 16, details: 'Failed to retrieve auth metadata with error: invalid_grant', metadata: Metadata { internalRepr: Map(0) {}, options: {} }, note: 'Exception occurred in retry method that was not classified as transient' re-entering a n

400 Bad Request invalid_grant

2022-11-02 Thread 'Amol Kawale' via Google Ads API and AdWords API Forum
uot;error": "invalid_grant", "error_description": "Token has been expired or revoked." } I tried to generate refresh token as well but it giving me error as follows: https://prnt.sc/Um0nYXn2gG_j Pls help to fix me. Regards, Amol -- -- =~=~=~=~=~=~=~=~=~=~

RE: invalid_grant

2022-10-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Can, I am Carmela from the Google Ads API team. Thank you for updating us. We are glad to hear that the issue has been resolved. However, please feel free to get back to us if you have Google Ads API concerns and provide more details to it so that we can give support to you. Regards, Carme

Re: invalid_grant

2022-10-23 Thread Can Manisalı
Solved. 21 Ekim 2022 Cuma tarihinde saat 23:16:39 UTC+3 itibarıyla Can Manisalı şunları yazdı: > Hi, > When I send request to get access_token I get this response. I couldn't > find an error in my request. > { error: 'invalid_grant', error_description: 'Bad Reque

invalid_grant

2022-10-21 Thread Can Manisalı
Hi, When I send request to get access_token I get this response. I couldn't find an error in my request. { error: 'invalid_grant', error_description: 'Bad Request' } Thanks in advance for your support. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also f

{'error': 'invalid_grant', 'error_description': 'Bad Request'} about OAuth

2022-08-22 Thread Dora Miss
Hi team! I’m using developer_token to confirm the iap from Google Console in my game, recently I got an error {'error': 'invalid_grant', 'error_description': 'Bad Request'} Please tell me the reason for the error and the solution, to continue the corre

Re: General Google Oauth2 confusion ('invalid_grant' when exchanging authorization code)

2022-07-11 Thread Ngon Nguyen
Vào 3:04, Th 6, 24 thg 6, 2022 Dmitry M đã viết: > Team, > > After Google blocked the 'less secure apps' access to Gmail and such I'm > trying to rewrite my client code to use Google's OAuth2 API. > > But I'm stuck w/the notorious 'invalid_grant&

RE: Error: 16 UNAUTHENTICATED: Failed to retrieve auth metadata with error: invalid_grant

2022-07-03 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Adnan, Thank you for posting your concern. One of the possible reasons for invalid_grant error is when your refresh token has been expired or revoked. Please note that a Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status

Error: 16 UNAUTHENTICATED: Failed to retrieve auth metadata with error: invalid_grant

2022-07-03 Thread Adnan Hassan
I am using google ads api for reporting and keyword plan purposes in our application. it was working perfectly fine some time ago But now i'm facing this error Error: 16 UNAUTHENTICATED: Failed to retrieve auth metadata with error: invalid_grant at Object.callErrorFromStatus (C:\User

Error: 16 UNAUTHENTICATED: Failed to retrieve auth metadata with error: invalid_grant

2022-07-03 Thread Adnan Hassan
I am using npm's google-ads-api for reporting and keyword plan purposes in our application. it was working perfectly fine some time ago But now i'm facing this error Error: 16 UNAUTHENTICATED: Failed to retrieve auth metadata with error: invalid_grant at Object.callErrorFro

Re: POST https://oauth2.googleapis.com/token resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" }

2022-06-29 Thread Александр Чернуха
ve encountered the error, 'invalid_grant' > <https://developers.google.com/google-ads/api/docs/best-practices/common-errors?hl=en#invalid_grant>. > > Can you please try regenerating your OAuth2 credentials along with the > refresh token and see if this behavior

RE: POST https://oauth2.googleapis.com/token resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" }

2022-06-29 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thanks for reaching out to the Google Ads API support and for providing all details. I understand that you’ve encountered the error, 'invalid_grant'. Can you please try regenerating your OAuth2 credentials along with the refresh token and see if this behavior persists? Could

POST https://oauth2.googleapis.com/token resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" }

2022-06-29 Thread Александр Чернуха
Our application worked fine, but today all request returned an auth error: POST https://oauth2.googleapis.com/token resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" } We changed password, generated n

"error": "invalid_grant", "error_description": "Bad Request"

2022-06-28 Thread Saeed Rehman
ntId(), 'client_secret' => $this->getClientSecret(), 'redirect_uri' => $this->getRedirectUrl(), 'grant_type' => 'authorization_code', ); response is: 'body' => '{ "error": "invalid_grant", &quo

Re: "eror": "invalid_grant", "error_description": "Bad Request"

2022-06-28 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Saeed, Thank you for the reply. Moving forward, The "invalid_grant” error usually indicates an issue with the refresh token. That said, you will need to regenerate credentials and refresh tokens. You may refer here to this guide for the steps on how you can regenerate credential

Re: "eror": "invalid_grant", "error_description": "Bad Request"

2022-06-28 Thread Saeed Rehman
thanks for responding . i already send you all the detail using auther option. On Tuesday, June 28, 2022 at 4:33:46 PM UTC+4 adsapi wrote: > Hi Saeed, > > Thank you for reaching out to our API support team. > > To help you in your concern, could you please provide the complete request >

RE: "eror": "invalid_grant", "error_description": "Bad Request"

2022-06-28 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Saeed, Thank you for reaching out to our API support team. To help you in your concern, could you please provide the complete request and response logs, with the request-id? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > L

"eror": "invalid_grant", "error_description": "Bad Request"

2022-06-28 Thread Saeed Rehman
'body' => '{ "error": "invalid_grant", "error_description": "Bad Request" } hi i am facing this error can any one guide me -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also fi

General Google Oauth2 confusion ('invalid_grant' when exchanging authorization code)

2022-06-23 Thread Dmitry M
Team, After Google blocked the 'less secure apps' access to Gmail and such I'm trying to rewrite my client code to use Google's OAuth2 API. But I'm stuck w/the notorious 'invalid_grant' issue. Here, pay attention: this is about the very 'second'

RE: Uncaught GuzzleHttp\Exception\ClientException / invalid_grant

2022-03-06 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Laurent/Anita, Thank you for reaching out. The "invalid_grant” error usually indicates an issue with the refresh token. That said, you’ll need to regenerate credentials and refresh tokens. You may refer here to this guide for the steps on how you can regenerate credentials and re

Re: Uncaught GuzzleHttp\Exception\ClientException / invalid_grant

2022-03-04 Thread Anita Gupta
tps://oauth2.googleapis.com/token> resulted in a `400 Bad Request` > response: { "error": "invalid_grant", "error_description": "Bad Request" } > > The account witch I use the customer ID in searchStream is a child account > of the admin acco

Uncaught GuzzleHttp\Exception\ClientException / invalid_grant

2022-03-04 Thread Laurent Petr
eption\ClientException: Client error: `POST https://oauth2.googleapis.com/token` resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" } The account witch I use the customer ID in searchStream is a child ac

RE: "error": "invalid_grant", "error_description": "Invalid email or User ID"

2022-02-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello Elena, Thanks for reaching out to the Google Ads API support and for providing all details. I understand that you’ve encountered the error, 'invalid_grant'. Usually this error occurs when a token has been expired or revoked. Can you please try regenerating your OAuth2 credent

"error": "invalid_grant", "error_description": "Invalid email or User ID"

2022-02-08 Thread Elena LB
build(); And this is the error: java.io.IOException: Error getting access token for service account: 400 Bad Request { "error": "invalid_grant", "error_description": "Invalid email or User ID" }, iss: Could you please help us with this

Re: invalid_grant temporary error

2021-08-31 Thread Mhmoudahmdmohmmd homydt
653 في الأربعاء، 1 سبتمبر، 2021 12:54 ص Mhmoudahmdmohmmd homydt < mhmoudahmdmohmmdhom...@gmail.com> كتب: > > > 653 > > في الأربعاء، 1 سبتمبر، 2021 12:11 ص Google Ads API Forum Advisor > كتب: > >> Hi Jan, >> >> Thank you for reaching out to us with your >> question. The invalid grant error occurs

Re: invalid_grant temporary error

2021-08-31 Thread Google Ads API Forum Advisor
Hi Jan, Thank you for your follow up. I work with William and allow me to assist you as well. Regarding outages, our team is not aware of any that may have caused issues related to authentication. For this, I would recommend that you reach out to the Google API Console support team, via this l

Re: invalid_grant temporary error

2021-08-31 Thread Mhmoudahmdmohmmd homydt
653 في الأربعاء، 1 سبتمبر، 2021 12:11 ص Google Ads API Forum Advisor كتب: > Hi Jan, > > Thank you for reaching out to us with your > question. The invalid grant error occurs because of a mismatch of > credentials and tokens. We would recommend clearing the cache and using the > newly generated r

Re: invalid_grant temporary error

2021-08-31 Thread Jan Đonny Záruba
Dear William, I am aware when this error happens and this wasn't that case. Tokens which were working just fine suddenly stopped working (without any change on our side!) and new ones couldn't be generated for few hours. After those few hours everything went back to normal. There is no cache i

RE: invalid_grant temporary error

2021-08-31 Thread Google Ads API Forum Advisor
Hi Jan, Thank you for reaching out to us with your question. The invalid grant error occurs because of a mismatch of credentials and tokens. We would recommend clearing the cache and using the newly generated refresh token. Regards, William Pescherine Google Ads API Team ref:_00D1U1174p._5004Q

invalid_grant temporary error

2021-08-28 Thread Jan Đonny Záruba
d authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.";, "status": "UNAUTHENTICATED" } { "error": "invalid_grant", "error_description": "Bad Request" } -- -- =~=~=~=~=

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-17 Thread Google Ads API Forum Advisor
Hi Pratik, Let us know if you have any further questions related to Google Ads API. Thanks, Lakshmi Prathipati Google Ads API Team ref:_00D1U1174p._5004Q2Lkmcl:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-17 Thread pratik patel
Thank you Ramesh & Lakshmi. I have the same issue I think. I have also a consent screen showing in Testing. I change the status of it and will check after 7 days. Regards, Pratik Patel On Thursday, 12 August 2021 at 23:50:45 UTC+5:30 rames...@minstersoft.co.uk wrote: > Thank you Lakshmi. > >

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-12 Thread Ramesh Pun
Thank you Lakshmi. On Wednesday, 11 August 2021 at 15:42:08 UTC+1 adsapi wrote: > Hi Ramesh, > > This is Lakshmi from Google Ads API team. I work along with Matt. Glad to > hear that your issue was resolved. Yes in testing phase, the refresh token > will expire in 7 days. OAuth guide: > https:

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-11 Thread Google Ads API Forum Advisor
Hi Ramesh, This is Lakshmi from Google Ads API team. I work along with Matt. Glad to hear that your issue was resolved. Yes in testing phase, the refresh token will expire in 7 days. OAuth guide: https://developers.google.com/identity/protocols/oauth2#expiration In order to send the private me

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-11 Thread Ramesh Pun
Hi, Thank you for the response. I've created new OAut2 credentials with publishing status of 'In Production' and it's working fine till now. I think, the problem might have occurred in first place because previously OAuth2 Credentials might have been created when publishing status was 'In Test

Re: invalid_grant: Bad Request

2021-08-09 Thread Google Ads API Forum Advisor
Hi, Thank you for your follow up. You mentioned that you already created a new set of credentials and refresh token and yet the issue persists. That said, could you confirm if : You created your client ID and client secret by referring the steps mentioned here The refresh token was created by

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-09 Thread Google Ads API Forum Advisor
Hi Ramesh, Can you please reply privately with the complete request and response logs so that we can have a closer look? Also, can you please confirm that you have enabled the Ads API in your Console project? Thanks, Matt Google Ads API Team Matt Google Ads API Team ref:_00D1U1174p._5004Q2Lkmc

Re: invalid_grant: Bad Request

2021-08-08 Thread Analytics SP
Hello, Thank you for your reply. However, I tried regenerating a new refresh token but I also got the same error. I also tried regenerating a new client ID and client secret and then regenerating a new refresh token but it also didn't work. On Friday, August 6, 2021 at 7:17:34 PM UTC+3 adsapi w

RE: invalid_grant: Bad Request

2021-08-06 Thread Google Ads API Forum Advisor
Hi, Thank you for reaching out to Google Ads API support. Refresh token support is a general GCP issue for many API's, you may reach out to GCP support for assistance. With that being said you may want to try regenerating the refresh token. You may also check this page about refresh token expi

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-06 Thread Ramesh Pun
ad Request` response: { "error": "invalid_grant", "error_description": "Token has been expired or revoked." } Thanks, Ramesh On Thursday, 5 August 2021 at 18:22:22 UTC+1 adsapi wrote: > Hello, > > Thanks for reaching out. Can you please try reg

invalid_grant: Bad Request

2021-08-06 Thread Analytics SP
I am not able to make API calls, I am getting this error: google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', {'error': 'invalid_grant', 'error_description': 'Bad Request'}) Although I am following exactly all the steps req

RE: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-05 Thread Google Ads API Forum Advisor
Hello, Thanks for reaching out. Can you please try regenerating your OAuth2 credentials along with the refresh token and see is this behavior persists? Please let us know if you continue to see this issue. Regards, Matt Google Ads API Team Matt Google Ads API Team ref:_00D1U1174p._5004Q2Lkmcl:

Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-05 Thread pratik patel
quest` response: { "error": "invalid_grant", "error_description": "Bad Request" } We get access type is offline so we not want to generate refresh token again and again. Regards, Pratik Patel -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

RE: 有没有中文技术支持?我们遇到了invalid_grant的错误!

2021-06-29 Thread Google Ads API Forum Advisor
Hi, Please note that our team can only provide support in English. If you will send your replies in different language, then we will use Google translate to check your concern. Moving forward, you are correct that the issue is related to authorization / authentication of API request and specif

Re: 有没有中文技术支持?我们遇到了invalid_grant的错误!

2021-06-29 Thread 夏双双
这种问题应该跟授权的有关,我这边有一个java的demo不知道能否给到你一些帮助, 当然如果demo上还无法帮助到你,我也很乐意帮你瞧瞧问题, wx: mzx__0324 在2021年6月25日星期五 UTC+8 下午5:01:54 写道: > 请问你们解决了吗?我们也是php,然后也遇到了类似的问题,有无联系方式 > > 在2021年6月16日星期三 UTC+8 下午3:10:01 写道: > >> 谷歌的技术人员你好: >> >> 我们在使用GoogleAds >> php客户端库时遇到了inv

RE: 有没有中文技术支持?我们遇到了invalid_grant的错误!

2021-06-28 Thread Google Ads API Forum Advisor
you an overview first about the invalid_grant error, this signifies that the access or refresh token being passed in your request is incorrect or invalid. Please note that the email address used to generate those credentials should have the appropriate access to the production account that you&#x

RE: invalid_grant error using AdWords Java client

2021-06-27 Thread Google Ads API Forum Advisor
Hello Diego, Thank you for raising this to us. As for the error (invalid_grant), this signifies that the access or refresh token being passed in your request is incorrect or invalid. Since you've mentioned that you were able to authenticate correctly before repeating the auth flow, hav

Re: 有没有中文技术支持?我们遇到了invalid_grant的错误!

2021-06-25 Thread lee
请问你们解决了吗?我们也是php,然后也遇到了类似的问题,有无联系方式 在2021年6月16日星期三 UTC+8 下午3:10:01 写道: > 谷歌的技术人员你好: > > 我们在使用GoogleAds > php客户端库时遇到了invalid_grant的错误,我们已经获取了refreshToken,并将clientId,clientSecret,developerToken,customerId,refreshToken都已经配置到了google_ads_php.ini中,google_ads_php.ini配置文件也已经存放在当前用户的home目录下。

invalid_grant error using AdWords Java client

2021-06-24 Thread Diego Morello
Hi, I would like to ask for help with an AdWords API issue I'm experiencing I started getting the following error for some accounts: { "error" : "invalid_grant", "error_description" : "Bad Request" } This started happening in one of our Java a

RE: Issue - "error": "invalid_grant", "error_description": "Bad Request"

2021-06-21 Thread Google Ads API Forum Advisor
Hi, This error occurs because of a mismatch of credentials and tokens. I would recommend clearing the cache and using the newly generated refresh and access token pair. https://developers.google.com/google-ads/api/docs/oauth/client-library Thanks, Lakshmi Prathipati Google Ads API Team ref:_0

RE: 有没有中文技术支持?我们遇到了invalid_grant的错误!

2021-06-21 Thread Google Ads API Forum Advisor
Hello, Unfortunately, our team can only provide email support. If you can provide us with a summary of the current issue, we will be able to better assist. If you suspect that your issue pertains specifically to the Java client library, you can reach out to the Java client library owners here,

Re: 有没有中文技术支持?我们遇到了invalid_grant的错误!

2021-06-18 Thread yushan mu
你好,能留一个微信或其他的联系方式么。我使用java语言也无法正常执行GetCampaigns 能否帮我看看在基础配置中我哪里是否有问题 在2021年6月16日星期三 UTC+8 下午3:10:01 写道: > 谷歌的技术人员你好: > > 我们在使用GoogleAds > php客户端库时遇到了invalid_grant的错误,我们已经获取了refreshToken,并将clientId,clientSecret,developerToken,customerId,refreshToken都已经配置到了google_ads_php.ini中,google_a

Issue - "error": "invalid_grant", "error_description": "Bad Request"

2021-06-18 Thread NICOLE HAN
Hello, I ended up with the error below when I tested GetCampaigns.php from the PHP client library. It worked fine with my test account, but went wrong with the production account. [image: 111.png] Any help is appreciated. Thank you. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Als

RE: 有没有中文技术支持?我们遇到了invalid_grant的错误!

2021-06-17 Thread Google Ads API Forum Advisor
Hello, Thanks for your patience. Please note that our channel can only provide English support. Can you please provide us with the complete request and response logs from the successful test account call? This will let us look more closely at the issue. Regards, Matt Google Ads API Team Matt

有没有中文技术支持?我们遇到了invalid_grant的错误!

2021-06-16 Thread hailong zhou
谷歌的技术人员你好: 我们在使用GoogleAds php客户端库时遇到了invalid_grant的错误,我们已经获取了refreshToken,并将clientId,clientSecret,developerToken,customerId,refreshToken都已经配置到了google_ads_php.ini中,google_ads_php.ini配置文件也已经存放在当前用户的home目录下。 我们在调用php客户端库中的例子程序GetCampaigns.php时,遇到了如下错误 [root@iZj6cjfcqhdx9dq7v068syZ BasicOperations

Re: Google Ads API PHP client reported invalid_grant error

2021-06-08 Thread Google Ads API Forum Advisor
Hi, I work with William and let me provide support to your concern. To give more details about this error, this signifies that the access or refresh token being passed in your request is incorrect or invalid. Please note that the email address used to generate those credentials should have the

Re: Google Ads API PHP client reported invalid_grant error

2021-06-08 Thread hailong zhou
Hi William, I created another test account and the call was successful, but the production account call fails The following is my test account call successful content # php GetCampaigns.php --customerId=3602938739 Campaign with ID 13322273954 and name 'App promotion-App-1' was found. [2021-06-0

RE: Google Ads API PHP client reported invalid_grant error

2021-05-24 Thread Google Ads API Forum Advisor Prod
Hi Hailong, Thank you for bringing this issue to our attention. In looking voer the docuemnts, I want to just make sure that you have done the following items. As it looks like there has been an erroro in setting up the account which is why you would get this. Have you checked to make sure tha

Google Ads API PHP client reported invalid_grant error

2021-05-23 Thread hailong zhou
token` resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" } in /home/gg/google-ads-php/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Stack trace: #0 /home/gg/google-ads-php/vendor/guzzleht

400 Bad Request Invalid_grant

2021-02-04 Thread abadariki temidayo
, "redirect_uri": "urn:ietf:wg:oauth:2.0:oob", "response_type": "offline", "grant_type": "authorization_code" } const { data } = await axios({ url: 'https://accounts.google.com/o/oauth2/token', method: &#x

Re: Credential could not be refreshed, "error" : "invalid_grant", "error_description" : "Bad Request"

2021-02-01 Thread Google Ads API Forum Advisor Prod
Hi Du, Please let us know how it goes. Feel free to contact us if you have any further questions. Thanks, Lakshmi Prathipati Google Ads API Team ref:_00D1U1174p._5004Q2BbycF:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogsp

Re: Credential could not be refreshed, "error" : "invalid_grant", "error_description" : "Bad Request"

2021-01-31 Thread dudoa...@gmail.com
Thank you for your response. I will check it again My appreciation. Du Doan On Saturday, January 30, 2021 at 3:30:15 AM UTC+7 adsapiforumadvisor wrote: > Hi Du, > > It looks like the client ID and secret that are in place were not used to > generate the refresh token in the first instance. Plea

RE: Credential could not be refreshed, "error" : "invalid_grant", "error_description" : "Bad Request"

2021-01-29 Thread Google Ads API Forum Advisor Prod
Hi Du, It looks like the client ID and secret that are in place were not used to generate the refresh token in the first instance. Please double check if you are using the right client credentials in your application. Thanks, Lakshmi Prathipati Google Ads API Team ref:_00D1U1174p._5004Q2BbycF:

Credential could not be refreshed, "error" : "invalid_grant", "error_description" : "Bad Request"

2021-01-28 Thread dudoa...@gmail.com
rdsService.(GetReportAdwordsService.java:48) ... 1 more Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request { "error" : "invalid_grant", "error_description" : "Bad Request" } at com.google.api.client.auth.oauth2.TokenResponse

token is invalid_grant error

2020-12-29 Thread an.sa...@gmail.com
hi , i am using java sdk , version is 10.1.0 i am question first type, token is expired type this is keep tring... so calls don't end Why do you keep call ? second type, The google access api level is standard. but, Too many requests error Occurs Occurs when using certain methods.

Re: Failed to refresh access token - invalid_grant error

2020-11-25 Thread Google Ads API Forum Advisor Prod
Hi Gal, I am happy to know that your API is working now. Feel free to post your further concerns on this forum and our team would be happy to provide support. Regards, Ernie John Blanca Tacata Google Ads API Team ref:_00D1U1174p._5004Q25XhJB:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: Failed to refresh access token - invalid_grant error

2020-11-25 Thread Gal Talmor
Hi, I am sorry for the delay. It's working now! :) I had to fill both OAuth2RefreshToken and OAuth2AccessToken in the AdWordsAppConfig. *To create a "refresh token":* https://accounts.google.com/o/oauth2/auth?access_type=offline&state&response_type=code&client_id= *MY_CLIENT_ID* &redirect_uri=urn

Re: Failed to refresh access token - invalid_grant error

2020-10-05 Thread Google Ads API Forum Advisor Prod
Hi Gal, Please try to open the link on a private window. If you still have issues, please send me a screenshot of the webpage. Regards, Anthony Google Ads API Team Anthony Google Ads API Team ref:_00D1U1174p._5004Q25XhJB:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us

Re: Failed to refresh access token - invalid_grant error

2020-10-05 Thread Gal Talmor
Hi, I am sorry but the link is not working. Could you please check it again? Thanks, Gal On Wednesday, September 30, 2020 at 6:41:49 PM UTC+3 adsapiforumadvisor wrote: > Hi Gal, > > You will need to obtain an access token. You can find more details on how > to generate one here >

Re: Failed to refresh access token - invalid_grant error

2020-09-30 Thread Google Ads API Forum Advisor Prod
Hi Gal, You will need to obtain an access token. You can find more details on how to generate one here. Regards, Anthony Google Ads API Team Anthony Google Ads API Team ref:_00D1U1174p._5004Q25XhJB:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://g

Re: Failed to refresh access token - invalid_grant error

2020-09-30 Thread Gal Talmor
Hi, I am sorry, I have no permission to reply to the author only. The option is disabled and I see this tooltip: "You do not have permission to reply to author in this group". Anyway, I cannot see an actual API call, this exception is thrown from the Google.AdWords NuGet before actually make an

RE: Failed to refresh access token - invalid_grant error

2020-09-29 Thread Google Ads API Forum Advisor Prod
Hi Gal, Please reply privately to author your SOAP request and response so that I can further investigate. Please also let me know the user email that you were using with your credentials. Thanks, Anthony Google Ads API Team Anthony Google Ads API Team ref:_00D1U1174p._5004Q25XhJB:ref -- --

Failed to refresh access token - invalid_grant error

2020-09-29 Thread Gal Talmor
; Google.Apis.Auth.OAuth2.Responses.TokenResponseException: Error:"invalid_grant", Description:"Bad Request", Uri:"" at Google.Apis.Auth.OAuth2.Requests.TokenRequestExtenstions.d__0.MoveNext() ... Thanks, Gal -- -- =~=~=~=~=~=~=~=~=

Re: how to fix OAuth "Invalid_grant" error.

2020-09-28 Thread ankitt...@gmail.com
This is my MCC account. Email: ankitthapa...@gmail.com Adwords ID: 873-196-8266 (OUR MCC ACCOUNT) Please help me to fix the issue. Thanks On Monday, September 28, 2020 at 6:24:04 PM UTC+5:30 adsapiforumadvisor wrote: > Hi, > > Thank you for providing information. Can you please provide MCC ac

Re: how to fix OAuth "Invalid_grant" error.

2020-09-28 Thread Google Ads API Forum Advisor Prod
Hi, Thank you for providing information. Can you please provide MCC account so that i can further investigate the issue. Please reply privately author option while sharing details. Thanks, Nirmitabahen Gaurav Patel Google Ads API Team ref:_00D1U1174p._5004Q24apbu:ref -- -- =~=~=~=~=~=~=~=~=

Re: how to fix OAuth "Invalid_grant" error.

2020-09-26 Thread ankitt...@gmail.com
*Fatal error*: Uncaught Google\AdsApi\AdWords\v201809\cm\ApiException: [AuthenticationError.CUSTOMER_NOT_FOUND @ ] in D:\xampp\htdocs\ppcfraud\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\Util\Reflection.php:43 Stack trace: #0 D:\xampp\htdocs\ppcfraud\vendor\googleads\googleads-

Re: how to fix OAuth "Invalid_grant" error.

2020-09-26 Thread ankitt...@gmail.com
Thanks for give me the solutions. I did investigate this. But I am getting same error. Google have 3 types of adwords account. 1) MCC account 2) Manager account 3) Client account. I am right? When I try to allow the oauth2 service with Manager account then I got success. When I try to allow th

Re: how to fix OAuth "Invalid_grant" error.

2020-09-25 Thread Google Ads API Forum Advisor Prod
Hi Ankitt, The AuthenticationError.CUSTOMER_NOT_FOUND error is encountered when no Google Ads account is found for the customer Id provided in the header. Could you please confirm if the client customer Id(CID) belongs to a valid account and if the OAuth2 credentials were created using an email

Re: how to fix OAuth "Invalid_grant" error.

2020-09-24 Thread ankitt...@gmail.com
Hello Nirmitabahen Gaurav Patel, -> When I try to get MCC adwords account id by oauth2 then I am getting CUSTOMER_NOT_FOUND exception. -> I have two MCC adwords account. 1) 873-196-8266 (OUR MCC ACCOUNT) 2) 975-404-7233 (CLIENT MCC ACCOUNT) -> I want to link "CLIENT MCC ACCOUNT" with "OUR MC

Re: how to fix OAuth "Invalid_grant" error.

2020-09-24 Thread Google Ads API Forum Advisor Prod
Hi Ankitt, Thanks for reaching out. With regards to your concern, can you please provide complete request and response logs along with customer id so that i can further investigate the issue. Please reply privately author option while sharing details. Thanks, Nirmitabahen Gaurav Patel Google

  1   2   3   >