How to set and use custom key-values

26. August 2021

FatChilli uses Google Ad Manager 360 as a primary AdServer, which allows our publishers to additionally target various segments of their website’s visitors. (more information on Google documentation)

 

FatChilli only supports page-level targeting using custom key-values. Those values can, for example, be easily used to target Direct orders.

How to set custom key-values

Set your key-values before enableSingleRequest in your head code:

window.googletag = window.googletag || { cmd: [] };
window.googletag.cmd.push(function () {
     window.googletag.pubads().setTargeting('YOUR_KEY','YOUR_VALUE' );
     window.googletag.pubads().enableSingleRequest();
     window.googletag.pubads().disableInitialLoad();
});

After your key-values are set, they will be sent directly to our Google Ad Manager and will be ready to use for targeting orders.

For example: Use the “Category” of your articles as a key-value pair.

We recommend to use these settings only if you have access to Direct orders and you have orders that need these additional targeting.

TOP