Search Ads 360 Reporting API 中的格式
要求格式取決於您提出的要求類型。
搜尋
您可以根據需求定義搜尋查詢,自訂搜尋結果。您可以使用 Search Ads 360 查詢語言,在所有資源中搜尋符合特定條件的實體清單。無論實體類型為何,所有要求都會針對 SearchAds360Service
提出。如要進一步瞭解,請參閱「建立搜尋報表」和「Search Ads 360 查詢語言」。
回應中填入的欄位取決於您使用的服務:
SearchAds360Service
- 回應會針對符合搜尋參數的每個實體,包含一個
SearchAds360Row
物件。每個資料列都包含一個物件 (例如廣告活動),且僅包含您在查詢中要求的欄位。 - 特定服務
- 一次只能根據資源名稱要求一個實體。回應會包含該實體的「所有」欄位。
在新版 API 中,您必須將客戶 ID 指定為 10 位數的數字 (XXXXXXXXXX
),且不含破折號。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-05 (世界標準時間)。
[null,null,["上次更新時間:2024-12-05 (世界標準時間)。"],[[["Search Ads 360 API request formats vary depending on whether you're searching or requesting specific entities."],["Searches utilize the Search Ads 360 Query Language and the `SearchAds360Service` for customized results."],["Responses from `SearchAds360Service` include a `SearchAds360Row` for each matching entity, containing only the requested fields."],["Requests for specific entities return all fields for that entity, and customer IDs must be provided as 10-digit numbers without dashes."]]],["Search requests utilize the Search Ads 360 Query Language against the `SearchAds360Service` to retrieve entities matching specific criteria. Responses from `SearchAds360Service` return `SearchAds360Row` objects, including only requested fields. Specific service requests retrieve one entity by resource name, returning all its fields. The Customer ID in the API must be a 10-digit number without dashes. The user can use the \"Create search reports\" or \"Search Ads 360 Query Language\" to learn more.\n"]]