Are my header bidding demand partners generating more revenue for me? If not, is it because of latency or is it due to low bid CPM? How about discrepancies?
It includes:
The day starts from making sure the bidders are not generating less revenue:
Something is not right here - total revenue from yesterday dropped quite a bit. This could be caused by certain bidders were down or experienced technical issues. Let’s take a look at the bidder timeout rate:
Bidder timeout seems okay. The problem might then be caused by bidders’ lower bid rate:
Here we go. Bidder 1 and 4 bid much less than usual. You may want to drill down even further - Prebid.js Analytics also provides:
Explore an example dashboard here
To understand exactly how much time per bidder spent, the Analytics Platform allows you to make the below query:
You might derive:
Similar query for bidders’ bid CPM:
Try out the product and explore the demo dashboard here! This will be the base of your dashboard!
Prebid.js has a seamless integration with Google Analytics and Google Spreadsheet, as well as several other Analytics providers.
You can build the Google Analytics module into your Prebid package in two ways:
gulp build --modules=googleAnalyticsAdapter, OTHER_MODULES, OTHER_ADAPTERS, ...
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-1111111"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-1111111');
</script>
pbjs.que.push(function() {
pbjs.enableAnalytics({
provider: 'ga',
options: {
sampling: 0.1,
cpmDistribution: myBucketFunction
}
});
});
// takes a CPM value and returns a string price bucket
var myBucketFunction = function(cpm) {
return cpm <= 1 ? '<= 1$' : '> 1$';
}
Here are the options available. None of them are required.
Option | Type | Example | Notes |
---|---|---|---|
global | string | ga | Name of the global analytics object. Default is ga |
trackerName | string | “mytracker” | Use another tracker for prebid events. Default is the default tracker. |
sampling | float | 0.1 | Choose a value from 0 to 1 , where 0 means 0% and 1 means 100% tracked. |
enableDistribution | boolean | true | Enables additional events that track load time and cpm distribution by creating buckets for load time and cpm. Default is false. |
cpmDistribution | function | see example | A function that customizes the buckets for cpm distribution. |
sendFloors | boolean | true | if set, will include floor data in the eventCategory field and include ad unit code in eventAction field. Defaults to false. |