Class AdGroup.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
- com.google.ads.googleads.v10.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.v10.resources.AdGroup
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdGroup.BuilderaddAllExcludedParentAssetFieldTypes(java.lang.Iterable<? extends AssetFieldTypeEnum.AssetFieldType> values)The asset field types that should be excluded from this ad group.AdGroup.BuilderaddAllExcludedParentAssetFieldTypesValue(java.lang.Iterable<java.lang.Integer> values)The asset field types that should be excluded from this ad group.AdGroup.BuilderaddAllLabels(java.lang.Iterable<java.lang.String> values)Output only.AdGroup.BuilderaddAllUrlCustomParameters(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.BuilderaddExcludedParentAssetFieldTypes(AssetFieldTypeEnum.AssetFieldType value)The asset field types that should be excluded from this ad group.AdGroup.BuilderaddExcludedParentAssetFieldTypesValue(int value)The asset field types that should be excluded from this ad group.AdGroup.BuilderaddLabels(java.lang.String value)Output only.AdGroup.BuilderaddLabelsBytes(com.google.protobuf.ByteString value)Output only.AdGroup.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AdGroup.BuilderaddUrlCustomParameters(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.BuilderaddUrlCustomParameters(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.BuilderaddUrlCustomParameters(CustomParameter value)The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.AdGroup.BuilderaddUrlCustomParameters(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.BuilderaddUrlCustomParametersBuilder()The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.CustomParameter.BuilderaddUrlCustomParametersBuilder(int index)The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.AdGroupbuild()AdGroupbuildPartial()AdGroup.Builderclear()AdGroup.BuilderclearAdRotationMode()The ad rotation mode of the ad group.AdGroup.BuilderclearAudienceSetting()Immutable.AdGroup.BuilderclearBaseAdGroup()Output only.AdGroup.BuilderclearCampaign()Immutable.AdGroup.BuilderclearCpcBidMicros()The maximum CPC (cost-per-click) bid.AdGroup.BuilderclearCpmBidMicros()The maximum CPM (cost-per-thousand viewable impressions) bid.AdGroup.BuilderclearCpvBidMicros()Output only.AdGroup.BuilderclearDisplayCustomBidDimension()Allows advertisers to specify a targeting dimension on which to place absolute bids.AdGroup.BuilderclearEffectiveCpcBidMicros()Output only.AdGroup.BuilderclearEffectiveTargetCpaMicros()Output only.AdGroup.BuilderclearEffectiveTargetCpaSource()Output only.AdGroup.BuilderclearEffectiveTargetRoas()Output only.AdGroup.BuilderclearEffectiveTargetRoasSource()Output only.AdGroup.BuilderclearExcludedParentAssetFieldTypes()The asset field types that should be excluded from this ad group.AdGroup.BuilderclearExplorerAutoOptimizerSetting()Settings for the Display Campaign Optimizer, initially termed "Explorer".AdGroup.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AdGroup.BuilderclearFinalUrlSuffix()URL template for appending params to Final URL.AdGroup.BuilderclearId()Output only.AdGroup.BuilderclearLabels()Output only.AdGroup.BuilderclearName()The name of the ad group.AdGroup.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AdGroup.BuilderclearPercentCpcBidMicros()The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service.AdGroup.BuilderclearResourceName()Immutable.AdGroup.BuilderclearStatus()The status of the ad group.AdGroup.BuilderclearTargetCpaMicros()The target CPA (cost-per-acquisition).AdGroup.BuilderclearTargetCpmMicros()Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.AdGroup.BuilderclearTargetingSetting()Setting for targeting related features.AdGroup.BuilderclearTargetRoas()The target ROAS (return-on-ad-spend) override.AdGroup.BuilderclearTrackingUrlTemplate()The URL template for constructing a tracking URL.AdGroup.BuilderclearType()Immutable.AdGroup.BuilderclearUrlCustomParameters()The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.AdGroup.Builderclone()AdGroupAdRotationModeEnum.AdGroupAdRotationModegetAdRotationMode()The ad rotation mode of the ad group.intgetAdRotationModeValue()The ad rotation mode of the ad group.AdGroup.AudienceSettinggetAudienceSetting()Immutable.AdGroup.AudienceSetting.BuildergetAudienceSettingBuilder()Immutable.AdGroup.AudienceSettingOrBuildergetAudienceSettingOrBuilder()Immutable.java.lang.StringgetBaseAdGroup()Output only.com.google.protobuf.ByteStringgetBaseAdGroupBytes()Output only.java.lang.StringgetCampaign()Immutable.com.google.protobuf.ByteStringgetCampaignBytes()Immutable.longgetCpcBidMicros()The maximum CPC (cost-per-click) bid.longgetCpmBidMicros()The maximum CPM (cost-per-thousand viewable impressions) bid.longgetCpvBidMicros()Output only.AdGroupgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()TargetingDimensionEnum.TargetingDimensiongetDisplayCustomBidDimension()Allows advertisers to specify a targeting dimension on which to place absolute bids.intgetDisplayCustomBidDimensionValue()Allows advertisers to specify a targeting dimension on which to place absolute bids.longgetEffectiveCpcBidMicros()Output only.longgetEffectiveTargetCpaMicros()Output only.BiddingSourceEnum.BiddingSourcegetEffectiveTargetCpaSource()Output only.intgetEffectiveTargetCpaSourceValue()Output only.doublegetEffectiveTargetRoas()Output only.BiddingSourceEnum.BiddingSourcegetEffectiveTargetRoasSource()Output only.intgetEffectiveTargetRoasSourceValue()Output only.AssetFieldTypeEnum.AssetFieldTypegetExcludedParentAssetFieldTypes(int index)The asset field types that should be excluded from this ad group.intgetExcludedParentAssetFieldTypesCount()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.intgetExcludedParentAssetFieldTypesValue(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.ExplorerAutoOptimizerSettinggetExplorerAutoOptimizerSetting()Settings for the Display Campaign Optimizer, initially termed "Explorer".ExplorerAutoOptimizerSetting.BuildergetExplorerAutoOptimizerSettingBuilder()Settings for the Display Campaign Optimizer, initially termed "Explorer".ExplorerAutoOptimizerSettingOrBuildergetExplorerAutoOptimizerSettingOrBuilder()Settings for the Display Campaign Optimizer, initially termed "Explorer".java.lang.StringgetFinalUrlSuffix()URL template for appending params to Final URL.com.google.protobuf.ByteStringgetFinalUrlSuffixBytes()URL template for appending params to Final URL.longgetId()Output only.java.lang.StringgetLabels(int index)Output only.com.google.protobuf.ByteStringgetLabelsBytes(int index)Output only.intgetLabelsCount()Output only.com.google.protobuf.ProtocolStringListgetLabelsList()Output only.java.lang.StringgetName()The name of the ad group.com.google.protobuf.ByteStringgetNameBytes()The name of the ad group.longgetPercentCpcBidMicros()The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.AdGroupStatusEnum.AdGroupStatusgetStatus()The status of the ad group.intgetStatusValue()The status of the ad group.longgetTargetCpaMicros()The target CPA (cost-per-acquisition).longgetTargetCpmMicros()Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.TargetingSettinggetTargetingSetting()Setting for targeting related features.TargetingSetting.BuildergetTargetingSettingBuilder()Setting for targeting related features.TargetingSettingOrBuildergetTargetingSettingOrBuilder()Setting for targeting related features.doublegetTargetRoas()The target ROAS (return-on-ad-spend) override.java.lang.StringgetTrackingUrlTemplate()The URL template for constructing a tracking URL.com.google.protobuf.ByteStringgetTrackingUrlTemplateBytes()The URL template for constructing a tracking URL.AdGroupTypeEnum.AdGroupTypegetType()Immutable.intgetTypeValue()Immutable.CustomParametergetUrlCustomParameters(int index)The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.CustomParameter.BuildergetUrlCustomParametersBuilder(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`.intgetUrlCustomParametersCount()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`.CustomParameterOrBuildergetUrlCustomParametersOrBuilder(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`.booleanhasAudienceSetting()Immutable.booleanhasBaseAdGroup()Output only.booleanhasCampaign()Immutable.booleanhasCpcBidMicros()The maximum CPC (cost-per-click) bid.booleanhasCpmBidMicros()The maximum CPM (cost-per-thousand viewable impressions) bid.booleanhasCpvBidMicros()Output only.booleanhasEffectiveCpcBidMicros()Output only.booleanhasEffectiveTargetCpaMicros()Output only.booleanhasEffectiveTargetRoas()Output only.booleanhasExplorerAutoOptimizerSetting()Settings for the Display Campaign Optimizer, initially termed "Explorer".booleanhasFinalUrlSuffix()URL template for appending params to Final URL.booleanhasId()Output only.booleanhasName()The name of the ad group.booleanhasPercentCpcBidMicros()The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service.booleanhasTargetCpaMicros()The target CPA (cost-per-acquisition).booleanhasTargetCpmMicros()Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.booleanhasTargetingSetting()Setting for targeting related features.booleanhasTargetRoas()The target ROAS (return-on-ad-spend) override.booleanhasTrackingUrlTemplate()The URL template for constructing a tracking URL.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AdGroup.BuildermergeAudienceSetting(AdGroup.AudienceSetting value)Immutable.AdGroup.BuildermergeExplorerAutoOptimizerSetting(ExplorerAutoOptimizerSetting value)Settings for the Display Campaign Optimizer, initially termed "Explorer".AdGroup.BuildermergeFrom(AdGroup other)AdGroup.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AdGroup.BuildermergeFrom(com.google.protobuf.Message other)AdGroup.BuildermergeTargetingSetting(TargetingSetting value)Setting for targeting related features.AdGroup.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AdGroup.BuilderremoveUrlCustomParameters(int index)The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.AdGroup.BuildersetAdRotationMode(AdGroupAdRotationModeEnum.AdGroupAdRotationMode value)The ad rotation mode of the ad group.AdGroup.BuildersetAdRotationModeValue(int value)The ad rotation mode of the ad group.AdGroup.BuildersetAudienceSetting(AdGroup.AudienceSetting value)Immutable.AdGroup.BuildersetAudienceSetting(AdGroup.AudienceSetting.Builder builderForValue)Immutable.AdGroup.BuildersetBaseAdGroup(java.lang.String value)Output only.AdGroup.BuildersetBaseAdGroupBytes(com.google.protobuf.ByteString value)Output only.AdGroup.BuildersetCampaign(java.lang.String value)Immutable.AdGroup.BuildersetCampaignBytes(com.google.protobuf.ByteString value)Immutable.AdGroup.BuildersetCpcBidMicros(long value)The maximum CPC (cost-per-click) bid.AdGroup.BuildersetCpmBidMicros(long value)The maximum CPM (cost-per-thousand viewable impressions) bid.AdGroup.BuildersetCpvBidMicros(long value)Output only.AdGroup.BuildersetDisplayCustomBidDimension(TargetingDimensionEnum.TargetingDimension value)Allows advertisers to specify a targeting dimension on which to place absolute bids.AdGroup.BuildersetDisplayCustomBidDimensionValue(int value)Allows advertisers to specify a targeting dimension on which to place absolute bids.AdGroup.BuildersetEffectiveCpcBidMicros(long value)Output only.AdGroup.BuildersetEffectiveTargetCpaMicros(long value)Output only.AdGroup.BuildersetEffectiveTargetCpaSource(BiddingSourceEnum.BiddingSource value)Output only.AdGroup.BuildersetEffectiveTargetCpaSourceValue(int value)Output only.AdGroup.BuildersetEffectiveTargetRoas(double value)Output only.AdGroup.BuildersetEffectiveTargetRoasSource(BiddingSourceEnum.BiddingSource value)Output only.AdGroup.BuildersetEffectiveTargetRoasSourceValue(int value)Output only.AdGroup.BuildersetExcludedParentAssetFieldTypes(int index, AssetFieldTypeEnum.AssetFieldType value)The asset field types that should be excluded from this ad group.AdGroup.BuildersetExcludedParentAssetFieldTypesValue(int index, int value)The asset field types that should be excluded from this ad group.AdGroup.BuildersetExplorerAutoOptimizerSetting(ExplorerAutoOptimizerSetting value)Settings for the Display Campaign Optimizer, initially termed "Explorer".AdGroup.BuildersetExplorerAutoOptimizerSetting(ExplorerAutoOptimizerSetting.Builder builderForValue)Settings for the Display Campaign Optimizer, initially termed "Explorer".AdGroup.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AdGroup.BuildersetFinalUrlSuffix(java.lang.String value)URL template for appending params to Final URL.AdGroup.BuildersetFinalUrlSuffixBytes(com.google.protobuf.ByteString value)URL template for appending params to Final URL.AdGroup.BuildersetId(long value)Output only.AdGroup.BuildersetLabels(int index, java.lang.String value)Output only.AdGroup.BuildersetName(java.lang.String value)The name of the ad group.AdGroup.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the ad group.AdGroup.BuildersetPercentCpcBidMicros(long value)The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service.AdGroup.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)AdGroup.BuildersetResourceName(java.lang.String value)Immutable.AdGroup.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)Immutable.AdGroup.BuildersetStatus(AdGroupStatusEnum.AdGroupStatus value)The status of the ad group.AdGroup.BuildersetStatusValue(int value)The status of the ad group.AdGroup.BuildersetTargetCpaMicros(long value)The target CPA (cost-per-acquisition).AdGroup.BuildersetTargetCpmMicros(long value)Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.AdGroup.BuildersetTargetingSetting(TargetingSetting value)Setting for targeting related features.AdGroup.BuildersetTargetingSetting(TargetingSetting.Builder builderForValue)Setting for targeting related features.AdGroup.BuildersetTargetRoas(double value)The target ROAS (return-on-ad-spend) override.AdGroup.BuildersetTrackingUrlTemplate(java.lang.String value)The URL template for constructing a tracking URL.AdGroup.BuildersetTrackingUrlTemplateBytes(com.google.protobuf.ByteString value)The URL template for constructing a tracking URL.AdGroup.BuildersetType(AdGroupTypeEnum.AdGroupType value)Immutable.AdGroup.BuildersetTypeValue(int value)Immutable.AdGroup.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AdGroup.BuildersetUrlCustomParameters(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.BuildersetUrlCustomParameters(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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
clear
public AdGroup.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
getDefaultInstanceForType
public AdGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AdGroup build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AdGroup buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AdGroup.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
setField
public AdGroup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
clearField
public AdGroup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
clearOneof
public AdGroup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
addRepeatedField
public AdGroup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
mergeFrom
public AdGroup.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdGroup.Builder>
-
mergeFrom
public AdGroup.Builder mergeFrom(AdGroup other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getResourceNamein 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:
getResourceNameBytesin 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:
hasIdin 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:
getIdin 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:
hasNamein 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:
getNamein 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:
getNameBytesin 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.v10.enums.AdGroupStatusEnum.AdGroupStatus status = 5;- Specified by:
getStatusValuein 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.v10.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.v10.enums.AdGroupStatusEnum.AdGroupStatus status = 5;- Specified by:
getStatusin interfaceAdGroupOrBuilder- Returns:
- The status.
-
setStatus
public AdGroup.Builder setStatus(AdGroupStatusEnum.AdGroupStatus value)
The status of the ad group.
.google.ads.googleads.v10.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.v10.enums.AdGroupStatusEnum.AdGroupStatus status = 5;- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
Immutable. The type of the ad group.
.google.ads.googleads.v10.enums.AdGroupTypeEnum.AdGroupType type = 12 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTypeValuein 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.v10.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.v10.enums.AdGroupTypeEnum.AdGroupType type = 12 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTypein interfaceAdGroupOrBuilder- Returns:
- The type.
-
setType
public AdGroup.Builder setType(AdGroupTypeEnum.AdGroupType value)
Immutable. The type of the ad group.
.google.ads.googleads.v10.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.v10.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.v10.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22;- Specified by:
getAdRotationModeValuein 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.v10.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.v10.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22;- Specified by:
getAdRotationModein interfaceAdGroupOrBuilder- Returns:
- The adRotationMode.
-
setAdRotationMode
public AdGroup.Builder setAdRotationMode(AdGroupAdRotationModeEnum.AdGroupAdRotationMode value)
The ad rotation mode of the ad group.
.google.ads.googleads.v10.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.v10.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:
hasBaseAdGroupin 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:
getBaseAdGroupin 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:
getBaseAdGroupBytesin 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:
hasTrackingUrlTemplatein 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:
getTrackingUrlTemplatein 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:
getTrackingUrlTemplateBytesin 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.v10.common.CustomParameter url_custom_parameters = 6;- Specified by:
getUrlCustomParametersListin 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.v10.common.CustomParameter url_custom_parameters = 6;- Specified by:
getUrlCustomParametersCountin 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.v10.common.CustomParameter url_custom_parameters = 6;- Specified by:
getUrlCustomParametersin 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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.common.CustomParameter url_custom_parameters = 6;- Specified by:
getUrlCustomParametersOrBuilderin 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.v10.common.CustomParameter url_custom_parameters = 6;- Specified by:
getUrlCustomParametersOrBuilderListin 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.v10.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.v10.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.v10.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:
hasCampaignin 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:
getCampaignin 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:
getCampaignBytesin 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:
hasCpcBidMicrosin 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:
getCpcBidMicrosin 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:
hasEffectiveCpcBidMicrosin 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:
getEffectiveCpcBidMicrosin 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:
hasCpmBidMicrosin 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:
getCpmBidMicrosin 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:
hasTargetCpaMicrosin 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:
getTargetCpaMicrosin 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()
Output only. The CPV (cost-per-view) bid.
optional int64 cpv_bid_micros = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCpvBidMicrosin interfaceAdGroupOrBuilder- Returns:
- Whether the cpvBidMicros field is set.
-
getCpvBidMicros
public long getCpvBidMicros()
Output only. The CPV (cost-per-view) bid.
optional int64 cpv_bid_micros = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCpvBidMicrosin interfaceAdGroupOrBuilder- Returns:
- The cpvBidMicros.
-
setCpvBidMicros
public AdGroup.Builder setCpvBidMicros(long value)
Output only. The CPV (cost-per-view) bid.
optional int64 cpv_bid_micros = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The cpvBidMicros to set.- Returns:
- This builder for chaining.
-
clearCpvBidMicros
public AdGroup.Builder clearCpvBidMicros()
Output only. The CPV (cost-per-view) bid.
optional int64 cpv_bid_micros = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];- 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:
hasTargetCpmMicrosin 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:
getTargetCpmMicrosin 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:
hasTargetRoasin 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:
getTargetRoasin 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:
hasPercentCpcBidMicrosin 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:
getPercentCpcBidMicrosin 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.
-
hasExplorerAutoOptimizerSetting
public boolean hasExplorerAutoOptimizerSetting()
Settings for the Display Campaign Optimizer, initially termed "Explorer".
.google.ads.googleads.v10.common.ExplorerAutoOptimizerSetting explorer_auto_optimizer_setting = 21;- Specified by:
hasExplorerAutoOptimizerSettingin interfaceAdGroupOrBuilder- Returns:
- Whether the explorerAutoOptimizerSetting field is set.
-
getExplorerAutoOptimizerSetting
public ExplorerAutoOptimizerSetting getExplorerAutoOptimizerSetting()
Settings for the Display Campaign Optimizer, initially termed "Explorer".
.google.ads.googleads.v10.common.ExplorerAutoOptimizerSetting explorer_auto_optimizer_setting = 21;- Specified by:
getExplorerAutoOptimizerSettingin interfaceAdGroupOrBuilder- Returns:
- The explorerAutoOptimizerSetting.
-
setExplorerAutoOptimizerSetting
public AdGroup.Builder setExplorerAutoOptimizerSetting(ExplorerAutoOptimizerSetting value)
Settings for the Display Campaign Optimizer, initially termed "Explorer".
.google.ads.googleads.v10.common.ExplorerAutoOptimizerSetting explorer_auto_optimizer_setting = 21;
-
setExplorerAutoOptimizerSetting
public AdGroup.Builder setExplorerAutoOptimizerSetting(ExplorerAutoOptimizerSetting.Builder builderForValue)
Settings for the Display Campaign Optimizer, initially termed "Explorer".
.google.ads.googleads.v10.common.ExplorerAutoOptimizerSetting explorer_auto_optimizer_setting = 21;
-
mergeExplorerAutoOptimizerSetting
public AdGroup.Builder mergeExplorerAutoOptimizerSetting(ExplorerAutoOptimizerSetting value)
Settings for the Display Campaign Optimizer, initially termed "Explorer".
.google.ads.googleads.v10.common.ExplorerAutoOptimizerSetting explorer_auto_optimizer_setting = 21;
-
clearExplorerAutoOptimizerSetting
public AdGroup.Builder clearExplorerAutoOptimizerSetting()
Settings for the Display Campaign Optimizer, initially termed "Explorer".
.google.ads.googleads.v10.common.ExplorerAutoOptimizerSetting explorer_auto_optimizer_setting = 21;
-
getExplorerAutoOptimizerSettingBuilder
public ExplorerAutoOptimizerSetting.Builder getExplorerAutoOptimizerSettingBuilder()
Settings for the Display Campaign Optimizer, initially termed "Explorer".
.google.ads.googleads.v10.common.ExplorerAutoOptimizerSetting explorer_auto_optimizer_setting = 21;
-
getExplorerAutoOptimizerSettingOrBuilder
public ExplorerAutoOptimizerSettingOrBuilder getExplorerAutoOptimizerSettingOrBuilder()
Settings for the Display Campaign Optimizer, initially termed "Explorer".
.google.ads.googleads.v10.common.ExplorerAutoOptimizerSetting explorer_auto_optimizer_setting = 21;- Specified by:
getExplorerAutoOptimizerSettingOrBuilderin interfaceAdGroupOrBuilder
-
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.v10.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23;- Specified by:
getDisplayCustomBidDimensionValuein 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.v10.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.v10.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23;- Specified by:
getDisplayCustomBidDimensionin 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.v10.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.v10.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:
hasFinalUrlSuffixin 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:
getFinalUrlSuffixin 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:
getFinalUrlSuffixBytesin 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.v10.common.TargetingSetting targeting_setting = 25;- Specified by:
hasTargetingSettingin interfaceAdGroupOrBuilder- Returns:
- Whether the targetingSetting field is set.
-
getTargetingSetting
public TargetingSetting getTargetingSetting()
Setting for targeting related features.
.google.ads.googleads.v10.common.TargetingSetting targeting_setting = 25;- Specified by:
getTargetingSettingin interfaceAdGroupOrBuilder- Returns:
- The targetingSetting.
-
setTargetingSetting
public AdGroup.Builder setTargetingSetting(TargetingSetting value)
Setting for targeting related features.
.google.ads.googleads.v10.common.TargetingSetting targeting_setting = 25;
-
setTargetingSetting
public AdGroup.Builder setTargetingSetting(TargetingSetting.Builder builderForValue)
Setting for targeting related features.
.google.ads.googleads.v10.common.TargetingSetting targeting_setting = 25;
-
mergeTargetingSetting
public AdGroup.Builder mergeTargetingSetting(TargetingSetting value)
Setting for targeting related features.
.google.ads.googleads.v10.common.TargetingSetting targeting_setting = 25;
-
clearTargetingSetting
public AdGroup.Builder clearTargetingSetting()
Setting for targeting related features.
.google.ads.googleads.v10.common.TargetingSetting targeting_setting = 25;
-
getTargetingSettingBuilder
public TargetingSetting.Builder getTargetingSettingBuilder()
Setting for targeting related features.
.google.ads.googleads.v10.common.TargetingSetting targeting_setting = 25;
-
getTargetingSettingOrBuilder
public TargetingSettingOrBuilder getTargetingSettingOrBuilder()
Setting for targeting related features.
.google.ads.googleads.v10.common.TargetingSetting targeting_setting = 25;- Specified by:
getTargetingSettingOrBuilderin interfaceAdGroupOrBuilder
-
hasAudienceSetting
public boolean hasAudienceSetting()
Immutable. Setting for audience related features.
.google.ads.googleads.v10.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasAudienceSettingin interfaceAdGroupOrBuilder- Returns:
- Whether the audienceSetting field is set.
-
getAudienceSetting
public AdGroup.AudienceSetting getAudienceSetting()
Immutable. Setting for audience related features.
.google.ads.googleads.v10.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAudienceSettingin interfaceAdGroupOrBuilder- Returns:
- The audienceSetting.
-
setAudienceSetting
public AdGroup.Builder setAudienceSetting(AdGroup.AudienceSetting value)
Immutable. Setting for audience related features.
.google.ads.googleads.v10.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.v10.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.v10.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.v10.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.v10.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.v10.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAudienceSettingOrBuilderin 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:
hasEffectiveTargetCpaMicrosin 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:
getEffectiveTargetCpaMicrosin 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.v10.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEffectiveTargetCpaSourceValuein 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.v10.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.v10.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEffectiveTargetCpaSourcein 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.v10.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.v10.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:
hasEffectiveTargetRoasin 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:
getEffectiveTargetRoasin 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.v10.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEffectiveTargetRoasSourceValuein 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.v10.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.v10.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEffectiveTargetRoasSourcein 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.v10.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.v10.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:
getLabelsListin 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:
getLabelsCountin 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:
getLabelsin 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:
getLabelsBytesin 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.v10.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;- Specified by:
getExcludedParentAssetFieldTypesListin 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.v10.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;- Specified by:
getExcludedParentAssetFieldTypesCountin 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.v10.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;- Specified by:
getExcludedParentAssetFieldTypesin 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.v10.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.v10.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.v10.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.v10.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.v10.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;- Specified by:
getExcludedParentAssetFieldTypesValueListin 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.v10.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;- Specified by:
getExcludedParentAssetFieldTypesValuein 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.v10.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of excludedParentAssetFieldTypes at the given index.
-
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.v10.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.v10.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.
-
setUnknownFields
public final AdGroup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
mergeUnknownFields
public final AdGroup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.Builder>
-
-