Class ConversionAdjustment
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.ConversionAdjustment
- All Implemented Interfaces:
ConversionAdjustmentOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ConversionAdjustment
extends com.google.protobuf.GeneratedMessageV3
implements ConversionAdjustmentOrBuilder
A conversion adjustment.Protobuf type
google.ads.googleads.v18.services.ConversionAdjustment- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA conversion adjustment.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe date time at which the adjustment occurred.com.google.protobuf.ByteStringThe date time at which the adjustment occurred.The adjustment type.intThe adjustment type.Resource name of the conversion action associated with this conversion adjustment.com.google.protobuf.ByteStringResource name of the conversion action associated with this conversion adjustment.static ConversionAdjustmentstatic final com.google.protobuf.Descriptors.DescriptorFor adjustments, uniquely identifies a conversion that was reported without an order ID specified.For adjustments, uniquely identifies a conversion that was reported without an order ID specified.The order ID of the conversion to be adjusted.com.google.protobuf.ByteStringThe order ID of the conversion to be adjusted.com.google.protobuf.Parser<ConversionAdjustment>Information needed to restate the conversion's value.Information needed to restate the conversion's value.intThe user agent to enhance the original conversion.com.google.protobuf.ByteStringThe user agent to enhance the original conversion.getUserIdentifiers(int index) The user identifiers to enhance the original conversion.intThe user identifiers to enhance the original conversion.The user identifiers to enhance the original conversion.getUserIdentifiersOrBuilder(int index) The user identifiers to enhance the original conversion.List<? extends UserIdentifierOrBuilder>The user identifiers to enhance the original conversion.booleanThe date time at which the adjustment occurred.booleanResource name of the conversion action associated with this conversion adjustment.booleanFor adjustments, uniquely identifies a conversion that was reported without an order ID specified.inthashCode()booleanThe order ID of the conversion to be adjusted.booleanInformation needed to restate the conversion's value.booleanThe user agent to enhance the original conversion.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ConversionAdjustment.Builderstatic ConversionAdjustment.BuildernewBuilder(ConversionAdjustment prototype) protected ConversionAdjustment.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ConversionAdjustmentparseDelimitedFrom(InputStream input) static ConversionAdjustmentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversionAdjustmentparseFrom(byte[] data) static ConversionAdjustmentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversionAdjustmentparseFrom(com.google.protobuf.ByteString data) static ConversionAdjustmentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversionAdjustmentparseFrom(com.google.protobuf.CodedInputStream input) static ConversionAdjustmentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversionAdjustmentparseFrom(InputStream input) static ConversionAdjustmentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConversionAdjustmentparseFrom(ByteBuffer data) static ConversionAdjustmentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ConversionAdjustment>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
GCLID_DATE_TIME_PAIR_FIELD_NUMBER
public static final int GCLID_DATE_TIME_PAIR_FIELD_NUMBER- See Also:
-
ORDER_ID_FIELD_NUMBER
public static final int ORDER_ID_FIELD_NUMBER- See Also:
-
CONVERSION_ACTION_FIELD_NUMBER
public static final int CONVERSION_ACTION_FIELD_NUMBER- See Also:
-
ADJUSTMENT_DATE_TIME_FIELD_NUMBER
public static final int ADJUSTMENT_DATE_TIME_FIELD_NUMBER- See Also:
-
ADJUSTMENT_TYPE_FIELD_NUMBER
public static final int ADJUSTMENT_TYPE_FIELD_NUMBER- See Also:
-
RESTATEMENT_VALUE_FIELD_NUMBER
public static final int RESTATEMENT_VALUE_FIELD_NUMBER- See Also:
-
USER_IDENTIFIERS_FIELD_NUMBER
public static final int USER_IDENTIFIERS_FIELD_NUMBER- See Also:
-
USER_AGENT_FIELD_NUMBER
public static final int USER_AGENT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.v18.services.GclidDateTimePair gclid_date_time_pair = 12;- Specified by:
hasGclidDateTimePairin interfaceConversionAdjustmentOrBuilder- Returns:
- Whether the gclidDateTimePair field is set.
-
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.v18.services.GclidDateTimePair gclid_date_time_pair = 12;- Specified by:
getGclidDateTimePairin interfaceConversionAdjustmentOrBuilder- Returns:
- The gclidDateTimePair.
-
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.v18.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
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.
-
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
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.
-
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:
hasAdjustmentDateTimein interfaceConversionAdjustmentOrBuilder- Returns:
- Whether the adjustmentDateTime field is set.
-
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:
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", for example, "2019-01-01 12:32:45-08:00".
optional string adjustment_date_time = 9;- Specified by:
getAdjustmentDateTimeBytesin interfaceConversionAdjustmentOrBuilder- Returns:
- The bytes for adjustmentDateTime.
-
getAdjustmentTypeValue
public int getAdjustmentTypeValue()The adjustment type.
.google.ads.googleads.v18.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5;- Specified by:
getAdjustmentTypeValuein interfaceConversionAdjustmentOrBuilder- Returns:
- The enum numeric value on the wire for adjustmentType.
-
getAdjustmentType
The adjustment type.
.google.ads.googleads.v18.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5;- Specified by:
getAdjustmentTypein interfaceConversionAdjustmentOrBuilder- Returns:
- The adjustmentType.
-
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.v18.services.RestatementValue restatement_value = 6;- Specified by:
hasRestatementValuein interfaceConversionAdjustmentOrBuilder- Returns:
- Whether the restatementValue field is set.
-
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.v18.services.RestatementValue restatement_value = 6;- Specified by:
getRestatementValuein interfaceConversionAdjustmentOrBuilder- Returns:
- The restatementValue.
-
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.v18.services.RestatementValue restatement_value = 6;- Specified by:
getRestatementValueOrBuilderin interfaceConversionAdjustmentOrBuilder
-
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.v18.common.UserIdentifier user_identifiers = 10;- Specified by:
getUserIdentifiersListin interfaceConversionAdjustmentOrBuilder
-
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.v18.common.UserIdentifier user_identifiers = 10;- Specified by:
getUserIdentifiersOrBuilderListin 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.v18.common.UserIdentifier user_identifiers = 10;- Specified by:
getUserIdentifiersCountin interfaceConversionAdjustmentOrBuilder
-
getUserIdentifiers
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.v18.common.UserIdentifier user_identifiers = 10;- Specified by:
getUserIdentifiersin interfaceConversionAdjustmentOrBuilder
-
getUserIdentifiersOrBuilder
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.v18.common.UserIdentifier user_identifiers = 10;- Specified by:
getUserIdentifiersOrBuilderin interfaceConversionAdjustmentOrBuilder
-
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
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ConversionAdjustment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversionAdjustment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversionAdjustment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversionAdjustment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversionAdjustment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversionAdjustment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ConversionAdjustment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ConversionAdjustment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ConversionAdjustment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ConversionAdjustment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConversionAdjustment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-