Class TargetingSuggestionMetrics.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
com.google.ads.googleads.v18.services.TargetingSuggestionMetrics.Builder
- All Implemented Interfaces:
TargetingSuggestionMetricsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TargetingSuggestionMetrics
public static final class TargetingSuggestionMetrics.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
implements TargetingSuggestionMetricsOrBuilder
A suggested targetable audience relevant to the requested audience.Protobuf type
google.ads.googleads.v18.services.TargetingSuggestionMetrics-
Method Summary
Modifier and TypeMethodDescriptionaddAgeRanges(int index, AgeRangeInfo value) Suggested age targeting; may be empty indicating no age targeting.addAgeRanges(int index, AgeRangeInfo.Builder builderForValue) Suggested age targeting; may be empty indicating no age targeting.addAgeRanges(AgeRangeInfo value) Suggested age targeting; may be empty indicating no age targeting.addAgeRanges(AgeRangeInfo.Builder builderForValue) Suggested age targeting; may be empty indicating no age targeting.Suggested age targeting; may be empty indicating no age targeting.addAgeRangesBuilder(int index) Suggested age targeting; may be empty indicating no age targeting.addAllAgeRanges(Iterable<? extends AgeRangeInfo> values) Suggested age targeting; may be empty indicating no age targeting.addAllLocations(Iterable<? extends AudienceInsightsAttributeMetadata> values) Suggested location targeting.addAllUserInterests(Iterable<? extends AudienceInsightsAttributeMetadata> values) Suggested audience segments to target.addLocations(int index, AudienceInsightsAttributeMetadata value) Suggested location targeting.addLocations(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) Suggested location targeting.Suggested location targeting.addLocations(AudienceInsightsAttributeMetadata.Builder builderForValue) Suggested location targeting.Suggested location targeting.addLocationsBuilder(int index) Suggested location targeting.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addUserInterests(int index, AudienceInsightsAttributeMetadata value) Suggested audience segments to target.addUserInterests(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) Suggested audience segments to target.Suggested audience segments to target.addUserInterests(AudienceInsightsAttributeMetadata.Builder builderForValue) Suggested audience segments to target.Suggested audience segments to target.addUserInterestsBuilder(int index) Suggested audience segments to target.build()clear()Suggested age targeting; may be empty indicating no age targeting.The fraction (from 0 to 1 inclusive) of the requested audience that can be reached using the suggested targeting.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Suggested gender targeting.The ratio of coverage to the coverage of the baseline audience or zero if this ratio is undefined or is not meaningful.Suggested location targeting.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A Parental Status value (parent, or not a parent).The approximate estimated number of people that can be reached on YouTube using this targeting.Suggested audience segments to target.clone()getAgeRanges(int index) Suggested age targeting; may be empty indicating no age targeting.getAgeRangesBuilder(int index) Suggested age targeting; may be empty indicating no age targeting.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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSuggested gender 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.getLocationsBuilder(int index) Suggested location targeting.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).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) Suggested audience segments to target.getUserInterestsBuilder(int index) Suggested audience segments to target.Suggested audience segments to target.intSuggested audience segments to target.Suggested audience segments to target.getUserInterestsOrBuilder(int index) Suggested audience segments to target.List<? extends AudienceInsightsAttributeMetadataOrBuilder>Suggested audience segments to target.booleanSuggested gender targeting.booleanA Parental Status value (parent, or not a parent).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGender(GenderInfo value) Suggested gender targeting.A Parental Status value (parent, or not a parent).mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeAgeRanges(int index) Suggested age targeting; may be empty indicating no age targeting.removeLocations(int index) Suggested location targeting.removeUserInterests(int index) Suggested audience segments to target.setAgeRanges(int index, AgeRangeInfo value) Suggested age targeting; may be empty indicating no age targeting.setAgeRanges(int index, AgeRangeInfo.Builder builderForValue) Suggested age targeting; may be empty indicating no age targeting.setCoverage(double value) The fraction (from 0 to 1 inclusive) of the requested audience that can be reached using the suggested targeting.setGender(GenderInfo value) Suggested gender targeting.setGender(GenderInfo.Builder builderForValue) Suggested gender targeting.setIndex(double value) The ratio of coverage to the coverage of the baseline audience or zero if this ratio is undefined or is not meaningful.setLocations(int index, AudienceInsightsAttributeMetadata value) Suggested location targeting.setLocations(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) Suggested location targeting.A Parental Status value (parent, or not a parent).setParentalStatus(ParentalStatusInfo.Builder builderForValue) A Parental Status value (parent, or not a parent).setPotentialYoutubeReach(long value) The approximate estimated number of people that can be reached on YouTube using this targeting.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUserInterests(int index, AudienceInsightsAttributeMetadata value) Suggested audience segments to target.setUserInterests(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) Suggested audience segments to target.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
-
setField
public TargetingSuggestionMetrics.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
-
clearField
public TargetingSuggestionMetrics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
-
clearOneof
public TargetingSuggestionMetrics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
-
setRepeatedField
public TargetingSuggestionMetrics.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
-
addRepeatedField
public TargetingSuggestionMetrics.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TargetingSuggestionMetrics.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
-
mergeFrom
public TargetingSuggestionMetrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TargetingSuggestionMetrics.Builder>- Throws:
IOException
-
getLocationsList
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;- Specified by:
getLocationsListin interfaceTargetingSuggestionMetricsOrBuilder
-
getLocationsCount
public int getLocationsCount()Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;- Specified by:
getLocationsCountin interfaceTargetingSuggestionMetricsOrBuilder
-
getLocations
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;- Specified by:
getLocationsin interfaceTargetingSuggestionMetricsOrBuilder
-
setLocations
public TargetingSuggestionMetrics.Builder setLocations(int index, AudienceInsightsAttributeMetadata value) Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
setLocations
public TargetingSuggestionMetrics.Builder setLocations(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
addLocations
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
addLocations
public TargetingSuggestionMetrics.Builder addLocations(int index, AudienceInsightsAttributeMetadata value) Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
addLocations
public TargetingSuggestionMetrics.Builder addLocations(AudienceInsightsAttributeMetadata.Builder builderForValue) Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
addLocations
public TargetingSuggestionMetrics.Builder addLocations(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
addAllLocations
public TargetingSuggestionMetrics.Builder addAllLocations(Iterable<? extends AudienceInsightsAttributeMetadata> values) Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
clearLocations
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
removeLocations
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
getLocationsBuilder
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
getLocationsOrBuilder
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;- Specified by:
getLocationsOrBuilderin interfaceTargetingSuggestionMetricsOrBuilder
-
getLocationsOrBuilderList
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1;- Specified by:
getLocationsOrBuilderListin interfaceTargetingSuggestionMetricsOrBuilder
-
addLocationsBuilder
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
addLocationsBuilder
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
getLocationsBuilderList
Suggested location targeting. These attributes all have dimension GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata locations = 1; -
getAgeRangesList
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;- Specified by:
getAgeRangesListin interfaceTargetingSuggestionMetricsOrBuilder
-
getAgeRangesCount
public int getAgeRangesCount()Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;- Specified by:
getAgeRangesCountin interfaceTargetingSuggestionMetricsOrBuilder
-
getAgeRanges
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;- Specified by:
getAgeRangesin interfaceTargetingSuggestionMetricsOrBuilder
-
setAgeRanges
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
setAgeRanges
public TargetingSuggestionMetrics.Builder setAgeRanges(int index, AgeRangeInfo.Builder builderForValue) Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
addAgeRanges
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
addAgeRanges
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
addAgeRanges
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
addAgeRanges
public TargetingSuggestionMetrics.Builder addAgeRanges(int index, AgeRangeInfo.Builder builderForValue) Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
addAllAgeRanges
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
clearAgeRanges
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
removeAgeRanges
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
getAgeRangesBuilder
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
getAgeRangesOrBuilder
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;- Specified by:
getAgeRangesOrBuilderin interfaceTargetingSuggestionMetricsOrBuilder
-
getAgeRangesOrBuilderList
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2;- Specified by:
getAgeRangesOrBuilderListin interfaceTargetingSuggestionMetricsOrBuilder
-
addAgeRangesBuilder
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
addAgeRangesBuilder
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
getAgeRangesBuilderList
Suggested age targeting; may be empty indicating no age targeting.
repeated .google.ads.googleads.v18.common.AgeRangeInfo age_ranges = 2; -
hasGender
public boolean hasGender()Suggested gender targeting. If present, this attribute has dimension GENDER.
.google.ads.googleads.v18.common.GenderInfo gender = 3;- Specified by:
hasGenderin interfaceTargetingSuggestionMetricsOrBuilder- Returns:
- Whether the gender field is set.
-
getGender
Suggested gender targeting. If present, this attribute has dimension GENDER.
.google.ads.googleads.v18.common.GenderInfo gender = 3;- Specified by:
getGenderin interfaceTargetingSuggestionMetricsOrBuilder- Returns:
- The gender.
-
setGender
Suggested gender targeting. If present, this attribute has dimension GENDER.
.google.ads.googleads.v18.common.GenderInfo gender = 3; -
setGender
Suggested gender targeting. If present, this attribute has dimension GENDER.
.google.ads.googleads.v18.common.GenderInfo gender = 3; -
mergeGender
Suggested gender targeting. If present, this attribute has dimension GENDER.
.google.ads.googleads.v18.common.GenderInfo gender = 3; -
clearGender
Suggested gender targeting. If present, this attribute has dimension GENDER.
.google.ads.googleads.v18.common.GenderInfo gender = 3; -
getGenderBuilder
Suggested gender targeting. If present, this attribute has dimension GENDER.
.google.ads.googleads.v18.common.GenderInfo gender = 3; -
getGenderOrBuilder
Suggested gender targeting. If present, this attribute has dimension GENDER.
.google.ads.googleads.v18.common.GenderInfo gender = 3;- Specified by:
getGenderOrBuilderin interfaceTargetingSuggestionMetricsOrBuilder
-
hasParentalStatus
public boolean hasParentalStatus()A Parental Status value (parent, or not a parent).
.google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;- Specified by:
hasParentalStatusin interfaceTargetingSuggestionMetricsOrBuilder- Returns:
- Whether the parentalStatus field is set.
-
getParentalStatus
A Parental Status value (parent, or not a parent).
.google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;- Specified by:
getParentalStatusin interfaceTargetingSuggestionMetricsOrBuilder- Returns:
- The parentalStatus.
-
setParentalStatus
A Parental Status value (parent, or not a parent).
.google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8; -
setParentalStatus
public TargetingSuggestionMetrics.Builder setParentalStatus(ParentalStatusInfo.Builder builderForValue) A Parental Status value (parent, or not a parent).
.google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8; -
mergeParentalStatus
A Parental Status value (parent, or not a parent).
.google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8; -
clearParentalStatus
A Parental Status value (parent, or not a parent).
.google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8; -
getParentalStatusBuilder
A Parental Status value (parent, or not a parent).
.google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8; -
getParentalStatusOrBuilder
A Parental Status value (parent, or not a parent).
.google.ads.googleads.v18.common.ParentalStatusInfo parental_status = 8;- Specified by:
getParentalStatusOrBuilderin interfaceTargetingSuggestionMetricsOrBuilder
-
getUserInterestsList
Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;- Specified by:
getUserInterestsListin interfaceTargetingSuggestionMetricsOrBuilder
-
getUserInterestsCount
public int getUserInterestsCount()Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;- Specified by:
getUserInterestsCountin interfaceTargetingSuggestionMetricsOrBuilder
-
getUserInterests
Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;- Specified by:
getUserInterestsin interfaceTargetingSuggestionMetricsOrBuilder
-
setUserInterests
public TargetingSuggestionMetrics.Builder setUserInterests(int index, AudienceInsightsAttributeMetadata value) Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
setUserInterests
public TargetingSuggestionMetrics.Builder setUserInterests(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
addUserInterests
Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
addUserInterests
public TargetingSuggestionMetrics.Builder addUserInterests(int index, AudienceInsightsAttributeMetadata value) Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
addUserInterests
public TargetingSuggestionMetrics.Builder addUserInterests(AudienceInsightsAttributeMetadata.Builder builderForValue) Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
addUserInterests
public TargetingSuggestionMetrics.Builder addUserInterests(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
addAllUserInterests
public TargetingSuggestionMetrics.Builder addAllUserInterests(Iterable<? extends AudienceInsightsAttributeMetadata> values) Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
clearUserInterests
Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
removeUserInterests
Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
getUserInterestsBuilder
Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
getUserInterestsOrBuilder
Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;- Specified by:
getUserInterestsOrBuilderin interfaceTargetingSuggestionMetricsOrBuilder
-
getUserInterestsOrBuilderList
Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4;- Specified by:
getUserInterestsOrBuilderListin interfaceTargetingSuggestionMetricsOrBuilder
-
addUserInterestsBuilder
Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
addUserInterestsBuilder
Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
getUserInterestsBuilderList
Suggested audience segments to target. These attributes all have dimension AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST
repeated .google.ads.googleads.v18.services.AudienceInsightsAttributeMetadata user_interests = 4; -
getCoverage
public double getCoverage()The fraction (from 0 to 1 inclusive) of the requested audience that can be reached using the suggested targeting.
double coverage = 5;- Specified by:
getCoveragein interfaceTargetingSuggestionMetricsOrBuilder- Returns:
- The coverage.
-
setCoverage
The fraction (from 0 to 1 inclusive) of the requested audience that can be reached using the suggested targeting.
double coverage = 5;- Parameters:
value- The coverage to set.- Returns:
- This builder for chaining.
-
clearCoverage
The fraction (from 0 to 1 inclusive) of the requested audience that can be reached using the suggested targeting.
double coverage = 5;- Returns:
- This builder for chaining.
-
getIndex
public 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;- Specified by:
getIndexin interfaceTargetingSuggestionMetricsOrBuilder- Returns:
- The index.
-
setIndex
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;- Parameters:
value- The index to set.- Returns:
- This builder for chaining.
-
clearIndex
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:
- This builder for chaining.
-
getPotentialYoutubeReach
public long getPotentialYoutubeReach()The approximate estimated number of people that can be reached on YouTube using this targeting.
int64 potential_youtube_reach = 7;- Specified by:
getPotentialYoutubeReachin interfaceTargetingSuggestionMetricsOrBuilder- Returns:
- The potentialYoutubeReach.
-
setPotentialYoutubeReach
The approximate estimated number of people that can be reached on YouTube using this targeting.
int64 potential_youtube_reach = 7;- Parameters:
value- The potentialYoutubeReach to set.- Returns:
- This builder for chaining.
-
clearPotentialYoutubeReach
The approximate estimated number of people that can be reached on YouTube using this targeting.
int64 potential_youtube_reach = 7;- Returns:
- This builder for chaining.
-
setUnknownFields
public final TargetingSuggestionMetrics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
-
mergeUnknownFields
public final TargetingSuggestionMetrics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetingSuggestionMetrics.Builder>
-