Documentation>Troubleshooting
Problem Solving

Troubleshooting Guide

Solutions for the most common Google Ads script issues. Find quick fixes for errors and optimization problems.

12 minutes
Quick Diagnosis
&Script Won't Run

Syntax errors, permissions, or setup issues

No Changes Made

Logic issues or data filtering problems

Performance Issues

Timeouts, slowness, or resource limits

Common Issues & Solutions

Script won't save or shows syntax error

high

Cause: Usually caused by invalid JavaScript syntax or special characters

Solution: Copy script again from AdScriptly. Ensure no characters were modified during paste.

Script runs but makes no changes

medium

Cause: No campaigns/keywords match the script criteria

Solution: Check your filter conditions and thresholds. Use preview mode to verify logic.

Script timeout - execution exceeds 30 minutes

high

Cause: Processing too much data in single execution

Solution: Add filters to reduce scope or break into smaller batches.

Permission denied errors

medium

Cause: Insufficient account access or API limits

Solution: Ensure you have Standard/Admin access. Check with account manager.

Email notifications not working

low

Cause: Email settings not configured or spam filters

Solution: Verify email addresses and check spam folder. Test with simple alert first.

Debug Your Script
// Add logging to understand what's happening
Logger.log('Script started at: ' + new Date());

// Log data being processed
Logger.log('Found ' + campaigns.totalNumEntities() + ' campaigns');

// Check conditions step by step
while (campaigns.hasNext()) {
  const campaign = campaigns.next();
  Logger.log('Processing: ' + campaign.getName());
  
  const stats = campaign.getStatsFor('LAST_7_DAYS');
  Logger.log('Cost: €' + stats.getCost().toFixed(2));
  Logger.log('Conversions: ' + stats.getConversions());
  
  // Your logic here...
}

✅ Debugging Best Practices

  • • Use Logger.log() extensively
  • • Test with preview mode first
  • • Start with small data sets
  • • Check execution logs regularly

⚠️ What to Avoid

  • • Running scripts without testing
  • • Ignoring execution time limits
  • • Not handling edge cases
  • • Forgetting error handling
Still Having Issues?

Get Support

Contact our team with your script and error details

Contact Support

Start Fresh

Generate a new script with updated parameters

Build New Script