public final class GrpSettings extends GeneratedMessage implements GrpSettingsOrBuilder
GrpSettings contains information for a line item that will have a target
demographic when serving. This information will be used to set up tracking
and enable reporting on the demographic information.
Protobuf type google.ads.admanager.v1.GrpSettings
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
APPLY_TRUE_COVIEW_FIELD_NUMBER
public static final int APPLY_TRUE_COVIEW_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
IN_TARGET_RATIO_ESTIMATE_MILLI_PERCENT_FIELD_NUMBER
public static final int IN_TARGET_RATIO_ESTIMATE_MILLI_PERCENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MAX_TARGET_AGE_FIELD_NUMBER
public static final int MAX_TARGET_AGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MIN_TARGET_AGE_FIELD_NUMBER
public static final int MIN_TARGET_AGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NIELSEN_CTV_PACING_TYPE_FIELD_NUMBER
public static final int NIELSEN_CTV_PACING_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PACING_DEVICE_CATEGORIZATION_TYPE_FIELD_NUMBER
public static final int PACING_DEVICE_CATEGORIZATION_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PROVIDER_FIELD_NUMBER
public static final int PROVIDER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TARGET_GENDER_FIELD_NUMBER
public static final int TARGET_GENDER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GrpSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GrpSettings.Builder newBuilder()
newBuilder(GrpSettings prototype)
public static GrpSettings.Builder newBuilder(GrpSettings prototype)
public static GrpSettings parseDelimitedFrom(InputStream input)
public static GrpSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GrpSettings parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GrpSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GrpSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GrpSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GrpSettings parseFrom(CodedInputStream input)
public static GrpSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GrpSettings parseFrom(InputStream input)
public static GrpSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GrpSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GrpSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GrpSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getApplyTrueCoview()
public boolean getApplyTrueCoview()
Optional. Specifies whether to apply true coviewing in Nielsen Line Item
auto pacing. This field can only be true if
nielsen_ctv_pacing_type
is not NONE.
optional bool apply_true_coview = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The applyTrueCoview.
|
getDefaultInstanceForType()
public GrpSettings getDefaultInstanceForType()
getInTargetRatioEstimateMilliPercent()
public long getInTargetRatioEstimateMilliPercent()
Optional. Estimate for the in-target ratio given the line item's audience
targeting. This field is only applicable if
provider is Nielsen,
[LineItem.primary_goal.unit_type][] is in-target impressions, and
[LineItemCostType] is in-target CPM. This field determines the in-target
ratio to use for pacing Nielsen line items before Nielsen reporting data is
available. Represented as a milli percent, so 55.7% becomes 55700.
optional int64 in_target_ratio_estimate_milli_percent = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The inTargetRatioEstimateMilliPercent.
|
getMaxTargetAge()
public long getMaxTargetAge()
Optional. Specifies the maximum target age (in years) of the LineItem. This
field is only applicable if
provider is not null.
optional int64 max_target_age = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The maxTargetAge.
|
getMinTargetAge()
public long getMinTargetAge()
Optional. Specifies the minimum target age (in years) of the LineItem. This
field is only applicable if
provider is not null.
optional int64 min_target_age = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The minTargetAge.
|
getNielsenCtvPacingType()
public NielsenCtvPacingEnum.NielsenCtvPacing getNielsenCtvPacingType()
Optional. Specifies which pacing computation to apply in pacing to
impressions from connected devices.
optional .google.ads.admanager.v1.NielsenCtvPacingEnum.NielsenCtvPacing nielsen_ctv_pacing_type = 8 [(.google.api.field_behavior) = OPTIONAL];
getNielsenCtvPacingTypeValue()
public int getNielsenCtvPacingTypeValue()
Optional. Specifies which pacing computation to apply in pacing to
impressions from connected devices.
optional .google.ads.admanager.v1.NielsenCtvPacingEnum.NielsenCtvPacing nielsen_ctv_pacing_type = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for nielsenCtvPacingType.
|
getPacingDeviceCategorizationType()
public PacingDeviceCategorizationEnum.PacingDeviceCategorization getPacingDeviceCategorizationType()
Optional. Specifies whether to use Google or Nielsen device breakdown in
Nielsen Line Item auto pacing.
optional .google.ads.admanager.v1.PacingDeviceCategorizationEnum.PacingDeviceCategorization pacing_device_categorization_type = 9 [(.google.api.field_behavior) = OPTIONAL];
getPacingDeviceCategorizationTypeValue()
public int getPacingDeviceCategorizationTypeValue()
Optional. Specifies whether to use Google or Nielsen device breakdown in
Nielsen Line Item auto pacing.
optional .google.ads.admanager.v1.PacingDeviceCategorizationEnum.PacingDeviceCategorization pacing_device_categorization_type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for pacingDeviceCategorizationType.
|
getParserForType()
public Parser<GrpSettings> getParserForType()
Overrides
getProvider()
public GrpProviderEnum.GrpProvider getProvider()
Optional. Specifies the GRP provider of the LineItem.
optional .google.ads.admanager.v1.GrpProviderEnum.GrpProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL];
getProviderValue()
public int getProviderValue()
Optional. Specifies the GRP provider of the LineItem.
optional .google.ads.admanager.v1.GrpProviderEnum.GrpProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for provider.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTargetGender()
public GrpTargetGenderEnum.GrpTargetGender getTargetGender()
Optional. Specifies the target gender of the LineItem. This field is only
applicable if provider is
not null.
optional .google.ads.admanager.v1.GrpTargetGenderEnum.GrpTargetGender target_gender = 3 [(.google.api.field_behavior) = OPTIONAL];
getTargetGenderValue()
public int getTargetGenderValue()
Optional. Specifies the target gender of the LineItem. This field is only
applicable if provider is
not null.
optional .google.ads.admanager.v1.GrpTargetGenderEnum.GrpTargetGender target_gender = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for targetGender.
|
hasApplyTrueCoview()
public boolean hasApplyTrueCoview()
Optional. Specifies whether to apply true coviewing in Nielsen Line Item
auto pacing. This field can only be true if
nielsen_ctv_pacing_type
is not NONE.
optional bool apply_true_coview = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the applyTrueCoview field is set.
|
hasInTargetRatioEstimateMilliPercent()
public boolean hasInTargetRatioEstimateMilliPercent()
Optional. Estimate for the in-target ratio given the line item's audience
targeting. This field is only applicable if
provider is Nielsen,
[LineItem.primary_goal.unit_type][] is in-target impressions, and
[LineItemCostType] is in-target CPM. This field determines the in-target
ratio to use for pacing Nielsen line items before Nielsen reporting data is
available. Represented as a milli percent, so 55.7% becomes 55700.
optional int64 in_target_ratio_estimate_milli_percent = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the inTargetRatioEstimateMilliPercent field is set.
|
hasMaxTargetAge()
public boolean hasMaxTargetAge()
Optional. Specifies the maximum target age (in years) of the LineItem. This
field is only applicable if
provider is not null.
optional int64 max_target_age = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the maxTargetAge field is set.
|
hasMinTargetAge()
public boolean hasMinTargetAge()
Optional. Specifies the minimum target age (in years) of the LineItem. This
field is only applicable if
provider is not null.
optional int64 min_target_age = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the minTargetAge field is set.
|
hasNielsenCtvPacingType()
public boolean hasNielsenCtvPacingType()
Optional. Specifies which pacing computation to apply in pacing to
impressions from connected devices.
optional .google.ads.admanager.v1.NielsenCtvPacingEnum.NielsenCtvPacing nielsen_ctv_pacing_type = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the nielsenCtvPacingType field is set.
|
hasPacingDeviceCategorizationType()
public boolean hasPacingDeviceCategorizationType()
Optional. Specifies whether to use Google or Nielsen device breakdown in
Nielsen Line Item auto pacing.
optional .google.ads.admanager.v1.PacingDeviceCategorizationEnum.PacingDeviceCategorization pacing_device_categorization_type = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the pacingDeviceCategorizationType field is set.
|
hasProvider()
public boolean hasProvider()
Optional. Specifies the GRP provider of the LineItem.
optional .google.ads.admanager.v1.GrpProviderEnum.GrpProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the provider field is set.
|
hasTargetGender()
public boolean hasTargetGender()
Optional. Specifies the target gender of the LineItem. This field is only
applicable if provider is
not null.
optional .google.ads.admanager.v1.GrpTargetGenderEnum.GrpTargetGender target_gender = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the targetGender field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GrpSettings.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected GrpSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public GrpSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides