您可以使用 asset_group_asset
資源取得素材資源層級成效。
素材資源成效 (asset_group_asset
)
在 asset_group_asset
資源中,performance_label
欄位會比較同類型的素材資源並進行排名,詳情請參閱「關於最高成效廣告活動中的素材資源報表」。
SELECT
asset_group_asset.asset,
asset_group_asset.performance_label,
asset_group_asset.status
FROM asset_group_asset
WHERE asset_group.id = ASSET_GROUP_ID
AND asset_group_asset.status != 'REMOVED'
成效最佳的素材資源組合
asset_group_top_combination_view
資源可用於查詢素材資源群組中成效最佳的素材資源組合。這對應於 Google Ads 使用者介面中的組合報表。舉例來說,下列查詢會產生指定 asset_group
中排名最高的素材資源組合清單。回應中的每個資料列都包含 asset_group_top_combination_view.asset_group_top_combinations
訊息清單,類型為 AssetGroupAssetCombinationData
。該清單中的每個項目都包含相應組合中的資產清單,以 AssetUsage
訊息表示。
SELECT asset_group_top_combination_view.asset_group_top_combinations
FROM asset_group_top_combination_view
WHERE asset_group.id = ASSET_GROUP_ID
您可以調整這項查詢,協助選取素材資源和最佳化廣告活動。
下列查詢會擷取單一廣告活動的頂端素材資源組合,但僅限於具有 asset_group.ad_strength
GOOD
或 EXCELLENT
的素材資源群組。有助於找出成效最佳的素材資源組合。
SELECT
SELECT
asset_group_top_combination_view.asset_group_top_combinations,
asset_group.ad_strength,
asset_group.id
FROM asset_group_top_combination_view
WHERE asset_group.ad_strength IN ('GOOD', 'EXCELLENT')
AND campaign.id = CAMPAIGN_ID