想分享對 Google Ads API 的意見嗎?
立即註冊,等待受邀參與使用者研究調查!
轉換報表
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
您可以擷取特定轉換動作的資料,或擷取其他資源 (例如廣告活動、廣告群組和廣告) 的轉換指標,藉此在 Google Ads API 中記錄轉換。本指南將說明如何擷取這類資訊,以及 Google Ads UI 指標如何對應至 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 查詢建立工具來開始查詢。
擷取其他資源的轉換指標
您可以在查詢其他資源 (例如 keyword_view
和 ad_group
) 時,依 conversion_action
進行區隔,並擷取 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 中的指標。下表概略說明 UI 中的欄與 API 中相應指標的對應關係。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間: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"]],["上次更新時間: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."]]],[]]