--- v20/services/audience_insights_service.proto 2025-08-05 14:39:41.000000000 +0000 +++ v21/services/audience_insights_service.proto 2025-08-05 14:39:48.000000000 +0000 @@ -322,15 +322,18 @@ // Suggested gender targeting. If present, this attribute has dimension // GENDER. - google.ads.googleads.v20.common.GenderInfo gender = 3; + google.ads.googleads.v21.common.GenderInfo gender = 3; // A Parental Status value (parent, or not a parent). - google.ads.googleads.v20.common.ParentalStatusInfo parental_status = 8; + google.ads.googleads.v21.common.ParentalStatusInfo parental_status = 8; - // Suggested audience segments to target. These attributes all have dimension - // AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST - repeated google.ads.googleads.v20.common.AudienceInsightsAttributeMetadata - user_interests = 10; + // List of user interest attributes with metadata defining the audience. The + // combination has a logical AND-of-ORs structure: The attributes within each + // AudienceInsightsAttributeMetadataGroup are ORed, and the groups themselves + // are ANDed. + repeated + google.ads.googleads.v21.common.AudienceInsightsAttributeMetadataGroup + user_interests = 11; // The fraction (from 0 to 1 inclusive) of the requested audience that can be // reached using the suggested targeting. @@ -490,13 +493,13 @@ } // Request message for -// [AudienceInsightsService.GenerateTargetingSuggestionMetrics][google.ads.googleads.v20.services.AudienceInsightsService.GenerateTargetingSuggestionMetrics]. +// [AudienceInsightsService.GenerateTargetingSuggestionMetrics][google.ads.googleads.v21.services.AudienceInsightsService.GenerateTargetingSuggestionMetrics]. message GenerateTargetingSuggestionMetricsRequest { // Required. The ID of the customer. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; // Required. Audiences to request metrics for. - repeated BasicInsightsAudience audiences = 2 + repeated InsightsAudience audiences = 5 [(google.api.field_behavior) = REQUIRED]; // Optional. The name of the customer being planned for. This is a
/services/audience_insights_service.proto
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/21 (UTC).
[null,null,["Dernière mise à jour le 2025/08/21 (UTC)."],[],[],null,["# /services/audience_insights_service.proto\n\n```diff\n--- v20/services/audience_insights_service.proto 2025-08-05 14:39:41.000000000 +0000\n+++ v21/services/audience_insights_service.proto 2025-08-05 14:39:48.000000000 +0000\n@@ -322,15 +322,18 @@\n\n // Suggested gender targeting. If present, this attribute has dimension\n // GENDER.\n- google.ads.googleads.v20.common.GenderInfo gender = 3;\n+ google.ads.googleads.v21.common.GenderInfo gender = 3;\n\n // A Parental Status value (parent, or not a parent).\n- google.ads.googleads.v20.common.ParentalStatusInfo parental_status = 8;\n+ google.ads.googleads.v21.common.ParentalStatusInfo parental_status = 8;\n\n- // Suggested audience segments to target. These attributes all have dimension\n- // AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST\n- repeated google.ads.googleads.v20.common.AudienceInsightsAttributeMetadata\n- user_interests = 10;\n+ // List of user interest attributes with metadata defining the audience. The\n+ // combination has a logical AND-of-ORs structure: The attributes within each\n+ // AudienceInsightsAttributeMetadataGroup are ORed, and the groups themselves\n+ // are ANDed.\n+ repeated\n+ google.ads.googleads.v21.common.AudienceInsightsAttributeMetadataGroup\n+ user_interests = 11;\n\n // The fraction (from 0 to 1 inclusive) of the requested audience that can be\n // reached using the suggested targeting.\n@@ -490,13 +493,13 @@\n }\n\n // Request message for\n-// [AudienceInsightsService.GenerateTargetingSuggestionMetrics][google.ads.googleads.v20.services.AudienceInsightsService.GenerateTargetingSuggestionMetrics].\n+// [AudienceInsightsService.GenerateTargetingSuggestionMetrics][google.ads.googleads.v21.services.AudienceInsightsService.GenerateTargetingSuggestionMetrics].\n message GenerateTargetingSuggestionMetricsRequest {\n // Required. The ID of the customer.\n string customer_id = 1 [(google.api.field_behavior) = REQUIRED];\n\n // Required. Audiences to request metrics for.\n- repeated BasicInsightsAudience audiences = 2\n+ repeated InsightsAudience audiences = 5\n [(google.api.field_behavior) = REQUIRED];\n\n // Optional. The name of the customer being planned for. This is a\n```"]]