Hi Anthony, 

Worth noting that I am able to use OAuth Playground 
<https://developers.google.com/oauthplayground/> and get a fresh Access 
token out of my Refresh token*, *OAuth Client ID and OAuth Client secret, 
per the Adwords API.
I would presume that if that works, then my call to CampaignService should 
not return with AuthenticationError.OAUTH_TOKEN_INVALID.
btw - the google id I use for these tests is tal.at.tmb.t...@gmail.com

Thanks a lot,
Tal

On Sunday, May 17, 2020 at 3:23:24 PM UTC+3, Tal Lipits wrote:
>
> Hi Anthony,
>
> I managed to get a customer id. 
> I have now all of these:
> adwords:
>   developer_token: ...
>   client_customer_id: ...
> user_agent: ...
>   client_id: ...
>   client_secret: ...
>   refresh_token: ...
>   
> Not sure if my user_agent is correct, didn't find any reference to what 
> value should be there (company name, but which format, etc)
>
> I've tried to debug it using OAuth playground, but it requires to list the 
> URL developers.google.com/oauthplayground in the Authorized redirect URIs 
> (in developers console>project>Credentials>OAuth 2.0 client Ids). 
> Unfortunately this setting exists only for web application, whereas google 
> adwords test account requires a 'desktop app' / 'other app'. I used 'other 
> app'. 
> Any idea what else can I check?
> Thanks,
> Tal
>
>
>
> Still getting AuthenticationError.OAUTH_TOKEN_INVALID.
>
>
> On Thursday, May 14, 2020 at 7:15:52 PM UTC+3, adsapiforumadvisor wrote:
>>
>> Hi Tal,
>>
>> When creating the test client account, you should use the credentials for 
>> the test manager account and specify its CID here 
>> <https://github.com/googleads/googleads-python-lib/blob/master/googleads.yaml#L10>.
>>  
>> If you continue to face issues, you may need to create through the UI. The 
>> form you mentioned is the correct form to get Basic access.
>>
>> Regards,
>> Anthony
>> Google Ads API Team 
>>
>> ref:_00D1U1174p._5004Q1zLW3d: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 
"AdWords API and Google Ads 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/8586b57c-0a1d-407f-8a44-a80cef08bc4d%40googlegroups.com.

Reply via email to