Class ConversionAction.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
- com.google.ads.googleads.v10.resources.ConversionAction.Builder
-
- All Implemented Interfaces:
ConversionActionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- ConversionAction
public static final class ConversionAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder> implements ConversionActionOrBuilder
A conversion action.
Protobuf typegoogle.ads.googleads.v10.resources.ConversionAction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversionAction.BuilderaddAllTagSnippets(java.lang.Iterable<? extends TagSnippet> values)Output only.ConversionAction.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ConversionAction.BuilderaddTagSnippets(int index, TagSnippet value)Output only.ConversionAction.BuilderaddTagSnippets(int index, TagSnippet.Builder builderForValue)Output only.ConversionAction.BuilderaddTagSnippets(TagSnippet value)Output only.ConversionAction.BuilderaddTagSnippets(TagSnippet.Builder builderForValue)Output only.TagSnippet.BuilderaddTagSnippetsBuilder()Output only.TagSnippet.BuilderaddTagSnippetsBuilder(int index)Output only.ConversionActionbuild()ConversionActionbuildPartial()ConversionAction.Builderclear()ConversionAction.BuilderclearAppId()App ID for an app conversion action.ConversionAction.BuilderclearAttributionModelSettings()Settings related to this conversion action's attribution model.ConversionAction.BuilderclearCategory()The category of conversions reported for this conversion action.ConversionAction.BuilderclearClickThroughLookbackWindowDays()The maximum number of days that may elapse between an interaction (e.g., a click) and a conversion event.ConversionAction.BuilderclearCountingType()How to count conversion events for the conversion action.ConversionAction.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConversionAction.BuilderclearFirebaseSettings()Output only.ConversionAction.BuilderclearId()Output only.ConversionAction.BuilderclearIncludeInConversionsMetric()Whether this conversion action should be included in the "conversions" metric.ConversionAction.BuilderclearMobileAppVendor()Output only.ConversionAction.BuilderclearName()The name of the conversion action.ConversionAction.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConversionAction.BuilderclearOrigin()Output only.ConversionAction.BuilderclearOwnerCustomer()Output only.ConversionAction.BuilderclearPhoneCallDurationSeconds()The phone call duration in seconds after which a conversion should be reported for this conversion action.ConversionAction.BuilderclearPrimaryForGoal()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.ConversionAction.BuilderclearResourceName()Immutable.ConversionAction.BuilderclearStatus()The status of this conversion action for conversion event accrual.ConversionAction.BuilderclearTagSnippets()Output only.ConversionAction.BuilderclearThirdPartyAppAnalyticsSettings()Output only.ConversionAction.BuilderclearType()Immutable.ConversionAction.BuilderclearValueSettings()Settings related to the value for conversion events associated with this conversion action.ConversionAction.BuilderclearViewThroughLookbackWindowDays()The maximum number of days which may elapse between an impression and a conversion without an interaction.ConversionAction.Builderclone()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.AttributionModelSettings.BuildergetAttributionModelSettingsBuilder()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.ConversionActiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ConversionAction.FirebaseSettingsgetFirebaseSettings()Output only.ConversionAction.FirebaseSettings.BuildergetFirebaseSettingsBuilder()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.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.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.TagSnippet.BuildergetTagSnippetsBuilder(int index)Output only.java.util.List<TagSnippet.Builder>getTagSnippetsBuilderList()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.ThirdPartyAppAnalyticsSettings.BuildergetThirdPartyAppAnalyticsSettingsBuilder()Output only.ConversionAction.ThirdPartyAppAnalyticsSettingsOrBuildergetThirdPartyAppAnalyticsSettingsOrBuilder()Output only.ConversionActionTypeEnum.ConversionActionTypegetType()Immutable.intgetTypeValue()Immutable.ConversionAction.ValueSettingsgetValueSettings()Settings related to the value for conversion events associated with this conversion action.ConversionAction.ValueSettings.BuildergetValueSettingsBuilder()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.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()ConversionAction.BuildermergeAttributionModelSettings(ConversionAction.AttributionModelSettings value)Settings related to this conversion action's attribution model.ConversionAction.BuildermergeFirebaseSettings(ConversionAction.FirebaseSettings value)Output only.ConversionAction.BuildermergeFrom(ConversionAction other)ConversionAction.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConversionAction.BuildermergeFrom(com.google.protobuf.Message other)ConversionAction.BuildermergeThirdPartyAppAnalyticsSettings(ConversionAction.ThirdPartyAppAnalyticsSettings value)Output only.ConversionAction.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConversionAction.BuildermergeValueSettings(ConversionAction.ValueSettings value)Settings related to the value for conversion events associated with this conversion action.ConversionAction.BuilderremoveTagSnippets(int index)Output only.ConversionAction.BuildersetAppId(java.lang.String value)App ID for an app conversion action.ConversionAction.BuildersetAppIdBytes(com.google.protobuf.ByteString value)App ID for an app conversion action.ConversionAction.BuildersetAttributionModelSettings(ConversionAction.AttributionModelSettings value)Settings related to this conversion action's attribution model.ConversionAction.BuildersetAttributionModelSettings(ConversionAction.AttributionModelSettings.Builder builderForValue)Settings related to this conversion action's attribution model.ConversionAction.BuildersetCategory(ConversionActionCategoryEnum.ConversionActionCategory value)The category of conversions reported for this conversion action.ConversionAction.BuildersetCategoryValue(int value)The category of conversions reported for this conversion action.ConversionAction.BuildersetClickThroughLookbackWindowDays(long value)The maximum number of days that may elapse between an interaction (e.g., a click) and a conversion event.ConversionAction.BuildersetCountingType(ConversionActionCountingTypeEnum.ConversionActionCountingType value)How to count conversion events for the conversion action.ConversionAction.BuildersetCountingTypeValue(int value)How to count conversion events for the conversion action.ConversionAction.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ConversionAction.BuildersetFirebaseSettings(ConversionAction.FirebaseSettings value)Output only.ConversionAction.BuildersetFirebaseSettings(ConversionAction.FirebaseSettings.Builder builderForValue)Output only.ConversionAction.BuildersetId(long value)Output only.ConversionAction.BuildersetIncludeInConversionsMetric(boolean value)Whether this conversion action should be included in the "conversions" metric.ConversionAction.BuildersetMobileAppVendor(MobileAppVendorEnum.MobileAppVendor value)Output only.ConversionAction.BuildersetMobileAppVendorValue(int value)Output only.ConversionAction.BuildersetName(java.lang.String value)The name of the conversion action.ConversionAction.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the conversion action.ConversionAction.BuildersetOrigin(ConversionOriginEnum.ConversionOrigin value)Output only.ConversionAction.BuildersetOriginValue(int value)Output only.ConversionAction.BuildersetOwnerCustomer(java.lang.String value)Output only.ConversionAction.BuildersetOwnerCustomerBytes(com.google.protobuf.ByteString value)Output only.ConversionAction.BuildersetPhoneCallDurationSeconds(long value)The phone call duration in seconds after which a conversion should be reported for this conversion action.ConversionAction.BuildersetPrimaryForGoal(boolean value)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.ConversionAction.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ConversionAction.BuildersetResourceName(java.lang.String value)Immutable.ConversionAction.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)Immutable.ConversionAction.BuildersetStatus(ConversionActionStatusEnum.ConversionActionStatus value)The status of this conversion action for conversion event accrual.ConversionAction.BuildersetStatusValue(int value)The status of this conversion action for conversion event accrual.ConversionAction.BuildersetTagSnippets(int index, TagSnippet value)Output only.ConversionAction.BuildersetTagSnippets(int index, TagSnippet.Builder builderForValue)Output only.ConversionAction.BuildersetThirdPartyAppAnalyticsSettings(ConversionAction.ThirdPartyAppAnalyticsSettings value)Output only.ConversionAction.BuildersetThirdPartyAppAnalyticsSettings(ConversionAction.ThirdPartyAppAnalyticsSettings.Builder builderForValue)Output only.ConversionAction.BuildersetType(ConversionActionTypeEnum.ConversionActionType value)Immutable.ConversionAction.BuildersetTypeValue(int value)Immutable.ConversionAction.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConversionAction.BuildersetValueSettings(ConversionAction.ValueSettings value)Settings related to the value for conversion events associated with this conversion action.ConversionAction.BuildersetValueSettings(ConversionAction.ValueSettings.Builder builderForValue)Settings related to the value for conversion events associated with this conversion action.ConversionAction.BuildersetViewThroughLookbackWindowDays(long value)The maximum number of days which may elapse between an impression and a conversion without an interaction.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
clear
public ConversionAction.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
getDefaultInstanceForType
public ConversionAction getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConversionAction build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConversionAction buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConversionAction.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
setField
public ConversionAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
clearField
public ConversionAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
clearOneof
public ConversionAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
setRepeatedField
public ConversionAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
addRepeatedField
public ConversionAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
mergeFrom
public ConversionAction.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversionAction.Builder>
-
mergeFrom
public ConversionAction.Builder mergeFrom(ConversionAction other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
mergeFrom
public ConversionAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversionAction.Builder>- Throws:
java.io.IOException
-
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.
-
setResourceName
public ConversionAction.Builder setResourceName(java.lang.String value)
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) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
public ConversionAction.Builder clearResourceName()
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) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public ConversionAction.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
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.
-
setId
public ConversionAction.Builder setId(long value)
Output only. The ID of the conversion action.
optional int64 id = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public ConversionAction.Builder clearId()
Output only. The ID of the conversion action.
optional int64 id = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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.
-
setName
public ConversionAction.Builder setName(java.lang.String value)
The name of the conversion action. This field is required and should not be empty when creating new conversion actions.
optional string name = 22;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ConversionAction.Builder clearName()
The name of the conversion action. This field is required and should not be empty when creating new conversion actions.
optional string name = 22;- Returns:
- This builder for chaining.
-
setNameBytes
public ConversionAction.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the conversion action. This field is required and should not be empty when creating new conversion actions.
optional string name = 22;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setStatusValue
public ConversionAction.Builder setStatusValue(int value)
The status of this conversion action for conversion event accrual.
.google.ads.googleads.v10.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
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.
-
setStatus
public ConversionAction.Builder setStatus(ConversionActionStatusEnum.ConversionActionStatus value)
The status of this conversion action for conversion event accrual.
.google.ads.googleads.v10.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public ConversionAction.Builder clearStatus()
The status of this conversion action for conversion event accrual.
.google.ads.googleads.v10.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4;- Returns:
- This builder for chaining.
-
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.
-
setTypeValue
public ConversionAction.Builder setTypeValue(int value)
Immutable. The type of this conversion action.
.google.ads.googleads.v10.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
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.
-
setType
public ConversionAction.Builder setType(ConversionActionTypeEnum.ConversionActionType value)
Immutable. The type of this conversion action.
.google.ads.googleads.v10.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public ConversionAction.Builder clearType()
Immutable. The type of this conversion action.
.google.ads.googleads.v10.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
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.
-
setOriginValue
public ConversionAction.Builder setOriginValue(int value)
Output only. The conversion origin of this conversion action.
.google.ads.googleads.v10.enums.ConversionOriginEnum.ConversionOrigin origin = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for origin to set.- Returns:
- This builder for chaining.
-
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.
-
setOrigin
public ConversionAction.Builder setOrigin(ConversionOriginEnum.ConversionOrigin value)
Output only. The conversion origin of this conversion action.
.google.ads.googleads.v10.enums.ConversionOriginEnum.ConversionOrigin origin = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The origin to set.- Returns:
- This builder for chaining.
-
clearOrigin
public ConversionAction.Builder clearOrigin()
Output only. The conversion origin of this conversion action.
.google.ads.googleads.v10.enums.ConversionOriginEnum.ConversionOrigin origin = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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.
-
setPrimaryForGoal
public ConversionAction.Builder setPrimaryForGoal(boolean value)
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;- Parameters:
value- The primaryForGoal to set.- Returns:
- This builder for chaining.
-
clearPrimaryForGoal
public ConversionAction.Builder clearPrimaryForGoal()
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;- Returns:
- This builder for chaining.
-
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.
-
setCategoryValue
public ConversionAction.Builder setCategoryValue(int value)
The category of conversions reported for this conversion action.
.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 6;- Parameters:
value- The enum numeric value on the wire for category to set.- Returns:
- This builder for chaining.
-
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.
-
setCategory
public ConversionAction.Builder setCategory(ConversionActionCategoryEnum.ConversionActionCategory value)
The category of conversions reported for this conversion action.
.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 6;- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
clearCategory
public ConversionAction.Builder clearCategory()
The category of conversions reported for this conversion action.
.google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 6;- Returns:
- This builder for chaining.
-
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.
-
setOwnerCustomer
public ConversionAction.Builder setOwnerCustomer(java.lang.String value)
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) = { ... }- Parameters:
value- The ownerCustomer to set.- Returns:
- This builder for chaining.
-
clearOwnerCustomer
public ConversionAction.Builder clearOwnerCustomer()
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) = { ... }- Returns:
- This builder for chaining.
-
setOwnerCustomerBytes
public ConversionAction.Builder setOwnerCustomerBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for ownerCustomer to set.- Returns:
- This builder for chaining.
-
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.
-
setIncludeInConversionsMetric
public ConversionAction.Builder setIncludeInConversionsMetric(boolean value)
Whether this conversion action should be included in the "conversions" metric.
optional bool include_in_conversions_metric = 24;- Parameters:
value- The includeInConversionsMetric to set.- Returns:
- This builder for chaining.
-
clearIncludeInConversionsMetric
public ConversionAction.Builder clearIncludeInConversionsMetric()
Whether this conversion action should be included in the "conversions" metric.
optional bool include_in_conversions_metric = 24;- Returns:
- This builder for chaining.
-
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.
-
setClickThroughLookbackWindowDays
public ConversionAction.Builder setClickThroughLookbackWindowDays(long value)
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;- Parameters:
value- The clickThroughLookbackWindowDays to set.- Returns:
- This builder for chaining.
-
clearClickThroughLookbackWindowDays
public ConversionAction.Builder clearClickThroughLookbackWindowDays()
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;- Returns:
- This builder for chaining.
-
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.
-
setViewThroughLookbackWindowDays
public ConversionAction.Builder setViewThroughLookbackWindowDays(long value)
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;- Parameters:
value- The viewThroughLookbackWindowDays to set.- Returns:
- This builder for chaining.
-
clearViewThroughLookbackWindowDays
public ConversionAction.Builder clearViewThroughLookbackWindowDays()
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;- Returns:
- This builder for chaining.
-
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.
-
setValueSettings
public ConversionAction.Builder setValueSettings(ConversionAction.ValueSettings value)
Settings related to the value for conversion events associated with this conversion action.
.google.ads.googleads.v10.resources.ConversionAction.ValueSettings value_settings = 11;
-
setValueSettings
public ConversionAction.Builder setValueSettings(ConversionAction.ValueSettings.Builder builderForValue)
Settings related to the value for conversion events associated with this conversion action.
.google.ads.googleads.v10.resources.ConversionAction.ValueSettings value_settings = 11;
-
mergeValueSettings
public ConversionAction.Builder mergeValueSettings(ConversionAction.ValueSettings value)
Settings related to the value for conversion events associated with this conversion action.
.google.ads.googleads.v10.resources.ConversionAction.ValueSettings value_settings = 11;
-
clearValueSettings
public ConversionAction.Builder clearValueSettings()
Settings related to the value for conversion events associated with this conversion action.
.google.ads.googleads.v10.resources.ConversionAction.ValueSettings value_settings = 11;
-
getValueSettingsBuilder
public ConversionAction.ValueSettings.Builder getValueSettingsBuilder()
Settings related to the value for conversion events associated with this conversion action.
.google.ads.googleads.v10.resources.ConversionAction.ValueSettings value_settings = 11;
-
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.
-
setCountingTypeValue
public ConversionAction.Builder setCountingTypeValue(int value)
How to count conversion events for the conversion action.
.google.ads.googleads.v10.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType counting_type = 12;- Parameters:
value- The enum numeric value on the wire for countingType to set.- Returns:
- This builder for chaining.
-
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.
-
setCountingType
public ConversionAction.Builder setCountingType(ConversionActionCountingTypeEnum.ConversionActionCountingType value)
How to count conversion events for the conversion action.
.google.ads.googleads.v10.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType counting_type = 12;- Parameters:
value- The countingType to set.- Returns:
- This builder for chaining.
-
clearCountingType
public ConversionAction.Builder clearCountingType()
How to count conversion events for the conversion action.
.google.ads.googleads.v10.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType counting_type = 12;- Returns:
- This builder for chaining.
-
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.
-
setAttributionModelSettings
public ConversionAction.Builder setAttributionModelSettings(ConversionAction.AttributionModelSettings value)
Settings related to this conversion action's attribution model.
.google.ads.googleads.v10.resources.ConversionAction.AttributionModelSettings attribution_model_settings = 13;
-
setAttributionModelSettings
public ConversionAction.Builder setAttributionModelSettings(ConversionAction.AttributionModelSettings.Builder builderForValue)
Settings related to this conversion action's attribution model.
.google.ads.googleads.v10.resources.ConversionAction.AttributionModelSettings attribution_model_settings = 13;
-
mergeAttributionModelSettings
public ConversionAction.Builder mergeAttributionModelSettings(ConversionAction.AttributionModelSettings value)
Settings related to this conversion action's attribution model.
.google.ads.googleads.v10.resources.ConversionAction.AttributionModelSettings attribution_model_settings = 13;
-
clearAttributionModelSettings
public ConversionAction.Builder clearAttributionModelSettings()
Settings related to this conversion action's attribution model.
.google.ads.googleads.v10.resources.ConversionAction.AttributionModelSettings attribution_model_settings = 13;
-
getAttributionModelSettingsBuilder
public ConversionAction.AttributionModelSettings.Builder getAttributionModelSettingsBuilder()
Settings related to this conversion action's attribution model.
.google.ads.googleads.v10.resources.ConversionAction.AttributionModelSettings attribution_model_settings = 13;
-
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
-
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
-
setTagSnippets
public ConversionAction.Builder setTagSnippets(int index, TagSnippet value)
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setTagSnippets
public ConversionAction.Builder setTagSnippets(int index, TagSnippet.Builder builderForValue)
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTagSnippets
public ConversionAction.Builder addTagSnippets(TagSnippet value)
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTagSnippets
public ConversionAction.Builder addTagSnippets(int index, TagSnippet value)
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTagSnippets
public ConversionAction.Builder addTagSnippets(TagSnippet.Builder builderForValue)
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTagSnippets
public ConversionAction.Builder addTagSnippets(int index, TagSnippet.Builder builderForValue)
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllTagSnippets
public ConversionAction.Builder addAllTagSnippets(java.lang.Iterable<? extends TagSnippet> values)
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearTagSnippets
public ConversionAction.Builder clearTagSnippets()
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeTagSnippets
public ConversionAction.Builder removeTagSnippets(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];
-
getTagSnippetsBuilder
public TagSnippet.Builder getTagSnippetsBuilder(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];
-
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
-
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
-
addTagSnippetsBuilder
public TagSnippet.Builder addTagSnippetsBuilder()
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTagSnippetsBuilder
public TagSnippet.Builder addTagSnippetsBuilder(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];
-
getTagSnippetsBuilderList
public java.util.List<TagSnippet.Builder> getTagSnippetsBuilderList()
Output only. The snippets used for tracking conversions.
repeated .google.ads.googleads.v10.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setPhoneCallDurationSeconds
public ConversionAction.Builder setPhoneCallDurationSeconds(long value)
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;- Parameters:
value- The phoneCallDurationSeconds to set.- Returns:
- This builder for chaining.
-
clearPhoneCallDurationSeconds
public ConversionAction.Builder clearPhoneCallDurationSeconds()
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;- Returns:
- This builder for chaining.
-
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.
-
setAppId
public ConversionAction.Builder setAppId(java.lang.String value)
App ID for an app conversion action.
optional string app_id = 28;- Parameters:
value- The appId to set.- Returns:
- This builder for chaining.
-
clearAppId
public ConversionAction.Builder clearAppId()
App ID for an app conversion action.
optional string app_id = 28;- Returns:
- This builder for chaining.
-
setAppIdBytes
public ConversionAction.Builder setAppIdBytes(com.google.protobuf.ByteString value)
App ID for an app conversion action.
optional string app_id = 28;- Parameters:
value- The bytes for appId to set.- Returns:
- This builder for chaining.
-
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.
-
setMobileAppVendorValue
public ConversionAction.Builder setMobileAppVendorValue(int value)
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];- Parameters:
value- The enum numeric value on the wire for mobileAppVendor to set.- Returns:
- This builder for chaining.
-
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.
-
setMobileAppVendor
public ConversionAction.Builder setMobileAppVendor(MobileAppVendorEnum.MobileAppVendor value)
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];- Parameters:
value- The mobileAppVendor to set.- Returns:
- This builder for chaining.
-
clearMobileAppVendor
public ConversionAction.Builder clearMobileAppVendor()
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];- Returns:
- This builder for chaining.
-
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.
-
setFirebaseSettings
public ConversionAction.Builder setFirebaseSettings(ConversionAction.FirebaseSettings value)
Output only. Firebase settings for Firebase conversion types.
.google.ads.googleads.v10.resources.ConversionAction.FirebaseSettings firebase_settings = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setFirebaseSettings
public ConversionAction.Builder setFirebaseSettings(ConversionAction.FirebaseSettings.Builder builderForValue)
Output only. Firebase settings for Firebase conversion types.
.google.ads.googleads.v10.resources.ConversionAction.FirebaseSettings firebase_settings = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeFirebaseSettings
public ConversionAction.Builder mergeFirebaseSettings(ConversionAction.FirebaseSettings value)
Output only. Firebase settings for Firebase conversion types.
.google.ads.googleads.v10.resources.ConversionAction.FirebaseSettings firebase_settings = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearFirebaseSettings
public ConversionAction.Builder clearFirebaseSettings()
Output only. Firebase settings for Firebase conversion types.
.google.ads.googleads.v10.resources.ConversionAction.FirebaseSettings firebase_settings = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getFirebaseSettingsBuilder
public ConversionAction.FirebaseSettings.Builder getFirebaseSettingsBuilder()
Output only. Firebase settings for Firebase conversion types.
.google.ads.googleads.v10.resources.ConversionAction.FirebaseSettings firebase_settings = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setThirdPartyAppAnalyticsSettings
public ConversionAction.Builder setThirdPartyAppAnalyticsSettings(ConversionAction.ThirdPartyAppAnalyticsSettings value)
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];
-
setThirdPartyAppAnalyticsSettings
public ConversionAction.Builder setThirdPartyAppAnalyticsSettings(ConversionAction.ThirdPartyAppAnalyticsSettings.Builder builderForValue)
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];
-
mergeThirdPartyAppAnalyticsSettings
public ConversionAction.Builder mergeThirdPartyAppAnalyticsSettings(ConversionAction.ThirdPartyAppAnalyticsSettings value)
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];
-
clearThirdPartyAppAnalyticsSettings
public ConversionAction.Builder clearThirdPartyAppAnalyticsSettings()
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];
-
getThirdPartyAppAnalyticsSettingsBuilder
public ConversionAction.ThirdPartyAppAnalyticsSettings.Builder getThirdPartyAppAnalyticsSettingsBuilder()
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];
-
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
-
setUnknownFields
public final ConversionAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
mergeUnknownFields
public final ConversionAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionAction.Builder>
-
-