--- v20/common/audience_insights_attribute.proto 2025-08-05 14:39:39.000000000 +0000 +++ v21/common/audience_insights_attribute.proto 2025-08-05 14:39:46.000000000 +0000 @@ -86,6 +87,9 @@ // Special metadata for a Knowledge Graph Entity. KnowledgeGraphAttributeMetadata knowledge_graph_attribute_metadata = 12; + + // Special metadata for a User List. + UserListAttributeMetadata user_list_attribute_metadata = 15; } } @@ -131,6 +136,9 @@ // A device type. (Mobile, Desktop, Tablet) DeviceInfo device = 12; + + // A User List. + UserListInfo user_list = 14; } } @@ -178,6 +186,15 @@ // The URL of the video, prefixed by "https://www.youtube.com/". string video_url = 2; + + // The total number of views. + int64 views_count = 3; + + // The total number of likes. + int64 likes_count = 4; + + // The total number of comments. + int64 comments_count = 5; } // Metadata associated with a Lineup attribute. @@ -227,7 +244,24 @@ // Metadata associated with a Knowledge Graph Entity attribute. message KnowledgeGraphAttributeMetadata { // The capabilities of the entity used in [ContentCreatorInsightsService][]. - repeated google.ads.googleads.v20.enums + repeated google.ads.googleads.v21.enums .InsightsKnowledgeGraphEntityCapabilitiesEnum .InsightsKnowledgeGraphEntityCapabilities entity_capabilities = 1; + + // A list of CATEGORY attributes related to this entity. + repeated AudienceInsightsAttributeMetadata related_categories = 2; +} + +// Metadata associated with a User List attribute. +message UserListAttributeMetadata { + // The user list type. + google.ads.googleads.v21.enums.UserListTypeEnum.UserListType user_list_type = + 1; +} + +// A group of audience attributes with metadata, returned in response to a +// search. +message AudienceInsightsAttributeMetadataGroup { + // Attributes with metadata returned in response to a search. + repeated AudienceInsightsAttributeMetadata attributes = 1; }
/common/audience_insights_attribute.proto
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[],[],null,["# /common/audience_insights_attribute.proto\n\n```diff\n--- v20/common/audience_insights_attribute.proto 2025-08-05 14:39:39.000000000 +0000\n+++ v21/common/audience_insights_attribute.proto 2025-08-05 14:39:46.000000000 +0000\n@@ -86,6 +87,9 @@\n\n // Special metadata for a Knowledge Graph Entity.\n KnowledgeGraphAttributeMetadata knowledge_graph_attribute_metadata = 12;\n+\n+ // Special metadata for a User List.\n+ UserListAttributeMetadata user_list_attribute_metadata = 15;\n }\n }\n\n@@ -131,6 +136,9 @@\n\n // A device type. (Mobile, Desktop, Tablet)\n DeviceInfo device = 12;\n+\n+ // A User List.\n+ UserListInfo user_list = 14;\n }\n }\n\n@@ -178,6 +186,15 @@\n\n // The URL of the video, prefixed by \"https://www.youtube.com/\".\n string video_url = 2;\n+\n+ // The total number of views.\n+ int64 views_count = 3;\n+\n+ // The total number of likes.\n+ int64 likes_count = 4;\n+\n+ // The total number of comments.\n+ int64 comments_count = 5;\n }\n\n // Metadata associated with a Lineup attribute.\n@@ -227,7 +244,24 @@\n // Metadata associated with a Knowledge Graph Entity attribute.\n message KnowledgeGraphAttributeMetadata {\n // The capabilities of the entity used in [ContentCreatorInsightsService][].\n- repeated google.ads.googleads.v20.enums\n+ repeated google.ads.googleads.v21.enums\n .InsightsKnowledgeGraphEntityCapabilitiesEnum\n .InsightsKnowledgeGraphEntityCapabilities entity_capabilities = 1;\n+\n+ // A list of CATEGORY attributes related to this entity.\n+ repeated AudienceInsightsAttributeMetadata related_categories = 2;\n+}\n+\n+// Metadata associated with a User List attribute.\n+message UserListAttributeMetadata {\n+ // The user list type.\n+ google.ads.googleads.v21.enums.UserListTypeEnum.UserListType user_list_type =\n+ 1;\n+}\n+\n+// A group of audience attributes with metadata, returned in response to a\n+// search.\n+message AudienceInsightsAttributeMetadataGroup {\n+ // Attributes with metadata returned in response to a search.\n+ repeated AudienceInsightsAttributeMetadata attributes = 1;\n }\n```"]]