Chú ý: Bạn đang xem tài liệu về giao diện REST của API. Hầu hết các thư viện ứng dụng chính thức của chúng tôi đều sử dụng gRPC. Hãy xem
Giới thiệu về REST để biết chi tiết.
CustomerNegativeCriterion
Một tiêu chí phủ định cho các tiêu chí loại trừ ở cấp khách hàng.
Biểu diễn dưới dạng JSON |
{
"resourceName": string,
"type": enum (CriterionType ),
"id": string,
// Union field criterion can be only one of the following:
"contentLabel": {
object (ContentLabelInfo )
},
"mobileApplication": {
object (MobileApplicationInfo )
},
"mobileAppCategory": {
object (MobileAppCategoryInfo )
},
"placement": {
object (PlacementInfo )
},
"youtubeVideo": {
object (YouTubeVideoInfo )
},
"youtubeChannel": {
object (YouTubeChannelInfo )
},
"negativeKeywordList": {
object (NegativeKeywordListInfo )
},
"ipBlock": {
object (IpBlockInfo )
}
// End of list of possible types for union field criterion .
} |
Trường |
resourceName |
string
Bất biến. Tên tài nguyên trong tiêu chí phủ định của khách hàng. Tên tài nguyên tiêu chí phủ định của khách hàng có dạng: customers/{customerId}/customerNegativeCriteria/{criterionId}
|
type |
enum (CriterionType )
Chỉ có đầu ra. Loại tiêu chí.
|
id |
string (int64 format)
Chỉ có đầu ra. Mã của tiêu chí.
|
Trường kết hợp criterion . Tiêu chí phủ định cho khách hàng. Bạn phải đặt chính xác một. criterion chỉ có thể là một trong những trạng thái sau đây: |
contentLabel |
object (ContentLabelInfo )
Bất biến. Nhãn nội dung.
|
mobileApplication |
object (MobileApplicationInfo )
Bất biến. Ứng dụng dành cho thiết bị di động.
|
mobileAppCategory |
object (MobileAppCategoryInfo )
Bất biến. Danh mục ứng dụng di động.
|
placement |
object (PlacementInfo )
Bất biến. Vị trí.
|
youtubeVideo |
object (YouTubeVideoInfo )
Bất biến. Video trên YouTube.
|
youtubeChannel |
object (YouTubeChannelInfo )
Bất biến. Kênh YouTube.
|
negativeKeywordList |
object (NegativeKeywordListInfo )
Bất biến. Danh sách từ khoá phủ định.
|
ipBlock |
object (IpBlockInfo )
Bất biến. IPBLock
|
NegativeKeywordListInfo
Tiêu chí Danh sách từ khoá phủ định. Đại diện cho một nhóm từ khoá phủ định dùng chung có thể bị loại trừ ở cấp tài khoản. Chỉ có thể đính kèm một tiêu chí danh sách từ khoá phủ định cho mỗi tài khoản.
Biểu diễn dưới dạng JSON |
{
"sharedSet": string
} |
Trường |
sharedSet |
string
Tên tài nguyên nhóm chia sẻ negativeKeywordListInfo.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-03-06 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-03-06 UTC."],[[["CustomerNegativeCriterion is used to define negative criteria for exclusions at the customer level."],["It supports various criterion types such as ContentLabel, MobileApplication, MobileAppCategory, Placement, YouTubeVideo, YouTubeChannel, NegativeKeywordList, and IpBlock."],["NegativeKeywordListInfo represents a shared set of negative keywords that can be applied at the account level."],["Only one negative keyword list criterion can be associated with each account."]]],["This document details customer-level negative criteria for exclusions, defined through a JSON structure. Key actions involve specifying `criterion` types, with only one allowed per entry. Available types include `contentLabel`, `mobileApplication`, `mobileAppCategory`, `placement`, `youtubeVideo`, `youtubeChannel`, `negativeKeywordList`, and `ipBlock`. Each criterion is identified by a `resourceName`, `type`, and `id`. `NegativeKeywordListInfo` allows the exclusion of a shared set of negative keywords, defined by the `sharedSet` field.\n"]]