Manage your match types with this structure checker Google Ads script

October 9, 2018

manage-your-match-types-with-this-structure-checker-google-ads-script Theme Builder Layout

Paid search is all about those keywords, but we wouldn’t go very far with them if it wasn’t for match types. A true PPC expert knows how to juggle broad, broad match modifier, phrase and exact with their eyes closed. If you’re struggling to stay on top of keyword relevance, here’s a script to help you up your match type game.

The best practice at our company (Brainlabs) is to separate campaigns by match type. For each client or product, we like to set up two similar campaigns that contain identical keywords but with different match types — one with exact match and one with broad match modifier (BMM).

The exact keywords are applied as negatives in the broad campaign, so that search terms that match exactly will be filtered through to the exact keyword. I’ve talked about filtering traffic with negative keyword matching in the past and have shared another handy script to help with that.

If you use a similar kind of account structure but need a helping hand to make sure you’re being consistent, this script is for you! It will help you check whether every exact keyword in an exact campaign has a corresponding BMM keyword in the corresponding broad campaign, a phrase keyword in the corresponding phrase campaign and so on. It should work quite flexibly with your account structure, whatever your best practice might be.

manage-your-match-types-with-this-structure-checker-google-ads-script-1 Theme Builder Layout

As a side note, if your accounts are looking a little messy, it’s never too late to start organizing them! Having an organized structure is really great for ease of management, whatever your account’s size.

It makes it easier to filter for and make changes to certain campaigns, ad groups or keywords, and facilitates comparing similar campaign groups. And don’t forget to always use a consistent and clear naming system — aside from saving yourself a headache in future, it makes setting up scripts like this one a bit easier.

Script outline

To use this script, go to your account in the Google Ads interface, go to Bulk Actions, choose Scripts, then make a new one and paste in the script at the end of this article.

manage-your-match-types-with-this-structure-checker-google-ads-script-2 Theme Builder Layout

There are a few settings for you to play around with based on your preferences:

  • spreadsheetUrl lets you input the URL of the Google Sheet you want the results to appear in
  • Two filters for campaign names to be included or excluded
    • Use campaignNameContains if you only want to look at campaigns that contain a certain word or set of words in their name
    • Use campaignNameDoesNotContain for the script to exclude certain campaigns
  • You can choose to ignore or include paused campaigns with checkPausedCampaigns
  • Specify the match types you are interested in looking for in the keywordMatchTypes variable

Opinions expressed in this article are those of the guest author and not necessarily Search Engine Land. Staff authors are listed here.

Share this article:

eHost-square-ad Theme Builder Layout

We’re listening.

Have something to say about this article? Share it with us on Facebook, Twitter or LinkedIn:


Related Posts

Get ALL Your SEO, WordPress & Divi News

Join Our Daily Roundup

SEO News and More

Subscribe ToThe Weekly SEO Trade News Updates

Get the latest SEO, SEM and SMM marketing intel, tips and tricks from one of the best SEO Gurus online. 

Every Tuesday morning we send out an aggregated email listing all new posts on SEO Trade News.

Excellent! Now check your email to confirm your subscription.