im using GoogleAuthProvider From firebase/auth which react library. On success its return OauthAccessToken, and refreshToken Then I use that token as a authorization bearer token in header on google ads api
On Tuesday, April 4, 2023 at 10:31:25 PM UTC+5 Google Ads API Forum Advisor wrote: > Hello, > > Thank you for reaching out to the Google Ads API Support. > > You may ensure that you have properly created OAuth client ID and OAuth > Client Secret as per this *guide* > <https://developers.google.com/google-ads/api/docs/first-call/oauth-cloud-project#create_a_client_id_and_client_secret>. > > Also, could you confirm if you have generated a refresh token using our > supported *client libraries* > <https://developers.google.com/google-ads/api/docs/client-libs> ? If so, > then you may need to generate a refresh token as per this *code example* > <https://developers.google.com/google-ads/api/samples/generate-user-credentials> > in > order to resolve the 'ACCESS_TOKEN_SCOPE_INSUFFICIENT' error on your end. > > You may give it a try, and let us know how this goes on your end. > > Regards, > [image: Google Logo] Google Ads API Team > > ref:_00D1U1174p._5004Q2kFF5f: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/2820f038-b95b-4184-aa12-7532e88dee38n%40googlegroups.com.