Hi,
Thank you for reaching out to the Google Ads Scripts Team. Please excuse us for only getting back now as your message failed to be routed to our support queue.
Upon checking the issue encountered, the error is most likely due to version 10 of the Google Ads API not being supported anymore, which is why it states that requests to that version are blocked or won't be going through. You can refer to this link for reference of the Deprecation and sunset of the said API's versions. To provide further context, the solution script Account Anomaly Detector makes use of Reporting to gather data from your account. Google Ads Scripts' reporting infrastructure is backed by the Google Ads API and uses GAQL to specify what fields, metrics, and conditions you want to set.
That being said, kindly navigate through the source code and comment out the line which specifies the apiVersion. This can be done by placing two forward slashes at the front '//'. By commenting it out, the script should default to the latest reporting version. Please try this and let us know how it goes on your end if you'd still encounter an error.
Best regards, Google Ads Scripts Team
Hi All,
@Nils - Thank you for your insights.
@El Mahdi - Thanks for confirming this. If you need any further assistance from our team, please let us know so we can be able to guide you accordingly.
![]() |
Google Ads Scripts Team |
RxQ1lzSeGW
9dW9Q6cQqj
ae5Y1GeldI
knMcCgi8dW
l6kyYozu31
HupDnLbQ1i
mFFaqisOwd
853mIekTtm
![]() |
Google Ads Scripts Team |