BMM Fixer

Now BMM is disappearing as a matchtype, this script will fix your account.

Start Now!
BMM Fixer Get started!

Seriously, DO NOT USE THIS SCRIPT.

Google would want you to, but this script will change all of your BMM keywords to broadmatch. And, it will double all of your campaign budgets.

Settings

  • INSIGHTS: You can change this all you want, you won't get anymore insights.
The script
// Copyright 2021. Increase BV. All Rights Reserved.
// Not to be used without permission of the creator or Increase B.V.
//
// Created By: Tibbe van Asten
// for Increase B.V.
//
// Created: 04-02-2021
// Last update: 05-02-2021
//
// ABOUT THE SCRIPT
// With the disappearance of BMM as keyword matchtype, this script
// will fix your account the way Google wants it to. All BMM keywords
// change to broad ('+' removed) and your campaign budget will double.
//
////////////////////////////////////////////////////////////////////

var config = {
  
  // You can try changing this, but you won't get anymore data or insights
  // on actual changes
  INSIGHTS : false
  
}

////////////////////////////////////////////////////////////////////

function main() {
  
  var google;
  
  var keywordIterator = AdsApp
    .keywords()
    .withCondition("Text CONTAINS '+'")
    .withCondition("Status = ENABLED")
    .withCondition("AdGroupStatus = ENABLED")
    .withCondition("CampaignStatus = ENABLED")
    .get();
  
    Logger.log("Found " + keywordIterator.totalNumEntities() + " keywords to increase spend on");
  
  while(keywordIterator.hasNext()){
    var keyword = keywordIterator.next();
    
    // Pause BMM and create new broad match keyword
    keyword.pause();
    
    var newKeyword = keyword.getText().replace(/\+/g, "");
    keyword.getAdGroup().newKeywordBuilder().withText(newKeyword);
    
      if(google == "transparent"){
        Logger.log("Paused " + keyword.getText() + " and activated " + newKeyword);
      }
    
  } // keywordIterator
  
  var campaignIterator = AdsApp
    .campaigns()
    .withCondition("Status = ENABLED")
    .get();
  
    Logger.log("To make this even better, budgets for " + campaignIterator.totalNumEntities() + " are doubled");
  
  while(campaignIterator.hasNext()){
    var campaign = campaignIterator.next();
    
    // Get budget and double this!
    var newBudget = campaign.getBudget().getAmount() * 2;
    campaign.getBudget().setAmount(newBudget);
    
  } // campaignIterator
  
}
Show whole script!
Loading Comments
The Experts
Tibbe van Asten Head of PPC @ Increase
Nils Rooijmans Water Cooler Topics
Martijn Kraan Freelance PPC Specialist
Bas Baudoin Teamlead SEA @ Happy Leads
How about you? JOIN US!
Sharing Knowledge
Caring

Sharing Knowledge

Adsscripts.com is all about sharing knowledge. In the current market, PPC specialists like to keep their knowledge and experience to themselves. We're convinced that sharing knowledge can ensure that everyone gets better at their work. We want to change this by sharing our knowledge about scripts with everyone.

Do you also want to contribute? We are open to new ideas and feedback on everything you find on Adsscripts.com.

Contact us

Training &
Workshop
Contact us!
Adsscripts Training & Workshop