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.
- 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.
- Bulk actions- It allows advertisers to modify multiple campaigns, ad groups, ads, or keywords in a single action, saving time and effort.
- 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.
- + button- It allows advertisers to create new scripts.
- New Script- It allows advertisers to create a new script from scratch.
- Add Script Name- It allows advertisers to name their scripts.
- Authorize- It allows advertisers to grant permission for their script to access their Google Ads account.
- Save- It allows advertisers to save their scripts after making changes or creating new ones.
- Frequency- It allows advertisers to set how often a script runs.
- Script - Given script name is Domain Name Checker Script.
- Run- It allows advertisers to execute a script.
- 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:
- First, Create a new Google spreadsheet and note its URL.
- Open your Google Ads account and navigate to the "Tools & Settings" tab.
- Next, Select Scripts under BULK ACTIONS.
- Click on the "plus" button to create a new script.
- 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., "example.com") and won't check for subdomains (e.g., "www.example.com").
- 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.
- Click the "Authorize" button to authorize the script to access your account.
- Click on the "Save" button.
- Go back to the "Scripts" section and set the report frequency to be generated.
- Then click on Keyword Performance Script.
- Click the "Run" button to run the script. The script will take some time to run, depending on your account size.
- Once the script has finished running, click on the "Logs" button to see the results.