有兴趣分享您对 Google Ads API 的反馈吗?
注册即可获邀参与用户调研!
转化报告
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
您可以通过检索有关特定转化操作的数据,或检索其他资源(例如广告系列、广告组和广告)的转化指标,在 Google Ads API 中生成转化报告。本指南介绍了如何检索这些信息,以及 Google Ads 界面指标如何映射到 Google Ads API 指标。
检索有关特定转化操作的数据
您可以使用 conversion_action
资源检索现有转化操作的详细信息。
例如,以下查询会检索所有转化操作的名称、类型和状态:
SELECT
conversion_action.resource_name,
conversion_action.name,
conversion_action.type,
conversion_action.status
FROM conversion_action
查看conversion_action
资源中可用的所有字段,或使用 Google Ads 查询构建器开始构建自己的查询。
检索其他资源的转化指标
您可以按 conversion_action
进行细分,并在查询其他资源(例如 keyword_view
和 ad_group
)时检索 conversions
和 all_conversions
等转化指标。
例如,以下查询会检索广告系列的 conversions
和 conversions_value
指标,并按 conversion_action
细分:
SELECT
campaign.name,
segments.conversion_action,
metrics.conversions,
metrics.conversions_value
FROM campaign
请注意,某些与转化相关的字段(例如 segments.conversion_or_adjustment_lag_bucket
和其他指标字段)可能不会在所有报告中显示。如需查看兼容字段的完整列表,请参阅相应的资源页面。
常见顾虑
- 我的数据不是最新的。
- 查看转化数据时,请注意效果数据并非实时提供。如需了解转化数据新鲜度,请参阅 Google Ads 数据新鲜度指南。
- 我的报告是空白的。
- 报告中指标均为零的行(例如新转化操作的行)将不会返回。
- 我无法通过 Google Ads API 访问自定义列。
- Google Ads API 不支持自定义列,因此无法在报告中检索。
映射界面指标
使用 Google Ads 界面查看广告系列时,您可能会看到大量可能的列,这些列对应于 Google Ads API 中的指标。下表汇总了界面中的列与 API 中的等效指标之间的映射。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-24。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-11-24。"],[[["Learn how to retrieve data about specific conversion actions using the `conversion_action` resource to gain insights into their performance."],["Discover how to retrieve conversion metrics, such as `conversions` and `all_conversions`, for various resources like campaigns and ad groups, enabling you to segment and analyze your data effectively."],["Understand the mapping of Google Ads UI metrics to Google Ads API metrics, allowing you to seamlessly translate data between the two platforms."],["Address common concerns, including data freshness, empty reports, and the unavailability of custom columns in the Google Ads API, ensuring a smooth experience."]]],[]]