Re: Get_keyword_stats.py (reporting example in google-ads-python):not working

2020-09-05 Thread Harshad GoogleAds
Hi Danica,

I tried with child id and it worked. Thanks for your help

On Friday, September 4, 2020 at 11:17:48 PM UTC+5:30 Harshad GoogleAds 
wrote:

> Manager Account:  396-956-9860
> Child Account ID: 957-438-6950
>
> On Friday, September 4, 2020 at 9:41:25 PM UTC+5:30 adsapiforumadvisor 
> wrote:
>
>> Hi Harshad,
>>
>> Thanks for reaching out. Can you please provide the customer ID(s) that 
>> you have tried using in order to run the report so I can check on my end? 
>> Additionally, it is worth noting that manager account IDs are not able to 
>> run reports. You must be using a customer account ID. 
>>
>> Regards,
>> [image: Google Logo] 
>> Danica 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q23x40H: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/616af6f7-72b8-4a4e-ba77-e24896d090bdn%40googlegroups.com.


Re: Get_keyword_stats.py (reporting example in google-ads-python):not working

2020-09-04 Thread Harshad GoogleAds
Manager Account:  396-956-9860
Child Account ID: 957-438-6950

On Friday, September 4, 2020 at 9:41:25 PM UTC+5:30 adsapiforumadvisor 
wrote:

> Hi Harshad,
>
> Thanks for reaching out. Can you please provide the customer ID(s) that 
> you have tried using in order to run the report so I can check on my end? 
> Additionally, it is worth noting that manager account IDs are not able to 
> run reports. You must be using a customer account ID. 
>
> Regards,
> [image: Google Logo] 
> Danica 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q23x40H: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/93893c01-b5f5-432a-a805-dc5dd377365bn%40googlegroups.com.


RE: Get_keyword_stats.py (reporting example in google-ads-python):not working

2020-09-04 Thread Google Ads API Forum Advisor Prod
Hi Harshad,

Thanks for reaching out. Can you please provide the customer ID(s) that you 
have tried using in order to run the report so I can check on my end? 
Additionally, it is worth noting that manager account IDs are not able to run 
reports. You must be using a customer account ID.

Regards,

Danica
Google Ads API Team
ref:_00D1U1174p._5004Q23x40H: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/wijl30QG56A400zBvZDPp2SQO-HMloCdIrKQ%40sfdc.net.


Get_keyword_stats.py (reporting example in google-ads-python):not working

2020-09-03 Thread Harshad GoogleAds


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 


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.