加入新推出的
Discord 社区,展开实时讨论,获得同行支持,并直接与 Meridian 团队互动!
优化频次
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
在营销组合建模分析 (MMM) 中,覆盖面和频次的主要用途之一是确定指定时间段内某个渠道的最佳频次。最佳频次是指,为了尽可能提高投资回报率,应该在每个地理位置和时间段内向目标受众群体展示广告的理想平均次数。由于广告客户在每个地理位置和时间段都执行不同的频次是不切实际的,因此 Meridian 会施加限制,即在所有地理位置和时间段都应用相同的平均频次。
系统会以数字形式计算出最佳频次:首先估计每个频次级别的预期投资回报率,然后以可最大限度提高预期投资回报率的频次为最佳频次。请注意,只有同时将覆盖面和频次作为输入的渠道才能使用最佳频次,如加载包含覆盖面和频次的地理位置级数据中所述。
运行以下命令可优化渠道的频次:
reach_and_frequency = visualizer_module.ReachAndFrequency(meridian)
reach_and_frequency.plot_optimal_frequency()
输出示例:
Meridian 还提供了根据每个渠道的最佳频次或历史频次执行预算优化的选项。如需了解详情,请参阅针对有覆盖面和频次数据的媒体渠道进行优化。默认情况下,将使用最佳频次执行预算优化。建议使用最佳频次。
如需使用历史频次执行预算优化,请将 use_optimal_frequency
设置更改为 False
:
budget_optimizer = optimizer.BudgetOptimizer(meridian)
optimization_results = budget_optimizer.optimize(use_optimal_frequency=False)
其中,use_optimal_frequency
是一个布尔值,用于指明是使用最佳频次还是历史频次来执行预算优化。默认值:True
,表示使用最佳频次。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-04。
[null,null,["最后更新时间 (UTC):2025-08-04。"],[[["\u003cp\u003eOptimal frequency in MMM helps determine the ideal number of ad exposures to a target audience per geo and time for maximum ROI.\u003c/p\u003e\n"],["\u003cp\u003eMeridian calculates optimal frequency by estimating expected ROI for each frequency level and identifying the level that maximizes it.\u003c/p\u003e\n"],["\u003cp\u003eOptimal frequency is only applicable to channels that utilize both reach and frequency data as inputs, as demonstrated in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eMeridian allows for budget optimization based on either optimal or historical frequency, with optimal frequency being the recommended default.\u003c/p\u003e\n"],["\u003cp\u003eUsers can switch to historical frequency for budget optimization by setting the \u003ccode\u003euse_optimal_frequency\u003c/code\u003e parameter to \u003ccode\u003eFalse\u003c/code\u003e in the budget optimizer function.\u003c/p\u003e\n"]]],[],null,["# Optimize frequency\n\nOne of the main uses of reach and frequency in MMM is to find the optimal\nfrequency for a channel in a specified time period. Optimal frequency refers to\nthe ideal average number of times an advertisement should be shown to the target\naudience for each geo and the time needed to achieve the maximum ROI. Because it\nis impracticable for advertisers to execute different frequencies for each geo\nand time, Meridian imposes a restriction that the same average frequency\nis applied in all geos and times.\n\nThe optimal frequency is calculated numerically: the expected ROI for each\nfrequency level is estimated first, and then the optimal frequency is the\nfrequency that maximizes the expected ROI. Note that optimal frequency is only\navailable for those channels that utilize both reach and frequency as inputs as\ndescribed in [Load geo-level data with reach and\nfrequency](/meridian/docs/user-guide/load-geo-data-with-rf).\n\nRun the following commands to optimize frequency on a channel: \n\n reach_and_frequency = visualizer_module.ReachAndFrequency(meridian)\n reach_and_frequency.plot_optimal_frequency()\n\n**Example output:**\n\nMeridian also provides the option to perform budget optimization based on either\nthe optimal frequency or the historical frequency for each channel. For more\ninformation, see [Optimization for media channels with reach and frequency data](/meridian/docs/basics/optimization-with-reach-frequency).\nBy default, the optimal frequency is used for budget optimization. Optimal frequency is recommended.\n\nTo use the historical frequency for budget optimization, change the `use_optimal_frequency` setting to `False`: \n\n budget_optimizer = optimizer.BudgetOptimizer(meridian)\n optimization_results = budget_optimizer.optimize(use_optimal_frequency=False)\n\nWhere `use_optimal_frequency` is a boolean indicating whether the optimal\nfrequency or the historical frequency is used for budget optimization.\n**Default:** `True`, meaning the optimal frequency is used."]]