Reposting the last inquiry 
<https://groups.google.com/g/adwords-api/c/82l_UXSExt4> from the forum as 
it wasn't routed to our support queue.

Thanks,
Matt 
Google Ads API Team

On Tuesday, March 23, 2021 at 5:03:32 AM UTC-4 [email protected] wrote:

> Hello Team , 
>
> I am trying to generate the new refresh token as I think my older one is 
> expired . How can I confirm if my refresh token is expired . Assuming my 
> refresh token to be expired , i did below steps .
>
> login_customer_id: 2900486729
>
> Step 1 : 
> python3 */generate_refresh_token.py* --client_id 
> 560070391281-n4aanbpteg9pc08dusotiv8tirc4dpdv.apps.googleusercontent.com 
> --client_secret ****
>
> Output : 
>
> *Log into the Google Account you use to access your AdWords account and go 
> to the following URL:*
>
> https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=560070391281-n4aanbpteg9pc08dusotiv8tirc4dpdv.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwords&state=qTeSi75R7HEKW9d61uuFnNKLTEB37P&prompt=consent&access_type=offline
>
> Step 2 : 
>
> When I try login into URL , I get the error as : 
>
>
>    - *Error 403: org_internal*
>    - *This client is restricted to users within its organization.*
>    - *Request Details*
>
>
>    - *access_type=offline*
>    - *response_type=code*
>    - *redirect_uri=urn:ietf:wg:oauth:2.0:oob*
>    - *state=qTeSi75R7HEKW9d61uuFnNKLTEB37P*
>    - *prompt=consent*
>    - 
> *client_id=560070391281-n4aanbpteg9pc08dusotiv8tirc4dpdv.apps.googleusercontent.com
>  
>    
> <http://560070391281-n4aanbpteg9pc08dusotiv8tirc4dpdv.apps.googleusercontent.com>*
>    - *scope=https://www.googleapis.com/auth/adword 
>    <https://www.googleapis.com/auth/adword>*
>
>
> Can you please let us know how to resolve this error.
>
> Regards
> Ankit
>
>
>
>
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b72cba14-c3dc-42a2-b3e4-d76abed000c6n%40googlegroups.com.

Reply via email to