Boost bids based on inventory levels

The script automatically calculates an auction boost based on inventory levels and recent keyword performance. The Auction Boost can be used by Marin's Dynamic Actions to adjust the keyword bid.

What can I do with this?

This script helps ensure optimal spending on keywords depending on inventory levels and other factors not visible to the publisher.


How it works

The script looks at current performance metrics combined with attributes set as Marin dimensions and calculates an Auction Boost ⁠⁠⁠⁠⁠⁠⁠, which is set as a dimension. The Auction Boost can then be used as part of the Dynamic Action to adjust the bid calculated by Marin Bidding.



  • Inventory attributes are set as Marin Dimensions (PUP Score, Shoot Price)
  • Action Boost dimension is set up in the client
  • To affect bids, you need to create the Dynamic Action that refers to the Auction Boost dimension.


  • See the code below for the required columns in the report


  • Change the dimensions used as criteria
  • Adjust the performance metrics



Written by Wes MacLaggan

Last published at: March 25th, 2024