Re: Issue with GEO_PERFORMANCE_REPORT

2021-02-19 Thread Pismarev Vitaly
No, 6882030488 is not a manager. 

But it seems like there is no way to pass login_customer_id in the 
DownloadReportAsStringWithAwql

I got the error
googleads.errors.GoogleAdsValueError: The provided keyword 
"login_customer_id" is invalid. Accepted keywords are: 
dict_keys(['client_customer_id', 'include_zero_impressions', 
'skip_report_header', 'skip_column_header', 'skip_report_summary', 
'use_raw_enum_values'])


пятница, 19 февраля 2021 г. в 10:28:13 UTC+3, deb...@gmail.com: 

> I've seen this happen for me (data in CAMPAIGN report but not in GEO). Do 
> not exactly recall what the issue was, but on a chance: In the scripts, is 
> the customer you are logged in as the manager of 6882030488? Is it possible 
> that you need then to set, in the API call, login-customer-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid>?
>  
>
>
> On Thursday, February 18, 2021 at 11:05:51 PM UTC-8 pvv...@gmail.com 
> wrote:
>
>>
>> Addition:
>>
>> We have a script from Google Ads Team running in Bulk Actions. 
>> It gets data from GEO_PERFORMANCE_REPORT using the same query
>>
>> пятница, 19 февраля 2021 г. в 09:39:05 UTC+3, Pismarev Vitaly: 
>>
>>> We faced some issues with loading reports with using Python Api.  The 
>>> GEO_PERFORMANCE_REPORT is empty always, meanwhile 
>>> CAMPAIGN_PERFORMANCE_REPORT is loading well. 
>>> client_customer_id=6882030488
>>>
>>> We are using scripts in Google Ads right now. However, it would be 
>>> better for us to use Python Api.
>>>
>>>
>>> _report_fields = [
>>> "Date",
>>> "CountryCriteriaId",
>>> "AccountDescriptiveName",
>>> "AdNetworkType1",
>>> "CampaignName",
>>> "CampaignId",
>>> "CampaignStatus",
>>> "Clicks",
>>> "Impressions",
>>> "Cost",
>>> "Conversions"
>>> ]
>>>
>>> query = (adwords.ReportQueryBuilder()
>>> .Select(*_report_fields)
>>> #.From("CAMPAIGN_PERFORMANCE_REPORT")
>>> .From("GEO_PERFORMANCE_REPORT")
>>> .During('TODAY')
>>> .Build())
>>>
>>> report_downloader = adwords_client.GetReportDownloader()
>>>
>>> data = report_downloader.DownloadReportAsStringWithAwql(
>>> query,
>>> 'CSV',
>>> client_customer_id=6882030488,
>>> skip_report_header=True,
>>> skip_column_header=True,
>>> skip_report_summary=True
>>> )
>>>
>>> Could anyone help us with 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/2e8fac13-1d4b-43cd-a73c-b2a660cbbb4an%40googlegroups.com.


Re: Issue with GEO_PERFORMANCE_REPORT

2021-02-18 Thread Pismarev Vitaly

Addition:

We have a script from Google Ads Team running in Bulk Actions. 
It gets data from GEO_PERFORMANCE_REPORT using the same query

пятница, 19 февраля 2021 г. в 09:39:05 UTC+3, Pismarev Vitaly: 

> We faced some issues with loading reports with using Python Api.  The 
> GEO_PERFORMANCE_REPORT is empty always, meanwhile 
> CAMPAIGN_PERFORMANCE_REPORT is loading well. 
> client_customer_id=6882030488
>
> We are using scripts in Google Ads right now. However, it would be better 
> for us to use Python Api.
>
>
> _report_fields = [
> "Date",
> "CountryCriteriaId",
> "AccountDescriptiveName",
> "AdNetworkType1",
> "CampaignName",
> "CampaignId",
> "CampaignStatus",
> "Clicks",
> "Impressions",
> "Cost",
> "Conversions"
> ]
>
> query = (adwords.ReportQueryBuilder()
> .Select(*_report_fields)
> #.From("CAMPAIGN_PERFORMANCE_REPORT")
> .From("GEO_PERFORMANCE_REPORT")
> .During('TODAY')
> .Build())
>
> report_downloader = adwords_client.GetReportDownloader()
>
> data = report_downloader.DownloadReportAsStringWithAwql(
> query,
> 'CSV',
> client_customer_id=6882030488,
> skip_report_header=True,
> skip_column_header=True,
> skip_report_summary=True
> )
>
> Could anyone help us with 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/8e75a8ba-8a5b-4883-b1fc-ca7e10df2d37n%40googlegroups.com.


Issue with GEO_PERFORMANCE_REPORT

2021-02-18 Thread Pismarev Vitaly
We faced some issues with loading reports with using Python Api.  The 
GEO_PERFORMANCE_REPORT is empty always, meanwhile 
CAMPAIGN_PERFORMANCE_REPORT is loading well. 
client_customer_id=6882030488

We are using scripts in Google Ads right now. However, it would be better 
for us to use Python Api.


_report_fields = [
"Date",
"CountryCriteriaId",
"AccountDescriptiveName",
"AdNetworkType1",
"CampaignName",
"CampaignId",
"CampaignStatus",
"Clicks",
"Impressions",
"Cost",
"Conversions"
]

query = (adwords.ReportQueryBuilder()
.Select(*_report_fields)
#.From("CAMPAIGN_PERFORMANCE_REPORT")
.From("GEO_PERFORMANCE_REPORT")
.During('TODAY')
.Build())

report_downloader = adwords_client.GetReportDownloader()

data = report_downloader.DownloadReportAsStringWithAwql(
query,
'CSV',
client_customer_id=6882030488,
skip_report_header=True,
skip_column_header=True,
skip_report_summary=True
)

Could anyone help us with 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/0f569adb-d1d7-4f2f-bbd3-23762d5ae63an%40googlegroups.com.