This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Bid Optimization for Offsite Display Ad Campaigns on eCommerce

Hangjian Li [email protected] Walmart Global TechBellevueWashingtonUSA98004 Dong Xu [email protected] Walmart Global TechSunnyvaleCaliforniaUSA94086 Konstantin Shmakov [email protected] Walmart Global TechSunnyvaleCalifornia94086USA Kuang-Chih Lee [email protected] Walmart Global TechSunnyvaleCaliforniaUSA94086  and  Wei Shen [email protected] Walmart Global TechSunnyvaleCaliforniaUSA94086
(2023)
Abstract.

Online retailers often use third-party demand-side-platforms (DSPs) to conduct offsite advertising and reach shoppers across the Internet on behalf of their advertisers. The process involves the retailer participating in instant auctions with real-time bidding for each ad slot of their interest. In this paper, we introduce a bid optimization system that leverages the dimensional bidding function provided by most well-known DSPs for Walmart offsite display ad campaigns. The system starts by automatically searching for the optimal segmentation of the ad requests space based on their characteristics (e.g. geo location, device type). Then, it assesses the quality of impressions observed from each dimension based on revenue signals driven by the campaign effect. During the campaign, the system iteratively approximates the bid landscape based on the data observed and calculates the bid adjustments for each dimension. Finally, a higher bid adjustment factor is applied to dimensions with potentially higher revenue over ad spend (ROAS), and vice versa. The initial A/B test results of the proposed optimization system has shown its effectiveness of increasing the ROAS and conversion rate while reducing the effective cost per mille for ad serving.

bidding, optimization, bid adjustment, demand side platform, RTB
copyright: acmcopyrightjournalyear: 2023doi: XXXXXXX.XXXXXXXconference: Workshop on Decision Intelligence and Analytics for Online Marketplaces; August 06–10, 2023; Long Beach, CAprice: 15.00isbn: 978-1-4503-XXXX-X/18/06ccs: Information systems Display advertisingccs: Information systems Computational advertisingccs: Applied computing Online auctions

1. Introduction

Programmatic advertising has been one of the greatest innovations of eCommerce over a long time. By replacing much of the manual work of managing ad inventory, negotiating prices, discovering targeted users, purchasing ad space, etc. between an advertiser and a publisher with automated systems, programmatic advertising makes the transaction much easier, secure, and efficient. It achieves this by building an open marketplace, or sometimes called an “ad exchange”, that enables all advertisers and publishers to trade with each other online in real-time. Sitting at the core of the online open marketplace is what’s called a real-time bidding system, which enables an ad opportunity to be sold via a real-time auction among all advertisers.

Refer to caption
Figure 1. Parties involved in the online advertising system (Source: OpenRTB 2.3 (Inveratice Advertising Bureau, 2014))

.

The real online advertising systems are more complicated than what’s described above, and involves other parties such as demand-side-platforms (DSPs) and supply-side-platforms (SSPs) to participate in RTB auctions on behalf of advertisers and publishers, respectively — see Figure  1. DSPs have been created to give ad inventory buyers control over their programmatic campaign strategies such as bidding prices for ad auctions, audience targeting preferences, budgeting pacing and throttling, etc, which are executed through the real-time bidding auction (Kosorin, 2016). Popular DSPs include Facebook Ads Manager, Google DoubleClick, The Trade Desk, AppNexus, etc. Online retailers have been a major client of DSPs as they have huge demand for online ads. As the eCommerce business picks up the pace, a number of eCommerce companies are also investing heavily into creating their own in-house DSPs either through collaboration with the existing leading DSPs or by themselves. In-house DSPs offer obvious benefits such as better integration, more customized functionalities, and overall more control on advertising strategies. Players in this area include but not limited to Amazon, Walmart, Apple, Alibaba, eBay, etc. In this work, we focus on the bid adjustment tool offered by most DSPs and discuss ways of optimizing the adjustment factors towards ROAS from the perspective of online retailers.

2. Background and Literature

Bid optimization for display advertising in online RTB has been studied extensively over the years in both academia and the private sector. RTB auctions was initially developed for sponsored search to sell search impressions by posting a bid for user query keywords (Edelman et al., 2007; McAfee, 2011). Later on, display advertising started to employ RTB auctions to sell an ad impression whenever it is generated by a user’s visit (Yuan et al., 2013). The research topics for display advertising can be divided into the demand-side and the supply-side. The key issues faced on the supply side involves inventory prioritization (Balseiro et al., 2014), allocation (Abolhassani et al., 2022), forecasting (Zhang et al., 2014), etc., which are all important topics but are not covered in today’s discussion. The most important topic on the demand-side is the design and implementation of effective bidding algorithms. It is usually formulated as a constrained optimization problem where restrictions on the bid price, budget, pacing, etc. are enforced and we want to maximize metrics such as total impressions won (reach), total clicks, total conversions, ROAS, etc. The optimization can be formulated at the impression-level based on a linear programming prime-dual problem, and have a bidding algorithm that enables fine-grained impression valuation, and adjusts value-based bid according to real-time constraints (Chen et al., 2011). Another way is to employ “multiplicative bidding” where the effective bidding price is equal to the product of a base bid and multiple bid adjustments that are determined by the features of the ad request (Inc., 2023; Bateni et al., 2014). This allows advertisers to optimize towards their metrics of interest by expressing relative valuations across a fixed set of feature combinations defined by the DSP. In this paper, we also follow this route and investigate how we can optimize through bid adjustments. Since the design of bidding strategies typical depends heavily on the distribution of future winning bid values, an accurate bid landscape forecast model is critical. Wang et. al (Wang et al., 2017) proposed different bid landscape models while others such as Lang et. al (Lang et al., 2012) discussed optimal bidding strategies when inaccurate bid landscape predictions are present.

Many online retail companies do not have the resource or the need to build an in-house DSP that keeps track advertising opportunities across the Internet (offsite). For most ad campaigns, the objectives are usually maximizing the number of impressions delivered (customer reach), clicks per impression (CTR), conversion rate (CVR), and revenue (e.g., ROAS) by bidding strategically on each impression opportunity under a budget constraint. However, there is a critical gap of information collected by 3P DSP and online retailer themselves: DSPs collect the information about online ad auction and bidding environment such as ad spend, clicks, win rate, pacing, etc. for multiple retail platforms, while retailers mainly owns the conversion and revenue signals of products sold on their own platform, such as conversion amount, order amount, order value, etc. Due to confidentiality or propriety restrictions, both sides will only share limited information they collected, making it difficult for bidding optimization. For example, DSPs cannot automatically optimize bid prices towards maximizing revenue as they do not have revenue data. As a result, the campaign managers must manually adjust the bid prices using their own discretion if they want to maximize revenue-related metrics such as ROAS. This is both labor-intensive and inaccurate because the retail campaign managers may not have the detailed insights into the online auction market.

Despite the fact that most well-known DSPs nowadays provides optimization features towards CTR, we found that the correlation between the click-based metrics and revenue is low for display campaigns due to their delayed effect on conversion. In general, online retailers face two major difficulties when trying to optimize bids towards ROAS. First, bid optimization w.r.t revenue relies on bid landscape prediction, a model which returns the probability of winning an auction given a bid price. Retailers, on the other hand, only possesses the information of the impression they have won, making it very difficult to estimate the bid landscape (in some cases, DSPs may choose to share win rate of the retailer at certain aggregated granularity but it is usually not sufficient for bid landscape modeling). Second, 3P DSPs control the pacing and throttling systems that are completely unexposed to retailers. As a result, the effect of any bid adjustment by online retailer is confounded by the intervention of such systems. And the patterns directly observed by retailers from their censored data of bid price, cost, revenue, etc. are often unstable if not misleading.

2.1. Dimensional Bidding

Despite not being directly supported by 3P DSPs, revenue-based optimization may be approximated using a dimensional bidding approach. For example, Google Ad Manager (Inc., 2023) allows campaign managers to apply bid adjustments for ad requests from different segments. Other DSPs also offer similar features. This service is usually provided through an API.

Refer to caption
Figure 2. Dimension bidding with group bid adjustments. The bid price for each ad request is determined by a base bid and several bid adjustment factors. The value of each bid adjustment factor can be set by retailer campaign managers.

The dimensional bidding API allows campaign managers to define bid dimensions of the impression space and apply different bid adjustments to the impressions in different dimensions. A dimension is a targeting item that one can target, block, or apply bid adjustments to. For example, they can be defined on domain, ad format, geolocation, time, device type, etc. The final bid price will be the product of a base bid and several bid adjustment factors, as illustrated in Figure 2. To use this tool, retail campaign managers need to first define the bid dimensions. And the optimal way to do that depends on how these adjustments would affect the campaign spend and performance. Thus, we need to understand and model the relationship among these key factors.

Our main contributions include the following:

  1. (1)

    We proposed a new automated bid optimization system to maximize the ROAS of display ad campaigns run on 3P DSPs.

  2. (2)

    We proposed a novel way of defining and evaluating the best-performing bid dimensions based on historical data.

  3. (3)

    In approximating the bid landscape with censored data, we proposed a marginalized approach to reduce model complexity without compromising flexibility.

  4. (4)

    We demonstrated through A/B online test that our optimization system can achieve higher ROAS performance.

The rest of the paper is organized as follows: In Section  3 we first talk about an simple optimization framework based on disjoint impression segments. Then we introduce our main approach based on overlapping dimensions. We also cover our bid landscape forecast model in this section. In Section  4 we discuss different ways of selecting dimensions and creating impression segments based on each dimension. Various ways of evaluating the generated dimensions and segments are also discussed. In Section  5 we cover our online A/B test results for the proposed bid optimization method. We conclude the paper and discuss the future work in Section  6.

3. Bid Optimization Methods

In this paper we assume the ad campaign budget is given for each line item, and the objective is to maximize ROAS for each line item. Equivalently, we want to maximize the total revenue for each line item under the budget constraint. Because we cannot accurately model the bid landscape for reasons explained in Section 2, we will rely on a few assumptions to establish our optimization framework.

Before laying out the assumptions, let’s define a few quantities and notations. Let b0b_{0} denote the base bid price. The cost per (mille) impression (CPM) is defined as the total ad spend divided by ad volume (multiply by one thousand). The revenue per (CPM) impression (RPM) is defined as the total attributed revenue divided by ad volume (multiply by one thousand). Note that the amount of attributed revenue depends on the size of the attribution window.

The basic idea of our bid optimization is to divide the impression population into sub-populations, i.e., dimensions, so that the behaviors of these sub-populations are easier to track and be exploited. Retailers usually have complete control over which dimensions to use and how sub-populations should be defined for each dimension. We start by making three assumptions on the impressions from each dimension:

  1. (1)

    The CPM is an increasing function of the bid factor.

  2. (2)

    The number of winning auctions (or impressions we get) is an increasing function of the bid factor.

  3. (3)

    RPM is independent from the bid price and relatively stable for a short period of time (1-2 days).

Display campaigns’ ad cost are determined by media cost (measured by cost-per-mille (CPM)) plus some additional fees (usually they are constant or a fixed percentage). Because the bid price for impressions under the same dimension is equal to the base bid times bid adjustment, CPM should increase if the bid adjustment increases. The second assumption is also intuitive as the number of winning actions should also be proportional to the bid price. The last assumption on RPM says that if the dimensions are chosen based on RPM, the average revenue we can get from each dimension should not depend on how much we paid for them. For example, if an ad slot on Yahoo.com during certain prime hour in a zip code region usually gets xx amount of attributed revenue during a normal day. Despite the fluctuation in the bid landscape, the revenue we get from winning this ad slot won’t change much regardless of the actual ad spend. In practice, the validity of this assumption depends on the quality of the sub-populations created, and we will discuss more about this in Section  4.2. The following types of data (at impression level) are used throughout the rest of this paper:

  1. (1)

    Daily attributed revenue (14 or 30-day attribution window) for each impression served;

  2. (2)

    Impression cost (equal to bid price under first price auction);

  3. (3)

    Impression attributes (time, geo, publisher, platform, etc.);

  4. (4)

    campaign metadata (budget, start and end dates, etc.)

3.1. Optimize with Disjoint Bid Dimensions

Under the previous assumptions, we first came up with a straightforward optimization framework by defining multiple disjoint dimensions and apply unique bid adjustments to each dimension. Let’s define some notations first. For dimension ii, we define the following quantities:

  • Cost per (mille) impression: CPMi\mathrm{CPM}_{i}.

  • Revenue per (mille) impression: RPMiRPM_{i}.

  • Number of won impressions: nin_{i}.

  • Total ads spend: SiS_{i}.

  • Total revenue: RiR_{i}.

  • Bid (adjustment) factor: fif_{i}.

Geo1\text{Geo}_{1} Geo2\text{Geo}_{2} Geo3\text{Geo}_{3} total
website1\text{website}_{1} 1 2 3 6
website2\text{website}_{2} 12 1 6 19
website3\text{website}_{3} 7 10 9 26
total 20 13 18 51
Table 1. Example of impression volume in each dimension. Two dimensions: website & geo location are used in this example. The total number of impressions is equal to the sum of all individual cells in the table.
Geo1\text{Geo}_{1} Geo2\text{Geo}_{2} Geo3\text{Geo}_{3} total
website1\text{website}_{1} n1=β1f1n_{1}=\beta_{1}f_{1} n2=β2f2n_{2}=\beta_{2}f_{2} n3=β3f3n_{3}=\beta_{3}f_{3} i=13βifi\sum_{i=1}^{3}\beta_{i}f_{i}
website2\text{website}_{2} n4=β4f4n_{4}=\beta_{4}f_{4} n5=β5f5n_{5}=\beta_{5}f_{5} n6=β6f6n_{6}=\beta_{6}f_{6} i=46βifi\sum_{i=4}^{6}\beta_{i}f_{i}
website3\text{website}_{3} n7=β7f7n_{7}=\beta_{7}f_{7} n8=β8f8n_{8}=\beta_{8}f_{8} n9=β9f9n_{9}=\beta_{9}f_{9} i=79βifi\sum_{i=7}^{9}\beta_{i}f_{i}
total \ldots \ldots \ldots i=19βifi\sum_{i=1}^{9}\beta_{i}f_{i}
Table 2. Simple linear model for impression volumes. Each cell corresponds to a dimension with a unique bid factor.

Let us also define a few addition campaign variables such as the total budget BB and the flight duration TT. Then, the optimization problem needs to be solved is in Eq.  (1).

(1) maxfi\displaystyle\max_{f_{i}} i=1mRPMig(fi)\displaystyle\sum_{i=1}^{m}RPM_{i}\cdot g(f_{i})
s.t. i=1mSiB\displaystyle\sum_{i=1}^{m}S_{i}\leq B

where ni=g(fi)n_{i}=g(f_{i}) is a model of our choice for impression volume from dimension ii. Without the loss of generality, we assume base bid b0=1b_{0}=1. Taking a simple linear model as an example, in Eq.  (2), we postulate that the total number of impressions we can win from dimension ii increases linearly with the corresponding bid adjustment factor.

(2) ni=g(fi)=βifin_{i}=g(f_{i})=\beta_{i}\cdot f_{i}

Table  (1) and (2) give a concrete example of modeling the impression volumes using linear functions when there are 9 disjoint dimensions defined by geo location and websites. In the example, both geo and website define 3 groups but in practice the number of groups do not need to be the same.

Under the first price auction setting, CPMib0fi=fiCPM_{i}\approx b_{0}\cdot f_{i}=f_{i}. From the assumptions above one can derive the following relations:

(3) Si\displaystyle S_{i} =niCPMi=βifi2\displaystyle=n_{i}\cdot CPM_{i}=\beta_{i}\cdot f_{i}^{2}
(4) Ri\displaystyle R_{i} =RPMini=RPMiβifi=RPMiβiSi.\displaystyle=RPM_{i}\cdot n_{i}=RPM_{i}\cdot\beta_{i}\cdot f_{i}=RPM_{i}\cdot\sqrt{\beta_{i}\cdot S_{i}}.

and the optimization problem becomes:

(5) maxfi\displaystyle\max_{f_{i}} i=1mRPMiβifi\displaystyle\sum_{i=1}^{m}RPM_{i}\cdot\beta_{i}\cdot f_{i}
s.t. i=1mfi2βiB.\displaystyle\sum_{i=1}^{m}f_{i}^{2}\cdot\beta_{i}\leq B.

Solving Eq. (5) yields the optimal bid adjustment factors:

(6) f^i=RPMi2jmRPMj2βjB\hat{f}_{i}=\sqrt{\frac{RPM_{i}^{2}}{\sum_{j}^{m}RPM_{j}^{2}\cdot\beta_{j}}\cdot B}

Suppose we divide the impression space into disjoint dimensions and assign a unique bid adjustments to each, Eq. (6) shows that the optimal bid adjustment for dimensions ii should be proportional to RPMiRPM_{i} and equal to a fraction of budget, given by mm linear impression volume models.

However, this framework has two main drawbacks. First, it might suffer from the curse of dimensionality. Instead of defining the bid adjustment as a product, it has a unique factor for each segment. In practice, if the number of segments is larger, we cannot reliably estimate RPMiRPM_{i}, the volume model g(fi)g\left(f_{i}\right),or the cost model (Bellman, 1957). Second, the simple approach is not scalable as the number of dimensions and groups increase. The number of parameters is of order Θ(IK)\Theta\left(I^{K}\right) where KK is the number of dimensions and II is the number of groups within each dimension.

3.2. Optimize with Overlapping Bid Dimensions

Geo1(f12)\text{Geo}_{1}(f_{1}^{2}) Geo2(f22)\text{Geo}_{2}(f_{2}^{2}) Geo3(f32)\text{Geo}_{3}(f_{3}^{2}) total
website1(f11)\text{website}_{1}(f_{1}^{1}) n11=g(f11,f[1,2,3]2)n_{1}^{1}=g\left(f_{1}^{1},f_{[1,2,3]}^{2}\right)
website2(f21)\text{website}_{2}(f_{2}^{1}) n21=g(f21,f[1,2,3]2)n_{2}^{1}=g\left(f_{2}^{1},f_{[1,2,3]}^{2}\right)
website3(f31)\text{website}_{3}(f_{3}^{1}) n31=g(f31,f[1,2,3]2)n_{3}^{1}=g\left(f_{3}^{1},f_{[1,2,3]}^{2}\right)
total n12=g(f12,f[1,2,3]1)n_{1}^{2}=g\left(f_{1}^{2},f_{[1,2,3]}^{1}\right) n22=g(f22,f[1,2,3]1)n_{2}^{2}=g\left(f_{2}^{2},f_{[1,2,3]}^{1}\right) n32=g(f32,f[1,2,3]1)n_{3}^{2}=g\left(f_{3}^{2},f_{[1,2,3]}^{1}\right) =i=13ni1=i=13ni2=\sum_{i=1}^{3}n_{i}^{1}=\sum_{i=1}^{3}n_{i}^{2}
Table 3. Impression volume by dimension and group under the over-lapping dimension setup. Bid dimensions and groups are now defined marginally and the adjustment factors can interact with each other. The total volume is equal to either the sum of website group volumes or the sum of geo group volumes.

To address the drawbacks above, we came up with a more general framework. Let’s first look at an example. Similar to Table  (1), in Table  (3), we split the impression space based on two dimensions: site and geo, where 3 groups are created based on geo and 3 based on site. However, this time instead of assigning a unique bid factor to each segment, we assign one to each group. Concretely, for group jj of dimension ii, we denote its bid factor by fjif_{j}^{i}, as shown next to the group labels. Instead of having 3×3=93\times 3=9 bid factors, we end up with only 3+3=63+3=6 bid factors. This is a significant reduction in the number of parameters we need to keep track of. However, because the bid price for impressions will be determined by two bid factors instead of one, the modeling for the impression volume and cost will get slightly more complicated. Concretely, the bid price under the new setting is given by

(7) b=b0fw1fz2b=b_{0}\cdot f_{w}^{1}\cdot f_{z}^{2}

where ww is the website group the impression belongs to and zz is its geo group index. Comparing to the method described in Section  3.1, this method makes an implicit assumption on the bid factors being decomposable (suppose there are only geo and site dimensions):

(8) fl=fw1fz2f_{l}=f_{w}^{1}\cdot f_{z}^{2}

where ll is one of the disjoint dimensions that corresponds to site ww and geo zz. The number of parameters under the new setup reduces from Θ(IK)\Theta(I^{K}) to Θ(IK)\Theta(I\cdot K).

Yet we still need to define the relationship among key variables such as revenue, spend, bid price, etc. Without the loss of generality, let there be K dimensions and each dimension have I groups (in practice the number of groups can be different). We still define the dimensional level spend and revenue as in Section  3.1 except now the sum of group ad spend along any dimension i is equal to the total ad spend:

(9) Si\displaystyle S^{i} =j=1ISji=B\displaystyle=\sum_{j=1}^{I}S_{j}^{i}=B
(10) i=1KSi\displaystyle\sum_{i=1}^{K}S^{i} =KB.\displaystyle=K\cdot B.

The same rule applies to revenue and impression volumes. Let’s take an impression that belongs to website1\text{website}_{1} and Geo3\text{Geo}_{3} as an example. The bid price for this impression would be equal to b=b0×f21×f32b=b_{0}\times f_{2}^{1}\times f_{3}^{2} following the notation in Table  3. Because a group from one dimension now overlaps from any group from another dimension, the impression volume nikn_{i}^{k}, revenue RPMikRPM_{i}^{k}, as well as the cost CPMikCPM_{i}^{k} can be estimated based on more impressions: an entire row or column in Table  3 versus a single cell in Table  2. The total revenue and cost can be represented as

(11) R\displaystyle R =1Kk=1Ki=1IknikRPMik\displaystyle=\frac{1}{K}\sum_{k=1}^{K}\sum_{i=1}^{I_{k}}n_{i}^{k}\cdot RPM_{i}^{k}
(12) S\displaystyle S =1Kk=1Ki=1IknikCPMik\displaystyle=\frac{1}{K}\sum_{k=1}^{K}\sum_{i=1}^{I_{k}}n_{i}^{k}\cdot CPM_{i}^{k}

To maximize the total revenue RR in E.q  (11) w.r.t. the bid factors fikf_{i}^{k} such that SBS\leq B, we need to make a few assumptions on the relationship between impression volume nikn_{i}^{k} and cost CPMikCPM_{i}^{k} vs. the bid factors fikf_{i}^{k}. In other words, we need to model the number of impressions we can win and their average cost w.r.t. the bid adjustment factors. This is similar to the bid landscape models that DSPs often build for campaign optimization, and they are usually refreshed with high frequency (every minute or hour) based on the most recent data. Since retailers only get censored impression log from 3P DSPs with some delay (DSPs often share logs on a daily basis), we will rely on a less accurate bid landscape approximation.

3.3. Bid Landscape Approximation

For CPM, since the cost of an impression is equal to media cost plus fees that are constant (or of constant percentage), it roughly equals to a multiple of the bid price. Hence, we can use a model as simple as

(13) CPMik=a+bfikCPM_{i}^{k}=a+b\cdot f_{i}^{k}

Note that the actual bid price affected by all bid factors fim,mkf_{i}^{m},m\neq k. But in practice we found this approximation to be sufficiently accurate.

We can also come up with more complicated models to capture the interactive effect of bid factors from different dimensions on the impression cost and volume. For example, we also tested the following model for impression volume:

(14) nik=g(f11,,fIK)=ak+(βikfik)(dkKj=1Iβjdfjd)n_{i}^{k}=g\left(f_{1}^{1},\ldots,f_{I}^{K}\right)=a^{k}+\left(\beta_{i}^{k}\cdot f_{i}^{k}\right)\cdot\left(\prod_{d\neq k}^{K}\sum_{j=1}^{I}\beta_{j}^{d}\cdot f_{j}^{d}\right)

Here, we assume the impression volume from group ii of dimension kk is determined by the product of two terms (plus intercept). The first term is essentially its own bid factor fikf_{i}^{k}. The second term is the product of weighted sums of all other bid factors from other dimensions. One can easily see that nikn_{i}^{k} is monotonically increasing w.r.t any bid factor from other dimensions marginally.

The models can be retrained frequently depending on the refresh frequency of the impression log. If impression log refreshes daily, we can update the parameters a,ba,b in Eq. (13) or ak,{βik}i[I],k[K]{a^{k}},\{\beta_{i}^{k}\}_{i\in[I],k\in[K]} in Eq.  (14) on a daily basis. Figure  3 compares the predicted next-day impression volume for each group of all dimensions based on the model described in Eq. (14) and the real impression volume observed for one of our test campaigns.

Refer to caption
Figure 3. Estimated impression volume based on the model descriped in Eq. (14) vs. observed impression volume for a given day in an online test campaign. y-axis is the estimated volume and x-axis is the observed. Both values have been scaled.

4. Bid Dimension Selection

The effectiveness of the optimization system depends heavily on the validity of its assumptions. In Section  3.3, we demonstrated the accuracy of the bid landscape approximation in real online campaigns. But we also need to verify our assumptions on RPM, which states that the RPM for each group under a dimension is stable and independent from bid price. The behaviors of dimensional RPM depends on how we define those dimensions. Ideally, the dimension and its groups should be chosen in such a way that the difference in RPM from different groups under a dimension is maximized. In other words, the dimension of choice should be indicative of revenue and its groups should capture the relationship between this dimension and revenue. For example, we can choose zip code as a dimension and group them into different buckets. The purchasing behavior of people from different geographical regions tend to differ; therefore, these zip buckets will have different ROAS potential for us to exploit. Hour of day is another feature of the impression supply during prime hours is significantly higher than other periods, which leads to cost and profitability differentiation. Other possible candidates for dimensions include OS type, device type, day of week, etc.

4.1. Equal-volume with Ranked RPM

No matter what criteria we use to define segments or groups under a dimension, we need to make sure there are enough impressions for us to observe stable revenue signals. Thus, one natural option is group directly by impression volume. But randomly putting impressions into groups such that the groups have roughly the same volume does not guarantee separations of the groups in terms of RPM. Thus, we propose a two-step heuristic to define the groups.

  1. (1)

    First, we sort all unique dimensional features values (unique zip codes, websites, hours, etc. observed in log so far) based on their accumulative RPM.

  2. (2)

    Second, we sequentially assign group labels to each value, from the one with the lowest RPM to the highest. We will move to the next group label once the current one has enough impression volume based on historical data.

Taking zip code as an example, in our implementation, we calculate the total impressions for each unique zip code and sort them by their accumulative RPM so far in ascending order. Then, we put the top zip code into group 1. Depending on the number of groups we set, we iteratively put the next zip code into a bucket so that at the end, all buckets have roughly the same number of impressions. Other than using RPM has the metric for sorting the values, we also experimented using conversion counts or order counts. Using conversion counts to sort previous the groups from being skewed by high-value purchasers when the total number of impression is low. In practice, we also suggest setting thresholds on either volume or orders before estimating the RPM. The system can wait until there is enough sales signal to trigger the group creation and dimensional adjustments.

More grouping methods can be developed based on the specific dimensions we choose. For example, zip codes are hierarchical and define a natural geological clustering; thus we can group them by the first few digits. Website can also be grouped based on their categories (Measurement, 2023). Hours of day and week can be easily grouped into prime and low-velocity periods. Yet, the question remains: how do we decide which dimension to include in the bid adjustments and how many groups should each dimension have? To assess the “quality” of the dimensions we choose and the groups defined, we also propose several evaluation criterion.

4.2. Bid Dimension and Group Evaluation

4.2.1. Evaluation by RPM Distances

A straightforward way of determining the separation of different groups in terms of RPM is comparing their daily accumulative RPM numbers. This daily accumulative defines a time series of RPMs and if the difference between the two time series from two different groups is large, we can say the groups are well-separated and vice versa. To quantitatively measure the difference, we propose the following heuristic measure. Suppose we have NN groups under a dimension, we first compute the daily accumulative RPM for each group. Then, we use the absolute value of the sum of daily differences to represent the distance between two groups, as shown in Eq. (16). We also define a metric r(a,b)r(a,b) as in Eq. (15) to measure the number of cross-overs between the two time series; the fewer the cross-overs, the higher rr will be, and thus, the bigger the final distance will be.

(15) r(a,b)=t=1T𝟏(RPMgrpat>RPMgrpbt)+1t=1T𝟏(RPMgrpatRPMgrpbt)+1r(a,b)=\frac{\sum_{t=1}^{T}\mathbf{1}\left(RPM_{\text{grp}\ a}^{t}>RPM_{\text{grp}\ b}^{t}\right)+1}{\sum_{t=1}^{T}\mathbf{1}\left(RPM_{\text{grp}\ a}^{t}\leq RPM_{\text{grp}\ b}^{t}\right)+1}
(16) pairwise_distance(a,b)\displaystyle\text{pairwise\_distance}(a,b) =|t=1T(RPMgrpatRPMgrpbt)|\displaystyle=\biggl{|}\sum_{t=1}^{T}\left(RPM_{\text{grp}\ a}^{t}-RPM_{\text{grp}\ b}^{t}\right)\biggr{|}
+λmax{r,1/r}T\displaystyle+\lambda\cdot\frac{\max\ \{r,1/r\}}{T}

In the end, we can use the median or average distances among all pairs of groups to quantify the quality of the set of groups defined. Figure  4 and  5 show the WOE values of different groups created based on dimension zip code and website. The large variance in the WOE values among the groups indicate a high predicative power of the groups on RPM.

4.2.2. Evaluation by Information Value Criteria

Another method we implemented is based on information theory. Intuitively, we want the revenue distributions from different groups of a dimension to be as different as possible so that different bid adjustments can be applied. From information theory we have a metric to measure exactly this difference – information value (IV). The higher IV a variable has, the more predictive power it has towards the target variable. IV is defined as the weighted sum of weight of evidence (WOE). [3] We used a slightly modified version of WOE to accommodate continuous features. %conversionsi\%\text{conversions}_{i} is defined as the percentage of converted impressions in group ii of a single dimensions. %impressionsi\%\text{impressions}_{i} is the percentage of impressions from group ii out of all impressions. Given a dimension and its groups, we calculate the percentage of revenue, impressions falling into each group w.r.t. the total revenue and total impression volume, respectively. The modified WOE is defined as the log ratio between the two.

(17) Modified WOEi=[log(%conversionsi%impressionsi)]×100%.\text{Modified WOE}_{i}=\left[\log\left(\frac{\%\text{conversions}_{i}}{\%\text{impressions}_{i}}\right)\right]\times 100\%.
(18) IV\displaystyle IV =i=1n(%conversionsi%impressionsi)×\displaystyle=\sum_{i=1}^{n}\left(\%\text{conversions}_{i}-\%\text{impressions}_{i}\right)\times
log(%conversionsi%impressionsi).\displaystyle\quad\log\left(\frac{\%\text{conversions}_{i}}{\%\text{impressions}_{i}}\right).

4.2.3. Mutual Information Value Criteria

The two criterion introduced above are mostly for evaluating groups of a single dimension. To evaluate multiple dimensions, we propose the following metric based on the Mutual Information (Vergara and Estévez, 2014). Let Y{0,1}Y\in\{0,1\} be the conversion flag variable of an impression, gig_{i} be the group label variable of dimension ii, p()p(\cdot) be the empirical density function.

(19) MI(gi,gj,Y)=(i,j)(gi,gj)yYp(i,j,y)log(p(i,j,y)p(i,j)p(y))MI(g_{i},g_{j},Y)=\sum_{(i,j)\in(g_{i},g_{j})}\sum_{y\in Y}p(i,j,y)\cdot\log\left(\frac{p(i,j,y)}{p(i,j)\cdot p(y)}\right)

Here p(i,j)p(i,j) is the density function of the joint distribution of impressions over the pairs of groups from two dimensions. Likewise, p(i,j,y)p(i,j,y) is the density function of the joint distribution of (gi,gj,Y)(g_{i},g_{j},Y) The higher MI(gi,gj,Y)MI(g_{i},g_{j},Y) is, the more information the group pair (gi,gj)(g_{i},g_{j}) contains about the conversion signal.

Refer to caption
Figure 4. Weight of Evidence plot for groups created on dimension zip code. 7 groups are created in total.
Refer to caption
Figure 5. Weight of Evidence plot for groups created on dimension website. 9 groups are created in total.

5. Online Test Results

We ran a proof-of-concept test campaign together with a control campaign to evaluate the bid optimization framework. Both a test and a control campaign were set up using the same targeting criterion and launched simultaneously for the same flight duration of one month. The targeted audiences were split randomly into the test and control groups. The campaign budgets for the test and control are also the same. The overall system operates as described in Figure  6.

Refer to caption
Figure 6. Bid optimization system flowchart based on dimensional bidding. Overall, it is comprised of a data processing job and an optimization job. The impression log is owned and refreshed by a 3P DSP while the attributed sales data is created by the retailer.

Based on the data we collected during the first week of the campaigns, we defined our groups based on two dimensions: designated-marketing-area (DMA) and site. DMAs were split into 5 groups while the sites into 4. We used selection by volume method described in Section 3.1. Throughout the campaign period, we kept track of the accumulative RPM values for each group and plot them in Figure 7. We can see clear separations among the curves indicting distinctive per-impression revenue patterns. The increasing pattern is due to a 30-day sales attribution window.

Cost Sales ROAS Trans % eCPM
Control 1.15K 13.64K 11.86 11.12% 2.88
Test 1.15K 13.94K 12.12 11.23% 2.84
Table 4. Performance summary of online test and control campaigns. Costs are the same as the two campaigns have equal amount of budget. Sales are attributed based on a 30-day attribution window. Trans % is equal to the total amount of orders divided by total impression volume. eCPM is the effective Cost Per Mille impressions. While costs are equal, the test campaign achieved higher revenue, ROAS, transaction rate with lower eCPM. For confidentiality reason, all numbers have been rescaled.
Refer to caption
Figure 7. Accumulative daily RPM plot for 5 groups created based on dimension designated market area (DMA). The separation between two RPM curves indicate distinct profitability of impression from the two DMA groups.

The bid adjustments were performed roughly every other day. At the end of the campaign, we measured the total cost, total revenue, ROAS, and eCPM for both the test and control campaigns. In Table  4, we can see the ROAS was increase by $0.26, or around 2%. The conversion rate was also increased slightly from 11.12% to 11.23% overall. Despite having lower eCPM, the test campaign achieved higher total sales.

6. Conclusions and Future Work

In this work we proposed a bid optimization framework for offsite ads campaigns on 3P DSPs. The framework applies bid adjustments to the base bid price based on the different segments of the impression universe. Instead of treating each segment as independent, we assign bid adjustment on marginal dimensions to avoid parameter explosion and the curse of dimensionality. By translating the problem into a constraint non-convex optimization problem, we can find locally optimal bid factors to maximize daily revenue.

The performance of the initial version of the optimization framework was tested in production environment based on randomized experiments. We made bid adjustments every other day over the flight of the campaign and achieved higher ROAS than the control group with statistical significance. The online experiment was conduct in a strict A/B testing fashion.

However, there are several issues yet to be resolved. For example, the current way of defining dimension and groups is very crude as it does not guarantee maximum and stable separations in terms of revenue per impression or conversion rate among the bid dimensions and groups. For the next step, we will explore other ways, such as combining prior knowledge of campaigns under the same category with historical data. In our initial experiment with the method, we already were able to identify that zip code-based bid groups are more indicative of revenue behavior than features such as hour of day using information value. We believe later when we also incorporate interactive effect metrics for measuring pairs of dimensions, we will identify the bid dimensions and groups more efficiently.

Acknowledgements.
Special thanks to Yuan Feng, Erdi Gao, Biyi Fang, Chaowen Zheng, Kyle Mauseth, etc. for inspiring discussions and the folks in the engineering team at Walmart Global Tech for their support.

References

  • (1)
  • Abolhassani et al. (2022) Melika Abolhassani, Hossein Esfandiari, Yasamin Nazari, Balasubramanian Sivan, Yifeng Teng, and Creighton Thomas. 2022. Online Allocation and Display Ads Optimization with Surplus Supply. In Web and Internet Economics: 18th International Conference, WINE 2022, Troy, NY, USA, December 12–15, 2022, Proceedings. Springer, 41–59.
  • Alvarez-Melis et al. (2019) David Alvarez-Melis, Hal Daumé III, Jennifer Wortman Vaughan, and Hanna Wallach. 2019. Weight of evidence as a basis for human-oriented explanations. arXiv preprint arXiv:1910.13503 (2019).
  • Balseiro et al. (2014) Santiago R. Balseiro, Jon Feldman, Vahab Mirrokni, and S. Muthukrishnan. 2014. Yield Optimization of Display Advertising with Ad Exchange. Management Science 60, 12 (2014), 2886–2907. https://doi.org/10.1287/mnsc.2014.2017 arXiv:https://doi.org/10.1287/mnsc.2014.2017
  • Bateni et al. (2014) MohammadHossein Bateni, Jon Feldman, Vahab Mirrokni, and Sam Chiu-wai Wong. 2014. Multiplicative Bidding in Online Advertising. In Proceedings of the Fifteenth ACM Conference on Economics and Computation (Palo Alto, California, USA) (EC ’14). Association for Computing Machinery, New York, NY, USA, 715–732. https://doi.org/10.1145/2600057.2602874
  • Bellman (1957) Richard Bellman. 1957. Dynamic Programming (1 ed.). Princeton University Press, Princeton, NJ, USA.
  • Bompaire et al. (2020) Martin Bompaire, Antoine Désir, and Benjamin Heymann. 2020. Bidding Through the Lens of Attribution: Pick the Right Labels! CoRR abs/2012.01767 (2020). arXiv:2012.01767 https://arxiv.org/abs/2012.01767
  • Chen et al. (2011) Ye Chen, Pavel Berkhin, Bo Anderson, and Nikhil R Devanur. 2011. Real-time bidding algorithms for performance-based display ad allocation. In Proceedings of the 17th ACM SIGKDD international conference on Knowledge discovery and data mining. 1307–1315.
  • Edelman et al. (2007) Benjamin Edelman, Michael Ostrovsky, and Michael Schwarz. 2007. Internet Advertising and the Generalized Second-Price Auction: Selling Billions of Dollars Worth of Keywords. American Economic Review 97, 1 (March 2007), 242–259. https://doi.org/10.1257/aer.97.1.242
  • I. et al. (2006) I., Douglas Wo, and Wrginia. 2006. Weight of Evidence : A Brief Survey.
  • Inc. (2023) Alphabet Inc. 2023. Google Ad Manager - About bid adjustments. https://support.google.com/google-ads/answer/2732132?hl=en. Accessed: 2023-05-28.
  • Inveratice Advertising Bureau (2014) Inveratice Advertising Bureau. 2014. OpenRTB-API-Specification-Version-2.3. https://www.iab.com/wp-content/uploads/2015/06/OpenRTB-API-Specification-Version-2-3.pdf [Online; accessed May 30, 2023].
  • Kosorin (2016) D. Kosorin. 2016. Introduction to Programmatic Advertising. Dominik Kosorin. https://books.google.com/books?id=2HSnDAEACAAJ
  • Lang et al. (2012) Kevin J. Lang, Benjamin Moseley, and Sergei Vassilvitskii. 2012. Handling Forecast Errors While Bidding for Display Advertising. In Proceedings of the 21st International Conference on World Wide Web (Lyon, France) (WWW ’12). Association for Computing Machinery, New York, NY, USA, 371–380. https://doi.org/10.1145/2187836.2187887
  • McAfee (2011) R Preston McAfee. 2011. The design of advertising exchanges. Review of Industrial Organization 39 (2011), 169–185.
  • Measurement (2023) Comscore Media Measurement. 2023. Top 50 Multi-Platform Properties. https://www.comscore.com/Insights/Rankings. Accessed: 2023-05-28.
  • Perlich et al. (2012) Claudia Perlich, Brian Dalessandro, Rod Hook, Ori Stitelman, Troy Raeder, and Foster Provost. 2012. Bid optimizing and inventory scoring in targeted online advertising. In Proceedings of the 18th ACM SIGKDD international conference on Knowledge discovery and data mining. 804–812.
  • Stallone (2020) Valerio Stallone. 2020. The Digital Advertising Conceptual Flow: A Literature Review. In Marketing and Smart Technologies, Álvaro Rocha, José Luís Reis, Marc K. Peter, and Zorica Bogdanović (Eds.). Springer Singapore, Singapore, 1–8.
  • Vergara and Estévez (2014) Jorge R Vergara and Pablo A Estévez. 2014. A review of feature selection methods based on mutual information. Neural computing and applications 24 (2014), 175–186.
  • Wang et al. (2017) Jun Wang, Weinan Zhang, Shuai Yuan, et al. 2017. Display advertising with real-time bidding (RTB) and behavioural targeting. Foundations and Trends® in Information Retrieval 11, 4-5 (2017), 297–435.
  • Yuan et al. (2013) Shuai Yuan, Jun Wang, and Xiaoxue Zhao. 2013. Real-Time Bidding for Online Advertising: Measurement and Analysis. In Proceedings of the Seventh International Workshop on Data Mining for Online Advertising (Chicago, Illinois) (ADKDD ’13). Association for Computing Machinery, New York, NY, USA, Article 3, 8 pages. https://doi.org/10.1145/2501040.2501980
  • Zhang et al. (2014) Weinan Zhang, Shuai Yuan, and Jun Wang. 2014. Optimal real-time bidding for display advertising. In Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery and data mining. 1077–1086.