Class ConversionAdjustment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
- com.google.ads.googleads.v13.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.v13.services.ConversionAdjustment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversionAdjustment.Builder
addAllUserIdentifiers(java.lang.Iterable<? extends UserIdentifier> values)
The user identifiers to enhance the original conversion.ConversionAdjustment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ConversionAdjustment.Builder
addUserIdentifiers(int index, UserIdentifier value)
The user identifiers to enhance the original conversion.ConversionAdjustment.Builder
addUserIdentifiers(int index, UserIdentifier.Builder builderForValue)
The user identifiers to enhance the original conversion.ConversionAdjustment.Builder
addUserIdentifiers(UserIdentifier value)
The user identifiers to enhance the original conversion.ConversionAdjustment.Builder
addUserIdentifiers(UserIdentifier.Builder builderForValue)
The user identifiers to enhance the original conversion.UserIdentifier.Builder
addUserIdentifiersBuilder()
The user identifiers to enhance the original conversion.UserIdentifier.Builder
addUserIdentifiersBuilder(int index)
The user identifiers to enhance the original conversion.ConversionAdjustment
build()
ConversionAdjustment
buildPartial()
ConversionAdjustment.Builder
clear()
ConversionAdjustment.Builder
clearAdjustmentDateTime()
The date time at which the adjustment occurred.ConversionAdjustment.Builder
clearAdjustmentType()
The adjustment type.ConversionAdjustment.Builder
clearConversionAction()
Resource name of the conversion action associated with this conversion adjustment.ConversionAdjustment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ConversionAdjustment.Builder
clearGclidDateTimePair()
For adjustments, uniquely identifies a conversion that was reported without an order ID specified.ConversionAdjustment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ConversionAdjustment.Builder
clearOrderId()
The order ID of the conversion to be adjusted.ConversionAdjustment.Builder
clearRestatementValue()
Information needed to restate the conversion's value.ConversionAdjustment.Builder
clearUserAgent()
The user agent to enhance the original conversion.ConversionAdjustment.Builder
clearUserIdentifiers()
The user identifiers to enhance the original conversion.ConversionAdjustment.Builder
clone()
java.lang.String
getAdjustmentDateTime()
The date time at which the adjustment occurred.com.google.protobuf.ByteString
getAdjustmentDateTimeBytes()
The date time at which the adjustment occurred.ConversionAdjustmentTypeEnum.ConversionAdjustmentType
getAdjustmentType()
The adjustment type.int
getAdjustmentTypeValue()
The adjustment type.java.lang.String
getConversionAction()
Resource name of the conversion action associated with this conversion adjustment.com.google.protobuf.ByteString
getConversionActionBytes()
Resource name of the conversion action associated with this conversion adjustment.ConversionAdjustment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
GclidDateTimePair
getGclidDateTimePair()
For adjustments, uniquely identifies a conversion that was reported without an order ID specified.GclidDateTimePair.Builder
getGclidDateTimePairBuilder()
For adjustments, uniquely identifies a conversion that was reported without an order ID specified.GclidDateTimePairOrBuilder
getGclidDateTimePairOrBuilder()
For adjustments, uniquely identifies a conversion that was reported without an order ID specified.java.lang.String
getOrderId()
The order ID of the conversion to be adjusted.com.google.protobuf.ByteString
getOrderIdBytes()
The order ID of the conversion to be adjusted.RestatementValue
getRestatementValue()
Information needed to restate the conversion's value.RestatementValue.Builder
getRestatementValueBuilder()
Information needed to restate the conversion's value.RestatementValueOrBuilder
getRestatementValueOrBuilder()
Information needed to restate the conversion's value.java.lang.String
getUserAgent()
The user agent to enhance the original conversion.com.google.protobuf.ByteString
getUserAgentBytes()
The user agent to enhance the original conversion.UserIdentifier
getUserIdentifiers(int index)
The user identifiers to enhance the original conversion.UserIdentifier.Builder
getUserIdentifiersBuilder(int index)
The user identifiers to enhance the original conversion.java.util.List<UserIdentifier.Builder>
getUserIdentifiersBuilderList()
The user identifiers to enhance the original conversion.int
getUserIdentifiersCount()
The user identifiers to enhance the original conversion.java.util.List<UserIdentifier>
getUserIdentifiersList()
The user identifiers to enhance the original conversion.UserIdentifierOrBuilder
getUserIdentifiersOrBuilder(int index)
The user identifiers to enhance the original conversion.java.util.List<? extends UserIdentifierOrBuilder>
getUserIdentifiersOrBuilderList()
The user identifiers to enhance the original conversion.boolean
hasAdjustmentDateTime()
The date time at which the adjustment occurred.boolean
hasConversionAction()
Resource name of the conversion action associated with this conversion adjustment.boolean
hasGclidDateTimePair()
For adjustments, uniquely identifies a conversion that was reported without an order ID specified.boolean
hasOrderId()
The order ID of the conversion to be adjusted.boolean
hasRestatementValue()
Information needed to restate the conversion's value.boolean
hasUserAgent()
The user agent to enhance the original conversion.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ConversionAdjustment.Builder
mergeFrom(ConversionAdjustment other)
ConversionAdjustment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ConversionAdjustment.Builder
mergeFrom(com.google.protobuf.Message other)
ConversionAdjustment.Builder
mergeGclidDateTimePair(GclidDateTimePair value)
For adjustments, uniquely identifies a conversion that was reported without an order ID specified.ConversionAdjustment.Builder
mergeRestatementValue(RestatementValue value)
Information needed to restate the conversion's value.ConversionAdjustment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ConversionAdjustment.Builder
removeUserIdentifiers(int index)
The user identifiers to enhance the original conversion.ConversionAdjustment.Builder
setAdjustmentDateTime(java.lang.String value)
The date time at which the adjustment occurred.ConversionAdjustment.Builder
setAdjustmentDateTimeBytes(com.google.protobuf.ByteString value)
The date time at which the adjustment occurred.ConversionAdjustment.Builder
setAdjustmentType(ConversionAdjustmentTypeEnum.ConversionAdjustmentType value)
The adjustment type.ConversionAdjustment.Builder
setAdjustmentTypeValue(int value)
The adjustment type.ConversionAdjustment.Builder
setConversionAction(java.lang.String value)
Resource name of the conversion action associated with this conversion adjustment.ConversionAdjustment.Builder
setConversionActionBytes(com.google.protobuf.ByteString value)
Resource name of the conversion action associated with this conversion adjustment.ConversionAdjustment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ConversionAdjustment.Builder
setGclidDateTimePair(GclidDateTimePair value)
For adjustments, uniquely identifies a conversion that was reported without an order ID specified.ConversionAdjustment.Builder
setGclidDateTimePair(GclidDateTimePair.Builder builderForValue)
For adjustments, uniquely identifies a conversion that was reported without an order ID specified.ConversionAdjustment.Builder
setOrderId(java.lang.String value)
The order ID of the conversion to be adjusted.ConversionAdjustment.Builder
setOrderIdBytes(com.google.protobuf.ByteString value)
The order ID of the conversion to be adjusted.ConversionAdjustment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ConversionAdjustment.Builder
setRestatementValue(RestatementValue value)
Information needed to restate the conversion's value.ConversionAdjustment.Builder
setRestatementValue(RestatementValue.Builder builderForValue)
Information needed to restate the conversion's value.ConversionAdjustment.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ConversionAdjustment.Builder
setUserAgent(java.lang.String value)
The user agent to enhance the original conversion.ConversionAdjustment.Builder
setUserAgentBytes(com.google.protobuf.ByteString value)
The user agent to enhance the original conversion.ConversionAdjustment.Builder
setUserIdentifiers(int index, UserIdentifier value)
The user identifiers to enhance the original conversion.ConversionAdjustment.Builder
setUserIdentifiers(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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
clear
public ConversionAdjustment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
getDefaultInstanceForType
public ConversionAdjustment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConversionAdjustment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConversionAdjustment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConversionAdjustment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
setField
public ConversionAdjustment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
clearField
public ConversionAdjustment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
clearOneof
public ConversionAdjustment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
addRepeatedField
public ConversionAdjustment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
mergeFrom
public ConversionAdjustment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConversionAdjustment.Builder>
-
mergeFrom
public ConversionAdjustment.Builder mergeFrom(ConversionAdjustment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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.v13.services.GclidDateTimePair gclid_date_time_pair = 12;
- Specified by:
hasGclidDateTimePair
in 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.v13.services.GclidDateTimePair gclid_date_time_pair = 12;
- Specified by:
getGclidDateTimePair
in 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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.services.GclidDateTimePair gclid_date_time_pair = 12;
- Specified by:
getGclidDateTimePairOrBuilder
in 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:
hasOrderId
in 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:
getOrderId
in 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:
getOrderIdBytes
in 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:
hasConversionAction
in 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:
getConversionAction
in 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:
getConversionActionBytes
in 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", for example, "2019-01-01 12:32:45-08:00".
optional string adjustment_date_time = 9;
- Specified by:
hasAdjustmentDateTime
in 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", for example, "2019-01-01 12:32:45-08:00".
optional string adjustment_date_time = 9;
- Specified by:
getAdjustmentDateTime
in 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", for example, "2019-01-01 12:32:45-08:00".
optional string adjustment_date_time = 9;
- Specified by:
getAdjustmentDateTimeBytes
in 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", for example, "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", for example, "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", for example, "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.v13.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5;
- Specified by:
getAdjustmentTypeValue
in interfaceConversionAdjustmentOrBuilder
- Returns:
- The enum numeric value on the wire for adjustmentType.
-
setAdjustmentTypeValue
public ConversionAdjustment.Builder setAdjustmentTypeValue(int value)
The adjustment type.
.google.ads.googleads.v13.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.v13.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5;
- Specified by:
getAdjustmentType
in interfaceConversionAdjustmentOrBuilder
- Returns:
- The adjustmentType.
-
setAdjustmentType
public ConversionAdjustment.Builder setAdjustmentType(ConversionAdjustmentTypeEnum.ConversionAdjustmentType value)
The adjustment type.
.google.ads.googleads.v13.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.v13.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.v13.services.RestatementValue restatement_value = 6;
- Specified by:
hasRestatementValue
in 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.v13.services.RestatementValue restatement_value = 6;
- Specified by:
getRestatementValue
in 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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.services.RestatementValue restatement_value = 6;
- Specified by:
getRestatementValueOrBuilder
in 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.v13.common.UserIdentifier user_identifiers = 10;
- Specified by:
getUserIdentifiersList
in 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.v13.common.UserIdentifier user_identifiers = 10;
- Specified by:
getUserIdentifiersCount
in 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.v13.common.UserIdentifier user_identifiers = 10;
- Specified by:
getUserIdentifiers
in 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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.common.UserIdentifier user_identifiers = 10;
- Specified by:
getUserIdentifiersOrBuilder
in 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.v13.common.UserIdentifier user_identifiers = 10;
- Specified by:
getUserIdentifiersOrBuilderList
in 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.v13.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.v13.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.v13.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:
hasUserAgent
in 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:
getUserAgent
in 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:
getUserAgentBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
mergeUnknownFields
public final ConversionAdjustment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
-
-