An accessToken is usually valid for 1 hour. After that you must refresh indeed. If you follow the examples of Google Ads, is always retrieves a new Access Token
On Thursday, December 15, 2022 at 11:34:28 AM UTC+1 mkaleem...@gmail.com wrote: > hi . i am using firbebase with Oauth with the following scopes > [ > "https://www.googleapis.com/auth/adwords", > "https://www.googleapis.com/auth/userinfo.email", > "openid", > "email", > "profile", > ] > while i am calling the google ads api with the resfresh 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 token > so user don;'t have to login again and again . > thanks > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/c0e9a7ff-cff2-4874-9f5d-6a9e1fe34edfn%40googlegroups.com.