自
2025 年 9 月 8 日起,每個新委刊項都必須聲明是否會放送歐盟政治廣告。如果透過 Display & Video 360 API 和 SDF 上傳的檔案未提供聲明,系統就會失敗。如要進一步瞭解如何更新整合服務以進行這項聲明,請參閱
淘汰項目頁面。
REST Resource: advertisers.negativeKeywordLists
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:NegativeKeywordList
JSON 表示法 |
{
"name": string,
"negativeKeywordListId": string,
"displayName": string,
"advertiserId": string,
"targetedLineItemCount": string
} |
欄位 |
name |
string
僅供輸出。排除關鍵字清單的資源名稱。
|
negativeKeywordListId |
string (int64 format)
僅供輸出。排除關鍵字清單的專屬 ID。由系統指派。
|
displayName |
string
必要欄位。排除關鍵字清單的顯示名稱。必須採用 UTF-8 編碼,大小上限為 255 個位元組。
|
advertiserId |
string (int64 format)
僅供輸出。排除關鍵字清單所屬廣告主的專屬 ID。
|
targetedLineItemCount |
string (int64 format)
僅供輸出。直接指定這個排除關鍵字清單的委刊項數量。
|
方法 |
|
建立新的排除關鍵字清單。 |
|
根據廣告主 ID 和排除關鍵字清單 ID,刪除排除關鍵字清單。 |
|
根據廣告主 ID 和排除關鍵字清單 ID,取得排除關鍵字清單。 |
|
根據指定的廣告主 ID 列出排除關鍵字清單。 |
|
更新排除關鍵字清單。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["The Display & Video 360 API v4 beta includes a `NegativeKeywordList` resource for targeting. This resource represents a list of negative keywords and contains fields like `name`, `negativeKeywordListId`, `displayName`, `advertiserId`, and `targetedLineItemCount`. Available actions include creating, deleting, getting, listing, and updating (`patch`) negative keyword lists. These methods require an advertiser ID and, in some cases, a negative keyword list ID to manage the lists.\n"],null,["# REST Resource: advertisers.negativeKeywordLists\n\n- [Resource: NegativeKeywordList](#NegativeKeywordList)\n - [JSON representation](#NegativeKeywordList.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: NegativeKeywordList\n-----------------------------\n\nA list of negative keywords used for targeting.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"negativeKeywordListId\": string, \"displayName\": string, \"advertiserId\": string, \"targetedLineItemCount\": string } ``` |\n\n| Fields ||\n|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the negative keyword list. |\n| `negativeKeywordListId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the negative keyword list. Assigned by the system. |\n| `displayName` | `string` Required. The display name of the negative keyword list. Must be UTF-8 encoded with a maximum size of 255 bytes. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the advertiser the negative keyword list belongs to. |\n| `targetedLineItemCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. Number of line items that are directly targeting this negative keyword list. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|\n| ### [create](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists/create) | Creates a new negative keyword list. |\n| ### [delete](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists/delete) | Deletes a negative keyword list given an advertiser ID and a negative keyword list ID. |\n| ### [get](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists/get) | Gets a negative keyword list given an advertiser ID and a negative keyword list ID. |\n| ### [list](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists/list) | Lists negative keyword lists based on a given advertiser id. |\n| ### [patch](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists/patch) | Updates a negative keyword list. |"]]