Hello! I run example python script ( https://github.com/googleads/google-ads-python/blob/master/examples/reporting/get_keyword_stats.py ).
I have all the necessary set up done for google ads api my yaml file looks like below developer_token: jvX-------A client_id: 274---------com client_secret: heU-------Imr9 refresh_token: 1//0g-uNgZ-----yrHH6QElune1j6l0Tc login_customer_id: (My google ads manager id, I tried both with and without putting this value) I tried running the file in "jupyter notebook" as well as in "terminal". At both places, the file is not executing. Please find the errors below *Jupyter Notebook:* usage: ipykernel_launcher.py [-h] -c CUSTOMER_ID ipykernel_launcher.py: error: the following arguments are required: -c/--customer_id An exception has occurred, use %tb to see the full traceback. SystemExit: 2 /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/IPython/core/interactiveshell.py:3339: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D. warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1) *Terminal* ( As its is suggested here <https://github.com/googleads/google-ads-python/issues/92> MacBook-Air-57:yaml_with_account_id_cmd harshadkhanapure$ python get_keyword.py -c 9574386950 File "get_keyword.py", line 54 print(f'Keyword text "{criterion.keyword.text.value}" with ' ^ SyntaxError: invalid syntax MacBook-Air-57:yaml_with_account_id_cmd harshadkhanapure$ python get_keyword.py -c/-- 9574386950 File "get_keyword.py", line 54 print(f'Keyword text "{criterion.keyword.text.value}" with ' ^ MacBook-Air-57:yaml_with_account_id_cmd harshadkhanapure$ python get_keyword.py -c/-- 3969569860 File "get_keyword.py", line 54 print(f'Keyword text "{criterion.keyword.text.value}" with ' ^ MacBook-Air-57:yaml_with_account_id_cmd harshadkhanapure$ python get_keyword.py -c 3969569860 File "get_keyword.py", line 54 print(f'Keyword text "{criterion.keyword.text.value}" with ' I tried using both Manager Account ID and Child Account but code did not work for both. Kindly let me know how can we resolve this issue. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/b3346253-cc9a-4618-a1c6-2b85ed78d616n%40googlegroups.com.