Re: The 'google-ads' distribution was not found and is required by the application

2020-11-01 Thread Harshad GoogleAds
I have already installed googleads via 'pip install googleads'


On Sunday, November 1, 2020 at 10:09:40 PM UTC+5:30 Harshad GoogleAds wrote:

> Hello,
> I am facing an issue while connecting with google ads api
>
> Folllowing is the error :
>
> DistributionNotFound: The 'google-ads' distribution was not found and is 
> required by the application  
>
> If anybody knows how to come over this error, please advise.
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2626c735-e034-4c0f-859f-35e03868b795n%40googlegroups.com.


The 'google-ads' distribution was not found and is required by the application

2020-11-01 Thread Harshad GoogleAds
Hello,
I am facing an issue while connecting with google ads api

Folllowing is the error :

DistributionNotFound: The 'google-ads' distribution was not found and is 
required by the application  

If anybody knows how to come over this error, please advise.

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/298a7998-0608-47a1-ad8a-384f7661a73en%40googlegroups.com.


Re: campaign.advertising_channel_type returns number

2020-10-04 Thread Harshad GoogleAds
Thanks for the help Mat. Appreciate it. 

I totally agree about Google Ads API team, sometimes refrain posting 
queries just because I feel team won't go through the details and just 
reply with a generic answer.  

On Wednesday, September 30, 2020 at 3:19:48 PM UTC+5:30 Mat wrote:

> Hi Harshad,
>
> the client libraries offer modules/methods to fetch the enum names out of 
> these numbers. You'll find some examples here:
>
> https://developers.google.com/google-ads/api/docs/samples/get-account-changes
>
> BTW: I' m under the impression that the quality of the answers from the 
> members of the Google Ads API team has been decreasing significantly lately.
>
> Regards
> Mat
>
> adsapiforumadvisor schrieb am Dienstag, 29. September 2020 um 19:21:35 
> UTC+2:
>
>> Hi Harshad,
>>
>> The steps to logging are listed here 
>> .
>>  
>> Let me know if you have further questions.
>>
>>
>> Thank you,
>>
>> [image: Google Logo] 
>> Bryan Li 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q25XAWa: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/9b9367d7-bece-435b-89c5-894f364bbb16n%40googlegroups.com.


Re: campaign.advertising_channel_type returns number

2020-09-29 Thread Harshad GoogleAds
can you share the steps to collect the logs

On Monday, September 28, 2020 at 11:26:37 PM UTC+5:30 adsapiforumadvisor 
wrote:

> Hi Harshad,
>
> Thank you for reaching out to us. I see that you're encountering an issue 
> with obtaining the channel type. Could you provide me with the request and 
> response log for where this error occurs? For privacy, you can respond 
> using "Reply privately to author".
>
> Thank you,
>
> [image: Google Logo] 
> Bryan Li 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q25XAWa: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/839adabc-cf6c-456b-b8bd-0ffbcf5161ebn%40googlegroups.com.


Re: currency code through API

2020-09-29 Thread Harshad GoogleAds
can you share the steps to collect the logs

On Tuesday, September 29, 2020 at 12:27:35 AM UTC+5:30 adsapiforumadvisor 
wrote:

> Hi Harshad,
>
> Thank you for reaching out to us. I see that you're having issues getting 
> the currency code from your reports. Could you provide us with the request 
> and response log for where you encounter this issue? For privacy, you can 
> respond using "reply privately to author".
>
> As for your question on having the currency code listed in the reports, 
> unfortunately all reports of currency are in micros, and not the currency 
> connected to your Google Ads Account. You can read more about money reports 
> here 
> .
>
> Thank you,
>
> [image: Google Logo] 
> Bryan Li 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q25XFPX: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/ae3b6fda-3314-4771-b751-cbfdf75bad13n%40googlegroups.com.


currency code through API

2020-09-27 Thread Harshad GoogleAds

I want get currency code for child account under my manager account. 

*- I am using the following query *

query_currency = """
SELECT
 currency_constant.code
FROM currency_constant
"""

*- and parsing the data in the data frame*

act_ids=['xx','yy']
for act_id in act_ids:
response = ga_service.search_stream(act_id, query_currency)
for batch in response:
for row in batch.results:
currency = row.currency_constant
dic_currency["Currency_code"].append(currency.code)
df_currency=pd.DataFrame(dic_currency)

*- I am getting following output*


*df_currency.Currency_code.unique()*
Out[31]:
array(['AED', 'AOA', 'ARS', 'AUD', 'BDT', 'BGN', 'BHD', 'BND', 'BOB', 
'BRL', 'BSD', 'BWP', 'BYN', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'COP', 
'CRC', 'CSD', 'CZK', 'DEM', 'DKK', 'DOP', 'DZD', 'EEK', 'EGP', 'ETB', 
'EUR', 'FJD', 'FRF', 'GBP', 'GEL', 'GHS', 'GTQ', 'HKD', 'HRK', 'HUF', 
'IDR', 'ILS', 'INR', 'JOD', 'JPY', 'KES', 'KHR', 'KRW', 'KWD', 'KZT', 
'LBP', 'LKR', 'LTL', 'MAD', 'MGA', 'MMK', 'MTL', 'MUR', 'MWK', 'MXN', 
'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 
'PEN', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'ROL', 'RON', 'RSD', 'RUB', 
'RWF', 'SAR', 'SEK', 'SGD', 'SIT', 'SKK', 'SVC', 'THB', 'TND', 'TRL', 
'TRY', 'TWD', 'TZS', 'UAH', 'UGX', 'USD', 'UYU', 'UZS', 'VEB', 'VEF', 
'VES', 'VND', 'XAF', 'XOF', 'ZAR', 'ZMW'], dtype=object)

I was expecting the currency code of the particular account in the loop not 
all. What be done here?

Ideally, I want the currency code to be displayed alongside the metrics ( 
i.e. cost). What can be done here?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c53c5fcc-0fbf-4f37-a201-273cb86f6c70n%40googlegroups.com.


campaign.advertising_channel_type returns number

2020-09-26 Thread Harshad GoogleAds
Hi ,

When I pull  campaign.advertising_channel_type  using google ads api it 
returns the numeric values ( eg. 2,6, etc). 

How do get corresponding values for these numbers ( i.e. "Display", "Video")

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5c3c8f8f-d7af-4692-a126-1b02ffc9227bn%40googlegroups.com.


cost is getting multiplied by 1000000

2020-09-12 Thread Harshad GoogleAds

Hi Team,

When the following program is executed its printing cost by multiplying by 
100. 
For example, if the cost in the google ads console is 5, then the code is 
printing 5,000,000. What needs to be done to have the same cost as console 

https://developers.google.com/google-ads/api/docs/reporting/example

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/01e3fb08-a6ca-43fa-8a28-95f31f165910n%40googlegroups.com.


Re: Confusing documentation and I am lost

2020-09-10 Thread Harshad GoogleAds
I would like to understand how to get output in CSV using python. Do we 
have any examples for that? 

I found one example but that's in Ruby. Do we have similar examples using 
python? 
On Wednesday, September 9, 2020 at 2:10:47 AM UTC+5:30 adsapiforumadvisor 
wrote:

> Hi Harshad,
>
> Thanks for reaching out. To clarify, the Client Library section provides 
> links to downloadable client libraries for you to use while the OAuth 
> Client Library section provides details on how to configure it for API 
> usage. 
>
> I can see that you are now having issues with getting reports in excel. 
> Can you elaborate on the specific issue you are facing so that I can 
> further assist you?
>
> Regards,
> [image: Google Logo] 
> Danica 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q24ZFFr: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/2dcf7477-0eea-4c20-a418-bdcb659ec844n%40googlegroups.com.


Re: Confusing documentation and I am lost

2020-09-07 Thread Harshad GoogleAds
Yaa, True that.  

Maybe they want to test our comprehension skills.

BTW have figured out the way get reports in excel, I am stuck there. It 
would be great if could send a sample code

On Monday, September 7, 2020 at 7:52:16 AM UTC+5:30 
ste...@sparkwaymedia.com wrote:

> This confused me as well, because the naming is unconventional. #3 links 
> to the language-specific documentation on github, while #6 has language 
> specific information as well. 
>
> For the language we're using, PHP, a lot of the information on the github 
> readme.md, linked to by #3 is also on #6.
>
> On Saturday, September 5, 2020 at 12:10:31 AM UTC-7 harshad...@gmail.com 
> wrote:
>
>> Hi Team,
>>
>> I am trying to make my first API call, and looks like google ads API 
>> hates me
>>
>> I am following Quick Start steps on following page:
>>
>>
>> https://developers.google.com/google-ads/api/docs/first-call/get-client-lib
>>
>> There two steps which looks identical to me 
>> 3. Client Library
>> 6. OAuth Client Library
>>
>> Are they one and the same or am I missing anything. 
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aa0ad1b0-0ce7-44da-ab5a-c52ce7a09861n%40googlegroups.com.


Download report in CSV and open in Pandas

2020-09-06 Thread Harshad GoogleAds
Hi Team,

I want to save reports in csv using new google ads api. I do not find any 
sample code for the same.

Currently I am referring to following articles 
https://developers.google.com/google-ads/api/docs/reporting/example

but examples mentioned here are to print data, where can get examples to 
download data in CSV

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1cf5745d-2ea5-4b41-a12b-e97bafd71d81n%40googlegroups.com.


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: Error while trying to generate a refresh token

2020-09-05 Thread Harshad GoogleAds
I tried in a virtual environment, and I was able to generate the token.

Thanks for help

On Friday, September 4, 2020 at 2:26:18 AM UTC+5:30 adsapiforumadvisor 
wrote:

> Hi Harshad,
>
> Thank you for reaching out. Please give it a try to use this in the 
> command line:
>
>  pip install --user google-auth-oauthlib
>
> Let us know if you have any further concerns.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
>
>
>
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q23x3Pk: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/33e97992-ba7f-4786-82ea-1779a215e6ben%40googlegroups.com.


Confusing documentation and I am lost

2020-09-05 Thread Harshad GoogleAds
Hi Team,

I am trying to make my first API call, and looks like google ads API hates 
me

I am following Quick Start steps on following page:

https://developers.google.com/google-ads/api/docs/first-call/get-client-lib

There two steps which looks identical to me 
3. Client Library
6. OAuth Client Library

Are they one and the same or am I missing anything. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/221461cd-51ba-4726-90e1-619031899d9cn%40googlegroups.com.


Re: Use Case Google Ads API console

2020-09-04 Thread Harshad GoogleAds
Hi Nirmitabahen,

Reply to the author is not enabled for me.

As I had mentioned earlier
I don't have any UI ready yet. Currently, I just want to read the file in 
python using API and work on it. Is having app mandatory? 

On Saturday, September 5, 2020 at 12:47:52 AM UTC+5:30 adsapiforumadvisor 
wrote:

> Hi Harshad,
>
> Thanks for reaching out. With regards to your concern, you can use this 
> 
>  python 
> code example to pull report. Let me know if this what you are looking for. 
> If not, can you please elaborate your concern and provide screenshot of the 
> UI so that i can further investigate the issue.
>
> Please *reply privately to author* options while sharing the details.
>
> Thanks,
> Nirmita Patel
> [image: Google Logo] 
> Nirmitabahen Gaurav Patel 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q24Z2jv: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/5a8d1aff-1b57-4bdb-b24a-4d86aa272c0fn%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.


Use Case Google Ads API console

2020-09-04 Thread Harshad GoogleAds
Hi Team,

I wanted to know few details about usage of API,

I want to pull report using API and analyse them using python. I am not 
really planning to have nay app /web app. Is it possible to use API for 
this use case?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c360c369-93a9-4a74-8e89-4694e7ad9f9dn%40googlegroups.com.


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.


Error while trying to generate a refresh token

2020-09-03 Thread Harshad GoogleAds
I am following the process mentioned here
https://developers.google.com/google-ads/api/docs/client-libs/python/oauth-installed

but getting following error in step 3.3 in above process

MacBook-Air-57:authentication harshadkhanapure$ python 
authenticate_in_standalone_application.py  
--/client_secrets_path=/Users/harshadkhanapure/to/secrets.json

Traceback (most recent call last):

  File "authenticate_in_standalone_application.py", line 26, in 

from google_auth_oauthlib.flow import InstalledAppFlow

ImportError: No module named google_auth_oauthlib.flow


Does anyone know what could be the 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/6fc7927b-81b3-4066-b06a-52cee0ea91b6n%40googlegroups.com.