Domain Name Checker Script

Have you encountered issues such as inaccurate or unavailable domain names, wasted ad budget, poor user experience, or missed opportunities?

Using the domain name checker script, you can determine if a particular domain name is available for registration, saving you time and effort.

Before setting up the script, get familiar with the interface and navigation in Google ads.

  1. Tools- The Tools tab provides direct links to various Google Ads account tools. Use these tools to monitor and make changes to your account, ads, ad groups, and keywords.
  2. Bulk actions- It allows advertisers to modify multiple campaigns, ad groups, ads, or keywords in a single action, saving time and effort.
  3. Scripts- It allows advertisers to automate and customize their bulk actions. This tool allows advertisers to create custom scripts that perform specific actions on their campaigns or accounts, such as updating bids, pausing underperforming ads, or adding new keywords.
  4. + button- It allows advertisers to create new scripts. 

  1. New Script- It allows advertisers to create a new script from scratch.

  1. Add Script Name- It allows advertisers to name their scripts. 
  2. Authorize-  It allows advertisers to grant permission for their script to access their Google Ads account.
  3. Save- It allows advertisers to save their scripts after making changes or creating new ones.

  1. Frequency- It allows advertisers to set how often a script runs.
  2. Script - Given script name is  Domain Name Checker Script.

  1. Run- It allows advertisers to execute a script.

  1. Logs- The log statement in Google Ads Script Tools is used to output messages to the script's log, helping advertisers track progress, troubleshoot issues, and create custom reports.

Steps to add the Domain Name Checker Script in Google Ads:

  1. First, Create a new Google spreadsheet and note its URL.
  2. Open your Google Ads account and navigate to the "Tools & Settings" tab.
  3. Next, Select Scripts under BULK ACTIONS.
  4. Click on the "plus" button to create a new script.
  5. Copy and paste the Domain Name Checker Script into the script editor.

        -> Don’t forget to edit these options in the script:

  • domainName is the domain you expect to be in all your keyword and ad URLs.
  • If isWholeDomainName is set to true, the script will look for the exact website address that comes after "https://" and before the next "/." If set to false, it will only look for the top-level domain (e.g., "") and won't check for subdomains (e.g., ""). 
  • targetSheetUrl is the URL of your blank Google Doc spreadsheet, which the results will be written into.
  • The campaignNameContains and campaignNameDoesNotContain options help you filter which campaigns to get data from.
  • campaignNameContains: includes campaigns with names containing the specified words or phrases.
  • campaignNameDoesNotContain: excludes campaigns with names containing the specified words or phrases.
  • Leave both options blank to include all campaigns.
  • Use a backslash to include a double quote in campaignNameContains or campaignNameDoesNotContain.
  • Set ignorePausedCampaigns to true to only look at active campaigns and false to include paused campaigns.
  1. Click the "Authorize" button to authorize the script to access your account.
  2. Click on the "Save" button.
  3. Go back to the "Scripts" section and set the report frequency to be generated. 
  4. Then click on Keyword Performance Script.
  5. Click the "Run" button to run the script. The script will take some time to run, depending on your account size. 
  6. Once the script has finished running, click on the "Logs" button to see the results.

Free website audit image

Get your free website Audit

Run an instant, highly detailed audit of your entire website. Identify over 200 common issues based on priority and importance, and find out how to fix them.

Check Now

Get your Script

Download your script

Oops! Something went wrong while submitting the form.