gpt4 book ai didi

performance - 选择第一个广告的算法是什么?

转载 作者:塔克拉玛干 更新时间:2023-11-03 06:31:20 26 4
gpt4 key购买 nike

我需要一个公式来计算哪个广告将首先转换。

好的,问题来了:我正在开发一种新的广告方式系统。广告商将为一个类别定义总预算和最高 CPC。

如果同一类别中有多个广告客户,谁的广告先转换,顺序是什么?

举个例子:

Advertiser # | Total Budget | Max CPC
-------------|--------------|---------
1 | $1000 | $1
2 | $1,000 | $5
3 | $500 | $10
4 | $10,000 | $4

类别的平均点击率是 %2

是的,所有数字都是假的。

那么,谁的广告将首先转换?为什么以及如何转换?我该如何表述?

最佳答案

通常,CPC 在竞价系统上运作 - 那些愿意为点击支付最多费用的人将最先展示,因为这将为广告服务器带来最高利润(假设所有广告都具有同等的点击吸引力)。

假设广告商 1 愿意为每次点击支付 0.60 美分广告商 2 愿意为每次点击支付 0.75c

您每次都会先为广告商 2 提供服务,直到达到他们的预算,然后再继续为广告商 1 提供服务。

获得服务是每个广告客户的目标,因此您可能需要向人们展示他们的排名,以鼓励他们为每次点击支付更多费用。

但这并不是一种“新的广告方式”。

执行此操作的算法如下:

    function get_best_ad(var category){

//get all ads in that category
array ads = get_ads_by_category('category');

//sort them so the highest big is first in the array
ads = ads.sort_by_bid('desc');

/*the owner is the advertiser, their wallet is how much remains of their budget, the bid is how much is costs for that ad to be clicked. The first ad that can be served is returned; breaking out of the loop and method*/
foreach(ads as ad){
if( ad.owner().wallet > ad.bid() ){
return ad;
}
}
}

关于performance - 选择第一个广告的算法是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15191407/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com