Discard
GuidesAPI ReferenceChangelogDiscussions
GuidesAPI ReferenceChangelogDiscussionsLog In

Discussions

Ask a Question
Back to All

What do I enter for /{advertiser-id}/ and "Authorization: Bearer XXXXX " to download log level reports?

I am following the instructions described here to download log level reports via curl:
https://developers.criteo.com/marketing-solutions/docs/log-level-report
However, the code chunk seems to need an entry for advertiser-id and Bearer number. Does anyone know how to obtain these or what to put in there if I just want a broad download of all the log level data?
Thank you!

This is the code chunk I'm using:
curl -X POST "https://api.criteo.com/2022-04/log-level/advertisers/{advertiser-id}/report" -H "accept: text/plain"-H "Content-Type: application/json-patch+json"-H "Authorization: Bearer XXXXX " -d "{ "startDate": "2021-02-03", "endDate": "2021-02-04"}"