I was able to do most of the functionality, but encounter issue when trying download snapshots and reports from the API. I was able to create report and got response saying the reports were successfully generated. Encounter error when trying to download:
<?xml version="1.0" encoding="UTF-8"?> <Error> <Code>InvalidArgument</Code> <Message>Only one auth mechanism allowed; only the X-Amz-Algorithm query parameter, Signature query string parameter or the Authorization header should be specified</Message> <ArgumentName>Authorization</ArgumentName> <ArgumentValue>...</ArgumentValue> <RequestId>5C8578368AF40AD5</RequestId> <HostId>...</HostId> </Error>
In my header I only included Authorization and Amazon-Advertising-API-Scope. I suspect to download the file I need to some other way to authenticate. The documentation didn't mention anything about it.