Hi Alex,
Thanks for reaching out. With regards to your concern, unfortunately it is not possible to compare data between two periods via API. We have created a feature request for this so I would recommend keeping an eye on our
Developer Blog for information on future releases.
Let me know if you have any question.
Thanks,
Nirmita Patel Google Ads Team

ref:_00D1U1174p._5004Q21l0cY:ref