Hello!

My problem is similar this: 
https://groups.google.com/forum/#!searchin/adwords-api/empty%7Csort:date/adwords-api/su7yy9y2x8I/hCJgUEGsFQAJ

I cannot get any data for AD_PERFORMANCE_REPORT, but have all data for 
CAMPAIGN_PERFORMANCE_REPORT

this is my query:

client = adwords.AdWordsClient.LoadFromStorage(yaml_file_path)
report_downloader = client.GetReportDownloader(version='v201809')


# Create report definition.
report = {
    'reportName': 'Last 30 days AD_PERFORMANCE_REPORT',
    'dateRangeType': 'LAST_30_DAYS',
    'reportType': 'AD_PERFORMANCE_REPORT',
    'downloadFormat': 'CSV',
    'selector': {
        'fields': ['CriterionId', 'CampaignId']
    }
}

# Retrieve the report stream and print it out
report_data = StringIO()
stream_data = report_downloader.DownloadReportAsStream(
    report, skip_report_header=False, skip_column_header=False,
    skip_report_summary=False, include_zero_impressions=True) #and I tried 
False - it's not working too...

...


Returns:

"Last 30 days AD_PERFORMANCE_REPORT (Dec 30, 2018-Jan 28, 2019)"
Keyword ID,Campaign ID
Total, --


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1620dcd5-0006-4f14-9810-42ed94749854%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • AD_PERF... Игорь Тирский
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to