I use python SDK.
Campaign Performance:
report_downloader = client.GetReportDownloader(version='v201809')
report_query = (adwords.ReportQueryBuilder()
.Select('CampaignId', 'CampaignName', 'Cost')
.From('CAMPAIGN_PERFORMANCE_REPORT')
.Where('Cost').GreaterThan('0')
.Where('AdvertisingChannelSubType').EqualTo('UNIVERSAL_APP_CAMPAIGN')
.During(start_date='20190701', end_date='20190801')
.Build())
report_downloader.DownloadReportWithAwql(
report_query, 'CSV', sys.stdout, skip_report_header=False,
skip_column_header=False, skip_report_summary=False,
include_zero_impressions=True)
Введите код...
Campaign Target Location:
report_downloader = client.GetReportDownloader(version='v201809')
report_query = (
adwords.ReportQueryBuilder().Select('CampaignId', 'CampaignName'
'Id','Cost').From('CAMPAIGN_LOCATION_TARGET_REPORT')
.Where('CampaignId').In('1987714293')
.During(start_date='20190701', end_date='20190801')
.Build())
report_downloader.DownloadReportWithAwql(
report_query,
'CSV',
sys.stdout,
skip_report_header=False,
skip_column_header=False,
skip_report_summary=False,
include_zero_impressions=True)
четверг, 15 августа 2019 г., 9:32:06 UTC+3 пользователь adsapiforumadvisor
написал:
>
> Hi Igor,
>
> Thanks for providing further details.
>
> So that I can further investigate, could you send to me the report
> definition
> <https://developers.google.com/adwords/api/docs/guides/reporting#create_a_report_definition>(including
>
> date filters, if any) used to generate the Campaign Performance Report
> <https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report>
> and Campaign Location Target Report
> <https://developers.google.com/adwords/api/docs/appendix/reports/campaign-location-target-report>
> ?
>
> Regards,
> Ejay
> Google Ads API Team
>
> ref:_00D1U1174p._5001UEItY6: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 [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/6c80881c-16c7-4112-b8b3-41f9843db0bf%40googlegroups.com.