Google Ads Script TypeError Cannot read properties of null (reading 'length')

13 views
Skip to first unread message

zoe zhang

unread,
Aug 20, 2025, 11:32:38 AMAug 20
to Google Ads Scripts Forum
hi
After running the script, it shows that the run completed but there were errors. In the run log, the error message is as follows:
TypeError: Cannot read properties of null (reading 'length')
at getData (Code:1316:22)
at main (Code:61:16)
at Object.<anonymous> (adsapp_compiled:18635:54)
How can I resolve this issue?

Google Ads Scripts Forum Advisor

unread,
Aug 20, 2025, 12:16:19 PMAug 20
to adwords...@googlegroups.com

Hi,

Thank you for reaching out to the Google Ads Scripts support team.

In order to investigate further on this issue, kindly provide us with the following details.

  • Google Ads account ID/CID
  • Name of the affected script
  • Shareable spreadsheet link if you are using any in the script. You can refer to this article to share a file publicly
You can share the requested details via Reply privately to the author option or a direct private reply to this email.

Thanks,
 
Google Logo Google Ads Scripts Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-08-20 16:15:38Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u4lAE:ref" (ADR-00330539)



Reply all
Reply to author
Forward
0 new messages