Hello,
we are using the AdWords API to access these two reports:
- CAMPAIGN_PERFORMANCE_REPORT
- GEO_PERFORMANCE_REPORT
>From the CAMPAIGN_PERFORMANCE_REPORT everything is received as expected;
instead from the GEO_PERFORMANCE_REPORT *the app download campaigns are
missing.*
It seems like the app download don't have the physical location of our
users, but in the Google Ads UI we can see them.
[image: Screenshot 2019-11-28 at 14.29.56.png]
Why are they missing? Are we doing something wrong?
Here's the piece of Python that handles the request:
# REPORT BY REGION
# Create report definition.
report = {
'reportName': 'Last 7 days GEO_PERFORMANCE_REPORT',
'dateRangeType': 'LAST_7_DAYS',
'reportType': 'GEO_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'fields': [
'CampaignId', 'CampaignName', 'Date', 'CountryCriteriaId',
'RegionCriteriaId', 'IsTargetingLocation', 'LocationType',
'Device', 'Impressions', 'Clicks', 'Cost'
],
'predicates': [
{
'field': 'IsTargetingLocation',
'operator': 'IN',
'values': [True, False]
},
{
'field': 'LocationType',
'operator': 'EQUALS',
'values': ['LOCATION_OF_PRESENCE']
}
]
}
}
google_csv = io.StringIO()
report_downloader.DownloadReport(
report, google_csv, skip_report_header=True,
skip_column_header=False,
skip_report_summary=True, include_zero_impressions=False
)
google_csv.seek(0)
google_device_dataset = pd.read_csv(google_csv, sep=',',
encoding='utf8')
google_device_dataset['Cost'] =
google_device_dataset['Cost'].apply(lambda x: float(x) / 1000000.0)
Thanks for your help!
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/849ce227-9278-4d65-89dd-deb4a25dd549%40googlegroups.com.