Skip to content

Troubleshooting

John Williams edited this page Mar 13, 2026 · 1 revision

Troubleshooting

Common issues and solutions when running Google Ads Scripts from this collection.

Authorization Errors

"Authorization is required to perform that action"

  • Click "Authorize" in the script editor
  • If re-authorization is needed, remove the script and re-add it

"Access denied: SpreadsheetApp"

  • Ensure the Google account running the script has Edit access to the Sheet
  • Check that the Sheet URL is correct and not a shared link with restricted access

Execution Errors

"Exceeded maximum execution time"

  • Google Ads Scripts have a 30-minute limit
  • Set maxExecutionMinutes in CONFIG to 25
  • For large accounts, filter by campaign labels to process in batches

"Quota exceeded for API requests"

  • Reduce the date range to lower the number of API calls
  • Run the script less frequently
  • Split large operations across multiple script instances

Data Errors

"No campaigns found matching the filter"

  • Check your campaign name filters in CONFIG
  • Ensure campaigns have data in the selected date range
  • Verify campaign status (paused campaigns may be excluded)

"Sheet not found" or "Range not found"

  • Tab names are case-sensitive — verify exact spelling
  • The Sheet may need to be created first (some scripts auto-create, others don't)

Email Issues

"Email not received"

  • Check spam/junk folder
  • Verify the email address in CONFIG
  • Google Ads Scripts can send to a limited number of recipients per day
  • Gmail may delay script-sent emails

Script-Specific Issues

account-grader.js

  • Very long execution: This is a 7,800+ line script. For large accounts, increase timeout tolerance or run on a subset of campaigns.

anomaly-detection.js

  • False positives: Adjust thresholds in the Config sheet. New campaigns will naturally trigger anomalies — use the Exclusions sheet to exclude them.

impression-share-bid-automation.js

  • No bid changes: Verify dryRun is set to false. Check that keywords are on Manual CPC bidding strategy.

Still Stuck?

Open a GitHub Issue with:

  1. Script name and version
  2. Full error message from the Logs tab
  3. Account type (single account or MCC)
  4. Any CONFIG changes you made

Clone this wiki locally