Simple example of how to download amazon ads reports for multiple days with specified metrics using python and the amazon ads api.
Medium post for motivation and details:
First, the script requests a fresh access token based on a defined refresh token and credentials (client id and client secret). Next, based on a user-defined list of metrics and dates, the script requests Amazon to prepare a report, downloads the day report, and appends it to get a full report of multiple days. This DataFrame is then exported as a csv file for further use, for example to load it into a PowerBI report for Amazon Ads Performance.