Hi Nadine
We can now generate refresh token, but still can't make our first call (
https://github.com/googleads/google-ads-python/blob/master/examples/basic_operations/get_campaigns.py
)
Here is the output error:
google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', '{\n
> "error": "invalid_grant",\n "error_description": "Bad Request"\n}')
>
Any idea how we can diagnose?
Thanks
* We input the client ID and secret in the yaml file which generate the
fresh token.
On Friday, 15 May 2020 23:55:39 UTC+8, adsapiforumadvisor wrote:
>
> Hello,
>
> I'm happy to hear that! You can use any account to generate the client ID
> and client secret. Just keep in mind that you have to use the same client
> ID and client secret to generate the refresh token as you do when you make
> the API calls.
>
> Regards,
> Nadine, Google Ads API Team
>
> ref:_00D1U1174p._5004Q1zLiHa: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 [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/24246cfc-7a9a-48a6-875a-fe92862ed5c8%40googlegroups.com.