Unfortunately, we have no way of creating a report automatically for 30days,
because only Last Calendar Day, Last 7 Calendar Days and Last Calendar Week are supported for scheduled report.
I hope the following document helps you:
SAMPLE API - I think like that...
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The Live Community thanks you for your participation!