Thank you for contacting the Ad Manager API support team.
To obtain detailed report data for each ad unit in the Ad Manager API, including information like site names, ad exchange, ad requests, ad impressions, ad clicks, ad eCPM, ad revenue, line item ID, and campaign ID, you can use the
ReportService. You'll need to create a report using ReportService where you specify the
dimensions and
metrics you need, such as ad unit name, impressions, and revenue. I
n order to download the data in your preferred format, such as CSV or XML
, we need to send a request to getSavedQueriesByStatement, then request to runReportJob for a report query and finally, poll of getReportJobStatus until the report's status is COMPLETE and make an initial request to getReportDownloadUrlWithOptions.