Google Ad Manager API

134 views
Skip to first unread message

Adam B

unread,
Jan 6, 2023, 4:00:38 AM1/6/23
to Google Ad Manager API Forum
Hi I have an issue with empty reports.

I am using python to query the GAM API, using the API version 202211.

The query :
 {'dimensions': ['DATE', 'LINE_ITEM_TYPE', 'AD_UNIT_ID', 'AD_UNIT_NAME'], 'columns': ['TOTAL_LINE_ITEM_LEVEL_IMPRESSIONS', 'TOTAL_LINE_ITEM_LEVEL_ALL_REVENUE', 'TOTAL_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS', 'TOTAL_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS', 'TOTAL_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS'], 'dateRangeType': 'CUSTOM_DATE', 'startDate': datetime.date(2022, 12, 25), 'endDate': datetime.date(2022, 12, 31), 'dimensionAttributes': [''], 'adUnitView': 'FLAT'}

Does not return any data, but if i remove some dimensions, data is returned:
 {'dimensions': ['DATE'], 'columns': ['TOTAL_LINE_ITEM_LEVEL_IMPRESSIONS', 'TOTAL_LINE_ITEM_LEVEL_ALL_REVENUE', 'TOTAL_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS', 'TOTAL_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS', 'TOTAL_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS'], 'dateRangeType': 'CUSTOM_DATE', 'startDate': datetime.date(2022, 12, 25), 'endDate': datetime.date(2022, 12, 31), 'dimensionAttributes': [''], 'adUnitView': 'FLAT'}

Any tips on why this is happening? Why the first report would be empty?

Thanks

Ad Manager API Forum Advisor

unread,
Jan 6, 2023, 5:35:11 AM1/6/23
to adam...@keboola.com, google-doubleclick...@googlegroups.com
Hi Adam,

Thank you for reaching out to the Ad Manager API support team. I am Chekurthi and will be assisting you.

By reviewing your concern, I understand that you are facing issues with report data while using ReportService in the Ad Manager API. Can you please share the following information to investigate further. You can send them via Reply privately to the author option, or a direct private reply to this email. 
  • Complete SOAP request and response logs of the both reports (SOAP logging must be enabled).
  • Complete SOAP request and response logs of getCurrentUser() (SOAP logging must be enabled).
  • Can you confirm that are you facing the same issue while using Ad Manager 360 (UI) ? 
Regards,
Google Logo
Chekurthi
Ad Manager API Team
 

 

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