标准 A/B 实验主要有两种报告方式:
- 直接实验报告:查询
experiment资源以获取指标。此选项会在单个响应中提供对照组和实验组的指标,以及提升幅度和 p 值等统计比较数据。这是报告广告系列内实验的唯一方法。 - 广告系列报告:查询
campaign资源以获取指标,使用campaign.experiment_type区分基础广告系列和实验广告系列。此选项仅适用于使用单独的对照组和实验组广告系列的实验,例如系统管理的实验。
对于标准实验,本指南主要侧重于直接实验报告,该报告与支持报告的所有实验类型兼容。对于提升效果评测研究,您还可以使用专用提升效果评测资源来报告品牌提升效果、转化量提升情况和搜索次数提升情况。
直接实验报告
您可以直接查询 experiment 资源,以检索对照组和实验组的效果指标和统计比较结果。
指标和统计显著性
对于点击次数、展示次数、费用、转化次数和转化价值等核心指标,experiment 资源会在同一行中同时提供实验组指标(例如 metrics.clicks)和对照组指标(例如 metrics.control_clicks)。
它还提供了一些字段,可帮助您评估不同实验组之间的任何差异是否具有统计显著性:
metrics.*_p_value:如果实验对指标没有实际影响,则观察到的结果发生的概率。p 值越低,表示统计显著性越高。metrics.*_point_estimate:与对照组相比,实验组在给定指标上的估计提升百分比(正值或负值)。它们与margin_of_error一起描述了所估计差异的置信区间,该区间具有指定的置信度。要估计的数量为(实验组 / 对照组 - 1)。点估计值是置信区间的中心。metrics.*_margin_of_error:置信区间的半径,以point_estimate为中心。它是针对规定的置信度计算的,具体取决于实验类型。
experiment 资源支持以下核心指标字段,包括实验组值、对照组值和前面列出的统计信息字段:
clicksimpressionscost_microsconversionscost_per_conversionconversion_valueconversion_value_per_cost
具体而言,对于转化,统计字段可通过以下 absolute_change 字段(而非相对值)获取:
metrics.conversions_absolute_change_p_value:原假设的 p 值,即实验对转化绝对变化没有影响。范围是 0 - 1。metrics.conversions_absolute_change_point_estimate:估算实验对转化绝对变化的影响时的点估计值。metrics.conversions_absolute_change_margin_of_error:估算实验对转化绝对变化的影响时的误差范围。
如需在构建针对 experiment 资源的有效查询方面获得帮助,请使用 Google Ads 查询构建器工具。
查询示例
以下 GAQL 查询会检索实验的关键指标:
SELECT
experiment.experiment_id,
experiment.name,
experiment.type,
metrics.clicks,
metrics.control_clicks,
metrics.clicks_point_estimate,
metrics.clicks_margin_of_error,
metrics.clicks_p_value,
metrics.conversions,
metrics.control_conversions,
metrics.conversions_absolute_change_point_estimate,
metrics.conversions_absolute_change_margin_of_error,
metrics.conversions_absolute_change_p_value
FROM experiment
WHERE experiment.experiment_id = EXPERIMENT_ID
解读结果
您可以使用 p 值、点估计值和误差范围字段来确定实验是否产生了具有统计显著性的结果。例如,如果 conversions_absolute_change_p_value 低于您选择的阈值(例如,置信度为 95% 时为 0.05),并且 conversions_absolute_change_point_estimate - conversions_absolute_change_margin_of_error 大于零,则实验组在转化方面的表现明显优于对照组。
以下 Python 代码段演示了如何根据 p 值和升幅估计值评估结果:
Java
private void evaluateExperiment( GoogleAdsClient googleAdsClient, long customerId, GoogleAdsRow row) { Metrics metrics = row.getMetrics(); String experimentResourceName = row.getExperiment().getResourceName(); // 1. Evaluate conversion success as a primary success signal if available. // - Point Estimate: Represents the estimated average lift or difference in conversions. // - Margin of Error: Outlines the confidence interval bounds. Note that the margin_of_error // provided by the API is calculated for a preset confidence level which is set based on the // experiment type. // - Lower Bound: (Point Estimate - Margin of Error). If this value is above 0, // we have statistical significance that performance has improved. double convPValue = metrics.getConversionsAbsoluteChangePValue(); double convLift = metrics.getConversionsAbsoluteChangePointEstimate(); double convError = metrics.getConversionsAbsoluteChangeMarginOfError(); double convLowerBound = convLift - convError; if (convPValue <= P_VALUE_THRESHOLD) { if (convLowerBound > 0) { System.out.printf( "Significant Success: Conversions increased. Even at the lower bound, the lift is %.2f." + " Promoting changes.%n", convLowerBound); promoteExperiment(googleAdsClient, customerId, experimentResourceName); return; } else if ((convLift + convError) < 0) { System.out.printf( "Significant Decline: Even the upper bound (%.2f) is below zero. Ending experiment.%n", convLift + convError); endExperiment(googleAdsClient, customerId, experimentResourceName); return; } } // 2. Fall back to evaluating click metrics if conversions are inconclusive. double clickPValue = metrics.getClicksPValue(); double clickLift = metrics.getClicksPointEstimate(); double clickError = metrics.getClicksMarginOfError(); double clickLowerBound = clickLift - clickError; if (clickPValue <= P_VALUE_THRESHOLD && clickLowerBound > 0) { System.out.printf("Click volume is significantly up (+%.1f%%).%n", clickLift * 100); // Graduation is only supported for separate campaign experiments, not // intra-campaign experiments where there is no separate treatment campaign. ExperimentType experimentType = row.getExperiment().getType(); if (experimentType != ExperimentType.ADOPT_BROAD_MATCH_KEYWORDS && experimentType != ExperimentType.ADOPT_AI_MAX) { System.out.println("Graduating treatment campaign for further manual analysis."); graduateExperiment(googleAdsClient, customerId, experimentResourceName); } else { System.out.println( "Intra-campaign trial detected: graduation is not supported. Continuing to run the" + " experiment to gather more conversion data."); } } else { // 3. Print status if no action was taken. System.out.printf( "Inconclusive: No significant lift in Conversions (p=%.2f) or Clicks (p=%.2f). Current" + " estimated lift: %.2f +/- %.2f. Allowing the experiment to continue running.%n", convPValue, clickPValue, convLift, convError); } }
C#
private static void EvaluateExperiment(GoogleAdsClient client, long customerId, GoogleAdsRow row) { // This function evaluates performance metrics and immediately takes action // to update the experiment's status (promote, end, or graduate) if // statistical significance thresholds are met. var metrics = row.Metrics; string experimentResourceName = row.Experiment.ResourceName; bool hasConvMetrics = metrics.HasConversionsAbsoluteChangePValue && metrics.HasConversionsAbsoluteChangePointEstimate && metrics.HasConversionsAbsoluteChangeMarginOfError; bool hasClickMetrics = metrics.HasClicksPValue && metrics.HasClicksPointEstimate && metrics.HasClicksMarginOfError; // 1. Evaluate conversion success as a primary success signal if available. // - Point Estimate: Represents the estimated average lift or difference in conversions. // - Margin of Error: Outlines the confidence interval bounds. Note that the margin_of_error // provided by the API is calculated for a preset confidence level which is set based on // the experiment type. // - Lower Bound: (Point Estimate - Margin of Error). If this value is above 0, // we have statistical significance that performance has improved. if (hasConvMetrics) { double convPValue = metrics.ConversionsAbsoluteChangePValue; double convLift = metrics.ConversionsAbsoluteChangePointEstimate; double convError = metrics.ConversionsAbsoluteChangeMarginOfError; double convLowerBound = convLift - convError; if (convPValue <= P_VALUE_THRESHOLD) { if (convLowerBound > 0) { Console.WriteLine( $"Significant Success: Conversions increased. Even at the lower" + $" bound, the lift is {convLowerBound:F2}. Promoting changes."); PromoteExperiment(client, customerId, experimentResourceName); return; } else if ((convLift + convError) < 0) { Console.WriteLine( $"Significant Decline: Even the upper bound ({convLift + convError:F2}) " + $"is below zero. Ending experiment."); EndExperiment(client, customerId, experimentResourceName); return; } } } // 2. Evaluate click volume as a secondary signal. // This is helpful as an early indicator or for lower-volume accounts. if (hasClickMetrics) { double clickPValue = metrics.ClicksPValue; double clickLift = metrics.ClicksPointEstimate; double clickError = metrics.ClicksMarginOfError; double clickLowerBound = clickLift - clickError; if (clickPValue <= P_VALUE_THRESHOLD && clickLowerBound > 0) { // We have a directional winner: high confidence in more traffic, // but not enough data to confirm conversion impact yet. Console.WriteLine( $"Click volume is significantly up (+{clickLift * 100:F1}%)."); // Graduation is only supported for separate campaign experiments, not // intra-campaign experiments where there is no separate treatment campaign. if (row.Experiment.Type != ExperimentType.AdoptBroadMatchKeywords && row.Experiment.Type != ExperimentType.AdoptAiMax) { Console.WriteLine("Graduating treatment campaign for further manual analysis."); GraduateExperiment(client, customerId, experimentResourceName); } else { Console.WriteLine( "Intra-campaign trial detected: graduation is not supported. " + "Continuing to run the experiment to gather more conversion data."); } return; } } // 3. Print status if no action was taken. if (hasConvMetrics || hasClickMetrics) { string convStatus = hasConvMetrics ? $"Conversions (p={metrics.ConversionsAbsoluteChangePValue:F2}, " + $"lift={metrics.ConversionsAbsoluteChangePointEstimate:F2} +/- " + $"{metrics.ConversionsAbsoluteChangeMarginOfError:F2})" : "Conversions (not populated)"; string clickStatus = hasClickMetrics ? $"Clicks (p={metrics.ClicksPValue:F2}, " + $"lift={metrics.ClicksPointEstimate:F2} +/- " + $"{metrics.ClicksMarginOfError:F2})" : "Clicks (not populated)"; Console.WriteLine( $"Inconclusive: No significant action taken. {convStatus}, {clickStatus}. " + "Allowing the experiment to continue running."); } else { Console.WriteLine( "Conversion and click performance metrics are not yet populated. " + "Allowing the experiment to continue running."); } }
PHP
This example is not yet available in PHP; you can take a look at the other languages.
Python
def evaluate_experiment( client: GoogleAdsClient, customer_id: str, row: GoogleAdsRow ) -> None: """Evaluates the performance of the experiment and updates it accordingly (for example, promotes, ends, or graduates). Checks conversion and click metrics against statistical significance thresholds to determine the appropriate action to take on the experiment. Args: client: an initialized GoogleAdsClient instance. customer_id: a client customer ID. row: a GoogleAdsRow containing the experiment and metrics. """ # This function evaluates performance metrics and immediately takes action # to update the experiment's status (promote, end, or graduate) if # statistical significance thresholds are met. metrics = row.metrics experiment_resource_name = row.experiment.resource_name has_conv_metrics = ( "conversions_absolute_change_p_value" in metrics and "conversions_absolute_change_point_estimate" in metrics and "conversions_absolute_change_margin_of_error" in metrics ) has_click_metrics = ( "clicks_p_value" in metrics and "clicks_point_estimate" in metrics and "clicks_margin_of_error" in metrics ) # 1. Evaluate conversion success as a primary success signal if available. # - Point Estimate: Represents the estimated average lift or difference in conversions. # - Margin of Error: Outlines the confidence interval bounds. Note that the margin_of_error provided by the API is calculated for a preset confidence level which is set based on the experiment type. # - Lower Bound: (Point Estimate - Margin of Error). If this value is above 0, # we have statistical significance that performance has improved. if has_conv_metrics: conv_p_value = metrics.conversions_absolute_change_p_value conv_lift = metrics.conversions_absolute_change_point_estimate conv_error = metrics.conversions_absolute_change_margin_of_error conv_lower_bound = conv_lift - conv_error if conv_p_value <= P_VALUE_THRESHOLD: if conv_lower_bound > 0: print( "Significant Success: Conversions increased. Even at the lower" f" bound, the lift is {conv_lower_bound:.2f}. Promoting" " changes." ) promote_experiment( client, customer_id, experiment_resource_name ) return elif (conv_lift + conv_error) < 0: print( "Significant Decline: Even the upper bound" f" ({conv_lift + conv_error:.2f}) is below zero. Ending" " experiment." ) end_experiment(client, customer_id, experiment_resource_name) return # 2. Evaluate click volume as a secondary signal. # This is helpful as an early indicator or for lower-volume accounts. click_p_value = metrics.clicks_p_value click_lift = metrics.clicks_point_estimate click_error = metrics.clicks_margin_of_error click_lower_bound = click_lift - click_error if click_p_value <= P_VALUE_THRESHOLD and click_lower_bound > 0: # We have a directional winner: high confidence in more traffic, # but not enough data to confirm conversion impact yet. print(f"Click volume is significantly up (+{click_lift*100:.1f}%).") # Graduation is only supported for separate campaign experiments, not # intra-campaign experiments where there is no separate treatment campaign. experiment_type_name = row.experiment.type_.name if ( experiment_type_name != "ADOPT_BROAD_MATCH_KEYWORDS" and experiment_type_name != "ADOPT_AI_MAX" ): print( "Graduating treatment campaign for further manual analysis." ) graduate_experiment( client, customer_id, experiment_resource_name ) else: print( "Intra-campaign trial detected: graduation is not supported. " "Continuing to run the experiment to gather more conversion data." ) return # 3. Print status if no action was taken. if has_conv_metrics or has_click_metrics: conv_status = ( f"Conversions (p={metrics.conversions_absolute_change_p_value:.2f}, " f"lift={metrics.conversions_absolute_change_point_estimate:.2f} +/- " f"{metrics.conversions_absolute_change_margin_of_error:.2f})" if has_conv_metrics else "Conversions (not populated)" ) click_status = ( f"Clicks (p={metrics.clicks_p_value:.2f}, " f"lift={metrics.clicks_point_estimate:.2f} +/- " f"{metrics.clicks_margin_of_error:.2f})" if has_click_metrics else "Clicks (not populated)" ) print( f"Inconclusive: No significant action taken. {conv_status}, {click_status}." " Allowing the experiment to continue running." ) else: print( "Conversion and click performance metrics are not yet populated. " "Allowing the experiment to continue running." )
Ruby
def evaluate_experiment(client, customer_id, row) # This function evaluates performance metrics and immediately takes action # to update the experiment's status (promote, end, or graduate) if # statistical significance thresholds are met. metrics = row.metrics experiment_resource_name = row.experiment.resource_name has_conv_metrics = !metrics.nil? && metrics.has_conversions_absolute_change_p_value? && metrics.has_conversions_absolute_change_point_estimate? && metrics.has_conversions_absolute_change_margin_of_error? has_click_metrics = !metrics.nil? && metrics.has_clicks_p_value? && metrics.has_clicks_point_estimate? && metrics.has_clicks_margin_of_error? # 1. Evaluate conversion success as a primary success signal if available. # - Point Estimate: Represents the estimated average lift or difference in conversions. # - Margin of Error: Outlines the confidence interval bounds. Note that the margin_of_error # provided by the API is calculated for a preset confidence level which is set based on the experiment type. # - Lower Bound: (Point Estimate - Margin of Error). If this value is above 0, # we have statistical significance that performance has improved. if has_conv_metrics conv_p_value = metrics.conversions_absolute_change_p_value conv_lift = metrics.conversions_absolute_change_point_estimate conv_error = metrics.conversions_absolute_change_margin_of_error conv_lower_bound = conv_lift - conv_error if conv_p_value <= P_VALUE_THRESHOLD if conv_lower_bound > 0 puts sprintf( "Significant Success: Conversions increased. Even at the lower " \ "bound, the lift is %.2f. Promoting changes.", conv_lower_bound, ) promote_experiment(client, customer_id, experiment_resource_name) return elsif (conv_lift + conv_error) < 0 puts sprintf( "Significant Decline: Even the upper bound (%.2f) is below zero. " \ "Ending experiment.", conv_lift + conv_error, ) end_experiment(client, customer_id, experiment_resource_name) return end end end # 2. Evaluate click volume as a secondary signal. # This is helpful as an early indicator or for lower-volume accounts. if has_click_metrics click_p_value = metrics.clicks_p_value click_lift = metrics.clicks_point_estimate click_error = metrics.clicks_margin_of_error click_lower_bound = click_lift - click_error if click_p_value <= P_VALUE_THRESHOLD && click_lower_bound > 0 # We have a directional winner: high confidence in more traffic, # but not enough data to confirm conversion impact yet. puts sprintf("Click volume is significantly up (+%.1f%%).", click_lift * 100) # Graduation is only supported for separate campaign experiments, not # intra-campaign experiments where there is no separate treatment campaign. experiment_type = row.experiment.type if experiment_type != :ADOPT_BROAD_MATCH_KEYWORDS && experiment_type != :ADOPT_AI_MAX puts "Graduating treatment campaign for further manual analysis." graduate_experiment(client, customer_id, experiment_resource_name) else puts "Intra-campaign trial detected: graduation is not supported. " \ "Continuing to run the experiment to gather more conversion data." end return end end # 3. Print status if no action was taken. if has_conv_metrics || has_click_metrics conv_status = if has_conv_metrics sprintf( "Conversions (p=%.2f, lift=%.2f +/- %.2f)", metrics.conversions_absolute_change_p_value, metrics.conversions_absolute_change_point_estimate, metrics.conversions_absolute_change_margin_of_error, ) else "Conversions (not populated)" end click_status = if has_click_metrics sprintf( "Clicks (p=%.2f, lift=%.2f +/- %.2f)", metrics.clicks_p_value, metrics.clicks_point_estimate, metrics.clicks_margin_of_error, ) else "Clicks (not populated)" end puts "Inconclusive: No significant action taken. #{conv_status}, #{click_status}. " \ "Allowing the experiment to continue running." else puts "Conversion and click performance metrics are not yet populated. " \ "Allowing the experiment to continue running." end end
Perl
This example is not yet available in Perl; you can take a look at the other languages.
curl
相较于广告系列报告的优势
与单独查询广告系列报告相比,直接实验报告具有多项优势:
- 集中式指标:在单行中检索对照组和实验组的指标。
- 统计置信度数据:提供计算出的 p 值、点估计值和误差范围。
- 效率:无需手动联接或比较多份报告中的结果。
- 广告系列内支持:这是比较广告系列内实验(流量在单个广告系列内分配)的对照组与实验组的唯一方法。
广告系列报告
对于创建单独实验组广告系列的实验(例如 SEARCH_CUSTOM),您可以查询 campaign 资源,并使用 campaign.experiment_type 标识 BASE(对照组)和 EXPERIMENT(实验组)广告系列。如果您需要更精细地细分指标(例如按广告组或关键字),或者需要查看 experiment 资源中未提供的广告系列元数据,则此方法非常有用。不过,您需要手动执行性能比较和统计计算。
您无法使用广告系列级报告来比较广告系列内实验的实验组,因为流量分配是在单个广告系列内部进行的。
查询 campaign 以获取广告系列内实验的数据时,只会返回汇总总计。
品牌提升效果报告
您可以使用专用的品牌提升效果评测资源,在 Google Ads API 中生成品牌提升效果研究报告。
品牌提升效果资源和细分视图
查询 LiftMeasurementFlight 资源,以检索排期级品牌提升效果研究结果,包括客户时区中的排期日期范围(start_date 和 end_date)。
如需分析不同细分维度的品牌提升效果指标,请查询相应的细分资源:
LiftMeasurementCampaign:按广告系列细分。LiftMeasurementAgeRange:按年龄段细分。LiftMeasurementDevice:按设备细分。LiftMeasurementGender:按性别细分。LiftMeasurementVideo:按视频素材资源细分。
BrandLiftMeasurementType 枚举指定研究的评测类型,例如品牌认知度或广告回想度。
品牌提升效果查询示例
由于排期元数据和提升效果统计信息位于不同的资源中,因此查询排期详情和效果统计信息需要使用不同的 GAQL 查询。
航班详情查询
如需检索品牌提升效果排期的元数据(例如其状态、评测类型和预定日期),请查询 LiftMeasurementFlight 资源:
SELECT
lift_measurement_flight.lift_measurement_config_id,
lift_measurement_flight.lift_measurement_flight_id,
lift_measurement_flight.name,
lift_measurement_flight.status,
lift_measurement_flight.lift_type,
lift_measurement_flight.start_date,
lift_measurement_flight.end_date
FROM lift_measurement_flight
WHERE lift_measurement_flight.lift_measurement_config_id = CONFIG_ID
统计信息查询
如需检索品牌提升效果指标,请查询相应的细分资源(或 LiftMeasurementConfig 上的总体研究配置)。例如,以下查询会从 LiftMeasurementCampaign 中检索按广告系列细分的品牌提升效果指标:
SELECT
lift_measurement_campaign.lift_measurement_config_id,
lift_measurement_campaign.campaign,
metrics.absolute_brand_lift,
metrics.relative_brand_lift
FROM lift_measurement_campaign
WHERE lift_measurement_campaign.lift_measurement_config_id = CONFIG_ID
转化量提升情况报告
您可以使用 Google Ads API 中的转化量提升情况报告来衡量广告对转化量的增量影响。
转化量提升情况配置和指标
查询 LiftMeasurementConfig 资源,以检索转化量提升情况研究配置和效果数据。
该资源提供转化量提升情况指标,用于评估增量效果:
metrics.conversion_lift_baseline_conversions:研究的基准转化次数。metrics.conversion_lift_exposed_conversions:在实验组中观测到的转化次数。metrics.incremental_conversions:归因于广告的增量转化次数。metrics.cost_per_incremental_conversion:每次增量转化费用。metrics.relative_conversion_lift:转化次数相对升幅。metrics.conversion_lift_baseline_conversion_value:基准组的转化价值。metrics.conversion_lift_exposed_conversion_value:实验组的转化价值。metrics.incremental_conversion_value:归因于广告的增量转化价值。metrics.relative_conversion_value_lift:转化价值的相对升幅。
转化量提升情况报告还支持按转化操作进行细分,以及检索关联的广告系列详情、实验详情和转化目标。
转化量提升情况查询示例
以下 GAQL 查询会检索转化量提升情况配置和关键效果指标。请注意,segments.conversion_lift_start_date 和 segments.conversion_lift_end_date 是 INT64 字段,格式为 YYYYMMDD 格式的不带引号的 8 位整数(例如 20260501):
SELECT
lift_measurement_config.lift_measurement_config_id,
segments.conversion_lift_start_date,
segments.conversion_lift_end_date,
segments.conversion_lift_included_conversion_action_types,
metrics.conversion_lift_baseline_conversions,
metrics.conversion_lift_exposed_conversions,
metrics.incremental_conversions,
metrics.cost_per_incremental_conversion,
metrics.relative_conversion_lift,
metrics.incremental_conversion_value,
metrics.relative_conversion_value_lift
FROM lift_measurement_config
WHERE segments.conversion_lift_start_date = YYYYMMDD
AND segments.conversion_lift_end_date = YYYYMMDD
AND lift_measurement_config.lift_measurement_config_id = CONFIG_ID
搜索次数提升情况报告
您可以使用 Google Ads API 中的搜索次数提升情况报告,衡量广告系列带来的自然搜索查询量增幅。搜索次数提升情况可量化 看过您广告的用户与未看过广告的对照组 在搜索您品牌或产品时的行为差异
搜索次数提升情况资源和细分
查询 SearchLiftKeywordBundle 资源,以检索为搜索量提升研究配置的关键字集合的详细信息。SearchLiftKeywordBundle 在 API 中是只读的(所有字段均为 OUTPUT_ONLY),关键字包在 Google Ads 界面中配置,或由 Google 代表 / 全球产品解决方案 (GPS) 团队配置。其在 GAQL 中的可查询字段为 resource_name、search_lift_keyword_bundle_id、source (SearchLiftMatchingInfoSource) 和 status (SearchLiftKeywordBundleStatus)(在 GAQL 查询中无法选择重复的 keywords 字段)。
查询 LiftMeasurementConfig 资源,以检索搜索次数提升情况指标和总体研究配置。
您可以使用以下维度对搜索次数提升情况效果进行细分:
segments.search_lift_keyword_bundle:按关键字包资源名称细分。与segments.search_property、segments.date和受众特征细分群(segments.device、segments.age_range和segments.gender)兼容。segments.search_property:按发生搜索的搜索媒体资源(由SearchLiftSearchProperty定义,例如 Google 搜索或 YouTube)进行细分。请注意,segments.search_property仅与segments.search_lift_keyword_bundle和segments.date兼容;不支持将segments.search_property与受众特征细分(segments.device、segments.age_range或segments.gender)结合使用,并且无法通过 API 查询验证。- 受众特征和日期细分:
segments.device、segments.age_range、segments.gender和segments.date。
搜索次数提升情况指标
LiftMeasurementConfig 资源提供搜索次数提升情况指标,用于评估搜索行为的变化:
metrics.relative_search_lift:实验组与对照组之间的搜索查询量差异,以对照组搜索查询量的比例表示。metrics.relative_search_lift_p90_lower_bound和metrics.relative_search_lift_p90_upper_bound:相对搜索次数提升情况的 90% 置信区间的下限和上限。metrics.incremental_searches_p_value:增量搜索次数的 p 值,表示观测到的搜索查询次数增加是偶然发生的统计概率。metrics.search_lift_cost_micros:此搜索次数提升情况评测切片所投放广告展示的总费用(以微单位表示)。metrics.search_lift_impressions:此搜索次数提升情况评测切片投放的广告展示总次数。
当升幅在统计上为正值时,系统会报告以下标准化增量指标以及相应的 90% 置信区间下限和上限(*_p90_lower_bound 和 *_p90_upper_bound):
metrics.normalized_incremental_searches(包含metrics.normalized_incremental_searches_p90_lower_bound和metrics.normalized_incremental_searches_p90_upper_bound):广告曝光带来的增量搜索查询次数的估算值,在曝光组和对照组之间进行了标准化处理。metrics.normalized_incremental_searches_per_cost(包含metrics.normalized_incremental_searches_per_cost_p90_lower_bound和metrics.normalized_incremental_searches_per_cost_p90_upper_bound):单位广告支出带来的估算搜索查询增量。metrics.normalized_incremental_searches_per_impression(包含metrics.normalized_incremental_searches_per_impression_p90_lower_bound和metrics.normalized_incremental_searches_per_impression_p90_upper_bound):每次广告展示带来的估算增量搜索查询次数。
搜索次数提升情况评测的搜索查询示例
以下 GAQL 查询演示了如何检索搜索次数提升情况关键字包和效果指标。
关键字包查询
如需检索为搜索次数提升情况评测配置的关键字组,请执行以下操作:
SELECT
search_lift_keyword_bundle.resource_name,
search_lift_keyword_bundle.search_lift_keyword_bundle_id,
search_lift_keyword_bundle.source,
search_lift_keyword_bundle.status
FROM search_lift_keyword_bundle
指标查询
在关键字包查询中检索到的 search_lift_keyword_bundle.resource_name 值对应于以下查询中 segments.search_lift_keyword_bundle 返回的值。如需发现研究的 CONFIG_ID,请查询 lift_measurement_config(例如 SELECT lift_measurement_config.lift_measurement_config_id,
lift_measurement_config.name FROM lift_measurement_config)。
如需检索按关键字组和搜索媒体资源细分的搜索次数提升情况指标,请执行以下操作:
SELECT
lift_measurement_config.lift_measurement_config_id,
segments.search_lift_keyword_bundle,
segments.search_property,
metrics.relative_search_lift,
metrics.relative_search_lift_p90_lower_bound,
metrics.relative_search_lift_p90_upper_bound,
metrics.incremental_searches_p_value,
metrics.search_lift_cost_micros,
metrics.search_lift_impressions,
metrics.normalized_incremental_searches,
metrics.normalized_incremental_searches_p90_lower_bound,
metrics.normalized_incremental_searches_p90_upper_bound
FROM lift_measurement_config
WHERE lift_measurement_config.lift_measurement_config_id = CONFIG_ID
最佳做法
以下最佳实践适用于标准 A/B 实验(例如广告系列实验和广告系列内实验)。提升效果评测研究(品牌提升效果、转化量提升情况和搜索次数提升情况)使用研究专属配置,并报告 90% 置信区间(*_p90_lower_bound 和 *_p90_upper_bound),而不是 95% 置信度阈值。
- 选择适当的置信水平:设置较低的 p 值阈值可以更快地提供方向性指导,尤其是在预算或转化量较低的情况下。95% 的置信度(p 值 <= 0.05)被视为学术标准,可能更适合在较长的时间范围内获得更准确的结果。
- 让实验运行足够长的时间:让实验至少运行 4 周,以便将每周效果周期、转化延迟时间和学习期考虑在内。
- 留出磨合时间:对于采用自动出价策略或测试新功能的广告系列,请忽略前 1-2 周的数据,以便出价模型和流量水平有时间根据拆分情况重新校准。
- 采用 50/50 的分配比例:采用 50/50 的流量分配比例通常可以最快地获得具有统计显著性的结果。
- 提前安排:将实验开始日期设置为 3-7 天后,以便为广告审核和批准流程留出时间。