Installation and Configuration
Instructions to enable Mile Analytics adapter and prebid floors module:
General Notes
- Please perform the configurations as per the instructions below on a staging site (or a test page on the live site) to allow us to verify the setup. Once done, please share the test page URLs.
- Once the configurations are verified at our end, we will ask you to apply the finalized configurations to all the pages of the production website following which we shall initiate the process of data collection with our analytics adapter, which is required to seed the floors module.
- The data collection phase will run for approximately 2 weeks.
- Upon model creation and verification at our end, we shall activate the flooring module.
- Please note that we shall need Reporting access to your Google Ad Manager. More on item 4 below.
Disable Existing Prebid Floors
In order to capture benchmark performance of Prebid on the site(s), please disable all floors configured in the Prebid module for each site (Banners only). Once the data collection is complete, Mile will create a new configuration and apply appropriate floors for each bid request. If the goal is to prevent low value bids from winning the auction this can still be applied at GAM as an UPR.
Installation Instructions
Include the Mile analytics adapter and Prebid Floors Module in the prebid build. Make sure to use Prebid version 8.41.0 or above
gulp bundle --modules=...,automatadAnalyticsAdapter,priceFloors
Add the Mile Edge Script Tag
Add the Mile Edge Script Tag to the <head> section of the respective site(s)
<script type="text/javascript" src="https://edge.atmtd.com/geo/{site_id}/afihbs.js" async></script>
Replace {site_id} with your site ID ( get this from your Mile.tech account manager)
GAM Key-Values Setup
Set up the following Key-Value pair in Google Ad Manager
- Go to "Inventory" -> "Key-values"
- Create a new key-value:
- Key name:
mile_floors - Value type: Predefined
- Report on values: "Include values in reporting"
- Targeting values:
floored_pb_empty_auc_truefloored_pb_empty_auc_falseskipped_pb_empty_auc_falseskipped_pb_empty_auc_truezero_pb_empty_auc_truezero_pb_empty_auc_false
- Key name:
GAM Reporting Access
Provide reporting access to Google Ad Manager to Mile.tech:
- Go to "Admin" -> "Access & Authorisation" .
- Add a new user.
- Name: Mile
- Email: dfp@automatad.com
- Role: Trafficker (Or any role that provides us access to GAM reporting using APIs)
- Go to "Admin" -> "Global Settings".
- Enable API Access and save.

Contact Mile.tech for any help/clarifications
For any help/clarifications, please contact us on our email: hello@mile.tech. Also, let us know if you are on Slack so that we can have slack connect enabled for faster coordination.