PMAX Script Failure with input sheet

47 views
Skip to first unread message

Raul Castellanos

unread,
Oct 9, 2024, 5:25:37 AM10/9/24
to Google Ads Scripts Forum
One of my scripts reports that failure

Ga: Invalid input: Sheet. Expected an object with fields { getMaxColumns: a function getMaxRows: a function getRange: a function insertColumnsAfter: a function insertRowsAfter: a function setFrozenRows: a function } at runReport (Code:53:10) at main (Code:18:3)


Please, can anybody help me? I don't know how to solve it

Google Ads Scripts Forum Advisor

unread,
Oct 9, 2024, 8:10:08 AM10/9/24
to adwords...@googlegroups.com

Hi,

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

I would like to inform you that the method “report.exportToSheet()” seems to be not working and is throwing the error. Please be informed that the methods related to the “Spreadsheet” are not in our scope. I would suggest that you reach out to the Google Apps Script support team, as they are better equipped to address your concern.

Feel free to get back to us if you still have any issues. 

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

Thanks,
 
Google Logo Google Ads Scripts Team


Reply all
Reply to author
Forward
0 new messages