# US 10,650,408 B1 · Budget smoothing in a messaging platform

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,650,408 B1
- Document ID: US10650408B1
- Status: Granted
- Kind: B1
- Application number: 14/214,427
- Filed: 2014-03-14
- Granted: 2020-05-12
- Earliest claimed: 2013-03-15
- Assignees: Twitter, Inc.
- Applicants: Twitter, Inc.
- Inventors: Reid Andersen; Parag Agrawal; Ashish Goel; Utkarsh Srivastava
- Web page: https://patentgrep.com/patent/US10650408B1

## CPC

- G06Q 30/0249: {based upon budgets or funds}
- G06Q 30/0269: {based on user profile or attribute}
- G06Q 30/0275: {Auctions}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

A real-time messaging platform allows advertiser accounts to pay to insert candidate messages into the message streams requested by account holders. To accommodate multiple advertisers, the messaging platform controls an auction process that determines which candidate messages are selected for inclusion in a requested account holder's message stream. Selection is based on a bid for the candidate message, the message stream that is requested, and a variety of other factors that vary depending upon the implementation. The process for selection of candidate messages generally includes the following steps, though any given step may be omitted or combined into another step in a different implementation: targeting, filtering, prediction, ranking, and selection.

## Claims

### Claim 1

A method comprising:
identifying a set of one or more candidate messages, each candidate message in the set being associated with a bid price and one of a plurality of ad campaigns;
constructing an engagement time distribution by at least applying a first spend smoothing distribution to a first tunable parameter to generate a first product, applying a second spend smoothing distribution to a second tunable parameter to generate a second product, and combining the first product and the second product;
receiving, from a client device, a request for a message stream of an account holder of a social media platform, the social media platform publishing message streams of account holders;
for each of the plurality of ad campaigns:
accessing the engagement time distribution,
calculating a set of two or more parameters comprising a predicted click-through rate and one or more of an impression callback rate and a cost per engagement, wherein the predicted click-through rate is calculated based on a features vector and a weights vector, wherein the features vector comprises values of one or more of a message feature or an account feature, and wherein the weights vector comprises weight values for each of the features in the features vector,
calculating a current outstanding spend based on a time stamp of the request, the set of two or more parameters, the engagement time distribution, and the one or more candidate messages in the set that are associated with the respective ad campaign that have been included in message streams of one or more account holders of the social media platform and that have not received engagements,
calculating a total outstanding spend for the respective ad campaign by adding the current outstanding spend of the respective ad campaign to a current spend of the respective ad campaign, and
deriving a throttle factor based on the time stamp and a current budget spend rate;
determining, for only each of the candidate messages in the set associated with a respective ad campaign having the total outstanding spend less than a budget for the respective ad campaign, a rank value based on the bid price of the respective candidate message, the throttle factor for the respective ad campaign, and a value representing a likelihood of engagement with the respective candidate message by the account holder;
selecting at least one of the candidate messages in the set for inclusion in the requested message stream of the account holder based on the respective rank values; and
sending the message stream to the client device for display.

### Claim 2 (depends on 1)

The method of claim 1, wherein the budget is based on a daily budget.

### Claim 3 (depends on 1)

The method of claim 1,
wherein the rank value of one of the candidate messages is determined based on the respective throttle factor when greater than a threshold interval of time is remaining in a budget period associated with the budget, and
wherein the rank value of the one of the candidate messages is determined independent of the respective throttle factor when less than the threshold interval of time is remaining in the budget period.

### Claim 4 (depends on 1)

The method of claim 1,
wherein the rank value of one of the candidate messages is determined based on the respective throttle factor where less than a threshold number of impressions of the one of the candidate messages has been included in published message streams, and
wherein the rank value of the one of the candidate messages is determined independent of the respective throttle factor where greater than the threshold number of impressions of the one of the candidate messages has been included in published message streams.

### Claim 5 (depends on 1)

The method of claim 1, wherein the throttle factor for one of the ad campaigns is determined based on an amount of time remaining in a budget period associated with the budget.

### Claim 6 (depends on 1)

The method of claim 1, wherein the throttle factor for one of the ad campaigns is determined based on a number of impressions of candidate messages of the ad campaign that have been included in published message streams.

### Claim 7 (depends on 1)

The method of claim 1, wherein the throttle factor for each ad campaign is determined based on previous engagements with candidate messages of the respective ad campaign.

### Claim 8 (depends on 1)

The method of claim 1, wherein the throttle factor is determined based on the current budget spend rate and an amount of time elapsed in a budget period associated with the budget.

### Claim 9 (depends on 1)

The method of claim 1, wherein identifying the set of candidate messages comprises comparing account features of the requested account holder with targeting criteria of an ad campaign.

### Claim 10 (depends on 1)

The method of claim 1, further comprising, for an ad campaign of the plurality of ad campaigns:
performing a smoothing operation on the ad campaign, the smoothing operation comprising multiplying a bid price for the ad campaign by the throttle factor.

### Claim 11 (depends on 1)

The method of claim 1, further comprising, for an ad campaign of the plurality of ad campaigns:
determining that a threshold amount of time has passed since a candidate message for the ad campaign has been included in a message stream of an account holder and that the candidate message has not received an engagement; and
updating a machine learning model to decrease the respective tunable parameter for one or more smoothing distributions for the respective ad campaign.

### Claim 12 (depends on 1)

The method of claim 1, further comprising, for an ad campaign of the plurality of ad campaigns:
receiving an indication that a candidate message for the respective ad campaign has received an engagement, wherein the candidate message previously had not received an engagement; and
updating a machine learning model to increase the respective tunable parameter for one or more smoothing distributions for the respective ad campaign.

### Claim 13

A non-transitory computer-readable storage medium comprising instructions that, when executed by a system comprising one or more computer processors, cause the system to:
identify a set of one or more candidate messages, each candidate message in the set being associated with a bid price and one of a plurality of ad campaigns;
construct an engagement time distribution by at least applying a first spend smoothing distribution to a first tunable parameter to generate a first product, applying a second spend smoothing distribution to a second tunable parameter to generate a second product, and combining the first product and the second product;
receive, from a client device, a request for a message stream of an account holder of a social media platform, the social media platform publishing message streams of account holders;
for each of the plurality of ad campaigns:
access the engagement time distribution,
calculate a set of two or more parameters comprising a predicted click-through rate and one or more of an impression callback rate and a cost per engagement, wherein the predicted click-through rate is calculated based on a features vector and a weights vector, wherein the features vector comprises values of one or more of a message feature or an account feature, and wherein the weights vector comprises weight values for each of the features in the features vector,
calculate a current outstanding spend based on a time stamp of the request, the set of two or more parameters, the engagement time distribution, and the one or more candidate messages in the set that are associated with the respective ad campaign that have been included in message streams of one or more account holders of the social media platform and that have not received engagements,
calculate a total outstanding spend for the respective ad campaign by adding the current outstanding spend of the respective ad campaign to a current spend of the respective ad campaign, and
derive a throttle factor based on the time stamp and a current budget spend rate;
determine, for only each of the candidate messages in the set associated with a respective ad campaign having the total outstanding spend less than a budget for the respective ad campaign, a rank value based on the bid price of the respective candidate message, the throttle factor for the respective ad campaign, and a value representing a likelihood of engagement with the respective candidate message by the account holder;
select at least one of the candidate messages in the set for inclusion in the requested message stream of the account holder based on the respective rank values; and
send the message stream to the client device for display.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium of claim 13,
wherein the rank value of one of the candidate messages is determined based on the respective throttle factor when greater than a threshold interval of time is remaining in a budget period associated with the budget, and
wherein the rank value of the one of the candidate messages is determined independent of the respective throttle factor when less than the threshold interval of time is remaining in the budget period.

### Claim 15 (depends on 13)

The non-transitory computer-readable storage medium of claim 13,
wherein the rank value of one of the candidate messages is determined based on the respective throttle factor where less than a threshold number of impressions of the one of the candidate messages has been included in published message streams, and
wherein the rank value of the one of the candidate messages is determined independent of the respective throttle factor where greater than the threshold number of impressions of the one of the candidate messages has been included in published message streams.

### Claim 16 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the throttle factor for one of the ad campaigns is determined based on an amount of time remaining in a budget period associated with the budget.

### Claim 17 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the throttle factor for one of the ad campaigns is determined based on a number of impressions of candidate messages of the ad campaign that have been included in published message streams.

### Claim 18 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the throttle factor for each ad campaign is determined based on one or more of previous engagements with candidate messages of the respective ad campaign or the current budget spend rate and an amount of time elapsed in a budget period associated with the budget.

### Claim 19 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein identifying the set of candidate messages comprises comparing account features of the requested account holder with targeting criteria of an ad campaign.

### Claim 20 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the instructions, when executed by the system, further cause the system to, for an ad campaign of the plurality of ad campaigns:
perform a smoothing operation on the ad campaign, the smoothing operation comprising multiplying a bid price for the ad campaign by the throttle factor.

### Claim 21 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the instructions, when executed by the system, further cause the system to, for an ad campaign of the plurality of ad campaigns:
determine that a threshold amount of time has passed since a candidate message for the ad campaign has been included in a message stream of an account holder and that the candidate message has not received an engagement; and
update a machine learning model to decrease the respective tunable parameter for one or more smoothing distributions for the respective ad campaign.

### Claim 22 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the instructions, when executed by the system, further cause the system to, for an ad campaign of the plurality of ad campaigns:
receive an indication that a candidate message for the respective ad campaign has received an engagement, wherein the candidate message previously had not received an engagement; and
update a machine learning model to increase the respective tunable parameter for one or more smoothing distributions for the respective ad campaign.

### Claim 23

A system comprising:
a computing system comprising one or more computer processors; and
a memory, wherein the memory includes instructions that, when executed by the computing system, cause the computing system to:
identify a set of one or more candidate messages, each candidate message in the set being associated with a bid price and one of a plurality of ad campaigns;
construct an engagement time distribution by at least applying a first spend smoothing distribution to a first tunable parameter to generate a first product, applying a second spend smoothing distribution to a second tunable parameter to generate a second product, and combining the first product and the second product;
receive, from a client device, a request for a message stream of an account holder of a social media platform, the social media platform publishing message streams of account holders;
for each of the plurality of ad campaigns:
access the engagement time distribution,
calculate a set of two or more parameters comprising a predicted click-through rate and one or more of an impression callback rate and a cost per engagement, wherein the predicted click-through rate is calculated based on a features vector and a weights vector, wherein the features vector comprises values of one or more of a message feature or an account feature, and wherein the weights vector comprises weight values for each of the features in the features vector,
calculate a current outstanding spend based on a time stamp of the request, the set of two or more parameters, the engagement time distribution, and the one or more candidate messages in the set that are associated with the respective ad campaign that have been included in message streams of one or more account holders of the social media platform and that have not received engagements,
calculate a total outstanding spend for the respective ad campaign by adding the current outstanding spend of the respective ad campaign to a current spend of the respective ad campaign; and
derive a throttle factor based on the time stamp and a current budget spend rate;
determine, for only each of the candidate messages in the set associated with a respective ad campaign having the total outstanding spend less than a budget for the respective ad campaign, a rank value based on the bid price of the respective candidate message, the throttle factor for the respective ad campaign, and a value representing a likelihood of engagement with the respective candidate message by the account holder;
select at least one of the candidate messages in the set for inclusion in the requested message stream of the account holder based on the respective rank values; and
send the message stream to the client device for display.

### Claim 24 (depends on 23)

The system of claim 23,
wherein the rank value of one of the candidate messages is determined based on the respective throttle factor when greater than a threshold interval of time is remaining in a budget period associated with the budget, and
wherein the rank value of the one of the candidate messages is determined independent of the respective throttle factor when less than the threshold interval of time is remaining in the budget period.

### Claim 25 (depends on 23)

The system of claim 23,
wherein the rank value of one of the candidate messages is determined based on the respective throttle factor where less than a threshold number of impressions of the one of the candidate messages has been included in published message streams, and
wherein the rank value of the one of the candidate messages is determined independent of the respective throttle factor where greater than the threshold number of impressions of the one of the candidate messages has been included in published message streams.

### Claim 26 (depends on 23)

The system of claim 23, wherein the throttle factor for one of the ad campaigns is determined based on an amount of time remaining in a budget period associated with the budget.

### Claim 27 (depends on 23)

The system of claim 23, wherein the throttle factor for one of the ad campaigns is determined based on a number of impressions of candidate messages of the ad campaign that have been included in published message streams.

### Claim 28 (depends on 23)

The system of claim 23, wherein the throttle factor for each ad campaign is determined based on one or more of previous engagements with candidate messages of the respective ad campaign or the current budget spend rate and an amount of time elapsed in a budget period associated with the budget.

### Claim 29 (depends on 23)

The system of claim 23, wherein identifying the set of candidate messages comprises comparing account features of the requested account holder with targeting criteria of an ad campaign.

### Claim 30 (depends on 23)

The system of claim 23, wherein the instructions, when executed by the computing system, further cause the computing system to, for an ad campaign of the plurality of ad campaigns:
perform a smoothing operation on the ad campaign, the smoothing operation comprising multiplying a bid price for the ad campaign by the throttle factor.

### Claim 31 (depends on 23)

The system of claim 23, wherein the instructions, when executed by the computing system, further cause the computing system to, for an ad campaign of the plurality of ad campaigns:
determine that a threshold amount of time has passed since a candidate message for the ad campaign has been included in a message stream of an account holder and that the candidate message has not received an engagement; and
update a machine learning model to decrease the respective tunable parameter for one or more smoothing distributions for the respective ad campaign.

### Claim 32 (depends on 23)

The system of claim 23, wherein the instructions, when executed by the computing system, further cause the computing system to, for an ad campaign of the plurality of ad campaigns:
receive an indication that a candidate message for the respective ad campaign has received an engagement, wherein the candidate message previously had not received an engagement; and
update a machine learning model to increase the respective tunable parameter for one or more smoothing distributions for the respective ad campaign.
