Ad Decision Engine Overview

How Kevel's ad decision engine chooses which ad to serve: inputs, the decision process, weights, selection methods, and what to expect at launch.

Overview

This section reviews the basics behind how Kevel selects an ad/internal promotion to be shown.

Decision engine inputs

Kevel's ad engine chooses to serve a creative to a placement based on:

  • The Creative's size
  • The Targeting and Goal settings tied to each Ad/Flight/Campaign
  • The Channel's Priority for the Flight

Decision engine process

First, the engine receives information about the ad placement via the Decision API request. This includes information like Placement Location, User Agent, Keywords, User Key, Custom Targeting data, Location, and more.

Then, the engine takes a look at all the ads you've created in the system and filters by the right criteria. It also analyzes the Priorities order and will prioritize ads based on their Priority level, such as showing Sponsorship ads first, then Auction ads, then House Ads.

Finally, it chooses a winner based on your Ad Selection Methods within each Priority. For instance, if you're doing Auctions / eCPM Optimization, the winner will be the ad with the highest Ad Rank: its eCPM, adjusted by its relevancy score if it has one.

Ad balancing & weights

The balancer is a system that examines each flight regularly, and whenever you save a campaign, flight, or creative. It decides how often the flight should serve and gives it a weight: the share of eligible requests the flight may take part in, from 0% to 100%. For example:

  • A flight set to Percentage 100 has a weight of 100%
  • A flight set to Percentage 50 has a weight of 50%
  • A flight with a paced goal (Impressions, Clicks, Conversions, Revenue, Daily Revenue or Monthly Revenue) is given a dynamic weight, based on its plan versus its delivery so far

When the Ad Decision Engine goes to pick a winning ad, it uses the weight of the ad's flight. For how Kevel plans each goal type, see Ad Pacing (Goals). For how weights, lotteries and auctions work together, see How Pacing and Balancing Work.

Selection methods

These are used to help decide how an ad gets selected.

TitleDescription
LotteryThis is the default selection method. Based on the weights of the available ads, Kevel proportionally selects which ad to show. Think of a pool of 100 tickets: a flight with a weight of 50 holds 50 tickets, and a flight with a weight of 10 holds 10. The first flight wins 50% of the time and the second 10%, and the other 40% of requests find no winner and fall through to the next priority. If the weights add up to more than 100, they are scaled down so that every ticket has a holder.
AuctionIn the auction selection method, each ad has an eCPM value based on past behavior. The winning ad will be the one with the highest Ad Rank, which is its eCPM multiplied by its relevancy score. For flights with a goal, a weighted lottery first decides which flights may bid. Pacing decides who enters the auction. It does not change an ad's Ad Rank, but it can change the price the winner pays.
🚧

In a lottery priority, ads with percentage goals are selected separately from ads with impression goals, etc. The percentage goal ads will become eligible to serve first, and any remaining requests will be filled by ads with other goal types. To prevent unpredictable serving behavior, it's a best practice to use the same goal types for each priority.

Launching & pausing

Launching

Percentage goal types start serving a few seconds after you save the flight.

Impression, Click, Conversion, or Revenue goal types can take several minutes to go live, as our ad balancer monitors the number of requests to determine how often to show the ad. A new flight starts with a small share of requests and ramps up, because a weight can at most double in one step. With a Daily or Monthly Revenue goal, delivery can also be lower than usual for the first hours of a new day or month while pacing settles. See Ad Pacing (Goals).

Pausing

If you set impression or click caps for a Flight, our system will pause the Flight once that cap has been hit. However, due to the number of events processed by Kevel (25K+ requests per second), stopping on a dime is not feasible. Therefore, your total impressions for a flight will likely be slightly over.

This comes into play with click and conversion caps too, but to a lesser extent.

A Daily or Monthly Revenue goal also pauses a flight for the rest of the day once it reaches its daily limit, and the flight resumes at midnight in its time zone. See Ad Pacing (Goals).

If you pause manually, the ads will also take a few moments to stop.