RE: refresh token expire in 7 days

2025-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Mary, Thank you for reaching out to the Google Ads API support team. If you use the OAuth Playground to generate a refresh token, it will automatically revoke refresh tokens after 24h. Also, you may refer to this document to read more information about refresh token expiration. If you set

OAuth 2.0 Refresh Token expire in 7 days

2025-01-29 Thread Mary Shiya Shaji
Hi, I am using Google ads APIs, and I use OAuth 2.0 for authentication. The OAuth refresh token expires after 7 days. My OAuth consent screen is currently in "Testing" status. If I change it to "Production" and verify my app in the Google Cloud platform, will the refresh

Refresh Token expire in 7 days

2025-01-29 Thread Mary Shiya Shaji
Hi, I am using Google ads APIs, and I use OAuth 2.0 for authentication. the refresh token of OAuth 2.0 expire after 7 days. My OAuth consent screen is currently in "Testing" status. If I change it to "Production" and verify my app in Google cloud platform, will the refresh

RE: not able to obtain the refresh token after app is verified.

2024-11-18 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. In order to get a refresh token, I would suggest you to get client ID and client secret using this guide. Also, I would recommend you to follow the steps mentioned in the Generate tokens document to generate access token and

not able to obtain the refresh token after app is verified.

2024-11-18 Thread Jonghee Kim
Hello Team. Sorry for your inconvenience. I want to correct some typos including the title. * not able to revoke -> not able to obtain * with revoking the refresh token -> with reissuing the refresh token Please feel free to contact me. Thank you. JH 2024년 11월 18일 월요일 오후 5시 45분 37초

not able to revoke the refresh token after app is verified.

2024-11-18 Thread Jonghee Kim
Hello Team, Thanks for Google's API OAuth Dev Verification Team, Nowadays the application of our company is successfully verified for google ads APIs. However, there's a big problem with revoking the refresh token. After 7 days I changed the application mode from development to produc

Ads API | Refresh token

2024-11-03 Thread Aaryan Sinha
Hello Ads API support, I am getting some issues with getting wrong customers in API response. Earlier I had the refresh token given by my collegue for an application in google console. I used that to make the requests like `listAccissableCustomers` which was giving me the response of our

Refresh token | Permission Denied | Ads api

2024-11-03 Thread Aaryan Sinha
Hello Google Ads API Support, So I have an app in my google console, where I have the standard access. I am using its client-id and secret to complete the oAuth flow and generate the refresh token, using the following scopes: scope: [ 'https://www.googleapis.com/auth/userinfo.profile

RE: refresh token expiring in 7 days

2024-10-22 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. Based on the information provided, your issue is related to the refresh token. Refresh token expires every 7 days when your google project's publishing status is 'Testing'. You can refer to the document Refresh t

Refresh token expiring in 7 days

2024-10-22 Thread Hero Team
Is this only while app is not published? After publishing, refresh token will be until revoked correct? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this

Refresh token expiry exactly in counts & messaging system or any events are available?

2024-08-22 Thread 'Manish Kumar' via Google Ads API and AdWords API Forum
Hi all, I We have integrated Google fit with our app to initiate outh chain for consent and later use the services for collect the data, here I have two points to discuss with you. 1. What would be the expiry time of refresh token in number of days if we continously use it and don't

RE: share api refresh token across platform

2024-07-31 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
nfigured for an external >user type and a publishing status of "Testing" is issued a refresh token >expiring in 7 days. So if your Google project's publishing status is Testing >so the refresh token expires every 7 days and receives an invalid_grant error. You can follow the

share api refresh token across platform

2024-07-31 Thread Pratik Gavand
HI - I am working on oauth changes. we have a web app with its own client id and client secret and we have andorid and ios with its own client id and secret. User can grant additional scopes in mobile that are visible in the user account on the google. However web app is not aware of the new sco

Re: inquiry about refresh token expiry and renewal in google ads api

2024-07-31 Thread Yash Samsukha
Hi, Thank you for the information and assistance regarding the refresh token. I appreciate your help. I will reach out to the GCP Product support team for further assistance. On Tuesday, July 30, 2024 at 8:54:12 PM UTC+5:30 Google Ads API Forum Advisor wrote: > Hi, > > Than

RE: inquiry about refresh token expiry and renewal in google ads api

2024-07-30 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. There is no specific day/time limit for the refresh token to expire in the 'published' status. I would like to inform you that you need to re-authenticate through the whole process again to generate the valid ref

Inquiry About Refresh Token Expiry and Renewal in Google Ads API

2024-07-30 Thread Yash Samsukha
Hi Google Ads API Team, I am integrating a web application in which my refresh token is expiring in a few days. I read about the application status change process from 'testing' to 'published.' However, I have a concern: Is there any specific day/time limit for the ref

RE: grenerate refresh token for google ads api

2024-07-18 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. Based on the information provided, it appears that your issue is related to Google Apps Script. I suggest reaching out to the Google Apps Script support team as they should be better equipped to address your concern. Please not

Grenerate Refresh Token for Google Ads API

2024-07-18 Thread Prashanth Reddy
and secret key but am unable to find a way to create a refresh token. I need to update this information every day, so I need your assistance in creating a refresh token. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com

RE: refresh token expire

2024-07-03 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. Based on the information provided, I understand that you would like to know the expiration time for a refresh token in production. I would like to inform you that the refresh token expires every 7 days when your Google

Refresh Token Expire

2024-07-03 Thread Nikhil HIRAPARA
Hello, I have a query regarding the expiration of refresh tokens. If we set the user type as internal and the project status to production, will our refresh tokens expire or be revoked after 7 days? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googl

how can i get refresh token

2024-07-02 Thread 곽동호
when i follow https://developers.google.com/google-ads/api/docs/get-started/make-first-call?hl=ko#fetch_a_refresh_token this steps, The only thing that i get is code value in a url (i think it is not refresh token but a auth code) ex)http://localhost:8080/?code=4

RE: refresh token expires within 7 days - in production

2024-05-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Laurence, Thank you for contacting the Google Ads API support team. After reviewing your concern, I understand that your refresh token expires within 7 days. I would recommend you to check this Refresh token expiration documentation for more information on how the refresh token expires. If

Refresh token expires within 7 days - In Production

2024-05-07 Thread testing
rough “unverified app” warning screens during sign-in). Such apps will need to complete a verification, if they want to grow their user base beyond 100. (link <https://support.google.com/cloud/answer/13464323>) Despite being in production, the refresh token keeps expiring. How to p

generating refresh token

2024-04-12 Thread ofir sabag
I'm attempting to connect to the Google Ads API using a C# library, but I'm struggling to understand how to generate an OAuth2 refresh token. I've read the documentation, which suggests using oauth2l, but I haven't been able to install it on my computer. Is there an a

Re: Refresh token generating invalid acess tokens

2024-04-08 Thread Selcuk
omer logs in with their Google Ads account.\ > 2. We get an auth token which we use to get a long-lived refresh token and > an access token > 3. The customer selects an ad account. > 4. We fetch the campaigns/adgroups/ads using the query endpoint every hour. > > Now, suddenly, th

Refresh token generating invalid acess tokens

2024-04-08 Thread Selcuk
get a long-lived refresh token and an access token 3. The customer selects an ad account. 4. We fetch the campaigns/adgroups/ads using the query endpoint every hour. Now, suddenly, the following has started to happen: 1. We fetch the campaigns, and get the following error

Re: refresh token expiration time

2024-03-21 Thread Cristian Andrei Grigore
e, offline access is enabled by > default—you don't have to explicitly request it.". > > Does that mean the refresh token will not expire once I get one? > > > On Friday, March 15, 2024 at 10:57:09 AM UTC+2 Google Ads API Forum > Advisor wrote: > >> Hi, >> >

Re: refresh token expiration time

2024-03-15 Thread Cristian Andrei Grigore
ogle.com/google-ads/api/docs/oauth/internals#offline_access>, I understand that "For the desktop app type, offline access is enabled by default—you don't have to explicitly request it.". Does that mean the refresh token will not expire once I get one? On Friday, March 15, 2024 a

Re: auto get refresh token in web application

2024-03-14 Thread Cristian Andrei Grigore
How do I get the refresh token (which never expires)? Is this the refresh token yield by Fetch a refresh token <https://developers.google.com/google-ads/api/docs/get-started/make-first-call?hl=en#fetch_a_refresh_token> ? On Thursday, January 18, 2024 at 1:18:19 AM UTC+2 Google Ads API

Re: refresh token expiration time

2024-03-14 Thread Cristian Andrei Grigore
? On Thursday, March 14, 2024 at 5:59:05 PM UTC+2 Google Ads API Forum Advisor wrote: > Hi, > > Thank you for contacting the Google Ads API support team. > > By reviewing your concern, I understand that you would like to know the > expiration time for a refresh token in productio

RE: refresh token expiration time

2024-03-14 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for contacting the Google Ads API support team. By reviewing your concern, I understand that you would like to know the expiration time for a refresh token in production. I would like to inform you that the refresh token expires every 7 days when your Google project's publi

Refresh token expiration time

2024-03-14 Thread Cristian Andrei Grigore
My use-case is a no GUI script that fetches data from the Google Ads API. I understand that one of the steps is to Fetch a refresh token <https://developers.google.com/google-ads/api/docs/get-started/make-first-call?hl=en#fetch_a_refresh_token> . What is the expiration time for the r

Looking for google ads api refresh token regenrate

2024-03-04 Thread tkraja mdu
Hi, Last few days google ads api return response as { "error": "invalid_grant", "error_description": "Token has been expired or revoked." } So, I need how to regenerate the refresh token and I tried all cases it return 'ACCESS TOKEN' only

RE: not able to fetch the refresh token

2024-02-09 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. After reviewing your concern, I understand that you are encountering an error while running the oauth2l command to fetch the refresh token. In order to assist you further, kindly provide us with more details of the error along

Not able to fetch the refresh token

2024-02-09 Thread Dexter
Hi, I've started a new application and would like to use the Google Ads API. I created a OAuth Screen to receive ClientID and Secret ID and I requested a Developer Token in the API Center. In order to make API calls I need also a refresh token and I tried to follow "Fetch a ref

auto get refresh token in web application

2024-01-17 Thread GoldenOfHeart
Hello. I tryed to connection with Google Api. Problem is that i need to generate refresh token. Currently I do that in this way: ~/go/bin/oauth2l fetch --credentials ~/your_credentials.json --scope cloud-platform It works but i need do that in a server into Laravel application. How I can do

RE: automating google ads api refresh token generation and renewal

2023-12-01 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. By reviewing your query, I understand that your concern is regarding the refresh token. I would recommend you to refer to these steps on how to Generate tokens. You may refer to the Fetch a refresh token guide for more details

Automating Google Ads API Refresh Token Generation and Renewal

2023-11-30 Thread Disha Sood
I'm using the Google Ads API to retrieve information from Google Ads campaigns. Initially, I manually generated a new refresh token by following specific steps to obtain an authorization code using a designated Google ID. Subsequently, I sent a CURL request with that code to gener

Regarding refresh token and access token

2023-11-19 Thread Rohit Chilana
Hi , I am generation access token from refresh token after every 30 seconds. Will it create any issue or it will be fine. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com

Re: google refresh token life time

2023-07-19 Thread lin shaohui
> with the subject *Google ads api Refresh Token Life Time*. We have > already replied to the other thread. For better tracking of the issue, > kindly continue discussion only in a single thread instead. > > To reiterate what was mentioned on that thread, kindly note that a Google >

Re: how long would a refresh token last if i changed my project's status to "in production"? also, can i retrieve a refresh token programmatically and without needing user input/confirmation?

2023-07-19 Thread Κωστας Μαυρογαλος
e Ads API Forum. > > Please see responses to your questions below. > > *A) Is there a way to get a refresh token without user input/verification? > If yes, how? If no, why not(asking academically)?* > > - Generating a refresh token requires a user input since refresh token is >

How long would a refresh token last if I changed my project's status to "In production"? Also, can I retrieve a refresh token programmatically and without needing user input/confirmation?

2023-07-19 Thread Κωστας Μαυρογαλος
o each of these questions please, if possible: A) Is there a way to get a refresh token *without* user input/verification? If yes, how? If no, why not(asking academically)? B) Assuming I change my project's status to "In Production", how long would my refresh tokens last then? Woul

Re: google refresh token life time

2023-07-19 Thread lin shaohui
Thank you 在2023年7月19日星期三 UTC+8 15:28:42 写道: > Hi, > > Thank you for reaching out to Google Ads API Forum. > > I can see that you've already raised this same concern in another thread > with the subject *Google ads api Refresh Token Life Time*. We have > already replie

Google ads api Refresh Token Life Time

2023-07-18 Thread lin shaohui
Hello, we are advertisers using the VAC MAPIT function. At present, we have encountered a problem. When using the API to upload Appsflyer advertising conversion data to Google Ads, the API refresh token is only valid for a few days. As shown in the figure, can we solve the problem by change the

RE: google oauth2 refresh token life time!

2023-06-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hamza, Thank you for reaching out to the Google Ads API support team. With regard to your concern on how long can Google OAuth2 Refresh Token live, as per our documentation (https://developers.google.com/google-ads/api/docs/oauth/internals#access_token_expiration) an access token has an

Google OAuth2 Refresh Token Life Time!

2023-06-23 Thread Hamza Shah
I'm just asking that how long can Google OAuth2 Refresh Token live and can make request to get access token? is there any number of days? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspo

Re: Refresh token

2023-06-20 Thread Pete Lavetsky (AdWords API Guru)
Google Ads API is on v14 now ... you're referencing v8 which is no longer supported https://developers.google.com/google-ads/api/docs/release-notes Pete On Tuesday, June 20, 2023 at 11:54:55 AM UTC-4 Giosuè Anastasi wrote: > My problem is that I can't even do a single "r

Re: Refresh token

2023-06-20 Thread Giosuè Anastasi
My problem is that I can't even do a single "refresh token". I'm using the official tool https://github.com/googleads/google-ads-doctor/issues Il giorno lunedì 19 giugno 2023 alle 14:03:59 UTC+2 Κωστας Μαυρογαλος ha scritto: > If your project is in "Testing"

Re: Refresh token

2023-06-19 Thread Κωστας Μαυρογαλος
If your project is in "Testing" because you haven't verified it, the refresh token expires after a week of its making. What helped me(using the PHP client library, was to literally just re-make a refresh token the same you made your first one. For the PHP library in particular,

Re: Refresh token

2023-06-19 Thread Emanuele Lucchese
/v8/customers/1399019468 HTTP/1.1 > Host: googleads.googleapis.com > User-Agent: google-ads-doctor/source > Developer-Token: REDACTED > Accept-Encoding: gzip > > > 2023/06/18 12:37:22 Get " > https://googleads.googleapis.com/v8/customers/1399019468": oauth2: token

Refresh token

2023-06-18 Thread Giosuè Anastasi
est to Google Ads API: GET /v8/customers/1399019468 HTTP/1.1 Host: googleads.googleapis.com User-Agent: google-ads-doctor/source Developer-Token: REDACTED Accept-Encoding: gzip 2023/06/18 12:37:22 Get "https://googleads.googleapis.com/v8/customers/1399019468": oauth2: token expired and r

Refresh token for internal app.

2023-06-15 Thread Sophie Quenard
Hi, i'm using a self hosted application to get our google ads data. I have this working. The app is privately hosted and no actual users log into it, it's authorised to connect to the google ads api. This is working but the refresh token seems to be failing to update the access tok

Re: refresh token issue

2023-04-19 Thread Chillar Admin
Thanks for the deletion of logs, I already changed the refresh token after posting. Problem is I am trying with test account only. Want to test first and then possibly we moved to better access On Wed, 19 Apr 2023 at 16:38, Google Ads API Forum Advisor wrote: > Hi, > > Thank you fo

Re: refresh token issue

2023-04-18 Thread Chillar Admin
Team, Logs are already attached with requestId. Can you pls help me with which kind of logs you need to debug further. On Mon, 17 Apr 2023 at 23:50, Google Ads API Forum Advisor wrote: > Hi, > > Thank you for reaching out to Google Ads API Forum. > > Moving forward with your concern, in order f

Re: refresh token issue

2023-04-18 Thread Chillar Admin
Update: Now generated refresh token using but getting the below error, trying OAuth consent screen with test user only [2023-04-18T08:31:24.602255+02:00] google-ads.WARNING: Request made: Host: " googleads.googleapis.com", Method: "/google.ads.googleads.v13.services.G

Re: refresh token issue

2023-04-17 Thread google-api-tester
As I mentioned earlier, - getting hung at https://github.com/googleads/google-ads-php/blob/af5bbaf010eca772cebdf0a56581adac8137f1f9/examples/Authentication/GenerateUserCredentials.php#L74 - No logs generated for GenerateUserCredentials

Re: Refresh Token issue

2023-04-17 Thread google-api-tester
getting hung at https://github.com/googleads/google-ads-php/blob/af5bbaf010eca772cebdf0a56581adac8137f1f9/examples/Authentication/GenerateUserCredentials.php#L74 On Monday, 17 April 2023 at 19:35:27 UTC+5:30 google-api-tester wrote: > Team, > > Please continue from here. > https://github.com/goo

Refresh Token issue

2023-04-17 Thread google-api-tester
Team, Please continue from here. https://github.com/googleads/google-ads-php/issues/894 Infinite run of GenerateUserCredentials .php -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

access token expire even with refresh token

2023-03-08 Thread Aimane FARISSI
Hello, im trying to connect to Google ads api with GoogleAdsClient, after generation of token and refresh token with scopes adwords and business.manage, i can connect and create budget, but after arround 1h the token expire even with a refresh token. looks like the refresh token of

RE: Cannot get refresh token

2023-02-15 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for raising this concern to the Google Ads API support team. Regarding your concern, I can see that this is about getting the refresh token. Having said that, I would suggest checking out our guide which is mainly for getting an OAuth2 Refresh Token and configuring your client

Cannot get refresh token

2023-02-15 Thread SCEPTER XPENG
Hello. Could you please take a look at the following question? I've set the access_type parameter to offline in the initial request to Google's authorization server. But there's no refresh_token paramter in the server response. The response as shown: { "access_token": "xxx", "expires_in":

RE: Encrypted Request Parameter giving error while calling Google API to generate Access token From Refresh Token

2023-02-13 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Sachin, Thank you for reaching out to us. Kindly note that this channel and our team provide support for Google Ads API related concerns only. However, since your concern is done through the Google Analytics API, then I would suggest you reach out instead to their support team via this link

Encrypted Request Parameter giving error while calling Google API to generate Access token From Refresh Token

2023-02-10 Thread sachin gupta
Hello Team, I am trying to generate the Access Token using Refresh token from Google Analytics API. The request which I am trying to send is encrypted using Python libraries. When I run the below code, I am getting below error: *{'error': 'unsupported_grant_type', 'er

Re: Expiry of Refresh Token / Access Token

2023-01-24 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Endrit, Thank you for reaching out to our API support team. The invalid_client is different from the invalid_grant (usually due to expired refresh tokens) error. That said, the invalid_client could indicate an issue with your credentials (client_id and client_secret) and we recommend that y

Re: Expiry of Refresh Token / Access Token

2023-01-24 Thread Endrit Hoti
Hello, I have same problem now. My app in cloud platform is external user type and publishing status "Production" and still the problem with refresh token persists. it says : google.auth.exceptions.RefreshError: (‘invalid_client: Unauthorized’, {‘error’: ‘invalid_client’, ‘error_d

RE: Regarding refresh token expiry & Creation dates

2022-12-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Vamshi, Thanks for reaching out to the Google Ads API Forum. I hope you are doing well today. For your question "May i know if there is any place in GCP or google ads manager account to check the refresh token creation date & expiration date etc. ", note that there is no su

RE: Error while generating refresh token - in Production mode

2022-12-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Vamshi, Thank you for reaching out to the Google Ads API support team. Please note that as per this guide, a Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a refresh token expiring in

Error while generating refresh token - in Production mode

2022-12-22 Thread Vamshi Merugu
nerate refresh token using python client libraries & We want to use the same refresh token for our daily process to call google client libraries. - As our app status un testing mode, the refresh token is expiring after 1 week. T fix the *refresh token expiration* issue after 1 we

Regarding refresh token expiry & Creation dates

2022-12-22 Thread Vamshi Merugu
HI team, I am using Oauth2 for desktop/web applciation for google ads api for posting data to enhanced conversions. I have created few refresh token to use. Some of them seems to be expired, as its a test account. *May i know if there is any place in GCP or google ads manager account to

Re: Refresh token for google adwords getting expire after 7 days

2022-12-13 Thread Daniel Zrust
Hi Sherwin, but the thing is that the scope being called is still* /adwords.* So I was thinking you could help too :) DZ -- S pozdravem/Best Regards Daniel Zrůst *m...@danzrust.cz * *702 200 560* On Tue, Dec 13, 2022 at 7:17 AM Google Ad

Re: Refresh token for google adwords getting expire after 7 days

2022-12-12 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for getting back to us. I hope that you are doing well today. Moving forward to your concern, please note that we, from Google Ads API support team only support Google Ads API related concerns. upon checking on the pdf file that you provided, we can see that this is regarding the

Re: Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-21 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello, You can check out the OAuth 2.0 documentation, particularly this page: https://developers.google.com/identity/protocols/oauth2/javascript-implicit-flow#oauth-2.0-endpoints This goes into a lot of detail on how to fetch access tokens using just curl requests, which should be translatable

Re: Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-18 Thread Chad Wood
to manually send this same request inside my program, I could collect the same response from your validation server--giving tighter control over the process On Thursday, November 17, 2022 at 8:14:48 AM UTC-8 Chad Wood wrote: > Thanks, and you are right that the access token and refresh token

Re: Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-18 Thread Chad Wood
Thursday, November 17, 2022 at 8:14:48 AM UTC-8 Chad Wood wrote: > Thanks, and you are right that the access token and refresh token is > generated by Google side. > > About this: "the URL includes query parameters that indicate the type of > access being reques

Re: Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-18 Thread Chad Wood
Thursday, November 17, 2022 at 8:14:48 AM UTC-8 Chad Wood wrote: > Thanks, and you are right that the access token and refresh token is > generated by Google side. > > About this: "the URL includes query parameters that indicate the type of > access being reques

Re: Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-18 Thread Chad Wood
An example of the payload I'd like to reproduce (values changed slightly for security): you can see at index 2 in f.req, also at {'f.req': [True, '!ChRxa0FhVGI1X294dHwOOsPwQrVIMxIfZ3g3TmFyZklDMFlTa013TWpqbVNUV1h5Vk17D3KqZw∙AD98QVYAY3VIexEJuF7PQTpFZd2Q1Zaaw8v28Dg4', None, None, ['gf.s

Re: Rest API refresh token. revoked in 1 hour

2022-11-18 Thread Duvan Felipe Buritica Cardona
hello dears, According to this example, because this request only returns the access token and not the refresh token. https://accounts.google.com/o/oauth2/v2/auth? scope=https%3A//www.googleapis.com/auth/adwords& access_type=offline& include_granted_scopes=true& respon

Re: Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-18 Thread Chad Wood
By the way, I had submitted a pretty detailed and nicely formatted message of the process and my goal--hoping that it would make everything super clear for whoever is able to help me. But, for some reason, at the time all my messages were automatically getting marked as "Message has been deleted

Re: Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-17 Thread Chad Wood
Thanks. I'll keep an eye out until then. On Thursday, November 17, 2022 at 1:45:50 PM UTC-8 adsapi wrote: > Hi Chad, > > Thanks for your patience on this and for your detailed description. Please > allow me to raise this question to our team. We will provide an update on > this shortly. > > Tha

Re: Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-17 Thread Chad Wood
Thanks, and you are right that the access token and refresh token is generated by Google side. About this: "the URL includes query parameters that indicate the type of access being requested" This is also correct. Here's what the url would look like: https:// accounts. googl

Re: Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-16 Thread Chad Wood
Thanks Sherwin, but the technical part that I struggle with has nothing to do with the Python library. It actually has to do with some proprietary piece of Google tech used during the OAUTH procedure. All the library does is spin up a server, produce a link for OAUTH verification, and makes the

Re: Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-15 Thread Chad Wood
Found this: - f.req is an array of “envelopes” for each payload in the batch. I’ll dive deeper into the structure of this later. - at is another XSRF mitigation parameter, this time tied to the user’s Google account and paired with a UNIX timestamp.

Re: Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-15 Thread Chad Wood
Again, this is all sent from the OAUTH flow for Desktop Apps. It's at the last step; basically this sends and you guys respond with a URL to be used for the callback. On Tuesday, November 15, 2022 at 4:22:59 PM UTC-8 Chad Wood wrote: > Here's an example of the payload I want to reproduce (valu

Re: Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-15 Thread Chad Wood
Here's an example of the payload I want to reproduce (values changed to prevent reuse) test_req = { 'f.req': [ True, '!ChRxa0FhVGI1X294dHwOOsPwQrVIMxIfZ3g3TmFyZklDMFlTa013TWpqbVNUV1h5Vk17D3KqZw∙AD98QVYAY3VIexEJuF7PQTpFZd2Q1Zaaw8v28eK3', None, None,

Trying to Reproduce the Payload for Getting a Refresh Token

2022-11-15 Thread Chad Wood
https://groups.google.com/g/adwords-api/c/bAgqtTr5OoY This issue has branched into a follow up question that should probably be handled separately. I'm investigating the process of requesting refresh tokens. I use the client library for Python titled "generate_user_credentials.py" for Desktop a

Re: Rest API refresh token. revoked in 1 hour

2022-11-13 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Duvan, Thank you for getting back to us. Could you please show us where you get that example? Have you followed the guide on the link that my colleagues provided on the previous email? Kind regards, Sherwin Vincent Google Ads API Team ref:_00D1U1174p._5004Q2fp4Ks:ref -- -- =~=~=~=~=~=~=~

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

2022-11-09 Thread Minyen Hsieh
te the app verification process, then I > can get a refresh token that never expires? > > >- Yes, you can prevent the refresh token expiring in 7 days. For more >information about the refresh token expiration, you may then see this >documentation >

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
a refresh token that never expires? Yes, you can prevent the refresh token expiring in 7 days. For more information about the refresh token expiration, you may then see this documentation. Also, you may refer here to this guide for the steps if you want to know how you can regenerate credentials a

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

2022-11-08 Thread Minyen Hsieh
Hi Carmela, So you're saying once I complete the app verification process, then I can get a refresh token that never expires? To complete the verification process, I will need to input Application Home Page and Application Privacy Policy, and also create a Youtube video for demo. I am

Re: Request youtube refresh token from manager account

2022-11-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for your response. Our Google Ads API support team is unfortunately not familiar with generating refresh tokens using the said "https://www.googleapis.com/auth/youtube"; scope. Our team also specializes only in managing Google Ads accounts (via the API) and not YouTube channels.

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: Request youtube refresh token from manager account

2022-11-07 Thread InnoGames Dev Marketing
nce to > issues/concerns related to the *Google Ads API* > <https://developers.google.com/google-ads/api/docs/start>. Since you are > trying to set up a youtube refresh token for a youtube channel of which you > only have a manager account with admin rights, then this does not a

Re: Rest API refresh token. revoked in 1 hour

2022-11-03 Thread Duvan Felipe Buritica Cardona
Hi, I have a question. if my application has the front (reat with javascript) and the black (API python). How would the flow be to obtain the token and update it. since it was currently done using curl and only lasts an hour. Thanks. On Wed, Nov 2, 2022, 11:54 PM Google Ads API Forum Advisor

RE: Request youtube refresh token from manager account

2022-11-03 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi there, Thanks for reaching out to the Google Ads API Forum. Please note that this forum channel can only provide assistance to issues/concerns related to the Google Ads API. Since you are trying to set up a youtube refresh token for a youtube channel of which you only have a manager

Request youtube refresh token from manager account

2022-11-03 Thread InnoGames Dev Marketing
Hello, We are currently trying to setup a youtube refresh token for a youtube channel of which we only have a manager account with admin rights. Sadly this does not seem to work currently. Are we correct in the assumption that currently only the owner of a youtube channel is able to request a

Re: Rest API refresh token. revoked in 1 hour

2022-11-02 Thread Duvan Felipe Buritica Cardona
API Forum. > > You may use our *client libraries* > <https://developers.google.com/google-ads/api/docs/client-libs> where > refresh token does not expire for a long time if your OAuth app is already > verified, and it does handle access token itself. Note that while using

RE: I am facing issue for retrieving access token from refresh token

2022-10-31 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hardik, Thanks for reaching out to the Google Ads API team. I hope you are doing well today. With regards to your concern, could you please confirm if you are using Google Ads API? If yes, you can use our client library and for you to generate a refresh token you may refer to this guide

I am facing issue for retrieving access token from refresh token

2022-10-30 Thread Hardik Masalawala
I am not able to get new access token using refresh token *ERROR : The remote server returned an error: (400) Bad Request.* public static string PostMethod(string baseAddress, string data) { try { HttpWebRequest request = HttpWebRequest.Create(baseAddress) as HttpWebRequest

Rest API refresh token. revoked in 1 hour

2022-10-27 Thread Duvan Felipe Buritica Cardona
Hi. I have a app of google ads api verified. but I have a problem. The token is revoked in 1 hour and when I try to update it through this method: --data "grant_type=refresh_token" \ --data "customer_id=CUSTOMER_ID" \ --data "client_secret=CUSTOMER_SECRET" \ --data "refresh_token=

RE: Google Ads API - Refresh token for Desktop app

2022-10-17 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Jesús, Thank you for raising this concern to the Google Ads API support team. To avoid the refresh token expiring in 7 days please go to the Google API Console and navigate to the OAuth consent screen and then change the publishing status to “In production”. For more information you can

  1   2   3   4   5   6   >