Struct gapi_grpc::google::ads::googleads::v6::services::GenerateReachForecastRequest[][src]

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

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

Fields

customer_id: String

Required. The ID of the customer.

currency_code: String

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

campaign_duration: Option<CampaignDuration>

Required. Campaign duration.

cookie_frequency_cap: 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: 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.

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.

In some cases, targeting may be overridden using the PlannedProduct.advanced_product_targeting field.

planned_products: Vec<PlannedProduct>

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

Trait Implementations

impl Clone for GenerateReachForecastRequest[src]

impl Debug for GenerateReachForecastRequest[src]

impl Default for GenerateReachForecastRequest[src]

impl Message for GenerateReachForecastRequest[src]

impl PartialEq<GenerateReachForecastRequest> for GenerateReachForecastRequest[src]

impl StructuralPartialEq for GenerateReachForecastRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for GenerateReachForecastRequest

impl Send for GenerateReachForecastRequest

impl Sync for GenerateReachForecastRequest

impl Unpin for GenerateReachForecastRequest

impl UnwindSafe for GenerateReachForecastRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]