Struct googapis::google::ads::googleads::v8::services::GenerateReachForecastRequest[][src]

pub struct GenerateReachForecastRequest {
    pub customer_id: String,
    pub currency_code: Option<String>,
    pub campaign_duration: Option<CampaignDuration>,
    pub cookie_frequency_cap: Option<i32>,
    pub cookie_frequency_cap_setting: Option<FrequencyCap>,
    pub min_effective_frequency: Option<i32>,
    pub effective_frequency_limit: Option<EffectiveFrequencyLimit>,
    pub targeting: Option<Targeting>,
    pub planned_products: Vec<PlannedProduct>,
}
Expand description

Request message for [ReachPlanService.GenerateReachForecast][google.ads.googleads.v8.services.ReachPlanService.GenerateReachForecast].

Fields

customer_id: String

Required. The ID of the customer.

currency_code: Option<String>

The currency code. Three-character ISO 4217 currency code.

campaign_duration: Option<CampaignDuration>

Required. Campaign duration.

cookie_frequency_cap: Option<i32>

Desired cookie frequency cap that will 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. Please use cookie_frequency_cap_setting instead.

cookie_frequency_cap_setting: Option<FrequencyCap>

Desired cookie frequency cap that will 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, no cap is applied.

This field replaces the deprecated cookie_frequency_cap field.

min_effective_frequency: Option<i32>

Desired 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.

effective_frequency_limit: Option<EffectiveFrequencyLimit>

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.

targeting: Option<Targeting>

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, please consult an implementation specialist.

See specific metrics for details on how targeting affects them.

planned_products: Vec<PlannedProduct>

Required. The products to be forecast. The max number of allowed planned products is 15.

Implementations

Returns the value of currency_code, or the default value if currency_code is unset.

Returns the value of cookie_frequency_cap, or the default value if cookie_frequency_cap is unset.

Returns the value of min_effective_frequency, or the default value if min_effective_frequency is unset.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

Encodes the message to a buffer. Read more

Encodes the message to a newly allocated buffer.

Encodes the message with a length-delimiter to a buffer. Read more

Encodes the message with a length-delimiter to a newly allocated buffer.

Decodes an instance of the message from a buffer. Read more

Decodes a length-delimited instance of the message from the buffer.

Decodes an instance of the message from a buffer, and merges it into self. Read more

Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more