Interface TargetingSuggestionMetricsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TargetingSuggestionMetrics,TargetingSuggestionMetrics.Builder
public interface TargetingSuggestionMetricsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAgeRanges(int index) Suggested age targeting; may be empty indicating no age targeting.intSuggested age targeting; may be empty indicating no age targeting.Suggested age targeting; may be empty indicating no age targeting.getAgeRangesOrBuilder(int index) Suggested age targeting; may be empty indicating no age targeting.List<? extends AgeRangeInfoOrBuilder>Suggested age targeting; may be empty indicating no age targeting.doubleThe fraction (from 0 to 1 inclusive) of the requested audience that can be reached using the suggested targeting.Suggested gender targeting.Suggested gender targeting.doublegetIndex()The ratio of coverage to the coverage of the baseline audience or zero if this ratio is undefined or is not meaningful.getLocations(int index) Suggested location targeting.intSuggested location targeting.Suggested location targeting.getLocationsOrBuilder(int index) Suggested location targeting.List<? extends AudienceInsightsAttributeMetadataOrBuilder>Suggested location targeting.A Parental Status value (parent, or not a parent).A Parental Status value (parent, or not a parent).longThe approximate estimated number of people that can be reached on YouTube using this targeting.getUserInterests(int index) List of user interest attributes with metadata defining the audience.intList of user interest attributes with metadata defining the audience.List of user interest attributes with metadata defining the audience.getUserInterestsOrBuilder(int index) List of user interest attributes with metadata defining the audience.List of user interest attributes with metadata defining the audience.booleanSuggested gender targeting.booleanA Parental Status value (parent, or not a parent).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLocationsList
List<AudienceInsightsAttributeMetadata> getLocationsList()Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata locations = 9; -
getLocations
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata locations = 9; -
getLocationsCount
int getLocationsCount()Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata locations = 9; -
getLocationsOrBuilderList
List<? extends AudienceInsightsAttributeMetadataOrBuilder> getLocationsOrBuilderList()Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata locations = 9; -
getLocationsOrBuilder
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata locations = 9; -
getAgeRangesList
List<AgeRangeInfo> getAgeRangesList()Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v21.common.AgeRangeInfo age_ranges = 2; -
getAgeRanges
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v21.common.AgeRangeInfo age_ranges = 2; -
getAgeRangesCount
int getAgeRangesCount()Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v21.common.AgeRangeInfo age_ranges = 2; -
getAgeRangesOrBuilderList
List<? extends AgeRangeInfoOrBuilder> getAgeRangesOrBuilderList()Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v21.common.AgeRangeInfo age_ranges = 2; -
getAgeRangesOrBuilder
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v21.common.AgeRangeInfo age_ranges = 2; -
hasGender
boolean hasGender()Suggested gender targeting. If present, this attribute has dimension GENDER.
.google.ads.googleads.v21.common.GenderInfo gender = 3;- Returns:
- Whether the gender field is set.
-
getGender
GenderInfo getGender()Suggested gender targeting. If present, this attribute has dimension GENDER.
.google.ads.googleads.v21.common.GenderInfo gender = 3;- Returns:
- The gender.
-
getGenderOrBuilder
GenderInfoOrBuilder getGenderOrBuilder()Suggested gender targeting. If present, this attribute has dimension GENDER.
.google.ads.googleads.v21.common.GenderInfo gender = 3; -
hasParentalStatus
boolean hasParentalStatus()A Parental Status value (parent, or not a parent).
.google.ads.googleads.v21.common.ParentalStatusInfo parental_status = 8;- Returns:
- Whether the parentalStatus field is set.
-
getParentalStatus
ParentalStatusInfo getParentalStatus()A Parental Status value (parent, or not a parent).
.google.ads.googleads.v21.common.ParentalStatusInfo parental_status = 8;- Returns:
- The parentalStatus.
-
getParentalStatusOrBuilder
ParentalStatusInfoOrBuilder getParentalStatusOrBuilder()A Parental Status value (parent, or not a parent).
.google.ads.googleads.v21.common.ParentalStatusInfo parental_status = 8; -
getUserInterestsList
List<AudienceInsightsAttributeMetadataGroup> getUserInterestsList()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; -
getUserInterests
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; -
getUserInterestsCount
int getUserInterestsCount()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; -
getUserInterestsOrBuilderList
List<? extends AudienceInsightsAttributeMetadataGroupOrBuilder> getUserInterestsOrBuilderList()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; -
getUserInterestsOrBuilder
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; -
getCoverage
double getCoverage()The fraction (from 0 to 1 inclusive) of the requested audience that can be reached using the suggested targeting.
double coverage = 5;- Returns:
- The coverage.
-
getIndex
double getIndex()The ratio of coverage to the coverage of the baseline audience or zero if this ratio is undefined or is not meaningful.
double index = 6;- Returns:
- The index.
-
getPotentialYoutubeReach
long getPotentialYoutubeReach()The approximate estimated number of people that can be reached on YouTube using this targeting.
int64 potential_youtube_reach = 7;- Returns:
- The potentialYoutubeReach.
-