anomaly script error

54 views
Skip to first unread message

gaurav kumar

unread,
Jun 21, 2024, 8:08:29 PM (11 days ago) Jun 21
to Google Ads Scripts Forum

Please elaborate how can i fix this error
6/21/2024 10:58:16 PM
Ca: MutateError.UNSPECIFIED: Specified version 'v10' not supported. at getReportRowForDuring (Code:339:24) at getReportRowForDate (Code:328:10) at main (Code:91:17)

Nils Rooijmans

unread,
Jun 24, 2024, 1:26:49 AM (9 days ago) Jun 24
to Google Ads Scripts Forum
The script is using an outdated version of the API that is no longer supported.
This particularly happens when you copy code from the web and the code is already a few years old.
You need to change the API version for the request to the GoogleAds Search Service. 
For instructions on how to do this, see my FAQ on this topic -> https://nilsrooijmans.com/google-ads-scripts-faq/mutateerror-unspecified-specified-version-vx-not-supported-heres-your-fix/

Hope this helps,

Nils Rooijmans
https://nilsrooijmans.com
See my Google Ads Scripts FAQ to avoid the same mistakes I made: https://nilsrooijmans.com/google-ads-scripts-faq/

Google Ads Scripts Forum Advisor

unread,
Jun 24, 2024, 3:37:56 AM (9 days ago) Jun 24
to adwords...@googlegroups.com

Hi,

Thank you Nils for providing the solution.

I would like to inform you that you follow the solution provided by Nils. Kindly reach out to us with the below details if you still face any issues. 

  • Google Ads account ID/CID
  • Name of the affected script
  • Shareable spreadsheet link if you are using in your script

You can share the requested details via Reply privately to the author option or a direct private reply to this email.

This message is in relation to case "ref:!00D1U01174p.!5004Q02tJRdb:ref" (ADR-00243509)

Thanks,
 
Google Logo Google Ads Scripts Team


Reply all
Reply to author
Forward
0 new messages