Class GenerateReachForecastRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GenerateReachForecastRequest.Builder>
com.google.ads.googleads.v18.services.GenerateReachForecastRequest.Builder
- All Implemented Interfaces:
GenerateReachForecastRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GenerateReachForecastRequest
public static final class GenerateReachForecastRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GenerateReachForecastRequest.Builder>
implements GenerateReachForecastRequestOrBuilder
Request message for [ReachPlanService.GenerateReachForecast][google.ads.googleads.v18.services.ReachPlanService.GenerateReachForecast].Protobuf type
google.ads.googleads.v18.services.GenerateReachForecastRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllPlannedProducts(Iterable<? extends PlannedProduct> values) Required.addPlannedProducts(int index, PlannedProduct value) Required.addPlannedProducts(int index, PlannedProduct.Builder builderForValue) Required.addPlannedProducts(PlannedProduct value) Required.addPlannedProducts(PlannedProduct.Builder builderForValue) Required.Required.addPlannedProductsBuilder(int index) Required.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Required.Chosen cookie frequency cap to be applied to each planned product.Chosen cookie frequency cap to be applied to each planned product.The currency code.Required.The name of the customer being planned for.The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Controls the forecast metrics returned in the response.Chosen minimum effective frequency (the number of times a person was exposed to the ad) for the reported reach metrics [1-10].clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Required.The targeting to be applied to all products selected in the product mix.clone()Required.Required.Required.intChosen cookie frequency cap to be applied to each planned product.Chosen cookie frequency cap to be applied to each planned product.Chosen cookie frequency cap to be applied to each planned product.Chosen cookie frequency cap to be applied to each planned product.The currency code.com.google.protobuf.ByteStringThe currency code.Required.com.google.protobuf.ByteStringRequired.The name of the customer being planned for.com.google.protobuf.ByteStringThe name of the customer being planned for.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns.The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns.The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns.Controls the forecast metrics returned in the response.Controls the forecast metrics returned in the response.Controls the forecast metrics returned in the response.intChosen minimum effective frequency (the number of times a person was exposed to the ad) for the reported reach metrics [1-10].getPlannedProducts(int index) Required.getPlannedProductsBuilder(int index) Required.Required.intRequired.Required.getPlannedProductsOrBuilder(int index) Required.List<? extends PlannedProductOrBuilder>Required.The targeting to be applied to all products selected in the product mix.The targeting to be applied to all products selected in the product mix.The targeting to be applied to all products selected in the product mix.booleanRequired.booleanChosen cookie frequency cap to be applied to each planned product.booleanChosen cookie frequency cap to be applied to each planned product.booleanThe currency code.booleanThe name of the customer being planned for.booleanThe highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns.booleanControls the forecast metrics returned in the response.booleanChosen minimum effective frequency (the number of times a person was exposed to the ad) for the reported reach metrics [1-10].booleanThe targeting to be applied to all products selected in the product mix.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanRequired.Chosen cookie frequency cap to be applied to each planned product.The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns.Controls the forecast metrics returned in the response.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTargeting(Targeting value) The targeting to be applied to all products selected in the product mix.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removePlannedProducts(int index) Required.Required.setCampaignDuration(CampaignDuration.Builder builderForValue) Required.setCookieFrequencyCap(int value) Chosen cookie frequency cap to be applied to each planned product.Chosen cookie frequency cap to be applied to each planned product.setCookieFrequencyCapSetting(FrequencyCap.Builder builderForValue) Chosen cookie frequency cap to be applied to each planned product.setCurrencyCode(String value) The currency code.setCurrencyCodeBytes(com.google.protobuf.ByteString value) The currency code.setCustomerId(String value) Required.setCustomerIdBytes(com.google.protobuf.ByteString value) Required.setCustomerReachGroup(String value) The name of the customer being planned for.setCustomerReachGroupBytes(com.google.protobuf.ByteString value) The name of the customer being planned for.The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns.setEffectiveFrequencyLimit(EffectiveFrequencyLimit.Builder builderForValue) The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns.Controls the forecast metrics returned in the response.setForecastMetricOptions(ForecastMetricOptions.Builder builderForValue) Controls the forecast metrics returned in the response.setMinEffectiveFrequency(int value) Chosen minimum effective frequency (the number of times a person was exposed to the ad) for the reported reach metrics [1-10].setPlannedProducts(int index, PlannedProduct value) Required.setPlannedProducts(int index, PlannedProduct.Builder builderForValue) Required.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTargeting(Targeting value) The targeting to be applied to all products selected in the product mix.setTargeting(Targeting.Builder builderForValue) The targeting to be applied to all products selected in the product mix.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<GenerateReachForecastRequest.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<GenerateReachForecastRequest.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<GenerateReachForecastRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<GenerateReachForecastRequest.Builder>
-
setField
public GenerateReachForecastRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateReachForecastRequest.Builder>
-
clearField
public GenerateReachForecastRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateReachForecastRequest.Builder>
-
clearOneof
public GenerateReachForecastRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateReachForecastRequest.Builder>
-
setRepeatedField
public GenerateReachForecastRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateReachForecastRequest.Builder>
-
addRepeatedField
public GenerateReachForecastRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateReachForecastRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateReachForecastRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateReachForecastRequest.Builder>
-
mergeFrom
public GenerateReachForecastRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateReachForecastRequest.Builder>- Throws:
IOException
-
getCustomerId
Required. The ID of the customer.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCustomerIdin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The customerId.
-
getCustomerIdBytes
public com.google.protobuf.ByteString getCustomerIdBytes()Required. The ID of the customer.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCustomerIdBytesin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The bytes for customerId.
-
setCustomerId
Required. The ID of the customer.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The customerId to set.- Returns:
- This builder for chaining.
-
clearCustomerId
Required. The ID of the customer.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setCustomerIdBytes
public GenerateReachForecastRequest.Builder setCustomerIdBytes(com.google.protobuf.ByteString value) Required. The ID of the customer.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for customerId to set.- Returns:
- This builder for chaining.
-
hasCurrencyCode
public boolean hasCurrencyCode()The currency code. Three-character ISO 4217 currency code.
optional string currency_code = 9;- Specified by:
hasCurrencyCodein interfaceGenerateReachForecastRequestOrBuilder- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
The currency code. Three-character ISO 4217 currency code.
optional string currency_code = 9;- Specified by:
getCurrencyCodein interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()The currency code. Three-character ISO 4217 currency code.
optional string currency_code = 9;- Specified by:
getCurrencyCodeBytesin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The bytes for currencyCode.
-
setCurrencyCode
The currency code. Three-character ISO 4217 currency code.
optional string currency_code = 9;- Parameters:
value- The currencyCode to set.- Returns:
- This builder for chaining.
-
clearCurrencyCode
The currency code. Three-character ISO 4217 currency code.
optional string currency_code = 9;- Returns:
- This builder for chaining.
-
setCurrencyCodeBytes
public GenerateReachForecastRequest.Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) The currency code. Three-character ISO 4217 currency code.
optional string currency_code = 9;- Parameters:
value- The bytes for currencyCode to set.- Returns:
- This builder for chaining.
-
hasCampaignDuration
public boolean hasCampaignDuration()Required. Campaign duration.
.google.ads.googleads.v18.services.CampaignDuration campaign_duration = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasCampaignDurationin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- Whether the campaignDuration field is set.
-
getCampaignDuration
Required. Campaign duration.
.google.ads.googleads.v18.services.CampaignDuration campaign_duration = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCampaignDurationin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The campaignDuration.
-
setCampaignDuration
Required. Campaign duration.
.google.ads.googleads.v18.services.CampaignDuration campaign_duration = 3 [(.google.api.field_behavior) = REQUIRED]; -
setCampaignDuration
public GenerateReachForecastRequest.Builder setCampaignDuration(CampaignDuration.Builder builderForValue) Required. Campaign duration.
.google.ads.googleads.v18.services.CampaignDuration campaign_duration = 3 [(.google.api.field_behavior) = REQUIRED]; -
mergeCampaignDuration
Required. Campaign duration.
.google.ads.googleads.v18.services.CampaignDuration campaign_duration = 3 [(.google.api.field_behavior) = REQUIRED]; -
clearCampaignDuration
Required. Campaign duration.
.google.ads.googleads.v18.services.CampaignDuration campaign_duration = 3 [(.google.api.field_behavior) = REQUIRED]; -
getCampaignDurationBuilder
Required. Campaign duration.
.google.ads.googleads.v18.services.CampaignDuration campaign_duration = 3 [(.google.api.field_behavior) = REQUIRED]; -
getCampaignDurationOrBuilder
Required. Campaign duration.
.google.ads.googleads.v18.services.CampaignDuration campaign_duration = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCampaignDurationOrBuilderin interfaceGenerateReachForecastRequestOrBuilder
-
hasCookieFrequencyCap
public boolean hasCookieFrequencyCap()Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number of times an ad can be shown to the same user. If not specified, no cap is applied. This field is deprecated in v4 and will eventually be removed. Use cookie_frequency_cap_setting instead.
optional int32 cookie_frequency_cap = 10;- Specified by:
hasCookieFrequencyCapin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- Whether the cookieFrequencyCap field is set.
-
getCookieFrequencyCap
public int getCookieFrequencyCap()Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number of times an ad can be shown to the same user. If not specified, no cap is applied. This field is deprecated in v4 and will eventually be removed. Use cookie_frequency_cap_setting instead.
optional int32 cookie_frequency_cap = 10;- Specified by:
getCookieFrequencyCapin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The cookieFrequencyCap.
-
setCookieFrequencyCap
Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number of times an ad can be shown to the same user. If not specified, no cap is applied. This field is deprecated in v4 and will eventually be removed. Use cookie_frequency_cap_setting instead.
optional int32 cookie_frequency_cap = 10;- Parameters:
value- The cookieFrequencyCap to set.- Returns:
- This builder for chaining.
-
clearCookieFrequencyCap
Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number of times an ad can be shown to the same user. If not specified, no cap is applied. This field is deprecated in v4 and will eventually be removed. Use cookie_frequency_cap_setting instead.
optional int32 cookie_frequency_cap = 10;- Returns:
- This builder for chaining.
-
hasCookieFrequencyCapSetting
public boolean hasCookieFrequencyCapSetting()Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number of times an ad can be shown to the same user during a specified time interval. If not specified, a default of 0 (no cap) is applied. This field replaces the deprecated cookie_frequency_cap field.
.google.ads.googleads.v18.services.FrequencyCap cookie_frequency_cap_setting = 8;- Specified by:
hasCookieFrequencyCapSettingin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- Whether the cookieFrequencyCapSetting field is set.
-
getCookieFrequencyCapSetting
Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number of times an ad can be shown to the same user during a specified time interval. If not specified, a default of 0 (no cap) is applied. This field replaces the deprecated cookie_frequency_cap field.
.google.ads.googleads.v18.services.FrequencyCap cookie_frequency_cap_setting = 8;- Specified by:
getCookieFrequencyCapSettingin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The cookieFrequencyCapSetting.
-
setCookieFrequencyCapSetting
Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number of times an ad can be shown to the same user during a specified time interval. If not specified, a default of 0 (no cap) is applied. This field replaces the deprecated cookie_frequency_cap field.
.google.ads.googleads.v18.services.FrequencyCap cookie_frequency_cap_setting = 8; -
setCookieFrequencyCapSetting
public GenerateReachForecastRequest.Builder setCookieFrequencyCapSetting(FrequencyCap.Builder builderForValue) Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number of times an ad can be shown to the same user during a specified time interval. If not specified, a default of 0 (no cap) is applied. This field replaces the deprecated cookie_frequency_cap field.
.google.ads.googleads.v18.services.FrequencyCap cookie_frequency_cap_setting = 8; -
mergeCookieFrequencyCapSetting
Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number of times an ad can be shown to the same user during a specified time interval. If not specified, a default of 0 (no cap) is applied. This field replaces the deprecated cookie_frequency_cap field.
.google.ads.googleads.v18.services.FrequencyCap cookie_frequency_cap_setting = 8; -
clearCookieFrequencyCapSetting
Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number of times an ad can be shown to the same user during a specified time interval. If not specified, a default of 0 (no cap) is applied. This field replaces the deprecated cookie_frequency_cap field.
.google.ads.googleads.v18.services.FrequencyCap cookie_frequency_cap_setting = 8; -
getCookieFrequencyCapSettingBuilder
Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number of times an ad can be shown to the same user during a specified time interval. If not specified, a default of 0 (no cap) is applied. This field replaces the deprecated cookie_frequency_cap field.
.google.ads.googleads.v18.services.FrequencyCap cookie_frequency_cap_setting = 8; -
getCookieFrequencyCapSettingOrBuilder
Chosen cookie frequency cap to be applied to each planned product. This is equivalent to the frequency cap exposed in Google Ads when creating a campaign, it represents the maximum number of times an ad can be shown to the same user during a specified time interval. If not specified, a default of 0 (no cap) is applied. This field replaces the deprecated cookie_frequency_cap field.
.google.ads.googleads.v18.services.FrequencyCap cookie_frequency_cap_setting = 8;- Specified by:
getCookieFrequencyCapSettingOrBuilderin interfaceGenerateReachForecastRequestOrBuilder
-
hasMinEffectiveFrequency
public boolean hasMinEffectiveFrequency()Chosen minimum effective frequency (the number of times a person was exposed to the ad) for the reported reach metrics [1-10]. This won't affect the targeting, but just the reporting. If not specified, a default of 1 is applied. This field cannot be combined with the effective_frequency_limit field.
optional int32 min_effective_frequency = 11;- Specified by:
hasMinEffectiveFrequencyin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- Whether the minEffectiveFrequency field is set.
-
getMinEffectiveFrequency
public int getMinEffectiveFrequency()Chosen minimum effective frequency (the number of times a person was exposed to the ad) for the reported reach metrics [1-10]. This won't affect the targeting, but just the reporting. If not specified, a default of 1 is applied. This field cannot be combined with the effective_frequency_limit field.
optional int32 min_effective_frequency = 11;- Specified by:
getMinEffectiveFrequencyin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The minEffectiveFrequency.
-
setMinEffectiveFrequency
Chosen minimum effective frequency (the number of times a person was exposed to the ad) for the reported reach metrics [1-10]. This won't affect the targeting, but just the reporting. If not specified, a default of 1 is applied. This field cannot be combined with the effective_frequency_limit field.
optional int32 min_effective_frequency = 11;- Parameters:
value- The minEffectiveFrequency to set.- Returns:
- This builder for chaining.
-
clearMinEffectiveFrequency
Chosen minimum effective frequency (the number of times a person was exposed to the ad) for the reported reach metrics [1-10]. This won't affect the targeting, but just the reporting. If not specified, a default of 1 is applied. This field cannot be combined with the effective_frequency_limit field.
optional int32 min_effective_frequency = 11;- Returns:
- This builder for chaining.
-
hasEffectiveFrequencyLimit
public boolean hasEffectiveFrequencyLimit()The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns. If not specified, Forecast.effective_frequency_breakdowns will not be provided. The effective frequency value provided here will also be used as the minimum effective frequency for the reported reach metrics. This field cannot be combined with the min_effective_frequency field.
optional .google.ads.googleads.v18.services.EffectiveFrequencyLimit effective_frequency_limit = 12;- Specified by:
hasEffectiveFrequencyLimitin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- Whether the effectiveFrequencyLimit field is set.
-
getEffectiveFrequencyLimit
The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns. If not specified, Forecast.effective_frequency_breakdowns will not be provided. The effective frequency value provided here will also be used as the minimum effective frequency for the reported reach metrics. This field cannot be combined with the min_effective_frequency field.
optional .google.ads.googleads.v18.services.EffectiveFrequencyLimit effective_frequency_limit = 12;- Specified by:
getEffectiveFrequencyLimitin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The effectiveFrequencyLimit.
-
setEffectiveFrequencyLimit
public GenerateReachForecastRequest.Builder setEffectiveFrequencyLimit(EffectiveFrequencyLimit value) The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns. If not specified, Forecast.effective_frequency_breakdowns will not be provided. The effective frequency value provided here will also be used as the minimum effective frequency for the reported reach metrics. This field cannot be combined with the min_effective_frequency field.
optional .google.ads.googleads.v18.services.EffectiveFrequencyLimit effective_frequency_limit = 12; -
setEffectiveFrequencyLimit
public GenerateReachForecastRequest.Builder setEffectiveFrequencyLimit(EffectiveFrequencyLimit.Builder builderForValue) The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns. If not specified, Forecast.effective_frequency_breakdowns will not be provided. The effective frequency value provided here will also be used as the minimum effective frequency for the reported reach metrics. This field cannot be combined with the min_effective_frequency field.
optional .google.ads.googleads.v18.services.EffectiveFrequencyLimit effective_frequency_limit = 12; -
mergeEffectiveFrequencyLimit
public GenerateReachForecastRequest.Builder mergeEffectiveFrequencyLimit(EffectiveFrequencyLimit value) The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns. If not specified, Forecast.effective_frequency_breakdowns will not be provided. The effective frequency value provided here will also be used as the minimum effective frequency for the reported reach metrics. This field cannot be combined with the min_effective_frequency field.
optional .google.ads.googleads.v18.services.EffectiveFrequencyLimit effective_frequency_limit = 12; -
clearEffectiveFrequencyLimit
The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns. If not specified, Forecast.effective_frequency_breakdowns will not be provided. The effective frequency value provided here will also be used as the minimum effective frequency for the reported reach metrics. This field cannot be combined with the min_effective_frequency field.
optional .google.ads.googleads.v18.services.EffectiveFrequencyLimit effective_frequency_limit = 12; -
getEffectiveFrequencyLimitBuilder
The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns. If not specified, Forecast.effective_frequency_breakdowns will not be provided. The effective frequency value provided here will also be used as the minimum effective frequency for the reported reach metrics. This field cannot be combined with the min_effective_frequency field.
optional .google.ads.googleads.v18.services.EffectiveFrequencyLimit effective_frequency_limit = 12; -
getEffectiveFrequencyLimitOrBuilder
The highest minimum effective frequency (the number of times a person was exposed to the ad) value [1-10] to include in Forecast.effective_frequency_breakdowns. If not specified, Forecast.effective_frequency_breakdowns will not be provided. The effective frequency value provided here will also be used as the minimum effective frequency for the reported reach metrics. This field cannot be combined with the min_effective_frequency field.
optional .google.ads.googleads.v18.services.EffectiveFrequencyLimit effective_frequency_limit = 12;- Specified by:
getEffectiveFrequencyLimitOrBuilderin interfaceGenerateReachForecastRequestOrBuilder
-
hasTargeting
public boolean hasTargeting()The targeting to be applied to all products selected in the product mix. This is planned targeting: execution details might vary based on the advertising product, consult an implementation specialist. See specific metrics for details on how targeting affects them.
.google.ads.googleads.v18.services.Targeting targeting = 6;- Specified by:
hasTargetingin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- Whether the targeting field is set.
-
getTargeting
The targeting to be applied to all products selected in the product mix. This is planned targeting: execution details might vary based on the advertising product, consult an implementation specialist. See specific metrics for details on how targeting affects them.
.google.ads.googleads.v18.services.Targeting targeting = 6;- Specified by:
getTargetingin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The targeting.
-
setTargeting
The targeting to be applied to all products selected in the product mix. This is planned targeting: execution details might vary based on the advertising product, consult an implementation specialist. See specific metrics for details on how targeting affects them.
.google.ads.googleads.v18.services.Targeting targeting = 6; -
setTargeting
The targeting to be applied to all products selected in the product mix. This is planned targeting: execution details might vary based on the advertising product, consult an implementation specialist. See specific metrics for details on how targeting affects them.
.google.ads.googleads.v18.services.Targeting targeting = 6; -
mergeTargeting
The targeting to be applied to all products selected in the product mix. This is planned targeting: execution details might vary based on the advertising product, consult an implementation specialist. See specific metrics for details on how targeting affects them.
.google.ads.googleads.v18.services.Targeting targeting = 6; -
clearTargeting
The targeting to be applied to all products selected in the product mix. This is planned targeting: execution details might vary based on the advertising product, consult an implementation specialist. See specific metrics for details on how targeting affects them.
.google.ads.googleads.v18.services.Targeting targeting = 6; -
getTargetingBuilder
The targeting to be applied to all products selected in the product mix. This is planned targeting: execution details might vary based on the advertising product, consult an implementation specialist. See specific metrics for details on how targeting affects them.
.google.ads.googleads.v18.services.Targeting targeting = 6; -
getTargetingOrBuilder
The targeting to be applied to all products selected in the product mix. This is planned targeting: execution details might vary based on the advertising product, consult an implementation specialist. See specific metrics for details on how targeting affects them.
.google.ads.googleads.v18.services.Targeting targeting = 6;- Specified by:
getTargetingOrBuilderin interfaceGenerateReachForecastRequestOrBuilder
-
getPlannedProductsList
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPlannedProductsListin interfaceGenerateReachForecastRequestOrBuilder
-
getPlannedProductsCount
public int getPlannedProductsCount()Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPlannedProductsCountin interfaceGenerateReachForecastRequestOrBuilder
-
getPlannedProducts
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPlannedProductsin interfaceGenerateReachForecastRequestOrBuilder
-
setPlannedProducts
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
setPlannedProducts
public GenerateReachForecastRequest.Builder setPlannedProducts(int index, PlannedProduct.Builder builderForValue) Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
addPlannedProducts
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
addPlannedProducts
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
addPlannedProducts
public GenerateReachForecastRequest.Builder addPlannedProducts(PlannedProduct.Builder builderForValue) Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
addPlannedProducts
public GenerateReachForecastRequest.Builder addPlannedProducts(int index, PlannedProduct.Builder builderForValue) Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
addAllPlannedProducts
public GenerateReachForecastRequest.Builder addAllPlannedProducts(Iterable<? extends PlannedProduct> values) Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
clearPlannedProducts
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
removePlannedProducts
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
getPlannedProductsBuilder
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
getPlannedProductsOrBuilder
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPlannedProductsOrBuilderin interfaceGenerateReachForecastRequestOrBuilder
-
getPlannedProductsOrBuilderList
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPlannedProductsOrBuilderListin interfaceGenerateReachForecastRequestOrBuilder
-
addPlannedProductsBuilder
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
addPlannedProductsBuilder
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
getPlannedProductsBuilderList
Required. The products to be forecast. The max number of allowed planned products is 15.
repeated .google.ads.googleads.v18.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; -
hasForecastMetricOptions
public boolean hasForecastMetricOptions()Controls the forecast metrics returned in the response.
.google.ads.googleads.v18.services.ForecastMetricOptions forecast_metric_options = 13;- Specified by:
hasForecastMetricOptionsin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- Whether the forecastMetricOptions field is set.
-
getForecastMetricOptions
Controls the forecast metrics returned in the response.
.google.ads.googleads.v18.services.ForecastMetricOptions forecast_metric_options = 13;- Specified by:
getForecastMetricOptionsin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The forecastMetricOptions.
-
setForecastMetricOptions
Controls the forecast metrics returned in the response.
.google.ads.googleads.v18.services.ForecastMetricOptions forecast_metric_options = 13; -
setForecastMetricOptions
public GenerateReachForecastRequest.Builder setForecastMetricOptions(ForecastMetricOptions.Builder builderForValue) Controls the forecast metrics returned in the response.
.google.ads.googleads.v18.services.ForecastMetricOptions forecast_metric_options = 13; -
mergeForecastMetricOptions
Controls the forecast metrics returned in the response.
.google.ads.googleads.v18.services.ForecastMetricOptions forecast_metric_options = 13; -
clearForecastMetricOptions
Controls the forecast metrics returned in the response.
.google.ads.googleads.v18.services.ForecastMetricOptions forecast_metric_options = 13; -
getForecastMetricOptionsBuilder
Controls the forecast metrics returned in the response.
.google.ads.googleads.v18.services.ForecastMetricOptions forecast_metric_options = 13; -
getForecastMetricOptionsOrBuilder
Controls the forecast metrics returned in the response.
.google.ads.googleads.v18.services.ForecastMetricOptions forecast_metric_options = 13;- Specified by:
getForecastMetricOptionsOrBuilderin interfaceGenerateReachForecastRequestOrBuilder
-
hasCustomerReachGroup
public boolean hasCustomerReachGroup()The name of the customer being planned for. This is a user-defined value.
optional string customer_reach_group = 14;- Specified by:
hasCustomerReachGroupin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- Whether the customerReachGroup field is set.
-
getCustomerReachGroup
The name of the customer being planned for. This is a user-defined value.
optional string customer_reach_group = 14;- Specified by:
getCustomerReachGroupin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The customerReachGroup.
-
getCustomerReachGroupBytes
public com.google.protobuf.ByteString getCustomerReachGroupBytes()The name of the customer being planned for. This is a user-defined value.
optional string customer_reach_group = 14;- Specified by:
getCustomerReachGroupBytesin interfaceGenerateReachForecastRequestOrBuilder- Returns:
- The bytes for customerReachGroup.
-
setCustomerReachGroup
The name of the customer being planned for. This is a user-defined value.
optional string customer_reach_group = 14;- Parameters:
value- The customerReachGroup to set.- Returns:
- This builder for chaining.
-
clearCustomerReachGroup
The name of the customer being planned for. This is a user-defined value.
optional string customer_reach_group = 14;- Returns:
- This builder for chaining.
-
setCustomerReachGroupBytes
public GenerateReachForecastRequest.Builder setCustomerReachGroupBytes(com.google.protobuf.ByteString value) The name of the customer being planned for. This is a user-defined value.
optional string customer_reach_group = 14;- Parameters:
value- The bytes for customerReachGroup to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GenerateReachForecastRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateReachForecastRequest.Builder>
-
mergeUnknownFields
public final GenerateReachForecastRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateReachForecastRequest.Builder>
-