- Ads
- Publisher APIs
- ADB02 - Get billing reports details
When the Leftover Offsite Google Shopping feature is active, Mirakl Ads generates a dedicated monthly billing report for offsite campaigns (buying_type: LEFTOVER_OFFSITE). This report follows a different generation schedule than onsite billing reports.
Generation schedule
Offsite monthly report: Generated automatically on the 2nd of the following month at approximately 06:00 UTC.
Onsite reports: Generated according to the billing frequency configured in Mirakl Ads (for example, daily at approximately 00:00 UTC).
Because both report types can be generated on the same day, use the creation time to distinguish them.
Selection rule
To retrieve the offsite monthly billing report for month M, select the report created on the 2nd of month M+1 at approximately 06:00 UTC.
This resource supports seek pagination (see documentation)
sort field can have the following values:
- billingStartTime (Default) - Sort by start date (asc by default)
- billingEndTime - Sort by end date (asc by default)
- recipientType - Sort by recipient type (asc by default)
- Retail Media Production Serverhttps://retailmedia.mirakl.net/api/v1/billing-report/{billingReportId}
- Retail Media Sandbox Serverhttps://retailmedia-dev.mirakl.net/api/v1/billing-report/{billingReportId}
- Retail Media Production Serverhttps://retailmedia.mirakl.net/api/v1/billing-report/{billingReportId}
- Retail Media Sandbox Serverhttps://retailmedia-dev.mirakl.net/api/v1/billing-report/{billingReportId}
curl -i -X GET \
'https://retailmedia.mirakl.net/api/v1/billing-report/{billingReportId}'Get billing report details
{ "count": { "capped": true, "counted": 1 }, "data": [ { … } ], "next_page_token": null, "previous_page_token": null }