Issue with GEO_PERFORMANCE_REPORT

96 views
Skip to first unread message

Pismarev Vitaly

unread,
Feb 19, 2021, 1:39:05 AM2/19/21
to AdWords API and Google Ads API Forum
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?

Pismarev Vitaly

unread,
Feb 19, 2021, 2:05:51 AM2/19/21
to AdWords API and Google Ads API Forum

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:

Gregory Golberg

unread,
Feb 19, 2021, 2:28:13 AM2/19/21
to AdWords API and Google Ads API Forum
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?

Pismarev Vitaly

unread,
Feb 19, 2021, 3:44:31 AM2/19/21
to AdWords API and Google Ads API Forum
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:

Google Ads API Forum Advisor Prod

unread,
Feb 19, 2021, 2:47:45 PM2/19/21
to pvv...@gmail.com, adwor...@googlegroups.com

Hi Pismarev,

Thank you for reaching out. The Geo Performance Report is not one of the available resorts to be queried for App Campaigns in the AdWords API. Please see the list of available reports for App Campaigns in the AdWords API. You could consider querying the geographic_view resource via the Google Ads API.

Thanks and regards,
Xiaoming, Google Ads API Team

 

Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q2CSqXm:ref
Reply all
Reply to author
Forward
0 new messages