$query = (new ReportQueryBuilder())
->select([
'CampaignId',
'CampaignName',
'AdGroupId',
'AdGroupName',
'Id',
'Impressions',
'Clicks',
'Cost',
'Date'
])
->from(ReportDefinitionReportType::CRITERIA_PERFORMANCE_REPORT)
->during($startDate, $endDate)
->build();
$reportDownloader = new ReportDownloader($session);
Hi,
Thank you for reaching out. The 'RateExceededError.RATE_EXCEEDED' error occurs as the 1,000 report requests / day is reached for the developer token with Basic Access. Please refer to this documentation for more information on the different Access Levels and their daily limits. As the daily limit for the operations has been reached, you could wait for the next day to perform more operations. Another solution is to upgrade the Basic Access to the Standard Access to have unlimited daily operations and report downloads.
Thanks and regards,
Xiaoming, Google Ads API Team