Class ConversionAdjustment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
- com.google.ads.googleads.v10.services.ConversionAdjustment.Builder
-
- All Implemented Interfaces:
ConversionAdjustmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- ConversionAdjustment
public static final class ConversionAdjustment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder> implements ConversionAdjustmentOrBuilder
A conversion adjustment.
Protobuf typegoogle.ads.googleads.v10.services.ConversionAdjustment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversionAdjustment.BuilderaddAllUserIdentifiers(java.lang.Iterable<? extends UserIdentifier> values)The user identifiers to enhance the original conversion.ConversionAdjustment.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ConversionAdjustment.BuilderaddUserIdentifiers(int index, UserIdentifier value)The user identifiers to enhance the original conversion.ConversionAdjustment.BuilderaddUserIdentifiers(int index, UserIdentifier.Builder builderForValue)The user identifiers to enhance the original conversion.ConversionAdjustment.BuilderaddUserIdentifiers(UserIdentifier value)The user identifiers to enhance the original conversion.ConversionAdjustment.BuilderaddUserIdentifiers(UserIdentifier.Builder builderForValue)The user identifiers to enhance the original conversion.UserIdentifier.BuilderaddUserIdentifiersBuilder()The user identifiers to enhance the original conversion.UserIdentifier.BuilderaddUserIdentifiersBuilder(int index)The user identifiers to enhance the original conversion.ConversionAdjustmentbuild()ConversionAdjustmentbuildPartial()ConversionAdjustment.Builderclear()ConversionAdjustment.BuilderclearAdjustmentDateTime()The date time at which the adjustment occurred.ConversionAdjustment.BuilderclearAdjustmentType()The adjustment type.ConversionAdjustment.BuilderclearConversionAction()Resource name of the conversion action associated with this conversion adjustment.ConversionAdjustment.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConversionAdjustment.BuilderclearGclidDateTimePair()For adjustments, uniquely identifies a conversion that was reported without an order ID specified.ConversionAdjustment.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConversionAdjustment.BuilderclearOrderId()The order ID of the conversion to be adjusted.ConversionAdjustment.BuilderclearRestatementValue()Information needed to restate the conversion's value.ConversionAdjustment.BuilderclearUserAgent()The user agent to enhance the original conversion.ConversionAdjustment.BuilderclearUserIdentifiers()The user identifiers to enhance the original conversion.ConversionAdjustment.Builderclone()java.lang.StringgetAdjustmentDateTime()The date time at which the adjustment occurred.com.google.protobuf.ByteStringgetAdjustmentDateTimeBytes()The date time at which the adjustment occurred.ConversionAdjustmentTypeEnum.ConversionAdjustmentTypegetAdjustmentType()The adjustment type.intgetAdjustmentTypeValue()The adjustment type.java.lang.StringgetConversionAction()Resource name of the conversion action associated with this conversion adjustment.com.google.protobuf.ByteStringgetConversionActionBytes()Resource name of the conversion action associated with this conversion adjustment.ConversionAdjustmentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()GclidDateTimePairgetGclidDateTimePair()For adjustments, uniquely identifies a conversion that was reported without an order ID specified.GclidDateTimePair.BuildergetGclidDateTimePairBuilder()For adjustments, uniquely identifies a conversion that was reported without an order ID specified.GclidDateTimePairOrBuildergetGclidDateTimePairOrBuilder()For adjustments, uniquely identifies a conversion that was reported without an order ID specified.java.lang.StringgetOrderId()The order ID of the conversion to be adjusted.com.google.protobuf.ByteStringgetOrderIdBytes()The order ID of the conversion to be adjusted.RestatementValuegetRestatementValue()Information needed to restate the conversion's value.RestatementValue.BuildergetRestatementValueBuilder()Information needed to restate the conversion's value.RestatementValueOrBuildergetRestatementValueOrBuilder()Information needed to restate the conversion's value.java.lang.StringgetUserAgent()The user agent to enhance the original conversion.com.google.protobuf.ByteStringgetUserAgentBytes()The user agent to enhance the original conversion.UserIdentifiergetUserIdentifiers(int index)The user identifiers to enhance the original conversion.UserIdentifier.BuildergetUserIdentifiersBuilder(int index)The user identifiers to enhance the original conversion.java.util.List<UserIdentifier.Builder>getUserIdentifiersBuilderList()The user identifiers to enhance the original conversion.intgetUserIdentifiersCount()The user identifiers to enhance the original conversion.java.util.List<UserIdentifier>getUserIdentifiersList()The user identifiers to enhance the original conversion.UserIdentifierOrBuildergetUserIdentifiersOrBuilder(int index)The user identifiers to enhance the original conversion.java.util.List<? extends UserIdentifierOrBuilder>getUserIdentifiersOrBuilderList()The user identifiers to enhance the original conversion.booleanhasAdjustmentDateTime()The date time at which the adjustment occurred.booleanhasConversionAction()Resource name of the conversion action associated with this conversion adjustment.booleanhasGclidDateTimePair()For adjustments, uniquely identifies a conversion that was reported without an order ID specified.booleanhasOrderId()The order ID of the conversion to be adjusted.booleanhasRestatementValue()Information needed to restate the conversion's value.booleanhasUserAgent()The user agent to enhance the original conversion.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ConversionAdjustment.BuildermergeFrom(ConversionAdjustment other)ConversionAdjustment.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConversionAdjustment.BuildermergeFrom(com.google.protobuf.Message other)ConversionAdjustment.BuildermergeGclidDateTimePair(GclidDateTimePair value)For adjustments, uniquely identifies a conversion that was reported without an order ID specified.ConversionAdjustment.BuildermergeRestatementValue(RestatementValue value)Information needed to restate the conversion's value.ConversionAdjustment.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConversionAdjustment.BuilderremoveUserIdentifiers(int index)The user identifiers to enhance the original conversion.ConversionAdjustment.BuildersetAdjustmentDateTime(java.lang.String value)The date time at which the adjustment occurred.ConversionAdjustment.BuildersetAdjustmentDateTimeBytes(com.google.protobuf.ByteString value)The date time at which the adjustment occurred.ConversionAdjustment.BuildersetAdjustmentType(ConversionAdjustmentTypeEnum.ConversionAdjustmentType value)The adjustment type.ConversionAdjustment.BuildersetAdjustmentTypeValue(int value)The adjustment type.ConversionAdjustment.BuildersetConversionAction(java.lang.String value)Resource name of the conversion action associated with this conversion adjustment.ConversionAdjustment.BuildersetConversionActionBytes(com.google.protobuf.ByteString value)Resource name of the conversion action associated with this conversion adjustment.ConversionAdjustment.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ConversionAdjustment.BuildersetGclidDateTimePair(GclidDateTimePair value)For adjustments, uniquely identifies a conversion that was reported without an order ID specified.ConversionAdjustment.BuildersetGclidDateTimePair(GclidDateTimePair.Builder builderForValue)For adjustments, uniquely identifies a conversion that was reported without an order ID specified.ConversionAdjustment.BuildersetOrderId(java.lang.String value)The order ID of the conversion to be adjusted.ConversionAdjustment.BuildersetOrderIdBytes(com.google.protobuf.ByteString value)The order ID of the conversion to be adjusted.ConversionAdjustment.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ConversionAdjustment.BuildersetRestatementValue(RestatementValue value)Information needed to restate the conversion's value.ConversionAdjustment.BuildersetRestatementValue(RestatementValue.Builder builderForValue)Information needed to restate the conversion's value.ConversionAdjustment.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConversionAdjustment.BuildersetUserAgent(java.lang.String value)The user agent to enhance the original conversion.ConversionAdjustment.BuildersetUserAgentBytes(com.google.protobuf.ByteString value)The user agent to enhance the original conversion.ConversionAdjustment.BuildersetUserIdentifiers(int index, UserIdentifier value)The user identifiers to enhance the original conversion.ConversionAdjustment.BuildersetUserIdentifiers(int index, UserIdentifier.Builder builderForValue)The user identifiers to enhance the original conversion.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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<ConversionAdjustment.Builder>
-
clear
public ConversionAdjustment.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<ConversionAdjustment.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<ConversionAdjustment.Builder>
-
getDefaultInstanceForType
public ConversionAdjustment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConversionAdjustment build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConversionAdjustment buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConversionAdjustment.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<ConversionAdjustment.Builder>
-
setField
public ConversionAdjustment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
clearField
public ConversionAdjustment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
clearOneof
public ConversionAdjustment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
setRepeatedField
public ConversionAdjustment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
addRepeatedField
public ConversionAdjustment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
mergeFrom
public ConversionAdjustment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversionAdjustment.Builder>
-
mergeFrom
public ConversionAdjustment.Builder mergeFrom(ConversionAdjustment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
mergeFrom
public ConversionAdjustment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversionAdjustment.Builder>- Throws:
java.io.IOException
-
hasGclidDateTimePair
public boolean hasGclidDateTimePair()
For adjustments, uniquely identifies a conversion that was reported without an order ID specified. If the adjustment_type is ENHANCEMENT, this value is optional but may be set in addition to the order_id.
.google.ads.googleads.v10.services.GclidDateTimePair gclid_date_time_pair = 12;- Specified by:
hasGclidDateTimePairin interfaceConversionAdjustmentOrBuilder- Returns:
- Whether the gclidDateTimePair field is set.
-
getGclidDateTimePair
public GclidDateTimePair getGclidDateTimePair()
For adjustments, uniquely identifies a conversion that was reported without an order ID specified. If the adjustment_type is ENHANCEMENT, this value is optional but may be set in addition to the order_id.
.google.ads.googleads.v10.services.GclidDateTimePair gclid_date_time_pair = 12;- Specified by:
getGclidDateTimePairin interfaceConversionAdjustmentOrBuilder- Returns:
- The gclidDateTimePair.
-
setGclidDateTimePair
public ConversionAdjustment.Builder setGclidDateTimePair(GclidDateTimePair value)
For adjustments, uniquely identifies a conversion that was reported without an order ID specified. If the adjustment_type is ENHANCEMENT, this value is optional but may be set in addition to the order_id.
.google.ads.googleads.v10.services.GclidDateTimePair gclid_date_time_pair = 12;
-
setGclidDateTimePair
public ConversionAdjustment.Builder setGclidDateTimePair(GclidDateTimePair.Builder builderForValue)
For adjustments, uniquely identifies a conversion that was reported without an order ID specified. If the adjustment_type is ENHANCEMENT, this value is optional but may be set in addition to the order_id.
.google.ads.googleads.v10.services.GclidDateTimePair gclid_date_time_pair = 12;
-
mergeGclidDateTimePair
public ConversionAdjustment.Builder mergeGclidDateTimePair(GclidDateTimePair value)
For adjustments, uniquely identifies a conversion that was reported without an order ID specified. If the adjustment_type is ENHANCEMENT, this value is optional but may be set in addition to the order_id.
.google.ads.googleads.v10.services.GclidDateTimePair gclid_date_time_pair = 12;
-
clearGclidDateTimePair
public ConversionAdjustment.Builder clearGclidDateTimePair()
For adjustments, uniquely identifies a conversion that was reported without an order ID specified. If the adjustment_type is ENHANCEMENT, this value is optional but may be set in addition to the order_id.
.google.ads.googleads.v10.services.GclidDateTimePair gclid_date_time_pair = 12;
-
getGclidDateTimePairBuilder
public GclidDateTimePair.Builder getGclidDateTimePairBuilder()
For adjustments, uniquely identifies a conversion that was reported without an order ID specified. If the adjustment_type is ENHANCEMENT, this value is optional but may be set in addition to the order_id.
.google.ads.googleads.v10.services.GclidDateTimePair gclid_date_time_pair = 12;
-
getGclidDateTimePairOrBuilder
public GclidDateTimePairOrBuilder getGclidDateTimePairOrBuilder()
For adjustments, uniquely identifies a conversion that was reported without an order ID specified. If the adjustment_type is ENHANCEMENT, this value is optional but may be set in addition to the order_id.
.google.ads.googleads.v10.services.GclidDateTimePair gclid_date_time_pair = 12;- Specified by:
getGclidDateTimePairOrBuilderin interfaceConversionAdjustmentOrBuilder
-
hasOrderId
public boolean hasOrderId()
The order ID of the conversion to be adjusted. If the conversion was reported with an order ID specified, that order ID must be used as the identifier here. The order ID is required for enhancements.
optional string order_id = 13;- Specified by:
hasOrderIdin interfaceConversionAdjustmentOrBuilder- Returns:
- Whether the orderId field is set.
-
getOrderId
public java.lang.String getOrderId()
The order ID of the conversion to be adjusted. If the conversion was reported with an order ID specified, that order ID must be used as the identifier here. The order ID is required for enhancements.
optional string order_id = 13;- Specified by:
getOrderIdin interfaceConversionAdjustmentOrBuilder- Returns:
- The orderId.
-
getOrderIdBytes
public com.google.protobuf.ByteString getOrderIdBytes()
The order ID of the conversion to be adjusted. If the conversion was reported with an order ID specified, that order ID must be used as the identifier here. The order ID is required for enhancements.
optional string order_id = 13;- Specified by:
getOrderIdBytesin interfaceConversionAdjustmentOrBuilder- Returns:
- The bytes for orderId.
-
setOrderId
public ConversionAdjustment.Builder setOrderId(java.lang.String value)
The order ID of the conversion to be adjusted. If the conversion was reported with an order ID specified, that order ID must be used as the identifier here. The order ID is required for enhancements.
optional string order_id = 13;- Parameters:
value- The orderId to set.- Returns:
- This builder for chaining.
-
clearOrderId
public ConversionAdjustment.Builder clearOrderId()
The order ID of the conversion to be adjusted. If the conversion was reported with an order ID specified, that order ID must be used as the identifier here. The order ID is required for enhancements.
optional string order_id = 13;- Returns:
- This builder for chaining.
-
setOrderIdBytes
public ConversionAdjustment.Builder setOrderIdBytes(com.google.protobuf.ByteString value)
The order ID of the conversion to be adjusted. If the conversion was reported with an order ID specified, that order ID must be used as the identifier here. The order ID is required for enhancements.
optional string order_id = 13;- Parameters:
value- The bytes for orderId to set.- Returns:
- This builder for chaining.
-
hasConversionAction
public boolean hasConversionAction()
Resource name of the conversion action associated with this conversion adjustment. Note: Although this resource name consists of a customer id and a conversion action id, validation will ignore the customer id and use the conversion action id as the sole identifier of the conversion action.
optional string conversion_action = 8;- Specified by:
hasConversionActionin interfaceConversionAdjustmentOrBuilder- Returns:
- Whether the conversionAction field is set.
-
getConversionAction
public java.lang.String getConversionAction()
Resource name of the conversion action associated with this conversion adjustment. Note: Although this resource name consists of a customer id and a conversion action id, validation will ignore the customer id and use the conversion action id as the sole identifier of the conversion action.
optional string conversion_action = 8;- Specified by:
getConversionActionin interfaceConversionAdjustmentOrBuilder- Returns:
- The conversionAction.
-
getConversionActionBytes
public com.google.protobuf.ByteString getConversionActionBytes()
Resource name of the conversion action associated with this conversion adjustment. Note: Although this resource name consists of a customer id and a conversion action id, validation will ignore the customer id and use the conversion action id as the sole identifier of the conversion action.
optional string conversion_action = 8;- Specified by:
getConversionActionBytesin interfaceConversionAdjustmentOrBuilder- Returns:
- The bytes for conversionAction.
-
setConversionAction
public ConversionAdjustment.Builder setConversionAction(java.lang.String value)
Resource name of the conversion action associated with this conversion adjustment. Note: Although this resource name consists of a customer id and a conversion action id, validation will ignore the customer id and use the conversion action id as the sole identifier of the conversion action.
optional string conversion_action = 8;- Parameters:
value- The conversionAction to set.- Returns:
- This builder for chaining.
-
clearConversionAction
public ConversionAdjustment.Builder clearConversionAction()
Resource name of the conversion action associated with this conversion adjustment. Note: Although this resource name consists of a customer id and a conversion action id, validation will ignore the customer id and use the conversion action id as the sole identifier of the conversion action.
optional string conversion_action = 8;- Returns:
- This builder for chaining.
-
setConversionActionBytes
public ConversionAdjustment.Builder setConversionActionBytes(com.google.protobuf.ByteString value)
Resource name of the conversion action associated with this conversion adjustment. Note: Although this resource name consists of a customer id and a conversion action id, validation will ignore the customer id and use the conversion action id as the sole identifier of the conversion action.
optional string conversion_action = 8;- Parameters:
value- The bytes for conversionAction to set.- Returns:
- This builder for chaining.
-
hasAdjustmentDateTime
public boolean hasAdjustmentDateTime()
The date time at which the adjustment occurred. Must be after the conversion_date_time. The timezone must be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
optional string adjustment_date_time = 9;- Specified by:
hasAdjustmentDateTimein interfaceConversionAdjustmentOrBuilder- Returns:
- Whether the adjustmentDateTime field is set.
-
getAdjustmentDateTime
public java.lang.String getAdjustmentDateTime()
The date time at which the adjustment occurred. Must be after the conversion_date_time. The timezone must be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
optional string adjustment_date_time = 9;- Specified by:
getAdjustmentDateTimein interfaceConversionAdjustmentOrBuilder- Returns:
- The adjustmentDateTime.
-
getAdjustmentDateTimeBytes
public com.google.protobuf.ByteString getAdjustmentDateTimeBytes()
The date time at which the adjustment occurred. Must be after the conversion_date_time. The timezone must be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
optional string adjustment_date_time = 9;- Specified by:
getAdjustmentDateTimeBytesin interfaceConversionAdjustmentOrBuilder- Returns:
- The bytes for adjustmentDateTime.
-
setAdjustmentDateTime
public ConversionAdjustment.Builder setAdjustmentDateTime(java.lang.String value)
The date time at which the adjustment occurred. Must be after the conversion_date_time. The timezone must be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
optional string adjustment_date_time = 9;- Parameters:
value- The adjustmentDateTime to set.- Returns:
- This builder for chaining.
-
clearAdjustmentDateTime
public ConversionAdjustment.Builder clearAdjustmentDateTime()
The date time at which the adjustment occurred. Must be after the conversion_date_time. The timezone must be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
optional string adjustment_date_time = 9;- Returns:
- This builder for chaining.
-
setAdjustmentDateTimeBytes
public ConversionAdjustment.Builder setAdjustmentDateTimeBytes(com.google.protobuf.ByteString value)
The date time at which the adjustment occurred. Must be after the conversion_date_time. The timezone must be specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
optional string adjustment_date_time = 9;- Parameters:
value- The bytes for adjustmentDateTime to set.- Returns:
- This builder for chaining.
-
getAdjustmentTypeValue
public int getAdjustmentTypeValue()
The adjustment type.
.google.ads.googleads.v10.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5;- Specified by:
getAdjustmentTypeValuein interfaceConversionAdjustmentOrBuilder- Returns:
- The enum numeric value on the wire for adjustmentType.
-
setAdjustmentTypeValue
public ConversionAdjustment.Builder setAdjustmentTypeValue(int value)
The adjustment type.
.google.ads.googleads.v10.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5;- Parameters:
value- The enum numeric value on the wire for adjustmentType to set.- Returns:
- This builder for chaining.
-
getAdjustmentType
public ConversionAdjustmentTypeEnum.ConversionAdjustmentType getAdjustmentType()
The adjustment type.
.google.ads.googleads.v10.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5;- Specified by:
getAdjustmentTypein interfaceConversionAdjustmentOrBuilder- Returns:
- The adjustmentType.
-
setAdjustmentType
public ConversionAdjustment.Builder setAdjustmentType(ConversionAdjustmentTypeEnum.ConversionAdjustmentType value)
The adjustment type.
.google.ads.googleads.v10.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5;- Parameters:
value- The adjustmentType to set.- Returns:
- This builder for chaining.
-
clearAdjustmentType
public ConversionAdjustment.Builder clearAdjustmentType()
The adjustment type.
.google.ads.googleads.v10.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5;- Returns:
- This builder for chaining.
-
hasRestatementValue
public boolean hasRestatementValue()
Information needed to restate the conversion's value. Required for restatements. Should not be supplied for retractions. An error will be returned if provided for a retraction. NOTE: If you want to upload a second restatement with a different adjusted value, it must have a new, more recent, adjustment occurrence time. Otherwise, it will be treated as a duplicate of the previous restatement and ignored.
.google.ads.googleads.v10.services.RestatementValue restatement_value = 6;- Specified by:
hasRestatementValuein interfaceConversionAdjustmentOrBuilder- Returns:
- Whether the restatementValue field is set.
-
getRestatementValue
public RestatementValue getRestatementValue()
Information needed to restate the conversion's value. Required for restatements. Should not be supplied for retractions. An error will be returned if provided for a retraction. NOTE: If you want to upload a second restatement with a different adjusted value, it must have a new, more recent, adjustment occurrence time. Otherwise, it will be treated as a duplicate of the previous restatement and ignored.
.google.ads.googleads.v10.services.RestatementValue restatement_value = 6;- Specified by:
getRestatementValuein interfaceConversionAdjustmentOrBuilder- Returns:
- The restatementValue.
-
setRestatementValue
public ConversionAdjustment.Builder setRestatementValue(RestatementValue value)
Information needed to restate the conversion's value. Required for restatements. Should not be supplied for retractions. An error will be returned if provided for a retraction. NOTE: If you want to upload a second restatement with a different adjusted value, it must have a new, more recent, adjustment occurrence time. Otherwise, it will be treated as a duplicate of the previous restatement and ignored.
.google.ads.googleads.v10.services.RestatementValue restatement_value = 6;
-
setRestatementValue
public ConversionAdjustment.Builder setRestatementValue(RestatementValue.Builder builderForValue)
Information needed to restate the conversion's value. Required for restatements. Should not be supplied for retractions. An error will be returned if provided for a retraction. NOTE: If you want to upload a second restatement with a different adjusted value, it must have a new, more recent, adjustment occurrence time. Otherwise, it will be treated as a duplicate of the previous restatement and ignored.
.google.ads.googleads.v10.services.RestatementValue restatement_value = 6;
-
mergeRestatementValue
public ConversionAdjustment.Builder mergeRestatementValue(RestatementValue value)
Information needed to restate the conversion's value. Required for restatements. Should not be supplied for retractions. An error will be returned if provided for a retraction. NOTE: If you want to upload a second restatement with a different adjusted value, it must have a new, more recent, adjustment occurrence time. Otherwise, it will be treated as a duplicate of the previous restatement and ignored.
.google.ads.googleads.v10.services.RestatementValue restatement_value = 6;
-
clearRestatementValue
public ConversionAdjustment.Builder clearRestatementValue()
Information needed to restate the conversion's value. Required for restatements. Should not be supplied for retractions. An error will be returned if provided for a retraction. NOTE: If you want to upload a second restatement with a different adjusted value, it must have a new, more recent, adjustment occurrence time. Otherwise, it will be treated as a duplicate of the previous restatement and ignored.
.google.ads.googleads.v10.services.RestatementValue restatement_value = 6;
-
getRestatementValueBuilder
public RestatementValue.Builder getRestatementValueBuilder()
Information needed to restate the conversion's value. Required for restatements. Should not be supplied for retractions. An error will be returned if provided for a retraction. NOTE: If you want to upload a second restatement with a different adjusted value, it must have a new, more recent, adjustment occurrence time. Otherwise, it will be treated as a duplicate of the previous restatement and ignored.
.google.ads.googleads.v10.services.RestatementValue restatement_value = 6;
-
getRestatementValueOrBuilder
public RestatementValueOrBuilder getRestatementValueOrBuilder()
Information needed to restate the conversion's value. Required for restatements. Should not be supplied for retractions. An error will be returned if provided for a retraction. NOTE: If you want to upload a second restatement with a different adjusted value, it must have a new, more recent, adjustment occurrence time. Otherwise, it will be treated as a duplicate of the previous restatement and ignored.
.google.ads.googleads.v10.services.RestatementValue restatement_value = 6;- Specified by:
getRestatementValueOrBuilderin interfaceConversionAdjustmentOrBuilder
-
getUserIdentifiersList
public java.util.List<UserIdentifier> getUserIdentifiersList()
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;- Specified by:
getUserIdentifiersListin interfaceConversionAdjustmentOrBuilder
-
getUserIdentifiersCount
public int getUserIdentifiersCount()
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;- Specified by:
getUserIdentifiersCountin interfaceConversionAdjustmentOrBuilder
-
getUserIdentifiers
public UserIdentifier getUserIdentifiers(int index)
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;- Specified by:
getUserIdentifiersin interfaceConversionAdjustmentOrBuilder
-
setUserIdentifiers
public ConversionAdjustment.Builder setUserIdentifiers(int index, UserIdentifier value)
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
setUserIdentifiers
public ConversionAdjustment.Builder setUserIdentifiers(int index, UserIdentifier.Builder builderForValue)
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
addUserIdentifiers
public ConversionAdjustment.Builder addUserIdentifiers(UserIdentifier value)
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
addUserIdentifiers
public ConversionAdjustment.Builder addUserIdentifiers(int index, UserIdentifier value)
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
addUserIdentifiers
public ConversionAdjustment.Builder addUserIdentifiers(UserIdentifier.Builder builderForValue)
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
addUserIdentifiers
public ConversionAdjustment.Builder addUserIdentifiers(int index, UserIdentifier.Builder builderForValue)
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
addAllUserIdentifiers
public ConversionAdjustment.Builder addAllUserIdentifiers(java.lang.Iterable<? extends UserIdentifier> values)
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
clearUserIdentifiers
public ConversionAdjustment.Builder clearUserIdentifiers()
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
removeUserIdentifiers
public ConversionAdjustment.Builder removeUserIdentifiers(int index)
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
getUserIdentifiersBuilder
public UserIdentifier.Builder getUserIdentifiersBuilder(int index)
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
getUserIdentifiersOrBuilder
public UserIdentifierOrBuilder getUserIdentifiersOrBuilder(int index)
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;- Specified by:
getUserIdentifiersOrBuilderin interfaceConversionAdjustmentOrBuilder
-
getUserIdentifiersOrBuilderList
public java.util.List<? extends UserIdentifierOrBuilder> getUserIdentifiersOrBuilderList()
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;- Specified by:
getUserIdentifiersOrBuilderListin interfaceConversionAdjustmentOrBuilder
-
addUserIdentifiersBuilder
public UserIdentifier.Builder addUserIdentifiersBuilder()
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
addUserIdentifiersBuilder
public UserIdentifier.Builder addUserIdentifiersBuilder(int index)
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
getUserIdentifiersBuilderList
public java.util.List<UserIdentifier.Builder> getUserIdentifiersBuilderList()
The user identifiers to enhance the original conversion. ConversionAdjustmentUploadService only accepts user identifiers in enhancements. The maximum number of user identifiers for each enhancement is 5.
repeated .google.ads.googleads.v10.common.UserIdentifier user_identifiers = 10;
-
hasUserAgent
public boolean hasUserAgent()
The user agent to enhance the original conversion. This can be found in your user's HTTP request header when they convert on your web page. Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User agent can only be specified in enhancements with user identifiers. This should match the user agent of the request that sent the original conversion so the conversion and its enhancement are either both attributed as same-device or both attributed as cross-device.
optional string user_agent = 11;- Specified by:
hasUserAgentin interfaceConversionAdjustmentOrBuilder- Returns:
- Whether the userAgent field is set.
-
getUserAgent
public java.lang.String getUserAgent()
The user agent to enhance the original conversion. This can be found in your user's HTTP request header when they convert on your web page. Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User agent can only be specified in enhancements with user identifiers. This should match the user agent of the request that sent the original conversion so the conversion and its enhancement are either both attributed as same-device or both attributed as cross-device.
optional string user_agent = 11;- Specified by:
getUserAgentin interfaceConversionAdjustmentOrBuilder- Returns:
- The userAgent.
-
getUserAgentBytes
public com.google.protobuf.ByteString getUserAgentBytes()
The user agent to enhance the original conversion. This can be found in your user's HTTP request header when they convert on your web page. Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User agent can only be specified in enhancements with user identifiers. This should match the user agent of the request that sent the original conversion so the conversion and its enhancement are either both attributed as same-device or both attributed as cross-device.
optional string user_agent = 11;- Specified by:
getUserAgentBytesin interfaceConversionAdjustmentOrBuilder- Returns:
- The bytes for userAgent.
-
setUserAgent
public ConversionAdjustment.Builder setUserAgent(java.lang.String value)
The user agent to enhance the original conversion. This can be found in your user's HTTP request header when they convert on your web page. Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User agent can only be specified in enhancements with user identifiers. This should match the user agent of the request that sent the original conversion so the conversion and its enhancement are either both attributed as same-device or both attributed as cross-device.
optional string user_agent = 11;- Parameters:
value- The userAgent to set.- Returns:
- This builder for chaining.
-
clearUserAgent
public ConversionAdjustment.Builder clearUserAgent()
The user agent to enhance the original conversion. This can be found in your user's HTTP request header when they convert on your web page. Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User agent can only be specified in enhancements with user identifiers. This should match the user agent of the request that sent the original conversion so the conversion and its enhancement are either both attributed as same-device or both attributed as cross-device.
optional string user_agent = 11;- Returns:
- This builder for chaining.
-
setUserAgentBytes
public ConversionAdjustment.Builder setUserAgentBytes(com.google.protobuf.ByteString value)
The user agent to enhance the original conversion. This can be found in your user's HTTP request header when they convert on your web page. Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User agent can only be specified in enhancements with user identifiers. This should match the user agent of the request that sent the original conversion so the conversion and its enhancement are either both attributed as same-device or both attributed as cross-device.
optional string user_agent = 11;- Parameters:
value- The bytes for userAgent to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ConversionAdjustment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
mergeUnknownFields
public final ConversionAdjustment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
-