How to Quickly Negate Exact Keywords in Broad Campaigns? With a Script!

Many of us run 2 types of search campaigns – campaigns containing exact keywords and campaigns containing broad keywords. It’s usually a good idea to add your keywords from your exact campaign as negative keywords into the related broad campaign. If you frequently add new keywords into your exact match campaign, the process of updating negative keywords in your broad campaign is quite tiring because you have to do it over and over (if you don’t forget). So the question is – can we “sync” the negative keywords with a script? Yes, we can!

***Not the Google Ads script you were looking for? I can also write custom Google Ads scripts to fit your needs. Contact me.***

I got tired of manually updating the negatives so wrote a script to do the work for me.

This is what my script does:

  1. The script looks for all enabled campaigns which contain your “exact match qualifier” in the campaign name. In my case, it would be “exact” (see the campaign names in the image above).
  2. The script grabs all active keywords in active ad groups from the exact campaign.
  3. The script finds broad campaign relevant to the exact campaign by replacing the “exact match qualifier” with “broad match campaign” qualifier. So in my case, after grabbing KWs from “DB-XX-xOther-exact-Search”, the script would look for “DB-XX-xOther-broad-Search”. You can configure the match type qualifiers within the script:
    Qualifiers
  4. If the broad campaign is found, the script wipes out the existing campaign level negative keywords and creates new exact match negative keywords based on the positive keywords in your original exact campaign. If you are manually adding campaign level negatives which are unrelated to this process, then don’t use this script because it will wipe your previously added keywords.
  5. The process is repeated for all your exact and broad campaigns in the account. It takes about 5 minutes to handle 40,000 keywords and 20 campaigns.
  6. If the script fails, an email goes out to let you know.

DOWNLOAD FREE VERSION

And that’s all!

Daniel

***Not the Google Ads script you were looking for? I can also write custom Google Ads scripts to fit your needs. Contact me.***

Leave a Reply

Your email address will not be published. Required fields are marked *