Class AdGroup.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
- com.google.ads.googleads.v14.resources.AdGroup.Builder
-
- All Implemented Interfaces:
AdGroupOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- AdGroup
public static final class AdGroup.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder> implements AdGroupOrBuilder
An ad group.
Protobuf typegoogle.ads.googleads.v14.resources.AdGroup
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdGroup.Builder
addAllExcludedParentAssetFieldTypes(java.lang.Iterable<? extends AssetFieldTypeEnum.AssetFieldType> values)
The asset field types that should be excluded from this ad group.AdGroup.Builder
addAllExcludedParentAssetFieldTypesValue(java.lang.Iterable<java.lang.Integer> values)
The asset field types that should be excluded from this ad group.AdGroup.Builder
addAllExcludedParentAssetSetTypes(java.lang.Iterable<? extends AssetSetTypeEnum.AssetSetType> values)
The asset set types that should be excluded from this ad group.AdGroup.Builder
addAllExcludedParentAssetSetTypesValue(java.lang.Iterable<java.lang.Integer> values)
The asset set types that should be excluded from this ad group.AdGroup.Builder
addAllLabels(java.lang.Iterable<java.lang.String> values)
Output only.AdGroup.Builder
addAllUrlCustomParameters(java.lang.Iterable<? extends CustomParameter> values)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.AdGroup.Builder
addExcludedParentAssetFieldTypes(AssetFieldTypeEnum.AssetFieldType value)
The asset field types that should be excluded from this ad group.AdGroup.Builder
addExcludedParentAssetFieldTypesValue(int value)
The asset field types that should be excluded from this ad group.AdGroup.Builder
addExcludedParentAssetSetTypes(AssetSetTypeEnum.AssetSetType value)
The asset set types that should be excluded from this ad group.AdGroup.Builder
addExcludedParentAssetSetTypesValue(int value)
The asset set types that should be excluded from this ad group.AdGroup.Builder
addLabels(java.lang.String value)
Output only.AdGroup.Builder
addLabelsBytes(com.google.protobuf.ByteString value)
Output only.AdGroup.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AdGroup.Builder
addUrlCustomParameters(int index, CustomParameter value)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.AdGroup.Builder
addUrlCustomParameters(int index, CustomParameter.Builder builderForValue)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.AdGroup.Builder
addUrlCustomParameters(CustomParameter value)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.AdGroup.Builder
addUrlCustomParameters(CustomParameter.Builder builderForValue)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.CustomParameter.Builder
addUrlCustomParametersBuilder()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.CustomParameter.Builder
addUrlCustomParametersBuilder(int index)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.AdGroup
build()
AdGroup
buildPartial()
AdGroup.Builder
clear()
AdGroup.Builder
clearAdRotationMode()
The ad rotation mode of the ad group.AdGroup.Builder
clearAudienceSetting()
Immutable.AdGroup.Builder
clearBaseAdGroup()
Output only.AdGroup.Builder
clearCampaign()
Immutable.AdGroup.Builder
clearCpcBidMicros()
The maximum CPC (cost-per-click) bid.AdGroup.Builder
clearCpmBidMicros()
The maximum CPM (cost-per-thousand viewable impressions) bid.AdGroup.Builder
clearCpvBidMicros()
The CPV (cost-per-view) bid.AdGroup.Builder
clearDisplayCustomBidDimension()
Allows advertisers to specify a targeting dimension on which to place absolute bids.AdGroup.Builder
clearEffectiveCpcBidMicros()
Output only.AdGroup.Builder
clearEffectiveTargetCpaMicros()
Output only.AdGroup.Builder
clearEffectiveTargetCpaSource()
Output only.AdGroup.Builder
clearEffectiveTargetRoas()
Output only.AdGroup.Builder
clearEffectiveTargetRoasSource()
Output only.AdGroup.Builder
clearExcludedParentAssetFieldTypes()
The asset field types that should be excluded from this ad group.AdGroup.Builder
clearExcludedParentAssetSetTypes()
The asset set types that should be excluded from this ad group.AdGroup.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AdGroup.Builder
clearFinalUrlSuffix()
URL template for appending params to Final URL.AdGroup.Builder
clearId()
Output only.AdGroup.Builder
clearLabels()
Output only.AdGroup.Builder
clearName()
The name of the ad group.AdGroup.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AdGroup.Builder
clearOptimizedTargetingEnabled()
True if optimized targeting is enabled.AdGroup.Builder
clearPercentCpcBidMicros()
The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service.AdGroup.Builder
clearResourceName()
Immutable.AdGroup.Builder
clearStatus()
The status of the ad group.AdGroup.Builder
clearTargetCpaMicros()
The target CPA (cost-per-acquisition).AdGroup.Builder
clearTargetCpmMicros()
Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.AdGroup.Builder
clearTargetingSetting()
Setting for targeting related features.AdGroup.Builder
clearTargetRoas()
The target ROAS (return-on-ad-spend) override.AdGroup.Builder
clearTrackingUrlTemplate()
The URL template for constructing a tracking URL.AdGroup.Builder
clearType()
Immutable.AdGroup.Builder
clearUrlCustomParameters()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.AdGroup.Builder
clone()
AdGroupAdRotationModeEnum.AdGroupAdRotationMode
getAdRotationMode()
The ad rotation mode of the ad group.int
getAdRotationModeValue()
The ad rotation mode of the ad group.AdGroup.AudienceSetting
getAudienceSetting()
Immutable.AdGroup.AudienceSetting.Builder
getAudienceSettingBuilder()
Immutable.AdGroup.AudienceSettingOrBuilder
getAudienceSettingOrBuilder()
Immutable.java.lang.String
getBaseAdGroup()
Output only.com.google.protobuf.ByteString
getBaseAdGroupBytes()
Output only.java.lang.String
getCampaign()
Immutable.com.google.protobuf.ByteString
getCampaignBytes()
Immutable.long
getCpcBidMicros()
The maximum CPC (cost-per-click) bid.long
getCpmBidMicros()
The maximum CPM (cost-per-thousand viewable impressions) bid.long
getCpvBidMicros()
The CPV (cost-per-view) bid.AdGroup
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
TargetingDimensionEnum.TargetingDimension
getDisplayCustomBidDimension()
Allows advertisers to specify a targeting dimension on which to place absolute bids.int
getDisplayCustomBidDimensionValue()
Allows advertisers to specify a targeting dimension on which to place absolute bids.long
getEffectiveCpcBidMicros()
Output only.long
getEffectiveTargetCpaMicros()
Output only.BiddingSourceEnum.BiddingSource
getEffectiveTargetCpaSource()
Output only.int
getEffectiveTargetCpaSourceValue()
Output only.double
getEffectiveTargetRoas()
Output only.BiddingSourceEnum.BiddingSource
getEffectiveTargetRoasSource()
Output only.int
getEffectiveTargetRoasSourceValue()
Output only.AssetFieldTypeEnum.AssetFieldType
getExcludedParentAssetFieldTypes(int index)
The asset field types that should be excluded from this ad group.int
getExcludedParentAssetFieldTypesCount()
The asset field types that should be excluded from this ad group.java.util.List<AssetFieldTypeEnum.AssetFieldType>
getExcludedParentAssetFieldTypesList()
The asset field types that should be excluded from this ad group.int
getExcludedParentAssetFieldTypesValue(int index)
The asset field types that should be excluded from this ad group.java.util.List<java.lang.Integer>
getExcludedParentAssetFieldTypesValueList()
The asset field types that should be excluded from this ad group.AssetSetTypeEnum.AssetSetType
getExcludedParentAssetSetTypes(int index)
The asset set types that should be excluded from this ad group.int
getExcludedParentAssetSetTypesCount()
The asset set types that should be excluded from this ad group.java.util.List<AssetSetTypeEnum.AssetSetType>
getExcludedParentAssetSetTypesList()
The asset set types that should be excluded from this ad group.int
getExcludedParentAssetSetTypesValue(int index)
The asset set types that should be excluded from this ad group.java.util.List<java.lang.Integer>
getExcludedParentAssetSetTypesValueList()
The asset set types that should be excluded from this ad group.java.lang.String
getFinalUrlSuffix()
URL template for appending params to Final URL.com.google.protobuf.ByteString
getFinalUrlSuffixBytes()
URL template for appending params to Final URL.long
getId()
Output only.java.lang.String
getLabels(int index)
Output only.com.google.protobuf.ByteString
getLabelsBytes(int index)
Output only.int
getLabelsCount()
Output only.com.google.protobuf.ProtocolStringList
getLabelsList()
Output only.java.lang.String
getName()
The name of the ad group.com.google.protobuf.ByteString
getNameBytes()
The name of the ad group.boolean
getOptimizedTargetingEnabled()
True if optimized targeting is enabled.long
getPercentCpcBidMicros()
The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service.java.lang.String
getResourceName()
Immutable.com.google.protobuf.ByteString
getResourceNameBytes()
Immutable.AdGroupStatusEnum.AdGroupStatus
getStatus()
The status of the ad group.int
getStatusValue()
The status of the ad group.long
getTargetCpaMicros()
The target CPA (cost-per-acquisition).long
getTargetCpmMicros()
Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.TargetingSetting
getTargetingSetting()
Setting for targeting related features.TargetingSetting.Builder
getTargetingSettingBuilder()
Setting for targeting related features.TargetingSettingOrBuilder
getTargetingSettingOrBuilder()
Setting for targeting related features.double
getTargetRoas()
The target ROAS (return-on-ad-spend) override.java.lang.String
getTrackingUrlTemplate()
The URL template for constructing a tracking URL.com.google.protobuf.ByteString
getTrackingUrlTemplateBytes()
The URL template for constructing a tracking URL.AdGroupTypeEnum.AdGroupType
getType()
Immutable.int
getTypeValue()
Immutable.CustomParameter
getUrlCustomParameters(int index)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.CustomParameter.Builder
getUrlCustomParametersBuilder(int index)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.java.util.List<CustomParameter.Builder>
getUrlCustomParametersBuilderList()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.int
getUrlCustomParametersCount()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.java.util.List<CustomParameter>
getUrlCustomParametersList()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.CustomParameterOrBuilder
getUrlCustomParametersOrBuilder(int index)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.java.util.List<? extends CustomParameterOrBuilder>
getUrlCustomParametersOrBuilderList()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.boolean
hasAudienceSetting()
Immutable.boolean
hasBaseAdGroup()
Output only.boolean
hasCampaign()
Immutable.boolean
hasCpcBidMicros()
The maximum CPC (cost-per-click) bid.boolean
hasCpmBidMicros()
The maximum CPM (cost-per-thousand viewable impressions) bid.boolean
hasCpvBidMicros()
The CPV (cost-per-view) bid.boolean
hasEffectiveCpcBidMicros()
Output only.boolean
hasEffectiveTargetCpaMicros()
Output only.boolean
hasEffectiveTargetRoas()
Output only.boolean
hasFinalUrlSuffix()
URL template for appending params to Final URL.boolean
hasId()
Output only.boolean
hasName()
The name of the ad group.boolean
hasPercentCpcBidMicros()
The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service.boolean
hasTargetCpaMicros()
The target CPA (cost-per-acquisition).boolean
hasTargetCpmMicros()
Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.boolean
hasTargetingSetting()
Setting for targeting related features.boolean
hasTargetRoas()
The target ROAS (return-on-ad-spend) override.boolean
hasTrackingUrlTemplate()
The URL template for constructing a tracking URL.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AdGroup.Builder
mergeAudienceSetting(AdGroup.AudienceSetting value)
Immutable.AdGroup.Builder
mergeFrom(AdGroup other)
AdGroup.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AdGroup.Builder
mergeFrom(com.google.protobuf.Message other)
AdGroup.Builder
mergeTargetingSetting(TargetingSetting value)
Setting for targeting related features.AdGroup.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AdGroup.Builder
removeUrlCustomParameters(int index)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.AdGroup.Builder
setAdRotationMode(AdGroupAdRotationModeEnum.AdGroupAdRotationMode value)
The ad rotation mode of the ad group.AdGroup.Builder
setAdRotationModeValue(int value)
The ad rotation mode of the ad group.AdGroup.Builder
setAudienceSetting(AdGroup.AudienceSetting value)
Immutable.AdGroup.Builder
setAudienceSetting(AdGroup.AudienceSetting.Builder builderForValue)
Immutable.AdGroup.Builder
setBaseAdGroup(java.lang.String value)
Output only.AdGroup.Builder
setBaseAdGroupBytes(com.google.protobuf.ByteString value)
Output only.AdGroup.Builder
setCampaign(java.lang.String value)
Immutable.AdGroup.Builder
setCampaignBytes(com.google.protobuf.ByteString value)
Immutable.AdGroup.Builder
setCpcBidMicros(long value)
The maximum CPC (cost-per-click) bid.AdGroup.Builder
setCpmBidMicros(long value)
The maximum CPM (cost-per-thousand viewable impressions) bid.AdGroup.Builder
setCpvBidMicros(long value)
The CPV (cost-per-view) bid.AdGroup.Builder
setDisplayCustomBidDimension(TargetingDimensionEnum.TargetingDimension value)
Allows advertisers to specify a targeting dimension on which to place absolute bids.AdGroup.Builder
setDisplayCustomBidDimensionValue(int value)
Allows advertisers to specify a targeting dimension on which to place absolute bids.AdGroup.Builder
setEffectiveCpcBidMicros(long value)
Output only.AdGroup.Builder
setEffectiveTargetCpaMicros(long value)
Output only.AdGroup.Builder
setEffectiveTargetCpaSource(BiddingSourceEnum.BiddingSource value)
Output only.AdGroup.Builder
setEffectiveTargetCpaSourceValue(int value)
Output only.AdGroup.Builder
setEffectiveTargetRoas(double value)
Output only.AdGroup.Builder
setEffectiveTargetRoasSource(BiddingSourceEnum.BiddingSource value)
Output only.AdGroup.Builder
setEffectiveTargetRoasSourceValue(int value)
Output only.AdGroup.Builder
setExcludedParentAssetFieldTypes(int index, AssetFieldTypeEnum.AssetFieldType value)
The asset field types that should be excluded from this ad group.AdGroup.Builder
setExcludedParentAssetFieldTypesValue(int index, int value)
The asset field types that should be excluded from this ad group.AdGroup.Builder
setExcludedParentAssetSetTypes(int index, AssetSetTypeEnum.AssetSetType value)
The asset set types that should be excluded from this ad group.AdGroup.Builder
setExcludedParentAssetSetTypesValue(int index, int value)
The asset set types that should be excluded from this ad group.AdGroup.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AdGroup.Builder
setFinalUrlSuffix(java.lang.String value)
URL template for appending params to Final URL.AdGroup.Builder
setFinalUrlSuffixBytes(com.google.protobuf.ByteString value)
URL template for appending params to Final URL.AdGroup.Builder
setId(long value)
Output only.AdGroup.Builder
setLabels(int index, java.lang.String value)
Output only.AdGroup.Builder
setName(java.lang.String value)
The name of the ad group.AdGroup.Builder
setNameBytes(com.google.protobuf.ByteString value)
The name of the ad group.AdGroup.Builder
setOptimizedTargetingEnabled(boolean value)
True if optimized targeting is enabled.AdGroup.Builder
setPercentCpcBidMicros(long value)
The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service.AdGroup.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
AdGroup.Builder
setResourceName(java.lang.String value)
Immutable.AdGroup.Builder
setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable.AdGroup.Builder
setStatus(AdGroupStatusEnum.AdGroupStatus value)
The status of the ad group.AdGroup.Builder
setStatusValue(int value)
The status of the ad group.AdGroup.Builder
setTargetCpaMicros(long value)
The target CPA (cost-per-acquisition).AdGroup.Builder
setTargetCpmMicros(long value)
Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.AdGroup.Builder
setTargetingSetting(TargetingSetting value)
Setting for targeting related features.AdGroup.Builder
setTargetingSetting(TargetingSetting.Builder builderForValue)
Setting for targeting related features.AdGroup.Builder
setTargetRoas(double value)
The target ROAS (return-on-ad-spend) override.AdGroup.Builder
setTrackingUrlTemplate(java.lang.String value)
The URL template for constructing a tracking URL.AdGroup.Builder
setTrackingUrlTemplateBytes(com.google.protobuf.ByteString value)
The URL template for constructing a tracking URL.AdGroup.Builder
setType(AdGroupTypeEnum.AdGroupType value)
Immutable.AdGroup.Builder
setTypeValue(int value)
Immutable.AdGroup.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AdGroup.Builder
setUrlCustomParameters(int index, CustomParameter value)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.AdGroup.Builder
setUrlCustomParameters(int index, CustomParameter.Builder builderForValue)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
clear
public AdGroup.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
getDefaultInstanceForType
public AdGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AdGroup build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AdGroup buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AdGroup.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
setField
public AdGroup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
clearField
public AdGroup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
clearOneof
public AdGroup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
setRepeatedField
public AdGroup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
addRepeatedField
public AdGroup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
mergeFrom
public AdGroup.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AdGroup.Builder>
-
mergeFrom
public AdGroup.Builder mergeFrom(AdGroup other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
mergeFrom
public AdGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AdGroup.Builder>
- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the ad group. Ad group resource names have the form: `customers/{customer_id}/adGroups/{ad_group_id}`
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
getResourceName
in interfaceAdGroupOrBuilder
- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the ad group. Ad group resource names have the form: `customers/{customer_id}/adGroups/{ad_group_id}`
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
getResourceNameBytes
in interfaceAdGroupOrBuilder
- Returns:
- The bytes for resourceName.
-
setResourceName
public AdGroup.Builder setResourceName(java.lang.String value)
Immutable. The resource name of the ad group. Ad group resource names have the form: `customers/{customer_id}/adGroups/{ad_group_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 AdGroup.Builder clearResourceName()
Immutable. The resource name of the ad group. Ad group resource names have the form: `customers/{customer_id}/adGroups/{ad_group_id}`
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setResourceNameBytes
public AdGroup.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the ad group. Ad group resource names have the form: `customers/{customer_id}/adGroups/{ad_group_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 ad group.
optional int64 id = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasId
in interfaceAdGroupOrBuilder
- Returns:
- Whether the id field is set.
-
getId
public long getId()
Output only. The ID of the ad group.
optional int64 id = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getId
in interfaceAdGroupOrBuilder
- Returns:
- The id.
-
setId
public AdGroup.Builder setId(long value)
Output only. The ID of the ad group.
optional int64 id = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public AdGroup.Builder clearId()
Output only. The ID of the ad group.
optional int64 id = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
The name of the ad group. This field is required and should not be empty when creating new ad groups. It must contain fewer than 255 UTF-8 full-width characters. It must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters.
optional string name = 35;
- Specified by:
hasName
in interfaceAdGroupOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
The name of the ad group. This field is required and should not be empty when creating new ad groups. It must contain fewer than 255 UTF-8 full-width characters. It must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters.
optional string name = 35;
- Specified by:
getName
in interfaceAdGroupOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the ad group. This field is required and should not be empty when creating new ad groups. It must contain fewer than 255 UTF-8 full-width characters. It must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters.
optional string name = 35;
- Specified by:
getNameBytes
in interfaceAdGroupOrBuilder
- Returns:
- The bytes for name.
-
setName
public AdGroup.Builder setName(java.lang.String value)
The name of the ad group. This field is required and should not be empty when creating new ad groups. It must contain fewer than 255 UTF-8 full-width characters. It must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters.
optional string name = 35;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public AdGroup.Builder clearName()
The name of the ad group. This field is required and should not be empty when creating new ad groups. It must contain fewer than 255 UTF-8 full-width characters. It must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters.
optional string name = 35;
- Returns:
- This builder for chaining.
-
setNameBytes
public AdGroup.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the ad group. This field is required and should not be empty when creating new ad groups. It must contain fewer than 255 UTF-8 full-width characters. It must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters.
optional string name = 35;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
The status of the ad group.
.google.ads.googleads.v14.enums.AdGroupStatusEnum.AdGroupStatus status = 5;
- Specified by:
getStatusValue
in interfaceAdGroupOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public AdGroup.Builder setStatusValue(int value)
The status of the ad group.
.google.ads.googleads.v14.enums.AdGroupStatusEnum.AdGroupStatus status = 5;
- Parameters:
value
- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public AdGroupStatusEnum.AdGroupStatus getStatus()
The status of the ad group.
.google.ads.googleads.v14.enums.AdGroupStatusEnum.AdGroupStatus status = 5;
- Specified by:
getStatus
in interfaceAdGroupOrBuilder
- Returns:
- The status.
-
setStatus
public AdGroup.Builder setStatus(AdGroupStatusEnum.AdGroupStatus value)
The status of the ad group.
.google.ads.googleads.v14.enums.AdGroupStatusEnum.AdGroupStatus status = 5;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public AdGroup.Builder clearStatus()
The status of the ad group.
.google.ads.googleads.v14.enums.AdGroupStatusEnum.AdGroupStatus status = 5;
- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
Immutable. The type of the ad group.
.google.ads.googleads.v14.enums.AdGroupTypeEnum.AdGroupType type = 12 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getTypeValue
in interfaceAdGroupOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public AdGroup.Builder setTypeValue(int value)
Immutable. The type of the ad group.
.google.ads.googleads.v14.enums.AdGroupTypeEnum.AdGroupType type = 12 [(.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 AdGroupTypeEnum.AdGroupType getType()
Immutable. The type of the ad group.
.google.ads.googleads.v14.enums.AdGroupTypeEnum.AdGroupType type = 12 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getType
in interfaceAdGroupOrBuilder
- Returns:
- The type.
-
setType
public AdGroup.Builder setType(AdGroupTypeEnum.AdGroupType value)
Immutable. The type of the ad group.
.google.ads.googleads.v14.enums.AdGroupTypeEnum.AdGroupType type = 12 [(.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public AdGroup.Builder clearType()
Immutable. The type of the ad group.
.google.ads.googleads.v14.enums.AdGroupTypeEnum.AdGroupType type = 12 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- This builder for chaining.
-
getAdRotationModeValue
public int getAdRotationModeValue()
The ad rotation mode of the ad group.
.google.ads.googleads.v14.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22;
- Specified by:
getAdRotationModeValue
in interfaceAdGroupOrBuilder
- Returns:
- The enum numeric value on the wire for adRotationMode.
-
setAdRotationModeValue
public AdGroup.Builder setAdRotationModeValue(int value)
The ad rotation mode of the ad group.
.google.ads.googleads.v14.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22;
- Parameters:
value
- The enum numeric value on the wire for adRotationMode to set.- Returns:
- This builder for chaining.
-
getAdRotationMode
public AdGroupAdRotationModeEnum.AdGroupAdRotationMode getAdRotationMode()
The ad rotation mode of the ad group.
.google.ads.googleads.v14.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22;
- Specified by:
getAdRotationMode
in interfaceAdGroupOrBuilder
- Returns:
- The adRotationMode.
-
setAdRotationMode
public AdGroup.Builder setAdRotationMode(AdGroupAdRotationModeEnum.AdGroupAdRotationMode value)
The ad rotation mode of the ad group.
.google.ads.googleads.v14.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22;
- Parameters:
value
- The adRotationMode to set.- Returns:
- This builder for chaining.
-
clearAdRotationMode
public AdGroup.Builder clearAdRotationMode()
The ad rotation mode of the ad group.
.google.ads.googleads.v14.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22;
- Returns:
- This builder for chaining.
-
hasBaseAdGroup
public boolean hasBaseAdGroup()
Output only. For draft or experiment ad groups, this field is the resource name of the base ad group from which this ad group was created. If a draft or experiment ad group does not have a base ad group, then this field is null. For base ad groups, this field equals the ad group resource name. This field is read-only.
optional string base_ad_group = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
hasBaseAdGroup
in interfaceAdGroupOrBuilder
- Returns:
- Whether the baseAdGroup field is set.
-
getBaseAdGroup
public java.lang.String getBaseAdGroup()
Output only. For draft or experiment ad groups, this field is the resource name of the base ad group from which this ad group was created. If a draft or experiment ad group does not have a base ad group, then this field is null. For base ad groups, this field equals the ad group resource name. This field is read-only.
optional string base_ad_group = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getBaseAdGroup
in interfaceAdGroupOrBuilder
- Returns:
- The baseAdGroup.
-
getBaseAdGroupBytes
public com.google.protobuf.ByteString getBaseAdGroupBytes()
Output only. For draft or experiment ad groups, this field is the resource name of the base ad group from which this ad group was created. If a draft or experiment ad group does not have a base ad group, then this field is null. For base ad groups, this field equals the ad group resource name. This field is read-only.
optional string base_ad_group = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getBaseAdGroupBytes
in interfaceAdGroupOrBuilder
- Returns:
- The bytes for baseAdGroup.
-
setBaseAdGroup
public AdGroup.Builder setBaseAdGroup(java.lang.String value)
Output only. For draft or experiment ad groups, this field is the resource name of the base ad group from which this ad group was created. If a draft or experiment ad group does not have a base ad group, then this field is null. For base ad groups, this field equals the ad group resource name. This field is read-only.
optional string base_ad_group = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The baseAdGroup to set.- Returns:
- This builder for chaining.
-
clearBaseAdGroup
public AdGroup.Builder clearBaseAdGroup()
Output only. For draft or experiment ad groups, this field is the resource name of the base ad group from which this ad group was created. If a draft or experiment ad group does not have a base ad group, then this field is null. For base ad groups, this field equals the ad group resource name. This field is read-only.
optional string base_ad_group = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setBaseAdGroupBytes
public AdGroup.Builder setBaseAdGroupBytes(com.google.protobuf.ByteString value)
Output only. For draft or experiment ad groups, this field is the resource name of the base ad group from which this ad group was created. If a draft or experiment ad group does not have a base ad group, then this field is null. For base ad groups, this field equals the ad group resource name. This field is read-only.
optional string base_ad_group = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for baseAdGroup to set.- Returns:
- This builder for chaining.
-
hasTrackingUrlTemplate
public boolean hasTrackingUrlTemplate()
The URL template for constructing a tracking URL.
optional string tracking_url_template = 37;
- Specified by:
hasTrackingUrlTemplate
in interfaceAdGroupOrBuilder
- Returns:
- Whether the trackingUrlTemplate field is set.
-
getTrackingUrlTemplate
public java.lang.String getTrackingUrlTemplate()
The URL template for constructing a tracking URL.
optional string tracking_url_template = 37;
- Specified by:
getTrackingUrlTemplate
in interfaceAdGroupOrBuilder
- Returns:
- The trackingUrlTemplate.
-
getTrackingUrlTemplateBytes
public com.google.protobuf.ByteString getTrackingUrlTemplateBytes()
The URL template for constructing a tracking URL.
optional string tracking_url_template = 37;
- Specified by:
getTrackingUrlTemplateBytes
in interfaceAdGroupOrBuilder
- Returns:
- The bytes for trackingUrlTemplate.
-
setTrackingUrlTemplate
public AdGroup.Builder setTrackingUrlTemplate(java.lang.String value)
The URL template for constructing a tracking URL.
optional string tracking_url_template = 37;
- Parameters:
value
- The trackingUrlTemplate to set.- Returns:
- This builder for chaining.
-
clearTrackingUrlTemplate
public AdGroup.Builder clearTrackingUrlTemplate()
The URL template for constructing a tracking URL.
optional string tracking_url_template = 37;
- Returns:
- This builder for chaining.
-
setTrackingUrlTemplateBytes
public AdGroup.Builder setTrackingUrlTemplateBytes(com.google.protobuf.ByteString value)
The URL template for constructing a tracking URL.
optional string tracking_url_template = 37;
- Parameters:
value
- The bytes for trackingUrlTemplate to set.- Returns:
- This builder for chaining.
-
getUrlCustomParametersList
public java.util.List<CustomParameter> getUrlCustomParametersList()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
- Specified by:
getUrlCustomParametersList
in interfaceAdGroupOrBuilder
-
getUrlCustomParametersCount
public int getUrlCustomParametersCount()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
- Specified by:
getUrlCustomParametersCount
in interfaceAdGroupOrBuilder
-
getUrlCustomParameters
public CustomParameter getUrlCustomParameters(int index)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
- Specified by:
getUrlCustomParameters
in interfaceAdGroupOrBuilder
-
setUrlCustomParameters
public AdGroup.Builder setUrlCustomParameters(int index, CustomParameter value)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
setUrlCustomParameters
public AdGroup.Builder setUrlCustomParameters(int index, CustomParameter.Builder builderForValue)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
addUrlCustomParameters
public AdGroup.Builder addUrlCustomParameters(CustomParameter value)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
addUrlCustomParameters
public AdGroup.Builder addUrlCustomParameters(int index, CustomParameter value)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
addUrlCustomParameters
public AdGroup.Builder addUrlCustomParameters(CustomParameter.Builder builderForValue)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
addUrlCustomParameters
public AdGroup.Builder addUrlCustomParameters(int index, CustomParameter.Builder builderForValue)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
addAllUrlCustomParameters
public AdGroup.Builder addAllUrlCustomParameters(java.lang.Iterable<? extends CustomParameter> values)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
clearUrlCustomParameters
public AdGroup.Builder clearUrlCustomParameters()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
removeUrlCustomParameters
public AdGroup.Builder removeUrlCustomParameters(int index)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
getUrlCustomParametersBuilder
public CustomParameter.Builder getUrlCustomParametersBuilder(int index)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
getUrlCustomParametersOrBuilder
public CustomParameterOrBuilder getUrlCustomParametersOrBuilder(int index)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
- Specified by:
getUrlCustomParametersOrBuilder
in interfaceAdGroupOrBuilder
-
getUrlCustomParametersOrBuilderList
public java.util.List<? extends CustomParameterOrBuilder> getUrlCustomParametersOrBuilderList()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
- Specified by:
getUrlCustomParametersOrBuilderList
in interfaceAdGroupOrBuilder
-
addUrlCustomParametersBuilder
public CustomParameter.Builder addUrlCustomParametersBuilder()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
addUrlCustomParametersBuilder
public CustomParameter.Builder addUrlCustomParametersBuilder(int index)
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
getUrlCustomParametersBuilderList
public java.util.List<CustomParameter.Builder> getUrlCustomParametersBuilderList()
The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
repeated .google.ads.googleads.v14.common.CustomParameter url_custom_parameters = 6;
-
hasCampaign
public boolean hasCampaign()
Immutable. The campaign to which the ad group belongs.
optional string campaign = 38 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
hasCampaign
in interfaceAdGroupOrBuilder
- Returns:
- Whether the campaign field is set.
-
getCampaign
public java.lang.String getCampaign()
Immutable. The campaign to which the ad group belongs.
optional string campaign = 38 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
getCampaign
in interfaceAdGroupOrBuilder
- Returns:
- The campaign.
-
getCampaignBytes
public com.google.protobuf.ByteString getCampaignBytes()
Immutable. The campaign to which the ad group belongs.
optional string campaign = 38 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
getCampaignBytes
in interfaceAdGroupOrBuilder
- Returns:
- The bytes for campaign.
-
setCampaign
public AdGroup.Builder setCampaign(java.lang.String value)
Immutable. The campaign to which the ad group belongs.
optional string campaign = 38 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The campaign to set.- Returns:
- This builder for chaining.
-
clearCampaign
public AdGroup.Builder clearCampaign()
Immutable. The campaign to which the ad group belongs.
optional string campaign = 38 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setCampaignBytes
public AdGroup.Builder setCampaignBytes(com.google.protobuf.ByteString value)
Immutable. The campaign to which the ad group belongs.
optional string campaign = 38 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for campaign to set.- Returns:
- This builder for chaining.
-
hasCpcBidMicros
public boolean hasCpcBidMicros()
The maximum CPC (cost-per-click) bid.
optional int64 cpc_bid_micros = 39;
- Specified by:
hasCpcBidMicros
in interfaceAdGroupOrBuilder
- Returns:
- Whether the cpcBidMicros field is set.
-
getCpcBidMicros
public long getCpcBidMicros()
The maximum CPC (cost-per-click) bid.
optional int64 cpc_bid_micros = 39;
- Specified by:
getCpcBidMicros
in interfaceAdGroupOrBuilder
- Returns:
- The cpcBidMicros.
-
setCpcBidMicros
public AdGroup.Builder setCpcBidMicros(long value)
The maximum CPC (cost-per-click) bid.
optional int64 cpc_bid_micros = 39;
- Parameters:
value
- The cpcBidMicros to set.- Returns:
- This builder for chaining.
-
clearCpcBidMicros
public AdGroup.Builder clearCpcBidMicros()
The maximum CPC (cost-per-click) bid.
optional int64 cpc_bid_micros = 39;
- Returns:
- This builder for chaining.
-
hasEffectiveCpcBidMicros
public boolean hasEffectiveCpcBidMicros()
Output only. Value will be same as that of the CPC (cost-per-click) bid value when the bidding strategy is one of manual cpc, enhanced cpc, page one promoted or target outrank share, otherwise the value will be null.
optional int64 effective_cpc_bid_micros = 57 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasEffectiveCpcBidMicros
in interfaceAdGroupOrBuilder
- Returns:
- Whether the effectiveCpcBidMicros field is set.
-
getEffectiveCpcBidMicros
public long getEffectiveCpcBidMicros()
Output only. Value will be same as that of the CPC (cost-per-click) bid value when the bidding strategy is one of manual cpc, enhanced cpc, page one promoted or target outrank share, otherwise the value will be null.
optional int64 effective_cpc_bid_micros = 57 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEffectiveCpcBidMicros
in interfaceAdGroupOrBuilder
- Returns:
- The effectiveCpcBidMicros.
-
setEffectiveCpcBidMicros
public AdGroup.Builder setEffectiveCpcBidMicros(long value)
Output only. Value will be same as that of the CPC (cost-per-click) bid value when the bidding strategy is one of manual cpc, enhanced cpc, page one promoted or target outrank share, otherwise the value will be null.
optional int64 effective_cpc_bid_micros = 57 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The effectiveCpcBidMicros to set.- Returns:
- This builder for chaining.
-
clearEffectiveCpcBidMicros
public AdGroup.Builder clearEffectiveCpcBidMicros()
Output only. Value will be same as that of the CPC (cost-per-click) bid value when the bidding strategy is one of manual cpc, enhanced cpc, page one promoted or target outrank share, otherwise the value will be null.
optional int64 effective_cpc_bid_micros = 57 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasCpmBidMicros
public boolean hasCpmBidMicros()
The maximum CPM (cost-per-thousand viewable impressions) bid.
optional int64 cpm_bid_micros = 40;
- Specified by:
hasCpmBidMicros
in interfaceAdGroupOrBuilder
- Returns:
- Whether the cpmBidMicros field is set.
-
getCpmBidMicros
public long getCpmBidMicros()
The maximum CPM (cost-per-thousand viewable impressions) bid.
optional int64 cpm_bid_micros = 40;
- Specified by:
getCpmBidMicros
in interfaceAdGroupOrBuilder
- Returns:
- The cpmBidMicros.
-
setCpmBidMicros
public AdGroup.Builder setCpmBidMicros(long value)
The maximum CPM (cost-per-thousand viewable impressions) bid.
optional int64 cpm_bid_micros = 40;
- Parameters:
value
- The cpmBidMicros to set.- Returns:
- This builder for chaining.
-
clearCpmBidMicros
public AdGroup.Builder clearCpmBidMicros()
The maximum CPM (cost-per-thousand viewable impressions) bid.
optional int64 cpm_bid_micros = 40;
- Returns:
- This builder for chaining.
-
hasTargetCpaMicros
public boolean hasTargetCpaMicros()
The target CPA (cost-per-acquisition). If the ad group's campaign bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa field set), then this field overrides the target CPA specified in the campaign's bidding strategy. Otherwise, this value is ignored.
optional int64 target_cpa_micros = 41;
- Specified by:
hasTargetCpaMicros
in interfaceAdGroupOrBuilder
- Returns:
- Whether the targetCpaMicros field is set.
-
getTargetCpaMicros
public long getTargetCpaMicros()
The target CPA (cost-per-acquisition). If the ad group's campaign bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa field set), then this field overrides the target CPA specified in the campaign's bidding strategy. Otherwise, this value is ignored.
optional int64 target_cpa_micros = 41;
- Specified by:
getTargetCpaMicros
in interfaceAdGroupOrBuilder
- Returns:
- The targetCpaMicros.
-
setTargetCpaMicros
public AdGroup.Builder setTargetCpaMicros(long value)
The target CPA (cost-per-acquisition). If the ad group's campaign bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa field set), then this field overrides the target CPA specified in the campaign's bidding strategy. Otherwise, this value is ignored.
optional int64 target_cpa_micros = 41;
- Parameters:
value
- The targetCpaMicros to set.- Returns:
- This builder for chaining.
-
clearTargetCpaMicros
public AdGroup.Builder clearTargetCpaMicros()
The target CPA (cost-per-acquisition). If the ad group's campaign bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa field set), then this field overrides the target CPA specified in the campaign's bidding strategy. Otherwise, this value is ignored.
optional int64 target_cpa_micros = 41;
- Returns:
- This builder for chaining.
-
hasCpvBidMicros
public boolean hasCpvBidMicros()
The CPV (cost-per-view) bid.
optional int64 cpv_bid_micros = 42;
- Specified by:
hasCpvBidMicros
in interfaceAdGroupOrBuilder
- Returns:
- Whether the cpvBidMicros field is set.
-
getCpvBidMicros
public long getCpvBidMicros()
The CPV (cost-per-view) bid.
optional int64 cpv_bid_micros = 42;
- Specified by:
getCpvBidMicros
in interfaceAdGroupOrBuilder
- Returns:
- The cpvBidMicros.
-
setCpvBidMicros
public AdGroup.Builder setCpvBidMicros(long value)
The CPV (cost-per-view) bid.
optional int64 cpv_bid_micros = 42;
- Parameters:
value
- The cpvBidMicros to set.- Returns:
- This builder for chaining.
-
clearCpvBidMicros
public AdGroup.Builder clearCpvBidMicros()
The CPV (cost-per-view) bid.
optional int64 cpv_bid_micros = 42;
- Returns:
- This builder for chaining.
-
hasTargetCpmMicros
public boolean hasTargetCpmMicros()
Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.
optional int64 target_cpm_micros = 43;
- Specified by:
hasTargetCpmMicros
in interfaceAdGroupOrBuilder
- Returns:
- Whether the targetCpmMicros field is set.
-
getTargetCpmMicros
public long getTargetCpmMicros()
Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.
optional int64 target_cpm_micros = 43;
- Specified by:
getTargetCpmMicros
in interfaceAdGroupOrBuilder
- Returns:
- The targetCpmMicros.
-
setTargetCpmMicros
public AdGroup.Builder setTargetCpmMicros(long value)
Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.
optional int64 target_cpm_micros = 43;
- Parameters:
value
- The targetCpmMicros to set.- Returns:
- This builder for chaining.
-
clearTargetCpmMicros
public AdGroup.Builder clearTargetCpmMicros()
Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.
optional int64 target_cpm_micros = 43;
- Returns:
- This builder for chaining.
-
hasTargetRoas
public boolean hasTargetRoas()
The target ROAS (return-on-ad-spend) override. If the ad group's campaign bidding strategy is TargetRoas or MaximizeConversionValue (with its target_roas field set), then this field overrides the target ROAS specified in the campaign's bidding strategy. Otherwise, this value is ignored.
optional double target_roas = 44;
- Specified by:
hasTargetRoas
in interfaceAdGroupOrBuilder
- Returns:
- Whether the targetRoas field is set.
-
getTargetRoas
public double getTargetRoas()
The target ROAS (return-on-ad-spend) override. If the ad group's campaign bidding strategy is TargetRoas or MaximizeConversionValue (with its target_roas field set), then this field overrides the target ROAS specified in the campaign's bidding strategy. Otherwise, this value is ignored.
optional double target_roas = 44;
- Specified by:
getTargetRoas
in interfaceAdGroupOrBuilder
- Returns:
- The targetRoas.
-
setTargetRoas
public AdGroup.Builder setTargetRoas(double value)
The target ROAS (return-on-ad-spend) override. If the ad group's campaign bidding strategy is TargetRoas or MaximizeConversionValue (with its target_roas field set), then this field overrides the target ROAS specified in the campaign's bidding strategy. Otherwise, this value is ignored.
optional double target_roas = 44;
- Parameters:
value
- The targetRoas to set.- Returns:
- This builder for chaining.
-
clearTargetRoas
public AdGroup.Builder clearTargetRoas()
The target ROAS (return-on-ad-spend) override. If the ad group's campaign bidding strategy is TargetRoas or MaximizeConversionValue (with its target_roas field set), then this field overrides the target ROAS specified in the campaign's bidding strategy. Otherwise, this value is ignored.
optional double target_roas = 44;
- Returns:
- This builder for chaining.
-
hasPercentCpcBidMicros
public boolean hasPercentCpcBidMicros()
The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service. The valid range for the fraction is [0,1) and the value stored here is 1,000,000 * [fraction].
optional int64 percent_cpc_bid_micros = 45;
- Specified by:
hasPercentCpcBidMicros
in interfaceAdGroupOrBuilder
- Returns:
- Whether the percentCpcBidMicros field is set.
-
getPercentCpcBidMicros
public long getPercentCpcBidMicros()
The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service. The valid range for the fraction is [0,1) and the value stored here is 1,000,000 * [fraction].
optional int64 percent_cpc_bid_micros = 45;
- Specified by:
getPercentCpcBidMicros
in interfaceAdGroupOrBuilder
- Returns:
- The percentCpcBidMicros.
-
setPercentCpcBidMicros
public AdGroup.Builder setPercentCpcBidMicros(long value)
The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service. The valid range for the fraction is [0,1) and the value stored here is 1,000,000 * [fraction].
optional int64 percent_cpc_bid_micros = 45;
- Parameters:
value
- The percentCpcBidMicros to set.- Returns:
- This builder for chaining.
-
clearPercentCpcBidMicros
public AdGroup.Builder clearPercentCpcBidMicros()
The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service. The valid range for the fraction is [0,1) and the value stored here is 1,000,000 * [fraction].
optional int64 percent_cpc_bid_micros = 45;
- Returns:
- This builder for chaining.
-
getOptimizedTargetingEnabled
public boolean getOptimizedTargetingEnabled()
True if optimized targeting is enabled. Optimized Targeting is the replacement for Audience Expansion.
bool optimized_targeting_enabled = 59;
- Specified by:
getOptimizedTargetingEnabled
in interfaceAdGroupOrBuilder
- Returns:
- The optimizedTargetingEnabled.
-
setOptimizedTargetingEnabled
public AdGroup.Builder setOptimizedTargetingEnabled(boolean value)
True if optimized targeting is enabled. Optimized Targeting is the replacement for Audience Expansion.
bool optimized_targeting_enabled = 59;
- Parameters:
value
- The optimizedTargetingEnabled to set.- Returns:
- This builder for chaining.
-
clearOptimizedTargetingEnabled
public AdGroup.Builder clearOptimizedTargetingEnabled()
True if optimized targeting is enabled. Optimized Targeting is the replacement for Audience Expansion.
bool optimized_targeting_enabled = 59;
- Returns:
- This builder for chaining.
-
getDisplayCustomBidDimensionValue
public int getDisplayCustomBidDimensionValue()
Allows advertisers to specify a targeting dimension on which to place absolute bids. This is only applicable for campaigns that target only the display network and not search.
.google.ads.googleads.v14.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23;
- Specified by:
getDisplayCustomBidDimensionValue
in interfaceAdGroupOrBuilder
- Returns:
- The enum numeric value on the wire for displayCustomBidDimension.
-
setDisplayCustomBidDimensionValue
public AdGroup.Builder setDisplayCustomBidDimensionValue(int value)
Allows advertisers to specify a targeting dimension on which to place absolute bids. This is only applicable for campaigns that target only the display network and not search.
.google.ads.googleads.v14.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23;
- Parameters:
value
- The enum numeric value on the wire for displayCustomBidDimension to set.- Returns:
- This builder for chaining.
-
getDisplayCustomBidDimension
public TargetingDimensionEnum.TargetingDimension getDisplayCustomBidDimension()
Allows advertisers to specify a targeting dimension on which to place absolute bids. This is only applicable for campaigns that target only the display network and not search.
.google.ads.googleads.v14.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23;
- Specified by:
getDisplayCustomBidDimension
in interfaceAdGroupOrBuilder
- Returns:
- The displayCustomBidDimension.
-
setDisplayCustomBidDimension
public AdGroup.Builder setDisplayCustomBidDimension(TargetingDimensionEnum.TargetingDimension value)
Allows advertisers to specify a targeting dimension on which to place absolute bids. This is only applicable for campaigns that target only the display network and not search.
.google.ads.googleads.v14.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23;
- Parameters:
value
- The displayCustomBidDimension to set.- Returns:
- This builder for chaining.
-
clearDisplayCustomBidDimension
public AdGroup.Builder clearDisplayCustomBidDimension()
Allows advertisers to specify a targeting dimension on which to place absolute bids. This is only applicable for campaigns that target only the display network and not search.
.google.ads.googleads.v14.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23;
- Returns:
- This builder for chaining.
-
hasFinalUrlSuffix
public boolean hasFinalUrlSuffix()
URL template for appending params to Final URL.
optional string final_url_suffix = 46;
- Specified by:
hasFinalUrlSuffix
in interfaceAdGroupOrBuilder
- Returns:
- Whether the finalUrlSuffix field is set.
-
getFinalUrlSuffix
public java.lang.String getFinalUrlSuffix()
URL template for appending params to Final URL.
optional string final_url_suffix = 46;
- Specified by:
getFinalUrlSuffix
in interfaceAdGroupOrBuilder
- Returns:
- The finalUrlSuffix.
-
getFinalUrlSuffixBytes
public com.google.protobuf.ByteString getFinalUrlSuffixBytes()
URL template for appending params to Final URL.
optional string final_url_suffix = 46;
- Specified by:
getFinalUrlSuffixBytes
in interfaceAdGroupOrBuilder
- Returns:
- The bytes for finalUrlSuffix.
-
setFinalUrlSuffix
public AdGroup.Builder setFinalUrlSuffix(java.lang.String value)
URL template for appending params to Final URL.
optional string final_url_suffix = 46;
- Parameters:
value
- The finalUrlSuffix to set.- Returns:
- This builder for chaining.
-
clearFinalUrlSuffix
public AdGroup.Builder clearFinalUrlSuffix()
URL template for appending params to Final URL.
optional string final_url_suffix = 46;
- Returns:
- This builder for chaining.
-
setFinalUrlSuffixBytes
public AdGroup.Builder setFinalUrlSuffixBytes(com.google.protobuf.ByteString value)
URL template for appending params to Final URL.
optional string final_url_suffix = 46;
- Parameters:
value
- The bytes for finalUrlSuffix to set.- Returns:
- This builder for chaining.
-
hasTargetingSetting
public boolean hasTargetingSetting()
Setting for targeting related features.
.google.ads.googleads.v14.common.TargetingSetting targeting_setting = 25;
- Specified by:
hasTargetingSetting
in interfaceAdGroupOrBuilder
- Returns:
- Whether the targetingSetting field is set.
-
getTargetingSetting
public TargetingSetting getTargetingSetting()
Setting for targeting related features.
.google.ads.googleads.v14.common.TargetingSetting targeting_setting = 25;
- Specified by:
getTargetingSetting
in interfaceAdGroupOrBuilder
- Returns:
- The targetingSetting.
-
setTargetingSetting
public AdGroup.Builder setTargetingSetting(TargetingSetting value)
Setting for targeting related features.
.google.ads.googleads.v14.common.TargetingSetting targeting_setting = 25;
-
setTargetingSetting
public AdGroup.Builder setTargetingSetting(TargetingSetting.Builder builderForValue)
Setting for targeting related features.
.google.ads.googleads.v14.common.TargetingSetting targeting_setting = 25;
-
mergeTargetingSetting
public AdGroup.Builder mergeTargetingSetting(TargetingSetting value)
Setting for targeting related features.
.google.ads.googleads.v14.common.TargetingSetting targeting_setting = 25;
-
clearTargetingSetting
public AdGroup.Builder clearTargetingSetting()
Setting for targeting related features.
.google.ads.googleads.v14.common.TargetingSetting targeting_setting = 25;
-
getTargetingSettingBuilder
public TargetingSetting.Builder getTargetingSettingBuilder()
Setting for targeting related features.
.google.ads.googleads.v14.common.TargetingSetting targeting_setting = 25;
-
getTargetingSettingOrBuilder
public TargetingSettingOrBuilder getTargetingSettingOrBuilder()
Setting for targeting related features.
.google.ads.googleads.v14.common.TargetingSetting targeting_setting = 25;
- Specified by:
getTargetingSettingOrBuilder
in interfaceAdGroupOrBuilder
-
hasAudienceSetting
public boolean hasAudienceSetting()
Immutable. Setting for audience related features.
.google.ads.googleads.v14.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
hasAudienceSetting
in interfaceAdGroupOrBuilder
- Returns:
- Whether the audienceSetting field is set.
-
getAudienceSetting
public AdGroup.AudienceSetting getAudienceSetting()
Immutable. Setting for audience related features.
.google.ads.googleads.v14.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getAudienceSetting
in interfaceAdGroupOrBuilder
- Returns:
- The audienceSetting.
-
setAudienceSetting
public AdGroup.Builder setAudienceSetting(AdGroup.AudienceSetting value)
Immutable. Setting for audience related features.
.google.ads.googleads.v14.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE];
-
setAudienceSetting
public AdGroup.Builder setAudienceSetting(AdGroup.AudienceSetting.Builder builderForValue)
Immutable. Setting for audience related features.
.google.ads.googleads.v14.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE];
-
mergeAudienceSetting
public AdGroup.Builder mergeAudienceSetting(AdGroup.AudienceSetting value)
Immutable. Setting for audience related features.
.google.ads.googleads.v14.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE];
-
clearAudienceSetting
public AdGroup.Builder clearAudienceSetting()
Immutable. Setting for audience related features.
.google.ads.googleads.v14.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE];
-
getAudienceSettingBuilder
public AdGroup.AudienceSetting.Builder getAudienceSettingBuilder()
Immutable. Setting for audience related features.
.google.ads.googleads.v14.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE];
-
getAudienceSettingOrBuilder
public AdGroup.AudienceSettingOrBuilder getAudienceSettingOrBuilder()
Immutable. Setting for audience related features.
.google.ads.googleads.v14.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getAudienceSettingOrBuilder
in interfaceAdGroupOrBuilder
-
hasEffectiveTargetCpaMicros
public boolean hasEffectiveTargetCpaMicros()
Output only. The effective target CPA (cost-per-acquisition). This field is read-only.
optional int64 effective_target_cpa_micros = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasEffectiveTargetCpaMicros
in interfaceAdGroupOrBuilder
- Returns:
- Whether the effectiveTargetCpaMicros field is set.
-
getEffectiveTargetCpaMicros
public long getEffectiveTargetCpaMicros()
Output only. The effective target CPA (cost-per-acquisition). This field is read-only.
optional int64 effective_target_cpa_micros = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEffectiveTargetCpaMicros
in interfaceAdGroupOrBuilder
- Returns:
- The effectiveTargetCpaMicros.
-
setEffectiveTargetCpaMicros
public AdGroup.Builder setEffectiveTargetCpaMicros(long value)
Output only. The effective target CPA (cost-per-acquisition). This field is read-only.
optional int64 effective_target_cpa_micros = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The effectiveTargetCpaMicros to set.- Returns:
- This builder for chaining.
-
clearEffectiveTargetCpaMicros
public AdGroup.Builder clearEffectiveTargetCpaMicros()
Output only. The effective target CPA (cost-per-acquisition). This field is read-only.
optional int64 effective_target_cpa_micros = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getEffectiveTargetCpaSourceValue
public int getEffectiveTargetCpaSourceValue()
Output only. Source of the effective target CPA. This field is read-only.
.google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEffectiveTargetCpaSourceValue
in interfaceAdGroupOrBuilder
- Returns:
- The enum numeric value on the wire for effectiveTargetCpaSource.
-
setEffectiveTargetCpaSourceValue
public AdGroup.Builder setEffectiveTargetCpaSourceValue(int value)
Output only. Source of the effective target CPA. This field is read-only.
.google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for effectiveTargetCpaSource to set.- Returns:
- This builder for chaining.
-
getEffectiveTargetCpaSource
public BiddingSourceEnum.BiddingSource getEffectiveTargetCpaSource()
Output only. Source of the effective target CPA. This field is read-only.
.google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEffectiveTargetCpaSource
in interfaceAdGroupOrBuilder
- Returns:
- The effectiveTargetCpaSource.
-
setEffectiveTargetCpaSource
public AdGroup.Builder setEffectiveTargetCpaSource(BiddingSourceEnum.BiddingSource value)
Output only. Source of the effective target CPA. This field is read-only.
.google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The effectiveTargetCpaSource to set.- Returns:
- This builder for chaining.
-
clearEffectiveTargetCpaSource
public AdGroup.Builder clearEffectiveTargetCpaSource()
Output only. Source of the effective target CPA. This field is read-only.
.google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasEffectiveTargetRoas
public boolean hasEffectiveTargetRoas()
Output only. The effective target ROAS (return-on-ad-spend). This field is read-only.
optional double effective_target_roas = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasEffectiveTargetRoas
in interfaceAdGroupOrBuilder
- Returns:
- Whether the effectiveTargetRoas field is set.
-
getEffectiveTargetRoas
public double getEffectiveTargetRoas()
Output only. The effective target ROAS (return-on-ad-spend). This field is read-only.
optional double effective_target_roas = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEffectiveTargetRoas
in interfaceAdGroupOrBuilder
- Returns:
- The effectiveTargetRoas.
-
setEffectiveTargetRoas
public AdGroup.Builder setEffectiveTargetRoas(double value)
Output only. The effective target ROAS (return-on-ad-spend). This field is read-only.
optional double effective_target_roas = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The effectiveTargetRoas to set.- Returns:
- This builder for chaining.
-
clearEffectiveTargetRoas
public AdGroup.Builder clearEffectiveTargetRoas()
Output only. The effective target ROAS (return-on-ad-spend). This field is read-only.
optional double effective_target_roas = 48 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getEffectiveTargetRoasSourceValue
public int getEffectiveTargetRoasSourceValue()
Output only. Source of the effective target ROAS. This field is read-only.
.google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEffectiveTargetRoasSourceValue
in interfaceAdGroupOrBuilder
- Returns:
- The enum numeric value on the wire for effectiveTargetRoasSource.
-
setEffectiveTargetRoasSourceValue
public AdGroup.Builder setEffectiveTargetRoasSourceValue(int value)
Output only. Source of the effective target ROAS. This field is read-only.
.google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for effectiveTargetRoasSource to set.- Returns:
- This builder for chaining.
-
getEffectiveTargetRoasSource
public BiddingSourceEnum.BiddingSource getEffectiveTargetRoasSource()
Output only. Source of the effective target ROAS. This field is read-only.
.google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEffectiveTargetRoasSource
in interfaceAdGroupOrBuilder
- Returns:
- The effectiveTargetRoasSource.
-
setEffectiveTargetRoasSource
public AdGroup.Builder setEffectiveTargetRoasSource(BiddingSourceEnum.BiddingSource value)
Output only. Source of the effective target ROAS. This field is read-only.
.google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The effectiveTargetRoasSource to set.- Returns:
- This builder for chaining.
-
clearEffectiveTargetRoasSource
public AdGroup.Builder clearEffectiveTargetRoasSource()
Output only. Source of the effective target ROAS. This field is read-only.
.google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getLabelsList
public com.google.protobuf.ProtocolStringList getLabelsList()
Output only. The resource names of labels attached to this ad group.
repeated string labels = 49 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getLabelsList
in interfaceAdGroupOrBuilder
- Returns:
- A list containing the labels.
-
getLabelsCount
public int getLabelsCount()
Output only. The resource names of labels attached to this ad group.
repeated string labels = 49 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getLabelsCount
in interfaceAdGroupOrBuilder
- Returns:
- The count of labels.
-
getLabels
public java.lang.String getLabels(int index)
Output only. The resource names of labels attached to this ad group.
repeated string labels = 49 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getLabels
in interfaceAdGroupOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public com.google.protobuf.ByteString getLabelsBytes(int index)
Output only. The resource names of labels attached to this ad group.
repeated string labels = 49 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getLabelsBytes
in interfaceAdGroupOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
setLabels
public AdGroup.Builder setLabels(int index, java.lang.String value)
Output only. The resource names of labels attached to this ad group.
repeated string labels = 49 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
index
- The index to set the value at.value
- The labels to set.- Returns:
- This builder for chaining.
-
addLabels
public AdGroup.Builder addLabels(java.lang.String value)
Output only. The resource names of labels attached to this ad group.
repeated string labels = 49 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The labels to add.- Returns:
- This builder for chaining.
-
addAllLabels
public AdGroup.Builder addAllLabels(java.lang.Iterable<java.lang.String> values)
Output only. The resource names of labels attached to this ad group.
repeated string labels = 49 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
values
- The labels to add.- Returns:
- This builder for chaining.
-
clearLabels
public AdGroup.Builder clearLabels()
Output only. The resource names of labels attached to this ad group.
repeated string labels = 49 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
addLabelsBytes
public AdGroup.Builder addLabelsBytes(com.google.protobuf.ByteString value)
Output only. The resource names of labels attached to this ad group.
repeated string labels = 49 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes of the labels to add.- Returns:
- This builder for chaining.
-
getExcludedParentAssetFieldTypesList
public java.util.List<AssetFieldTypeEnum.AssetFieldType> getExcludedParentAssetFieldTypesList()
The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
repeated .google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;
- Specified by:
getExcludedParentAssetFieldTypesList
in interfaceAdGroupOrBuilder
- Returns:
- A list containing the excludedParentAssetFieldTypes.
-
getExcludedParentAssetFieldTypesCount
public int getExcludedParentAssetFieldTypesCount()
The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
repeated .google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;
- Specified by:
getExcludedParentAssetFieldTypesCount
in interfaceAdGroupOrBuilder
- Returns:
- The count of excludedParentAssetFieldTypes.
-
getExcludedParentAssetFieldTypes
public AssetFieldTypeEnum.AssetFieldType getExcludedParentAssetFieldTypes(int index)
The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
repeated .google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;
- Specified by:
getExcludedParentAssetFieldTypes
in interfaceAdGroupOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The excludedParentAssetFieldTypes at the given index.
-
setExcludedParentAssetFieldTypes
public AdGroup.Builder setExcludedParentAssetFieldTypes(int index, AssetFieldTypeEnum.AssetFieldType value)
The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
repeated .google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;
- Parameters:
index
- The index to set the value at.value
- The excludedParentAssetFieldTypes to set.- Returns:
- This builder for chaining.
-
addExcludedParentAssetFieldTypes
public AdGroup.Builder addExcludedParentAssetFieldTypes(AssetFieldTypeEnum.AssetFieldType value)
The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
repeated .google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;
- Parameters:
value
- The excludedParentAssetFieldTypes to add.- Returns:
- This builder for chaining.
-
addAllExcludedParentAssetFieldTypes
public AdGroup.Builder addAllExcludedParentAssetFieldTypes(java.lang.Iterable<? extends AssetFieldTypeEnum.AssetFieldType> values)
The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
repeated .google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;
- Parameters:
values
- The excludedParentAssetFieldTypes to add.- Returns:
- This builder for chaining.
-
clearExcludedParentAssetFieldTypes
public AdGroup.Builder clearExcludedParentAssetFieldTypes()
The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
repeated .google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;
- Returns:
- This builder for chaining.
-
getExcludedParentAssetFieldTypesValueList
public java.util.List<java.lang.Integer> getExcludedParentAssetFieldTypesValueList()
The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
repeated .google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;
- Specified by:
getExcludedParentAssetFieldTypesValueList
in interfaceAdGroupOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for excludedParentAssetFieldTypes.
-
getExcludedParentAssetFieldTypesValue
public int getExcludedParentAssetFieldTypesValue(int index)
The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
repeated .google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;
- Specified by:
getExcludedParentAssetFieldTypesValue
in interfaceAdGroupOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of excludedParentAssetFieldTypes at the given index.
-
setExcludedParentAssetFieldTypesValue
public AdGroup.Builder setExcludedParentAssetFieldTypesValue(int index, int value)
The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
repeated .google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for excludedParentAssetFieldTypes to set.- Returns:
- This builder for chaining.
-
addExcludedParentAssetFieldTypesValue
public AdGroup.Builder addExcludedParentAssetFieldTypesValue(int value)
The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
repeated .google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;
- Parameters:
value
- The enum numeric value on the wire for excludedParentAssetFieldTypes to add.- Returns:
- This builder for chaining.
-
addAllExcludedParentAssetFieldTypesValue
public AdGroup.Builder addAllExcludedParentAssetFieldTypesValue(java.lang.Iterable<java.lang.Integer> values)
The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
repeated .google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;
- Parameters:
values
- The enum numeric values on the wire for excludedParentAssetFieldTypes to add.- Returns:
- This builder for chaining.
-
getExcludedParentAssetSetTypesList
public java.util.List<AssetSetTypeEnum.AssetSetType> getExcludedParentAssetSetTypesList()
The asset set types that should be excluded from this ad group. Asset set links with these types will not be inherited by this ad group from the upper levels. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58;
- Specified by:
getExcludedParentAssetSetTypesList
in interfaceAdGroupOrBuilder
- Returns:
- A list containing the excludedParentAssetSetTypes.
-
getExcludedParentAssetSetTypesCount
public int getExcludedParentAssetSetTypesCount()
The asset set types that should be excluded from this ad group. Asset set links with these types will not be inherited by this ad group from the upper levels. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58;
- Specified by:
getExcludedParentAssetSetTypesCount
in interfaceAdGroupOrBuilder
- Returns:
- The count of excludedParentAssetSetTypes.
-
getExcludedParentAssetSetTypes
public AssetSetTypeEnum.AssetSetType getExcludedParentAssetSetTypes(int index)
The asset set types that should be excluded from this ad group. Asset set links with these types will not be inherited by this ad group from the upper levels. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58;
- Specified by:
getExcludedParentAssetSetTypes
in interfaceAdGroupOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The excludedParentAssetSetTypes at the given index.
-
setExcludedParentAssetSetTypes
public AdGroup.Builder setExcludedParentAssetSetTypes(int index, AssetSetTypeEnum.AssetSetType value)
The asset set types that should be excluded from this ad group. Asset set links with these types will not be inherited by this ad group from the upper levels. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58;
- Parameters:
index
- The index to set the value at.value
- The excludedParentAssetSetTypes to set.- Returns:
- This builder for chaining.
-
addExcludedParentAssetSetTypes
public AdGroup.Builder addExcludedParentAssetSetTypes(AssetSetTypeEnum.AssetSetType value)
The asset set types that should be excluded from this ad group. Asset set links with these types will not be inherited by this ad group from the upper levels. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58;
- Parameters:
value
- The excludedParentAssetSetTypes to add.- Returns:
- This builder for chaining.
-
addAllExcludedParentAssetSetTypes
public AdGroup.Builder addAllExcludedParentAssetSetTypes(java.lang.Iterable<? extends AssetSetTypeEnum.AssetSetType> values)
The asset set types that should be excluded from this ad group. Asset set links with these types will not be inherited by this ad group from the upper levels. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58;
- Parameters:
values
- The excludedParentAssetSetTypes to add.- Returns:
- This builder for chaining.
-
clearExcludedParentAssetSetTypes
public AdGroup.Builder clearExcludedParentAssetSetTypes()
The asset set types that should be excluded from this ad group. Asset set links with these types will not be inherited by this ad group from the upper levels. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58;
- Returns:
- This builder for chaining.
-
getExcludedParentAssetSetTypesValueList
public java.util.List<java.lang.Integer> getExcludedParentAssetSetTypesValueList()
The asset set types that should be excluded from this ad group. Asset set links with these types will not be inherited by this ad group from the upper levels. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58;
- Specified by:
getExcludedParentAssetSetTypesValueList
in interfaceAdGroupOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for excludedParentAssetSetTypes.
-
getExcludedParentAssetSetTypesValue
public int getExcludedParentAssetSetTypesValue(int index)
The asset set types that should be excluded from this ad group. Asset set links with these types will not be inherited by this ad group from the upper levels. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58;
- Specified by:
getExcludedParentAssetSetTypesValue
in interfaceAdGroupOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of excludedParentAssetSetTypes at the given index.
-
setExcludedParentAssetSetTypesValue
public AdGroup.Builder setExcludedParentAssetSetTypesValue(int index, int value)
The asset set types that should be excluded from this ad group. Asset set links with these types will not be inherited by this ad group from the upper levels. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58;
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for excludedParentAssetSetTypes to set.- Returns:
- This builder for chaining.
-
addExcludedParentAssetSetTypesValue
public AdGroup.Builder addExcludedParentAssetSetTypesValue(int value)
The asset set types that should be excluded from this ad group. Asset set links with these types will not be inherited by this ad group from the upper levels. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58;
- Parameters:
value
- The enum numeric value on the wire for excludedParentAssetSetTypes to add.- Returns:
- This builder for chaining.
-
addAllExcludedParentAssetSetTypesValue
public AdGroup.Builder addAllExcludedParentAssetSetTypesValue(java.lang.Iterable<java.lang.Integer> values)
The asset set types that should be excluded from this ad group. Asset set links with these types will not be inherited by this ad group from the upper levels. Location group types (GMB_DYNAMIC_LOCATION_GROUP, CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all location group asset sets are not allowed to be linked to this ad group, and all Location Extension (LE) and Affiliate Location Extensions (ALE) will not be served under this ad group. Only LOCATION_SYNC is currently supported.
repeated .google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58;
- Parameters:
values
- The enum numeric values on the wire for excludedParentAssetSetTypes to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AdGroup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
mergeUnknownFields
public final AdGroup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
-