# Patent application title: AD PLACEMENT

##
Inventors:
John B. Ferber (Baltimore, MD, US)
John B. Ferber (Baltimore, MD, US)
Facebook, Inc. (Menlo Park, CA, US)
Scott Ferber (Baltimore, MD, US)
Scott Ferber (Baltimore, MD, US)
Stein E. Kretsinger (Baltimore, MD, US)
Robert Luenberger (Palo Alto, CA, US)
Robert Luenberger (Palo Alto, CA, US)
David Luenberger (Stanford, CA, US)
David Luenberger (Stanford, CA, US)

Assignees:
Facebook, Inc.

IPC8 Class:

USPC Class:
705 1466

Class name: Advertisement targeted advertisement based on user profile or attribute

Publication date: 2013-04-18

Patent application number: 20130097026

## Abstract:

This invention concerns optimal ad selection for Web pages by selecting
and updating an attribute set, obtaining and updating an ad-attribute
profile, and optimally choosing the next ad. The present invention
associates a set of attributes with each customer. The attributes reflect
the customers' interests and they incorporate the characteristics that
impact ad selection. Similarly, the present invention associates with
each ad an ad-attribute profile in order to calculate a customer's
estimated ad selection probability and measure the uncertainty in that
estimate. An ad selection algorithm optimally selects which ad to show
based on the click probability estimates and the uncertainties regarding
these estimates.## Claims:

**1.**A method for optimizing Internet ad placement, comprising: tracking L customers on the Internet for placement of ads to said customers; selecting MA attributes to track for each customer to form a customer matrix A_LMA of L customers and MA attributes; providing N ads to serve to said customers; forming an ad matrix of N ads and weights W_NMA for each of said MA attributes; estimating the probability of customer x clicking on ad i; and serving the ad i to customer x that has the highest probability.

## Description:

**[0001]**This application claims the benefit of U.S. Provisional Application No. 60/164,253, titled "Optimal Internet Ad Placement Technology," filed Nov. 8, 1999.

**BACKGROUND OF THE INVENTION**

**[0002]**This invention relates generally to the allocation (e.g. as in a market or exchange) of the supply of a class of products/services with the demand for a class of products/services in an optimal manner (i.e. system-wide best solution since the values of different allocation strategies may vary significantly) that quantifies and accounts for the uncertainty surrounding the supply and demand of different products/services. More particularly, the present invention comprises a system and method for the optimal placement of ads on Web pages.

**[0003]**Optimal ad placement has become a critical competitive advantage in the Internet advertising business. Consumers are spending an ever-increasing amount of time online looking for information. The information, provided by Internet content providers, is viewed on a page-by-page basis. Each page can contain written and graphical information as well as one or more ads. Key advantages of the Internet, relative to other information media, are that each page can be customized to fit a customer profile and ads can contain links to other Internet pages. Thus, ads can be directly targeted at different customer segments and the ads themselves are direct connections to well-designed Internet pages. Although the present example has been described with respect to traditional Web browsing on a Web page, the same principals apply for any content, including information or messages, as well as advertisements, delivered over any Internet enabled distribution channel, such as via e-mail, wireless devices (including, but not limited to phones, pagers, PDAs, desktop displays, and digital billboards), or other media, such as ATM terminals.

**[0004]**Therefore, as used herein, the term "ad" is also meant to include any content, including information or messages, as well as advertisements, such as, but not limited to, Web banners, product offerings, special non-commercial or commercial messages, or any other sort of displayed or audio information.

**[0005]**The terms "Web page," "Web site," and "site" are meant to include any sort of information display or presentation over an Internet enabled distribution channel that may have customizable areas (including the entire area) and may be visual, audio, or both. They may be segmented and or customized by factors such as time and location. The term "Internet browser" is any means that decodes and displays the above-defined Web pages or sites, whether by software, hardware, or utility, including diverse means not typically considered as a browser, such as games.

**[0006]**The term "Internet" is meant to include all TCP/IP based communication channels, without limitation to any particular communication protocol or channel, including, but not limited to, e-mail, News via NNTP, and the WWW via HTTP and WAP (using, e.g., HTML, DHTML, XHTML, XML, SGML, VRML, ASP, CGI, CSS, SSI, Flash, Java, JaysScript, Perl, Python, Rexx, SMIL, Tcl, VBScript, HDML, WML, WMLScript, etc.).

**[0007]**The term "customer" or "user" refers to any consumer, viewer, or visitor of the above-defined Web pages or sites and can also refer to the aggregation of individual customers into certain groupings. "Clicks" and "click-thru-rate" or "CTR" refers to any sort of definable, trackable, and/or measurable action or response that can occur via the Internet and can include any desired action or reasonable measure of performance activity by the customer, including, but not limited to, mouse clicks, impressions delivered, sales generated, and conversions from visitors to buyers. Additionally, references to customers "viewing" ads is meant to include any presentation, whether visual, aural, or a combination thereof.

**[0008]**The term "revenue" refers to any meaningful measure of value, including, but not limited to, revenue, profits, expenses, customer lifetime value, and net present value (NPV).

**[0009]**The Internet ad placement technology of the present invention provides an optimal strategic framework for selecting which ad a customer will view next. It maximizes the overall expected ad placement revenue (or any other measure of value), trading off the desire for learning with revenue generation. The technology can be executed in "real-time" and updates the strategy space for every customer.

**[0010]**At its core, the problem is to place the right ad to the right customer. Ad placements are compensated based on the number of successful responses that they generate. This usually means that compensation occurs every time a customer responds to (e.g., clicks) an ad. Customers respond to ads according to their interests and demands. Thus, a key necessity is to obtain a reliable characteristic profile of each customer. Only with given information about the customer can ads be provided that are targeted towards each customer. Second, there is a need to estimate how different customers will react to different ads. That is, a customer-ad response relation is required. Finally, there is a need for an ad placement technology that optimally decides which ad to show. At the instant a customer opens a page, it is necessary to place an ad. The ad placement technology must incorporate the customer's likely response to each ad and the financial gains resulting from a customer's selection of an ad.

**[0011]**A successful ad placement technology must overcome several critical complications. First, the ad placement algorithm must be sufficiently fast to ensure "real-time" placement. Second, a key element of the technology is its ability to learn through continuous updating. Little information is available about new ads. However, as ads are placed, it can be learned how they relate to various customer profiles. Thus, the technology should both be able to learn and trade off learning versus revenue generation. Finally, the ad placement technology must be able to detect ineffective ads and incorporate minimum and maximum ad placement and ad selection constraints.

**BRIEF SUMMARY OF THE INVENTION**

**[0012]**This invention concerns optimal ad selection for Internet-delivered ads, such as for Web pages, by selecting and updating an attribute set, obtaining and updating an ad-attribute profile, and optimally choosing the next ad. The present invention associates a set of attributes with each customer. The attributes reflect the customers' interests and they incorporate the characteristics that impact ad selection. Similarly, the present invention associates with each ad an ad-attribute profile in order to calculate a customer's estimated ad selection probability and measure the uncertainty in that estimate. An ad selection algorithm optimally selects which ad to show based on the click probability estimates and the uncertainties regarding these estimates.

**[0013]**It is therefore an object of the present invention to integrate the optimization and scheduling of web-based ad serving.

**[0014]**It is another object of the present invention to provide an optimal strategic framework for selecting which ad a customer will view next.

**[0015]**It is also an object of the present invention to maximize the overall expected ad placement revenue (or any other measure of value), trading off the desire for learning with revenue generation.

**[0016]**It is another object of the present invention to place ads on Web sites in such a way as to maximize the overall value for the ad serving entity, whether based on impressions, clicks, conversions, or combinations thereof.

**[0017]**It is an object of the present invention to provide an ad placement algorithm that is sufficiently fast to ensure "real-time" ad placement.

**[0018]**It is an object of the present invention to provide an ad placement technology that has the ability to learn through continuous updating.

**[0019]**It is another object of the present invention to provide an ad placement technology that is able to detect ineffective ads and incorporate minimum and maximum ad placement and ad selection constraints.

**[0020]**It is an object of the present invention to provide an estimate of the probability a customer will click an ad by estimating a principal component vector as well as the ad's click probabilities.

**[0021]**It is yet another object of the present invention to provide binomial updating of click probabilities using principal components, as well as category restrictions and ad blocking.

**[0022]**It is yet another object of the present invention to provide automatic clustering of Web pages in a manner that effectively improves overall Click-Thru-Rates.

**[0023]**It is another object of the present invention to provide optimal delivery of content, messages, and/or ads to customers by any Internet enabled distribution channel.

**[0024]**It is a final object of the present invention to optimize ad placement across a diverse set of media, such as banners, e-mail, and wireless, in an integrated manner via an allocator.

**[0025]**These and other objectives of the present invention will become apparent from a review of the detailed description that follows.

**BRIEF DESCRIPTION OF THE DRAWINGS**

**[0026]**FIG. 1 illustrates the possible use of the present invention in a prior art direct marketing system.

**[0027]**FIG. 2 illustrates a first embodiment of the present invention for brand name and mass appeal products.

**[0028]**FIG. 3 illustrates a second embodiment of the present invention for lots and niche products.

**[0029]**FIG. 4 illustrates a schematic of the present invention.

**[0030]**FIG. 5 illustrates the Integrated Channel Management system of the present invention.

**[0031]**FIG. 6 illustrates a schematic of the system of the present invention.

**[0032]**FIG. 7 illustrates a schematic of the process of the present invention.

**[0033]**FIG. 8 illustrates a matching of supply and demand for advertising on Internet enabled distribution channels.

**DETAILED DESCRIPTION OF THE INVENTION**

**[0034]**The present invention comprises a system and method of optimal ad placement. This invention divides the optimal ad selection problem into three parts: (1) how to select and update the attribute set, (2) how to obtain and update the ad-attribute profile, and (3) how to optimally choose the next ad. For purposes of this description, the application of the present invention will be illustrated with respect to reconciling the supply of Web pages with the demand for ads on those Web pages in an optimal manner that maximizes revenue. It is assumed that each Web page can only promote one ad at a time, although that is not a limitation of the present invention. Furthermore, the ad provider pays on a per click (ad selection) basis. A typical employment of the invention is illustrated in FIG. 1, wherein customer and client (ad) data 110 is input, turned into information 120 for modeling and used for ad serving 130, as illustrated in FIG. 8.

**[0035]**The present invention associates a set of attributes with each customer. The attributes reflect the customers' interests and they incorporate the characteristics that impact ad selection.

**[0036]**Similarly, the present invention associates with each ad an ad-attribute profile. The ad-attribute profile has two uses, to calculate a customer's estimated ad selection probability, and to measure the uncertainty in that estimate.

**[0037]**The ad selection algorithm optimally selects which ad to show based on the click probability estimates and the uncertainties regarding these estimates. That is, it optimally trades off current revenue potential with future revenue potential represented by the uncertainty surrounding these estimates. Ads that have been frequently placed will have a well-documented current revenue potential while new ads with few placements represent the possibility of high future potential.

**[0038]**As customers have long-term interests as well as short-term demands the present invention divides attributes into a long-term and a short-term attribute sets. The long-term attribute set measures how much time customers spend in different interest categories such as business, sports, and health. The short-term attributes detect when a customer is searching for specific products.

**Long**-Term Attributes

**[0039]**Long-term customer attributes in the present invention are updated, depending on time and network constraints, on a placement-by-placement or on a time period-by-time period (for example day-by-day) basis. The attributes measure, for example, how much time on a percentage basis a customer spends in each interest group (i.e., sports, gardening, etc.). Thus, suppose that the customer chooses sports half the time and finance half the time. Then sports and finance attributes are each 50% and the remaining attributes are 0%.

**[0040]**Customer interests also change. To accommodate this factor the present invention implements either a moving average or an exponentially-weighted approach to updating each customer's long term attributes. Both of these statistical methods put more emphasis on recent information and can be updated easily.

**[0041]**The attributes together cover all the distinctive characteristics of the customers. There are two ways the attributes are structured. The present invention has a common set of attributes that are always updated. Alternatively, the present invention has two sets of attributes, a base set given by easily available data, and a second set of attributes that are revealed as the customer carries out certain actions.

**Short**-Term Attributes

**[0042]**The short-term attribute set of the present invention signals every time there is a specific interest for a particular service or product. For example, suppose a customer is currently shopping for a computer. Such an event can be detected by specifically marking sites that perform computer comparison tests. The probability that the customer selects a computer ad will be high.

**Ad**-Attribute Profiles

**[0043]**Customers also respond differently to different ads. The ad-attribute profile of the present invention measures how sensitive the ad is to the various attributes and thus how likely it is that a customer will react when shown an ad. As the profile for a given customer is not known ahead of time, it must be estimated. This profile estimation algorithm provides an efficient means for updating the attribute estimates in "real time." It is not necessary to store the complete history of customers' responses, but only a set of sufficient statistics for each ad. The sufficient statistics are one square matrix variable with dimension equal to the number of attributes, one vector variable with dimension equal to the number of attributes, and two scalars. Furthermore, the sufficient statistics can be quickly calculated.

**[0044]**The profile estimation algorithm also records the uncertainty of each ad-attribute. The uncertainty conceals an ad's effectiveness (as measured by the true click probability). As an ad's effectiveness directly drives the revenue generation it is important to quickly derive a good estimate. The uncertainty regarding an ad's effectiveness decreases as the number of times it is shown increases.

**Optimal Selection**

**[0045]**The ad selector of the present invention places ads in a way that maximizes the expected overall long-term ad placement revenue (or any other measure of value). The ad placement revenue is the compensation received every time an ad is clicked. For the moment, suppose that it is known with certainty the ad-attribute profile for each ad. This means that the probabilities that the customer will react to the ads can be calculated. Multiplying the probabilities with the compensations of the corresponding ads yield the expected ad placement revenues for all ads. The choice that maximizes the expected overall ad placement revenue is then simply the ad with the highest expected ad placement revenue (or any other measure of value).

**[0046]**Unfortunately, one does not know with certainty the ad attribute profiles. This means that the above selection algorithm, if employed using the estimated ad-attribute profile, would not correctly account for revenue generation opportunities of those ads that have not been shown, because it would not incorporate the huge estimation uncertainty of those ads.

**[0047]**This ad-placement algorithm incorporates the uncertainty as well as the expected ad revenue in the selection criterion. Conceptually, the uncertainty is a reflection of the ad's potential upside. That is, it is more likely that the probability of an ad with high uncertainty is significantly higher than its' estimated value than an ad with low uncertainty. Only by testing can the present invention determine whether it is actually true. If true it is clear that there is much to gain in the future.

**[0048]**The ad-placement selection rule works by for each ad combining the volatility and the expected value of the ad placement revenue in a certain way. This rule is based on a dynamic programming approach. This approach yields the true optimal selection algorithm among all possible non-anticipating selection algorithms. The present invention adapts the dynamic programming solution to obtain a strategy that can be updated in real-time.

**[0049]**The basic modeling technique of the present invention is outlined below and illustrated in FIG. 7.

**Basic Modeling**

**[0050]**There are L customers 700 for each of whom the present invention tracks the value of MA customer attributes 702. Customer attributes 702 may be time-based, geography based, or any other segmentable and tractable attribute. There are N different ads in campaign 704.

**[0051]**The present invention maintains a customer matrix:

**Customer ID Attribute**1 Attribut e 2 Attribute MA ID_ 1 A_ 11 A_ 12 A_ 1 MA ID_ 2 A_ 21 A_ 22 A_ 2 MA ID_L A_L1 A_L2 A_LMA ##EQU00001##

**And an ad matrix**:

**Ad ID Attribute**1 weight Attribute MA weight Ad_ 1 W_ 11 W_ 1 MA Ad_ 2 W_ 21 W_ 2 MA Ad_N W_N1 W_NMA ##EQU00002##

**Approach**1

**[0052]**1. The estimated probability of customer x clicking on ad i is given by

**[0052]**k = 1 MA ( A_xk ) ( W_ik ) . ##EQU00003##

**[0053]**2. Every time a customer visits a Web site within the network, the data is collected 712 and the attributes of that customer are updated 714.

**[0054]**3. Every time a customer is shown an ad, the attribute weightings for that ad are updated 716 depending on how the customer responded.

**[0055]**The calculation of which ad to show 710 is then clearly quick to compute as it is essentially (MA)(N) multiplications and additions and then a comparison of the determined probabilities 708. With some careful thought, the updates of the customer and ad matrices can also be done rapidly and with numerical stability.

**[0056]**As the present invention collects more data, this method continues to refine the estimates and thus is referred to as Bayesian. Ads may lose their effectiveness over time, and people's attributes will certainly evolve over time. To capture this there are several updating methods that weight recent data more heavily. All of these methods can be updated quickly and require little storage.

**[0057]**In use, as shown in FIGS. 2 and 3, a customer accesses a participating Web site at illustrated 201, 301, an ad server determines the best ad to place (highest score of 150) at 202, 302, the ad is served to the Web site at 203, 303 and a click by the customer directes him to the advertisers Web site at 204, 304.

**Adding Uncertainty and Optimizing for Earning Vs**. Learning

**[0058]**Intuitively, there is a big difference between an ad that has been shown 100 times and been selected once and an ad that has been shown 10,000 times and been selected 100 times, even though each has been selected 1% of the times it has been shown. It is somehow worth something to us to learn more about the first ad, as it is quite possible that it will turn out to be a very popular ad.

**[0059]**The present invention alters the above structure by carrying not just the mean but the standard deviation of each estimated random variable as well.

**[0060]**The ad selection process then works by combining the estimated probability and the standard deviation in a certain way for each ad and then comparing. When done properly, this is the optimal way to balance earning and learning.

**[0061]**Updates of the standard deviation can be calculated quickly as they can be based on the updates of the estimated probabilities.

**Adding Structure to the Matrices**

**[0062]**The present invention is also able to learn more about a given customer from other customers than the above is yet capturing. As a simple example, imagine that one has discovered that a particular ad is very popular with males and this system is considering showing it to a particular customer. The present invention has an attribute for gender, but doesn't yet know if this particular customer is male or female. However, there is lots of other data about the customer, such as interest level in sports. By looking at the attributes of all other customers, and the associated correlations, the present invention can estimate the probability that this customer is male. The present invention may find, for instance, that interest in sports is highly indicative of being male.

**Choosing the Attributes**

**[0063]**A key aspect of the present invention is identifying attributes that are predictive of behavior. This step requires analyzing real data, and should be re-visited periodically. Second, for numerical stability, the present invention must choose attributes that are not too similar to one another. There are several ways to choose a representative attribute set, basically by selecting orthogonal attributes. Third, the present invention needs concrete policies for deleting non-helpful attributes and splitting ones that are particularly useful. Finally, there are several statistical/data-analysis methods the present invention can employ to create updating procedures for the values of each attribute. The right procedure will depend on initial statistical tests and is also a step that should be re-visited at a later stage.

**[0064]**As customers have long-term interests as well as short-term demands the present invention divides attributes into a long-term and a short-term attribute sets. The long-term attribute set measures how much time customers spend in different interest categories such as business, sports, and health. Thus, suppose that the customer chooses sports half the time and finance half the time. Then sports and finance attributes are each 50% and the remaining attributes are 0%.

**[0065]**The short-term attributes detect when a customer is searching for specific products. For example, a customer shopping for a new computer will likely visit sites that relate to computer sales. Such sites can be marked and computer ads placed on such sites have high probabilities of being selected, while general interest ads have markedly lower probability of being selected.

**[0066]**Searching among the short-term attributes, for ads to show, will be quick as they only flag high probability events.

**Advanced Modeling with Integrated Optimization and Scheduling**

**[0067]**Every Web site used with the present invention sends a request for an ad every time a user accesses the site. The request is sent to the ad manager. The ad manager has a lookup table specifying ads and associated probabilities defining the ads that should be shown next for every site. This lookup table is updated frequently, such as every hour or on any other relevant time unit basis.

**[0068]**The system records that the ad has been shown and whether or not there was a click. The system holds a database with the number of impressions and clicks for each ad on each site by hour. The system also maintains a list of the total and remaining paid clicks for each ad, and a list of payments per click for each ad.

**Basics**

**[0069]**The goal of the optimizer-scheduler is to place ads on Web sites in such a way as to maximize the overall value for the advertising serving entity. This value may be a combination of impression, clicks, conversions, and other value that may be obtained by placing an ad on a particular site. The probability of a given ad being clicked on varies from site to site. The present invention does not know these probabilities beforehand but, rather, the present invention continuously refines this estimate as more observations are made. There is value in obtaining additional information about these probabilities and this is accounted for in the algorithm.

**[0070]**Arrangements with Web sites tend to be fairly long-term. Arrangements with advertisers tend to be composed of campaigns, each lasting from days to weeks. The advertisers typically purchase a certain number of clicks. While not always spelled out explicitly, the understanding is that these clicks will occur reasonably uniformly over the campaign's lifetime. Of course, there is no way to guarantee that an ad does not fall behind schedule (it is possible that nobody chooses to click on the ad). The present invention can, however, ensure (assuming that there is a reasonably rich set of ads) that no ad gets significantly ahead of schedule. This is captured via a tunable parameter within the algorithm.

**[0071]**Occasionally, the arrangement with the advertiser is simply to show the ad a specified number of times. The system of the present invention serves the requested ad according to attributes described above while simultaneously tracking the number of times the ad is displayed.

**[0072]**While taking the full lifetime of each campaign into account, the algorithm explicitly plans for the next 24 hours or other such reasonable period, and then re-optimizes more frequently, such as every hour.

**DEFINITIONS**

**System Variables**

**[0073]**m denotes the number of Web sites or any reasonable partition of the Web sites in the network. n denotes the number of ad campaigns or any reasonable collection of ads currently underway. K denotes the set of ads that are on a pay-per-click basis or any other similar measure of performance. M denotes the set of ads that are on a pay-per-view basis or any other reasonable measure of activity that is not performance related. d

_{j}denotes the estimated number of impressions for a first period, such as one 24-hour period or other reasonable period, at site j. μ

_{j}denotes the average clicking probability at site j calculated over a second, longer period, such as the past 30 days or other such reasonable period. Only incorporating the observed probabilities for ads that have at least, for example, 500 impressions at that site, then one possible embodiment would be to set μ

_{j}=0.005 if site j is new. Else

**μ j = max ( Average i : n i , j > 500 ( p i , j ) , 0.001 ) ##EQU00004##**

**In this example**, the use of 30 days, 500 impressions, and the tolerances of 0.005 and 0.001 are merely exemplary and are not meant as a limitation on the average clicking probability μ

_{j}. Other timelines and constants could also be used without departing from the scope of the invention.

**Campaign Variables**

**[0074]**T

_{i}denotes the total duration in days of ad campaign i. t

_{i}denotes the time in days since the ad campaign of ad i began. C

_{i}denotes the maximum total number of paid clicks for ad i over the duration of the ad campaign. c

_{i}denotes the maximum number of remaining paid clicks for ad i. π

_{i}denotes the total minimum number of impressions required by ad i over the duration of its campaign. I

_{i}denotes the minimum number of remaining impressions required for ad i. I

_{i}is updated frequently, such as every hour on the hour. s

_{i}denotes the payment per click, per view, per conversion, or per any other reasonable measure of activity or performance, depending on the arrangement for ad i. n

_{i,j}is 2 plus the number of impressions for ad i at site j over the last 30 days or other such reasonable period. If the ad has never been shown at site j then n

_{i,j}=2. (The present invention adds 2 to avoid problems associated with n

_{i,j}=0) k

_{i,j}is the number of clicks for ad i at site j over the duration of ad i's ad campaign. p

_{i,j}is the observed clicking probability of ad i at site j. If ad i has never been shown (n

_{i,j}=2) on site j then p

_{i,j}=μ

_{j}. Otherwise,

**p i**, j = k i , j n i , j + μ j 2 n i , j . ##EQU00005##

**The second term here is to ensure that the present invention never has**P

_{i,j}=0. δ

_{i}controls the smoothness of the campaign. This can depend on the smoothness type, how the campaign is doing in terms of delivery, and other factors. A typical value is 0.2. This controls how smoothly clicks must occur throughout the lifetime of a campaign. A value of 0.2 means that no campaign can ever be more than 20% ahead of absolutely smooth (measured daily) delivery.

**Parameters**

**[0075]**Set γ=1.5 or any other reasonable number. This is the learning parameter, it controls how heavily the present invention emphasizes learning about ad-site combinations for which the present invention has little information. This will be tuned via simulation. α

_{i,j}denotes the fraction of times ad i should be shown on site j for the next period, such as per hour.

**Hourly or Frequent Events**

**[0076]**The system sends the number of impressions and the number of clicks for each ad at each site to the ad manager.

**The ad manager updates n**

_{i,j}, k

_{i,j}, and t

_{i}. The ad manager calculates p

_{i,j}. Updating of c

_{i}and I

_{i}

**[0077]**These variables are used in the optimization/scheduling algorithm. First, consider c

_{i}. The contract for most ads specifies the beginning and end of the ad campaign and the maximum number of paid clicks. The scheduling algorithm requires a number that is to be used for one day.

**[0078]**In the formula below, the present invention computes the value of c

_{i}that corresponds to a perfectly smooth delivery of clicks from the current time on. Note that in the linear program (LP), the present invention will not require that this be hit exactly, but rather within a pre-set tolerance.

**c i**= max ( ( C i - j = 1 m k i , j ) , 0 ) max ( ( T i - t i ) , 1 / 24 ) ##EQU00006##

**Now**, consider I

_{i}. Sometimes, it is agreed that ad i must obtain a minimum number of impressions. This minimum number must be satisfied at the end of the campaign. As above, the formula above determines the number of impressions needed during the next day to achieve a smooth delivery of, in this case, impressions.

**I i**= max ( ( Π i - j = 1 m n i , j + 2 * m ) , 0 ) max ( ( T i - t i ) , 1 / 24 ) ##EQU00007##

**Note that the present invention needs the term**2*m to compensate for the fact the present invention has adjusted n

_{ij}. Scheduling problem (solved frequently, such as once every hour on the hour)

**Step**1. Define:

**[0079]**p ^ i , j = p i , j + γ p i , j ( 1 - p i , j ) n i , j - 1 ##EQU00008##

**Step**2. Solve the following linear programming problem:

**MAX**{ α i , j } i .di-elect cons. K j = 1 m α i , j v i , j d j Subject to j = 1 m α i , j p i , j d j ≦ ( 1 + δ i ) c i , i .di-elect cons. K ( 2 ) j = 1 m α i , j d j ≦ ( 1 + δ i ) I i , i .di-elect cons. M ( 3 ) i = 1 n α i , j ≦ 1 , j = 1 , 2 , , m ( 4 ) α i , j ≧ 0 , i = 1 , 2 , , n , j = 1 , 2 , , m ( 5 ) ( 1 ) ##EQU00009##

**where v**

_{i,j}={circumflex over (p)}

_{i,j}s

_{i}if ad i is click-based or conversion-based, and s

_{i}if it is impression-based.

**Comments**

**[0080]**(1) The objective function is to maximize the overall value, including learning about sites where we have little information.

**[0081]**(2) The LHS is the total number of expected clicks for ad i during the interval. This constraint enforces the campaign smoothness condition.

**[0082]**(3) The LHS is the total number of expected impressions for ad i during the interval. This constraint enforces the campaign smoothness condition.

**[0083]**(4) This constraint ensures that the probabilities of what ads to show at each site add to 100%.

**[0084]**(5) This constraint ensures that all probabilities are non-negative.

**Remarks**

**[0084]**

**[0085]**(1) By setting s

_{i}=1 for all i converts the objective function into one that seeks to maximize the overall Click-Thru-Rate (CTR).

**[0086]**(2) There is no explicit constraint ensuring that each ad does not fall "too far behind". The reason for this is such a constraint would lead to the linear program (LP) having no feasible solution.

**[0087]**(3) To account for the remark above, campaigns should be monitored on a frequent basis (daily) with poor ads being removed or outsourced.

**[0088]**(4) Note that there is obviously always a solution to the LP.

**Creating an Ad Lookup Table**

**[0089]**The present invention describes the process of converting the output of the linear program (LP) into a lookup table. For each site j and ad i multiply the α

_{i,j}by 100 and round off the product to the nearest integer. Let β

_{i,j}=Round(100*α

_{i,j}). β

_{i,j}represents how many times out of a hundred ad i should be shown at site j. Create a list for site j by letting the first β

_{1},j elements be ad 1, let the next β

_{2},j be ad 2, and so forth.

**This process will yield a list of approximately**100 ads for each site (many ads will appear several times for a given Web site). The next step is to ensure that the list has exactly 100 ads for each site. This is done by truncating the list for any site with more than 100, and repeating the first ad on the list as many times as necessary for any site with less than 100. It is possible to employ a frequency-capping component at this stage of the algorithm.

**Daily Routine**

**[0090]**Calculate d

_{j}and μ

_{j}over the last 30 days or other such reasonable period, as shown in the schematic diagram of FIG. 4. When new sites or new ads 410 are added, constraints are prepared 420, and the new matrices are added to the ad server's optimization engine 430. Prior to having adequate data, initial estimates (alphas) 435 are used and the data is added to the ad look-up tables 440. The ads are then served at 450 (with testing 490 and frequency capping 492). Response data is collected at 460 and recorded together with the ad serving information in transaction log 470. The data is then used to update parameters at 480, and the iterative process continues.

**Enhancements**

**[0091]**This framework allows for a number of additional constraints to be added in a natural way.

**Click Probability Estimation with Principal Components**

**[0092]**Above, the probability that users visiting Web site j will click on ad i was estimated by dividing the number of clicks on ad i at Web site j with the number of impressions of ad i at Web site j, but can be estimated by any other reasonable method.

**[0093]**An alternative is a principal component approach to banner ad probability estimation. This approach contains two steps. In the first step we estimate the principal component vectors whereas in the second step we estimate the banner ads' click probabilities. Each step are updated as new information becomes available.

**The advantage to using the principal component approach is significant**. For example, if there are 100 Web sites and 5 principal components then the conventional approach requires approximately 20 times as many impressions as the principal component approach to reach the same level of accuracy.

**[0094]**This approach is begun by presenting a series of definitions. It continues by describing the principal component estimation, and concludes by finally describing the probability estimation.

**DEFINITIONS**

**[0095]**Probabilities Estimate of the probability that users downloading ad i from Web site j will click on that ad is p

_{i,j}.

**[0096]**Error Uncertainty of the estimate p

_{i,j}is σ

_{i,j}=p

_{i,j}*(1-p

_{i,j})/n, (a slightly biased estimate), Sites There are m sites. Site Average Let μ

_{j}denote the average click probability on site j. Normalized Ad probability Vector--For each ad i we define the vector

**[0096]**y i = [ y i , 1 , y i , 2 , , y i , m ] ##EQU00010## where ##EQU00010.2## y i , j = ( p i , j - 1 ) σ i , j . ##EQU00010.3##

**Principal Components**--hypothesize that there exist l m-dimensional vectors x

_{1}, x

_{2}, . . . , x

_{l}, such that every ad probability vector is a linear combination of x

_{1}, x

_{2}, . . . , x

_{l}.

**[0097]**Other Let n

_{i,j}denote the number of impressions of ad i on Web site j and let k

_{i,j}denote the number of clicks of ad i on Web site j.

**Principal Components Estimation**

**[0098]**When using principal components estimation, the present invention identifies ads that have been shown a large number of times at many Web sites. These are the ads that will be used to calculate the principal components.

**Step**1. Calculate estimation of site averages.

**μ j = i p i , j Count ( i on j ) ##EQU00011##**

**Step**2. Calculate the variance of the error of each probability estimate.

**σ**

_{i,j}=p

_{i,j}*(1-p

_{i,j})/n

**Step**3. Calculate normalized ad probability vectors. Step 4. Calculate the principal components by first creating the matrix Y. Row i of Y corresponds to ad i. Then calculate the matrix product Y

^{TY}. Then find the eigenvectors and eigenvalues of Y

^{TY}. Choose the k eigenvectors corresponding to the k eigenvalues which together accounts for at least x % of the total of the sum of all eigenvalues. The first principal component corresponds to the first eigenvector as follows: Element i of the eigenvector is the weight associated with ad i. Therefore, multiply the elements of the first eigenvector with their corresponding estimated probabilities for each site and sum over these newly found values to determine the first principal component vector. Repeat the procedure for the remaining k-1 eigenvectors.

**Banner Ad Click Probability Estimation**

**[0099]**With the principal components available there are a variety of ways to estimate an ad's click probabilities. Two straightforward methods of such estimation are ordinary least squares regression and generalized least squares regression.

**[0100]**The objective of the principal component approach is to efficiently and quickly obtain ad probabilities for a majority of banners. In addition to finding the probabilities for the majority it is also necessary to identify banners where the principal components do not capture a significant portion of the observed probabilities. A maximum likelihood approach can be used to integrate this aspect into the probability estimation routine.

**Binomial Updating of Click Probabilities Using Principal Components**

**[0101]**Consider a row of n cells that have unknown click probabilities p

_{i}, where cells are i=1, 2, . . . , n

**[0102]**Assume there is a single (for notational simplicity) principal component that is likely to give these probabilities. This principal component is a vector v=(v

_{1}, v

_{2}, . . . , v

_{n})≧0. Then model the vector P as

**P**=av+e

**where a is an unknown constant and e**=(e

_{1}, e

_{2}, . . . , e

_{n}) is a vector of errors.

**[0103]**Then assume that the e

_{i}'s are independent, normal random variables with zero mean and variance σ

^{2}. The variance is determined by the process that determines the principal components.

**[0104]**Now, imagine the system has been run for a while and has observed k

_{i}from n

_{i}in cell i. It is then desirable to assign the best p

_{i}'s.

**[0105]**The joint probability of those click rates and the probabilities given a is

**P**= i = 1 n exp [ - 1 2 σ 2 ( p i - av i ) 2 ] i = 1 n p i k i ( 1 - p i ) n i - k i C ##EQU00012##

**where C is a constant independent of a and the p**

_{i}'s.

**[0106]**Now determine a and the p

_{i}'s by maximizing P with respect to a and the p

_{i}'s. Ignoring C, to obtain:

**ln P**= - 1 2 σ 2 i = 1 n ( p i - av i ) 2 + i = 1 n [ k i ln p i + ( n i - k i ) ln ( 1 - p i ) ] (* ) ##EQU00013##

**Note that ln P is concave with respect to a and p**

_{i}'s≧0, so maximization is well-defined. Note that (as one would expect) if σ>>0 and/or n

_{i}, k

_{i}large, one finds

**p i**= k i n i . ##EQU00014##

**Also**, for σ small and/or n

_{i}, k

_{i}small, one finds p

_{i}=av

_{i}.

**[0107]**Now, the problem is separable with respect to p

_{i}'s, so one strategy is to maximize with respect to p

_{i}with a fixed. This gives the necessary condition:

**F**( p i ) = - 1 σ 2 ( p i - av i ) + k i p i - ( n i - k i ) ( 1 - p i ) 2 = 0 ##EQU00015##

**Note that F**(0)=+∞ and that F(1)=-∞. Hence, there is a p

_{i}with 0<p

_{i}<1 and F(p

_{i})=0.

**Furthermore**,

**[0108]**F ' ( p i ) = - 1 σ 2 - k i p i 2 - ( n i - k i ) ( 1 - p i ) 2 < 0 ##EQU00016##

**so F is monotone**. Thus, the solution is unique.

**[0109]**It can therefore be concluded that for a given a, there is for each i=1, 2, . . . , n a unique p

_{i}, 0<p

_{i}<1, that can be easily found by Newton's method or any other descent method. (The case of k

_{i}=0 is handled separately later.)

**[0110]**Now, consider p

_{i}to be a function of a. Then,

**∂ ∂ a ln P = ∂ ln P ∂ a + i = 1 n ∂ ln P ∂ p i P 0 ' = ∂ ln P ∂ a = 1 σ 2 i = 1 n ( p i ( a ) - av i ) v i ##EQU00017##**

**This discussion motivates the following algorithm**:

**[0111]**1. Select initial a

**[0112]**2. Find the p

_{i}'s by solving F

_{i}(p

_{i}, a)=0 (Newton's method 1 variable at a time)

**3. Evaluate ∂ ∂ a ln P ##EQU00018##**

**[0113]**4. Adjust a by steepest descent

**Note that the extension to multiple principal components is**straightforward. Case of k

_{i}=0 The necessary condition is

**(1-p**

_{i})(av

_{i}-p

_{i})=n

_{i}σ

^{2}

**It is easy to see that if av**

_{i}>n

_{i}σ

^{2}, then there is a solution with 0<p

_{i}<1. Otherwise p

_{i}=0. should be used. Putting this together, p

_{i}=max{root

_{1},0} where root

_{1}is the root of the quadratic less than 1. That is,

**root**1 = 1 + av i - ( 1 + av i ) 2 - 4 ( av i - n i σ 2 ) 2 ##EQU00019##

**Note that it follows from this that if n**

_{i}=0, we have p

_{i}=av

_{i}. If k

_{i}=0 repeatedly, one does not set p

_{i}=0 until they get at least

**n i**= av i σ 2 ##EQU00020##

**impressions**.

**Initial Value of a**

**[0114]**If all the n

_{i}'s are small, and/or σ

^{2}is small, we set p

_{i}=av

_{i}for all i.

**Then**,

**[0115]**Ln P = i = 1 n k i ln av i + i = 1 n ( n i - k i ) ln ( 1 - av i ) ##EQU00021## ∂ ln P ∂ a = i = 1 n k i a - i = 1 n ( n i - k i ) 1 - av i v i = 0 ##EQU00021.2##

**Solve for a**.

**[0116]**This can be interpreted by multiplying by a.

**i**= 1 n k i = i = 1 n ( n i - k i ) av i 1 - av i ##EQU00022##

**which shows that a is set to balance the overall probabilities consistent**with observed clicks and impressions.

**Prior Distribution on a**

**[0117]**Adding a prior density on a as

**1 2 π ω exp { - 1 2 ω 2 ( a - a 0 ) 2 } ##EQU00023##**

**This adds the term**

**- 1 2 ω 2 ( a - a 0 ) 2 ##EQU00024##**

**to lnP as defined in**(*) above.

**Category Restrictions**

**[0118]**Certain advertisers would like to have their ads displayed only on a subset of the sites. This is handled in the following way. Let the subset of such sites be denoted by J. This might be, for example, the set of all sports related sites. Then, if the present invention is considering ad i, the restriction takes the form:

**α**

_{i,j}=0 for all jJ.

**[0119]**The subset J can, of course, involve multiple levels of categories, generally chosen by the advertiser. A typical subset could be something like `all of the sports related--Spanish language--G-rated sites.`

**Ad Blocking**

**[0120]**Conversely, certain Web sites would like to prevent particular ads from appearing on their site. This may be the case, for instance, if the item being advertised is viewed as a competitor to the Web site's product. Let the site be denoted by j and the set of ads to be blocked to be denoted by the set I. Then the restriction has the form

**α**

_{i,j}=0 for all iεI.

**[0121]**Typically, a Web site would be able to do this by both blocking entire categories, such as R-rated sites, and by selecting particular ads for exclusion, such as one of a direct competitor.

**Click**-Thru-Rate (CTR) of Impression Based Ads

**[0122]**Even with contracts that are strictly impression based, it may be advantageous to attempt to enhance the CTR of such ads. Providing a good CTR may lead to more future business. To do this, the present invention must determine how valuable each click on an impression based ad is in economic terms. Then, this can simply be added to the objective function.

**Clustering Process**

**[0123]**Automatic clustering of small Web sites can be employed in a manner that effectively improves overall Click-Thru-Rates. To form clusters, the process starts by matching each ad with a campaign type, which is assigned through a GUI. There are types for `Personal Finance`, `Sports`, `Computers and Technology`, and the like. The present invention denotes each campaign type t

_{i}, i=1, 2, . . . , 20, and the set of all campaign types T. Each cluster will correspond to one of these types.

**[0124]**To determine which types will be used for clustering, a database is used with the history of the last 30 days or other reasonable period, and count all the impresions for each type. If the objective is to form n clusters, then the first n types ordered by descending number of impressions are selected to be the clustering types. Now call each clustering type {circumflex over (t)}

_{j}, j=1, 2, . . . , n, and the set of all the clustering types {circumflex over (T)}. Each clustering type is assigned a number (ID) starting from 2 and going up until n+1. A Webmaster with cluster ID=0 means that it was not clustered, and with ID=1 means it is in a cluster of special Webmasters.

**[0125]**The database contains information on all the campaign types that each Webmaster showed. Not all webmasters-type pairs in the database will be used to perform the computations; in one embodiment, only those that meet the following requirements:

**[0126]**It must have more than 2 impressions on a type

**[0127]**It must have more than 1 click on a type

**[0128]**The CTR for a type must be less than 100%

**Although this is a preferred screening process**, any other such reasonable screening process can be used without departing from the scope of the present invention.

**[0129]**In addition, the set of campaign types for a Webmaster must be a superset of the clustering types: {circumflex over (T)}.OR right.T

_{m}, where m represents a particular Webmaster.

**[0130]**Each Webmaster will be assigned to one and only one cluster, so it will have a corresponding cluster ID, ID

_{m}. Only one more piece of information is needed to determine the cluster ID of each Webmaster: p-hat.

**p**_hat m , i j = CTR m , i + γ CTR m , i ( 1 - CTR m , i ) imps m , i , ##EQU00025##

**where**γ is a learning parameter m is the Webmaster, i is the campaign type, and imps

_{m,i}refers to the number of impressions for the Webmaster-campaign type pair. Now,

**ID m**= 1 + arg max j ( p_hat m , i j ) , j = 1 , 2 , , n . ##EQU00026##

**Each j corresponds to a clustering type**, as defined before.

**[0131]**Thus, the object is to look for the max p-hat for each Webmaster. The type associated with the max p-hat will be cluster assigned to the Webmaster. In order to write the output, the present invention translates the type to its cluster ID.

**Splitting Large Clusters**

**[0132]**It could be the case that once clusters are formed, the total number of impressions for one of them will be over 20% or any other reasonable set percentage of the total number of impressions for all the clusters. In this case, it is desirable to split the cluster by applying the clustering process to those Webmasters in the largest cluster, and by forming a new set of two clustering types for them that excluded the type associated with the cluster. For instance, if cluster 3 with associated type `Sports` is the target, then a new clustering type set might be {`Entertainment`, `Health`}, which will be chosen because they are the two types with the most and second-most impressions. Each Webmaster will be assigned a new cluster ID using the same "max p-hat" criteria.

**[0133]**The splitting process is repeated until no cluster has more than 20% of all the impressions.

**Integrated Channel Management**

**[0134]**It is also desirable to optimize ad placement across a diverse set of media, such as banners, e-mail, and wireless, in an integrated manner. An allocator 500, as shown in FIG. 5, can be used to serve full-sized 510, odd-sized 520, and other type 530 ads using the following algorithm:

**DEFINITIONS**

**[0135]**V

_{i}=Expected impressions per period, such as per day, of media type i. p

_{ij}=probability of a click on media type i for campaign j. G

_{j}=Total target number of clicks for campaign j for the period. ζ

_{ij}=The percent of all impressions from media i that will be allocated to campaign j.

**Max i**, j p ij ij V i s . t . j ij ≦ 1 for all i i p ij ij V i ≦ ( 1 + δ ) G j for all j ij ≧ 0 for all i and j ##EQU00027##

**[0136]**Of course, constraints enforcing minimum and maximum representation on various channels are possible as well.

**[0137]**Then, p

_{ij}ζ

_{ij}V

_{i}is sent to the LP as the upper bound for campaign j for channel type i.

**Multiple Ads from One Customer**

**[0138]**From time to time, an advertiser will employ multiple banner designs. One approach to this, of course, is simply to treat each of these as a separate ad. However, if the advertiser is willing to let the optimizer select which ads to show, the present invention can expect on average an improvement in the CTR. Imagine that the two ads are labeled l and m, and that the initial click totals (on an average daily basis) were c

_{l}and c

_{m}. Then, normally the present invention would have included the two constraints:

**j**= 1 m α l , j p l , j d j ≦ ( 1 + δ ) c l ##EQU00028## j = 1 m α m , j p m , j d j ≦ ( 1 + δ ) c m ##EQU00028.2##

**[0139]**Instead, the present invention can replace this with the single constraint, which is less restrictive and therefore will result in a better or equal solution:

**j**= 1 m ( α l , j p l , j d j + α m , j p m , j d j ) ≦ ( 1 + δ ) ( c l + c m ) . ##EQU00029##

**[0140]**It is also possible to do something in between the above two solutions. For example, an advertiser with two different ad designs could ask for a total of 10,000 clicks with a minimum of 2,500 each. Therefore, there are many other reasonable solutions.

**[0141]**The method of the present invention can be practiced by conventional servers 620, 630, such as Pentium III based systems operating with Windows NT, interacting over the Internet 600 to collect attribute information about customers 640 and ads from database 610, and then serve the ads to the customers 640 operating Internet enabled devices with browsers, such as Apple Macintosh or Windows-based personal computers with browser clients like Internet Explorer or Netscape Navigator, as shown in FIG. 6. As such, there are no special requirements for the user interaction on the Internet using the present invention. Conventional PCs, which may be Pentium based or Apple Macintosh type processors, are all suitable processors for exercising the present invention. Likewise, the server of the present invention can be an Intel Pentium type server, Sun server or other server suitable for serving advertisements.

**[0142]**Numerous aspects of the present invention also have separate utility outside of any Internet enabled distribution channels. The basic modeling methodologies and algorithms of the present invention are therefore able to be incorporated with virtually any other marketing medium in which an "ad" is displayed to a "customer," including, but not limited to, mail, telephone, facsimile, television, radio, and print media. Other embodiments, with modifications and changes to the preferred embodiment, will be apparent to those skilled in the art without departing from the scope of the present invention as disclosed. Therefore, the present invention is only limited by the claims appended hereto.

User Contributions:

Comment about this patent or add new information about this topic: