Class ConversionAction
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.resources.ConversionAction
-
- All Implemented Interfaces:
ConversionActionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class ConversionAction extends com.google.protobuf.GeneratedMessageV3 implements ConversionActionOrBuilder
A conversion action.
Protobuf typegoogle.ads.googleads.v10.resources.ConversionAction- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversionAction.AttributionModelSettingsSettings related to this conversion action's attribution model.static interfaceConversionAction.AttributionModelSettingsOrBuilderstatic classConversionAction.BuilderA conversion action.static classConversionAction.FirebaseSettingsSettings related to a Firebase conversion action.static interfaceConversionAction.FirebaseSettingsOrBuilderstatic classConversionAction.ThirdPartyAppAnalyticsSettingsSettings related to a third party app analytics conversion action.static interfaceConversionAction.ThirdPartyAppAnalyticsSettingsOrBuilderstatic classConversionAction.ValueSettingsSettings related to the value for conversion events associated with this conversion action.static interfaceConversionAction.ValueSettingsOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAPP_ID_FIELD_NUMBERstatic intATTRIBUTION_MODEL_SETTINGS_FIELD_NUMBERstatic intCATEGORY_FIELD_NUMBERstatic intCLICK_THROUGH_LOOKBACK_WINDOW_DAYS_FIELD_NUMBERstatic intCOUNTING_TYPE_FIELD_NUMBERstatic intFIREBASE_SETTINGS_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intINCLUDE_IN_CONVERSIONS_METRIC_FIELD_NUMBERstatic intMOBILE_APP_VENDOR_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intORIGIN_FIELD_NUMBERstatic intOWNER_CUSTOMER_FIELD_NUMBERstatic intPHONE_CALL_DURATION_SECONDS_FIELD_NUMBERstatic intPRIMARY_FOR_GOAL_FIELD_NUMBERstatic intRESOURCE_NAME_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intTAG_SNIPPETS_FIELD_NUMBERstatic intTHIRD_PARTY_APP_ANALYTICS_SETTINGS_FIELD_NUMBERstatic intTYPE_FIELD_NUMBERstatic intVALUE_SETTINGS_FIELD_NUMBERstatic intVIEW_THROUGH_LOOKBACK_WINDOW_DAYS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAppId()App ID for an app conversion action.com.google.protobuf.ByteStringgetAppIdBytes()App ID for an app conversion action.ConversionAction.AttributionModelSettingsgetAttributionModelSettings()Settings related to this conversion action's attribution model.ConversionAction.AttributionModelSettingsOrBuildergetAttributionModelSettingsOrBuilder()Settings related to this conversion action's attribution model.ConversionActionCategoryEnum.ConversionActionCategorygetCategory()The category of conversions reported for this conversion action.intgetCategoryValue()The category of conversions reported for this conversion action.longgetClickThroughLookbackWindowDays()The maximum number of days that may elapse between an interaction (e.g., a click) and a conversion event.ConversionActionCountingTypeEnum.ConversionActionCountingTypegetCountingType()How to count conversion events for the conversion action.intgetCountingTypeValue()How to count conversion events for the conversion action.static ConversionActiongetDefaultInstance()ConversionActiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ConversionAction.FirebaseSettingsgetFirebaseSettings()Output only.ConversionAction.FirebaseSettingsOrBuildergetFirebaseSettingsOrBuilder()Output only.longgetId()Output only.booleangetIncludeInConversionsMetric()Whether this conversion action should be included in the "conversions" metric.MobileAppVendorEnum.MobileAppVendorgetMobileAppVendor()Output only.intgetMobileAppVendorValue()Output only.java.lang.StringgetName()The name of the conversion action.com.google.protobuf.ByteStringgetNameBytes()The name of the conversion action.ConversionOriginEnum.ConversionOrigingetOrigin()Output only.intgetOriginValue()Output only.java.lang.StringgetOwnerCustomer()Output only.com.google.protobuf.ByteStringgetOwnerCustomerBytes()Output only.com.google.protobuf.Parser<ConversionAction>getParserForType()longgetPhoneCallDurationSeconds()The phone call duration in seconds after which a conversion should be reported for this conversion action.booleangetPrimaryForGoal()If a conversion action's primary_for_goal bit is false, the conversion action is non-biddable for all campaigns regardless of their customer conversion goal or campaign conversion goal.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.intgetSerializedSize()ConversionActionStatusEnum.ConversionActionStatusgetStatus()The status of this conversion action for conversion event accrual.intgetStatusValue()The status of this conversion action for conversion event accrual.TagSnippetgetTagSnippets(int index)Output only.intgetTagSnippetsCount()Output only.java.util.List<TagSnippet>getTagSnippetsList()Output only.TagSnippetOrBuildergetTagSnippetsOrBuilder(int index)Output only.java.util.List<? extends TagSnippetOrBuilder>getTagSnippetsOrBuilderList()Output only.ConversionAction.ThirdPartyAppAnalyticsSettingsgetThirdPartyAppAnalyticsSettings()Output only.ConversionAction.ThirdPartyAppAnalyticsSettingsOrBuildergetThirdPartyAppAnalyticsSettingsOrBuilder()Output only.ConversionActionTypeEnum.ConversionActionTypegetType()Immutable.intgetTypeValue()Immutable.com.google.protobuf.UnknownFieldSetgetUnknownFields()ConversionAction.ValueSettingsgetValueSettings()Settings related to the value for conversion events associated with this conversion action.ConversionAction.ValueSettingsOrBuildergetValueSettingsOrBuilder()Settings related to the value for conversion events associated with this conversion action.longgetViewThroughLookbackWindowDays()The maximum number of days which may elapse between an impression and a conversion without an interaction.booleanhasAppId()App ID for an app conversion action.booleanhasAttributionModelSettings()Settings related to this conversion action's attribution model.booleanhasClickThroughLookbackWindowDays()The maximum number of days that may elapse between an interaction (e.g., a click) and a conversion event.booleanhasFirebaseSettings()Output only.inthashCode()booleanhasId()Output only.booleanhasIncludeInConversionsMetric()Whether this conversion action should be included in the "conversions" metric.booleanhasName()The name of the conversion action.booleanhasOwnerCustomer()Output only.booleanhasPhoneCallDurationSeconds()The phone call duration in seconds after which a conversion should be reported for this conversion action.booleanhasPrimaryForGoal()If a conversion action's primary_for_goal bit is false, the conversion action is non-biddable for all campaigns regardless of their customer conversion goal or campaign conversion goal.booleanhasThirdPartyAppAnalyticsSettings()Output only.booleanhasValueSettings()Settings related to the value for conversion events associated with this conversion action.booleanhasViewThroughLookbackWindowDays()The maximum number of days which may elapse between an impression and a conversion without an interaction.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ConversionAction.BuildernewBuilder()static ConversionAction.BuildernewBuilder(ConversionAction prototype)ConversionAction.BuildernewBuilderForType()protected ConversionAction.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ConversionActionparseDelimitedFrom(java.io.InputStream input)static ConversionActionparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversionActionparseFrom(byte[] data)static ConversionActionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversionActionparseFrom(com.google.protobuf.ByteString data)static ConversionActionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversionActionparseFrom(com.google.protobuf.CodedInputStream input)static ConversionActionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversionActionparseFrom(java.io.InputStream input)static ConversionActionparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversionActionparseFrom(java.nio.ByteBuffer data)static ConversionActionparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ConversionAction>parser()ConversionAction.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORIGIN_FIELD_NUMBER
public static final int ORIGIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIMARY_FOR_GOAL_FIELD_NUMBER
public static final int PRIMARY_FOR_GOAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OWNER_CUSTOMER_FIELD_NUMBER
public static final int OWNER_CUSTOMER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INCLUDE_IN_CONVERSIONS_METRIC_FIELD_NUMBER
public static final int INCLUDE_IN_CONVERSIONS_METRIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLICK_THROUGH_LOOKBACK_WINDOW_DAYS_FIELD_NUMBER
public static final int CLICK_THROUGH_LOOKBACK_WINDOW_DAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VIEW_THROUGH_LOOKBACK_WINDOW_DAYS_FIELD_NUMBER
public static final int VIEW_THROUGH_LOOKBACK_WINDOW_DAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUE_SETTINGS_FIELD_NUMBER
public static final int VALUE_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COUNTING_TYPE_FIELD_NUMBER
public static final int COUNTING_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTRIBUTION_MODEL_SETTINGS_FIELD_NUMBER
public static final int ATTRIBUTION_MODEL_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAG_SNIPPETS_FIELD_NUMBER
public static final int TAG_SNIPPETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHONE_CALL_DURATION_SECONDS_FIELD_NUMBER
public static final int PHONE_CALL_DURATION_SECONDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APP_ID_FIELD_NUMBER
public static final int APP_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MOBILE_APP_VENDOR_FIELD_NUMBER
public static final int MOBILE_APP_VENDOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIREBASE_SETTINGS_FIELD_NUMBER
public static final int FIREBASE_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THIRD_PARTY_APP_ANALYTICS_SETTINGS_FIELD_NUMBER
public static final int THIRD_PARTY_APP_ANALYTICS_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the conversion action. Conversion action resource names have the form: `customers/{customer_id}/conversionActions/{conversion_action_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceConversionActionOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the conversion action. Conversion action resource names have the form: `customers/{customer_id}/conversionActions/{conversion_action_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceConversionActionOrBuilder- Returns:
- The bytes for resourceName.
-
hasId
public boolean hasId()
Output only. The ID of the conversion action.
optional int64 id = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIdin interfaceConversionActionOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
Output only. The ID of the conversion action.
optional int64 id = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceConversionActionOrBuilder- Returns:
- The id.
-
hasName
public boolean hasName()
The name of the conversion action. This field is required and should not be empty when creating new conversion actions.
optional string name = 22;- Specified by:
hasNamein interfaceConversionActionOrBuilder- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
The name of the conversion action. This field is required and should not be empty when creating new conversion actions.
optional string name = 22;- Specified by:
getNamein interfaceConversionActionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the conversion action. This field is required and should not be empty when creating new conversion actions.
optional string name = 22;- Specified by:
getNameBytesin interfaceConversionActionOrBuilder- Returns:
- The bytes for name.
-
getStatusValue
public int getStatusValue()
The status of this conversion action for conversion event accrual.
.google.ads.googleads.v10.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4;- Specified by:
getStatusValuein interfaceConversionActionOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public ConversionActionStatusEnum.ConversionActionStatus getStatus()
The status of this conversion action for conversion event accrual.
.google.ads.googleads.v10.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4;- Specified by:
getStatusin interfaceConversionActionOrBuilder- Returns:
- The status.
-
getTypeValue
public int getTypeValue()
Immutable. The type of this conversion action.
.google.ads.googleads.v10.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTypeValuein interfaceConversionActionOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public ConversionActionTypeEnum.ConversionActionType getType()
Immutable. The type of this conversion action.
.google.ads.googleads.v10.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTypein interfaceConversionActionOrBuilder- Returns:
- The type.
-
getOriginValue
public int getOriginValue()
Output only. The conversion origin of this conversion action.
.google.ads.googleads.v10.enums.ConversionOriginEnum.ConversionOrigin origin = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOriginValuein interfaceConversionActionOrBuilder- Returns:
- The enum numeric value on the wire for origin.
-
getOrigin
public ConversionOriginEnum.ConversionOrigin getOrigin()
Output only. The conversion origin of this conversion action.
.google.ads.googleads.v10.enums.ConversionOriginEnum.ConversionOrigin origin = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOriginin interfaceConversionActionOrBuilder- Returns:
- The origin.
-
hasPrimaryForGoal
public boolean hasPrimaryForGoal()
If a conversion action's primary_for_goal bit is false, the conversion action is non-biddable for all campaigns regardless of their customer conversion goal or campaign conversion goal. However, custom conversion goals do not respect primary_for_goal, so if a campaign has a custom conversion goal configured with a primary_for_goal = false conversion action, that conversion action is still biddable. By default, primary_for_goal will be true if not set. In V9, primary_for_goal can only be set to false after creation via an 'update' operation because it's not declared as optional.
optional bool primary_for_goal = 31;- Specified by:
hasPrimaryForGoalin interfaceConversionActionOrBuilder- Returns:
- Whether the primaryForGoal field is set.
-
getPrimaryForGoal
public boolean getPrimaryForGoal()
If a conversion action's primary_for_goal bit is false, the conversion action is non-biddable for all campaigns regardless of their customer conversion goal or campaign conversion goal. However, custom conversion goals do not respect primary_for_goal, so if a campaign has a custom conversion goal configured with a primary_for_goal = false conversion action, that conversion action is still biddable. By default, primary_for_goal will be true if not set. In V9, primary_for_goal can only be set to false after creation via an 'update' operation because it's not declared as optional.
optional bool primary_for_goal = 31;- Specified by:
getPrimaryForGoalin interfaceConversionActionOrBuilder- Returns:
- The primaryForGoal.
-
getCategoryValue
public int getCategoryValue()
The category of conversions reported for this conversion action.
.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 6;- Specified by:
getCategoryValuein interfaceConversionActionOrBuilder- Returns:
- The enum numeric value on the wire for category.
-
getCategory
public ConversionActionCategoryEnum.ConversionActionCategory getCategory()
The category of conversions reported for this conversion action.
.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 6;- Specified by:
getCategoryin interfaceConversionActionOrBuilder- Returns:
- The category.
-
hasOwnerCustomer
public boolean hasOwnerCustomer()
Output only. The resource name of the conversion action owner customer, or null if this is a system-defined conversion action.
optional string owner_customer = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasOwnerCustomerin interfaceConversionActionOrBuilder- Returns:
- Whether the ownerCustomer field is set.
-
getOwnerCustomer
public java.lang.String getOwnerCustomer()
Output only. The resource name of the conversion action owner customer, or null if this is a system-defined conversion action.
optional string owner_customer = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getOwnerCustomerin interfaceConversionActionOrBuilder- Returns:
- The ownerCustomer.
-
getOwnerCustomerBytes
public com.google.protobuf.ByteString getOwnerCustomerBytes()
Output only. The resource name of the conversion action owner customer, or null if this is a system-defined conversion action.
optional string owner_customer = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getOwnerCustomerBytesin interfaceConversionActionOrBuilder- Returns:
- The bytes for ownerCustomer.
-
hasIncludeInConversionsMetric
public boolean hasIncludeInConversionsMetric()
Whether this conversion action should be included in the "conversions" metric.
optional bool include_in_conversions_metric = 24;- Specified by:
hasIncludeInConversionsMetricin interfaceConversionActionOrBuilder- Returns:
- Whether the includeInConversionsMetric field is set.
-
getIncludeInConversionsMetric
public boolean getIncludeInConversionsMetric()
Whether this conversion action should be included in the "conversions" metric.
optional bool include_in_conversions_metric = 24;- Specified by:
getIncludeInConversionsMetricin interfaceConversionActionOrBuilder- Returns:
- The includeInConversionsMetric.
-
hasClickThroughLookbackWindowDays
public boolean hasClickThroughLookbackWindowDays()
The maximum number of days that may elapse between an interaction (e.g., a click) and a conversion event.
optional int64 click_through_lookback_window_days = 25;- Specified by:
hasClickThroughLookbackWindowDaysin interfaceConversionActionOrBuilder- Returns:
- Whether the clickThroughLookbackWindowDays field is set.
-
getClickThroughLookbackWindowDays
public long getClickThroughLookbackWindowDays()
The maximum number of days that may elapse between an interaction (e.g., a click) and a conversion event.
optional int64 click_through_lookback_window_days = 25;- Specified by:
getClickThroughLookbackWindowDaysin interfaceConversionActionOrBuilder- Returns:
- The clickThroughLookbackWindowDays.
-
hasViewThroughLookbackWindowDays
public boolean hasViewThroughLookbackWindowDays()
The maximum number of days which may elapse between an impression and a conversion without an interaction.
optional int64 view_through_lookback_window_days = 26;- Specified by:
hasViewThroughLookbackWindowDaysin interfaceConversionActionOrBuilder- Returns:
- Whether the viewThroughLookbackWindowDays field is set.
-
getViewThroughLookbackWindowDays
public long getViewThroughLookbackWindowDays()
The maximum number of days which may elapse between an impression and a conversion without an interaction.
optional int64 view_through_lookback_window_days = 26;- Specified by:
getViewThroughLookbackWindowDaysin interfaceConversionActionOrBuilder- Returns:
- The viewThroughLookbackWindowDays.
-
hasValueSettings
public boolean hasValueSettings()
Settings related to the value for conversion events associated with this conversion action.
.google.ads.googleads.v10.resources.ConversionAction.ValueSettings value_settings = 11;- Specified by:
hasValueSettingsin interfaceConversionActionOrBuilder- Returns:
- Whether the valueSettings field is set.
-
getValueSettings
public ConversionAction.ValueSettings getValueSettings()
Settings related to the value for conversion events associated with this conversion action.
.google.ads.googleads.v10.resources.ConversionAction.ValueSettings value_settings = 11;- Specified by:
getValueSettingsin interfaceConversionActionOrBuilder- Returns:
- The valueSettings.
-
getValueSettingsOrBuilder
public ConversionAction.ValueSettingsOrBuilder getValueSettingsOrBuilder()
Settings related to the value for conversion events associated with this conversion action.
.google.ads.googleads.v10.resources.ConversionAction.ValueSettings value_settings = 11;- Specified by:
getValueSettingsOrBuilderin interfaceConversionActionOrBuilder
-
getCountingTypeValue
public int getCountingTypeValue()
How to count conversion events for the conversion action.
.google.ads.googleads.v10.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType counting_type = 12;- Specified by:
getCountingTypeValuein interfaceConversionActionOrBuilder- Returns:
- The enum numeric value on the wire for countingType.
-
getCountingType
public ConversionActionCountingTypeEnum.ConversionActionCountingType getCountingType()
How to count conversion events for the conversion action.
.google.ads.googleads.v10.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType counting_type = 12;- Specified by:
getCountingTypein interfaceConversionActionOrBuilder- Returns:
- The countingType.
-
hasAttributionModelSettings
public boolean hasAttributionModelSettings()
Settings related to this conversion action's attribution model.
.google.ads.googleads.v10.resources.ConversionAction.AttributionModelSettings attribution_model_settings = 13;- Specified by:
hasAttributionModelSettingsin interfaceConversionActionOrBuilder- Returns:
- Whether the attributionModelSettings field is set.
-
getAttributionModelSettings
public ConversionAction.AttributionModelSettings getAttributionModelSettings()
Settings related to this conversion action's attribution model.
.google.ads.googleads.v10.resources.ConversionAction.AttributionModelSettings attribution_model_settings = 13;- Specified by:
getAttributionModelSettingsin interfaceConversionActionOrBuilder- Returns:
- The attributionModelSettings.
-
getAttributionModelSettingsOrBuilder
public ConversionAction.AttributionModelSettingsOrBuilder getAttributionModelSettingsOrBuilder()
Settings related to this conversion action's attribution model.
.google.ads.googleads.v10.resources.ConversionAction.AttributionModelSettings attribution_model_settings = 13;- Specified by:
getAttributionModelSettingsOrBuilderin interfaceConversionActionOrBuilder
-
getTagSnippetsList
public java.util.List<TagSnippet> getTagSnippetsList()
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTagSnippetsListin interfaceConversionActionOrBuilder
-
getTagSnippetsOrBuilderList
public java.util.List<? extends TagSnippetOrBuilder> getTagSnippetsOrBuilderList()
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTagSnippetsOrBuilderListin interfaceConversionActionOrBuilder
-
getTagSnippetsCount
public int getTagSnippetsCount()
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTagSnippetsCountin interfaceConversionActionOrBuilder
-
getTagSnippets
public TagSnippet getTagSnippets(int index)
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTagSnippetsin interfaceConversionActionOrBuilder
-
getTagSnippetsOrBuilder
public TagSnippetOrBuilder getTagSnippetsOrBuilder(int index)
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTagSnippetsOrBuilderin interfaceConversionActionOrBuilder
-
hasPhoneCallDurationSeconds
public boolean hasPhoneCallDurationSeconds()
The phone call duration in seconds after which a conversion should be reported for this conversion action. The value must be between 0 and 10000, inclusive.
optional int64 phone_call_duration_seconds = 27;- Specified by:
hasPhoneCallDurationSecondsin interfaceConversionActionOrBuilder- Returns:
- Whether the phoneCallDurationSeconds field is set.
-
getPhoneCallDurationSeconds
public long getPhoneCallDurationSeconds()
The phone call duration in seconds after which a conversion should be reported for this conversion action. The value must be between 0 and 10000, inclusive.
optional int64 phone_call_duration_seconds = 27;- Specified by:
getPhoneCallDurationSecondsin interfaceConversionActionOrBuilder- Returns:
- The phoneCallDurationSeconds.
-
hasAppId
public boolean hasAppId()
App ID for an app conversion action.
optional string app_id = 28;- Specified by:
hasAppIdin interfaceConversionActionOrBuilder- Returns:
- Whether the appId field is set.
-
getAppId
public java.lang.String getAppId()
App ID for an app conversion action.
optional string app_id = 28;- Specified by:
getAppIdin interfaceConversionActionOrBuilder- Returns:
- The appId.
-
getAppIdBytes
public com.google.protobuf.ByteString getAppIdBytes()
App ID for an app conversion action.
optional string app_id = 28;- Specified by:
getAppIdBytesin interfaceConversionActionOrBuilder- Returns:
- The bytes for appId.
-
getMobileAppVendorValue
public int getMobileAppVendorValue()
Output only. Mobile app vendor for an app conversion action.
.google.ads.googleads.v10.enums.MobileAppVendorEnum.MobileAppVendor mobile_app_vendor = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMobileAppVendorValuein interfaceConversionActionOrBuilder- Returns:
- The enum numeric value on the wire for mobileAppVendor.
-
getMobileAppVendor
public MobileAppVendorEnum.MobileAppVendor getMobileAppVendor()
Output only. Mobile app vendor for an app conversion action.
.google.ads.googleads.v10.enums.MobileAppVendorEnum.MobileAppVendor mobile_app_vendor = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMobileAppVendorin interfaceConversionActionOrBuilder- Returns:
- The mobileAppVendor.
-
hasFirebaseSettings
public boolean hasFirebaseSettings()
Output only. Firebase settings for Firebase conversion types.
.google.ads.googleads.v10.resources.ConversionAction.FirebaseSettings firebase_settings = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFirebaseSettingsin interfaceConversionActionOrBuilder- Returns:
- Whether the firebaseSettings field is set.
-
getFirebaseSettings
public ConversionAction.FirebaseSettings getFirebaseSettings()
Output only. Firebase settings for Firebase conversion types.
.google.ads.googleads.v10.resources.ConversionAction.FirebaseSettings firebase_settings = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFirebaseSettingsin interfaceConversionActionOrBuilder- Returns:
- The firebaseSettings.
-
getFirebaseSettingsOrBuilder
public ConversionAction.FirebaseSettingsOrBuilder getFirebaseSettingsOrBuilder()
Output only. Firebase settings for Firebase conversion types.
.google.ads.googleads.v10.resources.ConversionAction.FirebaseSettings firebase_settings = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFirebaseSettingsOrBuilderin interfaceConversionActionOrBuilder
-
hasThirdPartyAppAnalyticsSettings
public boolean hasThirdPartyAppAnalyticsSettings()
Output only. Third Party App Analytics settings for third party conversion types.
.google.ads.googleads.v10.resources.ConversionAction.ThirdPartyAppAnalyticsSettings third_party_app_analytics_settings = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasThirdPartyAppAnalyticsSettingsin interfaceConversionActionOrBuilder- Returns:
- Whether the thirdPartyAppAnalyticsSettings field is set.
-
getThirdPartyAppAnalyticsSettings
public ConversionAction.ThirdPartyAppAnalyticsSettings getThirdPartyAppAnalyticsSettings()
Output only. Third Party App Analytics settings for third party conversion types.
.google.ads.googleads.v10.resources.ConversionAction.ThirdPartyAppAnalyticsSettings third_party_app_analytics_settings = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getThirdPartyAppAnalyticsSettingsin interfaceConversionActionOrBuilder- Returns:
- The thirdPartyAppAnalyticsSettings.
-
getThirdPartyAppAnalyticsSettingsOrBuilder
public ConversionAction.ThirdPartyAppAnalyticsSettingsOrBuilder getThirdPartyAppAnalyticsSettingsOrBuilder()
Output only. Third Party App Analytics settings for third party conversion types.
.google.ads.googleads.v10.resources.ConversionAction.ThirdPartyAppAnalyticsSettings third_party_app_analytics_settings = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getThirdPartyAppAnalyticsSettingsOrBuilderin interfaceConversionActionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 ConversionAction parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversionAction parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversionAction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversionAction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversionAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversionAction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversionAction parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ConversionAction parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ConversionAction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ConversionAction parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ConversionAction parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ConversionAction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ConversionAction.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ConversionAction.Builder newBuilder()
-
newBuilder
public static ConversionAction.Builder newBuilder(ConversionAction prototype)
-
toBuilder
public ConversionAction.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConversionAction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ConversionAction getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ConversionAction> parser()
-
getParserForType
public com.google.protobuf.Parser<ConversionAction> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ConversionAction getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-