Hello Vincent,

Im trying not to use the google.yaml and in the adwords.AdwordsClient 
parameters there's no indicating that I need the secret token and the 
refresh token.

Also I tried to use googleads.yaml and I got this error:


File 
"C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\googleads\adwords.py",
 
line 286, in LoadFromStorage
    cls._OPTIONAL_INIT_VALUES))
  File 
"C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\googleads\common.py",
 
line 263, in LoadFromStorage
    'Given yaml file, %s, could not be opened.' % path)
googleads.errors.GoogleAdsValueError: Given yaml file, 
C:\Users\MaC\Desktop\project\ksvt, could not be opened.

On Friday, March 2, 2018 at 1:29:56 PM UTC+8, Vincent Racaza (AdWords API 
Team) wrote:
>
> Hi,
>
> Based on your code snippet, it seems that you are not utilizing the 
> property file in getting the details of your credentials. I recommend that 
> you use the property file 
> <https://github.com/googleads/googleads-python-lib/blob/master/googleads.yaml>
>  so 
> you don't need to set these values in every example/code you are using.
>
> Also, in your code snippet, you did not set the client secret and refresh 
> token which are required fields for every API request. Please check this 
> guide 
> <https://github.com/googleads/googleads-python-lib/blob/master/README.md> to 
> help you get started.
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/54c2c41c-828e-44f2-b79b-956d16d53e06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Im stock here in... Mark Anthony Gutierrez
    • Re: Im stoc... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
      • Re: Im ... Mark Anthony Gutierrez
        • Re:... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
          • ... Mark Anthony Gutierrez
    • Re: Im stoc... Mark Anthony Gutierrez

Reply via email to