Hello,
Thanks for reaching out. You can use
date math to write a function that computes the 8 digit integer representation for the date, 60 days ago, and use that for the custom date range. You can use
this example that retrieves a report for data from 3 days ago. You can simply substitute the third line with:
const from = new Date(now.getTime() -
60 * MILLIS_PER_DAY);
Regards,
 |
| Matt |
| Google Ads Scripts Team |
|
|
| |

ref:_00D1U1174p._5004Q2eNkYU:ref