TypeError: Cannot read property '0' of undefined at main (Code:11:99)

15 views
Skip to first unread message

MARIA JOSE OLDANI

unread,
Oct 27, 2021, 10:17:33 AM10/27/21
to Google Ads Scripts Forum
Hi! I'm trying to use this script https://gist.github.com/derekmartinla/06e51b8a4298b8bbb8ff and i´m getting this error. Any clue?

Google Ads Scripts Forum Advisor

unread,
Oct 28, 2021, 1:52:18 AM10/28/21
to adwords...@googlegroups.com
Hi Maria,

Thanks for reaching out. Harry here, from the Google Ads Scripts Team.

Kindly provide your Google Ads account ID, script's name and a shareable link to your spreadsheet if available so I can take a look closer at the issue you are encountering. You may send them here or privately via the reply to author option. Note that you may need to join the Google Group for you to use this option. If this option is not available at your end still, you may send it through our email (googleadsscr...@google.com) instead.

On the other hand, please feel free to look through the Common Issues page in our documentation which may help you to resolve the issue at your end.

Looking forward to your reply.

Thanks,
Google Logo
Harry Cliford Rivera
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2QFfKz:ref

MARIA JOSE OLDANI

unread,
Oct 29, 2021, 10:12:32 AM10/29/21
to Google Ads Scripts Forum on behalf of adsscripts
Google Ads account ID: 101-319-8961
Script name: Placements

Thanks!

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/6xNltcmr04g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/C-1id000000000000000000000000000000000000000000000R1OAYZ00WJ5H2NndToadsU1_3gxQgg%40sfdc.net.


--


María José Oldani (Jojo)

Paid Media Specialist | Marketing B2C

Córdoba - Argentina

El contenido de este correo es confidencial y puede ser objeto de acciones legales. Es dirigido solo para el o los destinatarios(s) nombrados anteriormente. Si no es mencionado como destinatario, no debe leer, copiar, revelar, reenviar o utilizar el contenido de este mensaje. Si ha recibido este correo por error, por favor notifique al remitente y proceda a borrar el mensaje y archivos adjuntos sin conservar copias.

The information contained in this e-mail is confidential and may also be subject to legal privilege. It is intended only for the recipient(s) named above. If you are not named as a recipient, you must not read, copy, disclose, forward or otherwise use the information contained in this email.  If you have received this e-mail in error, please notify the sender immediately by reply e-mail and delete the message and any attachments without retaining any copies.

Google Ads Scripts Forum Advisor

unread,
Nov 1, 2021, 10:41:16 PM11/1/21
to adwords...@googlegroups.com
Hi Maria,

Thanks for coming back with the details. It looks like the issue is with your script not being fully compatible with the new Google Ads Scripts Beta so I'd recommend turning the new scripts experience toggle off or migrate your script and retrieve Google Ads API - Reports or use Google Ads Query Language instead. You can refer to the following links to help you with migrating. On the other hand, please do note that deprecation to the Url Performance Report has already started since September 13, 2021. Please see this link for more information in this regard.

Let me know how I can assist you further.
Reply all
Reply to author
Forward
0 new messages