Using your own CMP with Holid.io ad delivery

This article covers the scenario of a publisher using their own CMP to handle consent for Holid.io's ad delivery

It's important to secure consents from users in order to be compliant but also to increase the revenue possibilities for your ads. Holid.io thereby makes sure to look for possible consents on your site before starting the ad auction.

Holid.io's checks if there is consents available on the site every few milliseconds, but for optimal performance, we recommend to include a CMP directly from Holid.io.

Checklist when using your own CMP

  • The CMP must be a TCF 2.2 IAB validated and activated CMP (see list here of validated TCF 2.2 CMPs, under TCF v2.2 CMP Service)
    • The TCF 2.2 is a framework and provides a standardized way of transmitting consents, making it possible for Holid.io to work with several different CMPs
  • Your CMP code must be initiated before the Holid.io <head> </head> section code
    • Most CMPs are designed to pause some scripts before getting a user-answer, which is needed in this case.
  • Your CMP code must be initiated at the topmost location within the <head> </head> section of your site
    • This is to make sure your CMP pauses all relevant scripts afterwards but also is shown to the user as early as possible for optimal user friendliness. 
  • If you're using Google's CMP, you have to add Holid.io to your vendor list since Holid.io is not added by default. Learn how to add Holid to your Google CMP vendor list.

What happens if Holid.io doesn't find a CMP on your site?

For EU users, Holid.io checks your site for CMP consent data every 100 milliseconds after our code is initiated for up to 2 seconds. 

1. If we find consent data from your CMP within the 2 seconds, at any of the 100 ms checks:

Holid.io launches an auction including the consent data

2. If we do not find any consent data before the 2 second timeout:

Holid.io publishes a CMP automatically on your site and launches an auction including the consent data

This is a failsafe mechanism to always be able to show personalized ads to your EU users and to exclude the possibility for any auctions to be dropped.