add some words, google AdWords is deprecated you can't use it anymore, move 
to google ads documentation here 
https://developers.google.com/google-ads/api/docs/client-libs/python or 
Github on here https://github.com/googleads/google-ads-python/blob/main

Pada Jumat, 15 Juli 2022 pukul 11.48.40 UTC+7 dimas ilham menulis:

> Hi, trying to help out.
>
> 1. you can use a web application for example if you just use google ads 
> for your website.
>
> 2. I'm seeing u using python, you can just watch this for example 
> https://www.youtube.com/watch?v=9Kf7P3Qq5bY&t=189s
>
> Pada Kamis, 14 Juli 2022 pukul 05.52.27 UTC+7 sree...@easyknock.com 
> menulis:
>
>> Hi All,
>>
>> I'm using this API (Sample Code)
>>  
>> https://developers.google.com/google-ads/api/docs/samples/upload-offline-conversion
>> to upload Conversion Data to Google Ads
>>
>> As per this Document -
>> 1) I need to generate Client id and Client Secret.
>>      I'm not sure what should be the type "Web Application " or "Desktop" 
>> ?
>>      
>>   2)  Secondly I need to generate refresh token and for this I came 
>> across this Code base - 
>>         
>> https://github.com/googleads/googleads-python-lib/wiki/API-access-using-own-credentials-(installed-application-flow)
>>
>>  3) so here is what I did, I generated the Client Id and Client Secret 
>> with Type "Desktop App" and I used this Client Id and Client Secret to 
>> Generate the Refresh Token By executing this code - 
>> https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/authentication/generate_refresh_token.py
>>
>> Log into the Google Account you use to access your AdWords account and go 
>> to the following URL:
>>
>> It returns an URL and when I click on that URL, this is the error, I am 
>> getting
>>
>> """
>> Authorization Error
>> Error 400: invalid_request
>>
>> You can't sign in to this app because it doesn't comply with Google's 
>> OAuth 2.0 policy for keeping apps secure.
>>
>> You can let the app developer know that this app doesn't comply with one 
>> or more Google validation rules
>> """
>>
>> Please see the attached screenshot.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b6319aef-d1e7-45bb-9141-cffefddd64d0n%40googlegroups.com.
  • Re... dimas ilham
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to