您可以在 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 查詢建構工具開始自己的查詢。
擷取其他資源的轉換指標
您可以依 conversion_action
區隔,並在查詢 keyword_view
和 ad_group_view
等其他資源時,擷取 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 中同等指標的對應關係。