Struct gapi_grpc::google::ads::googleads::v5::resources::AdGroupCriterionSimulation[][src]

pub struct AdGroupCriterionSimulation {
    pub resource_name: String,
    pub ad_group_id: i64,
    pub criterion_id: i64,
    pub type: i32,
    pub modification_method: i32,
    pub start_date: String,
    pub end_date: String,
    pub point_list: Option<PointList>,
}

An ad group criterion simulation. Supported combinations of advertising channel type, criterion type, simulation type, and simulation modification method are detailed below respectively. Hotel AdGroupCriterion simulation operations starting in V5.

  1. DISPLAY - KEYWORD - CPC_BID - UNIFORM
  2. SEARCH - KEYWORD - CPC_BID - UNIFORM
  3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM
  4. HOTEL - LISTING_GROUP - CPC_BID - UNIFORM
  5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM

Fields

resource_name: String

Output only. The resource name of the ad group criterion simulation. Ad group criterion simulation resource names have the form:

customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}

ad_group_id: i64

Output only. AdGroup ID of the simulation.

criterion_id: i64

Output only. Criterion ID of the simulation.

type: i32

Output only. The field that the simulation modifies.

modification_method: i32

Output only. How the simulation modifies the field.

start_date: String

Output only. First day on which the simulation is based, in YYYY-MM-DD format.

end_date: String

Output only. Last day on which the simulation is based, in YYYY-MM-DD format.

point_list: Option<PointList>

List of simulation points.

Implementations

impl AdGroupCriterionSimulation[src]

pub fn type(&self) -> SimulationType[src]

Returns the enum value of type, or the default if the field is set to an invalid enum value.

pub fn set_type(&mut self, value: SimulationType)[src]

Sets type to the provided enum value.

pub fn modification_method(&self) -> SimulationModificationMethod[src]

Returns the enum value of modification_method, or the default if the field is set to an invalid enum value.

pub fn set_modification_method(&mut self, value: SimulationModificationMethod)[src]

Sets modification_method to the provided enum value.

Trait Implementations

impl Clone for AdGroupCriterionSimulation[src]

impl Debug for AdGroupCriterionSimulation[src]

impl Default for AdGroupCriterionSimulation[src]

impl Message for AdGroupCriterionSimulation[src]

impl PartialEq<AdGroupCriterionSimulation> for AdGroupCriterionSimulation[src]

impl StructuralPartialEq for AdGroupCriterionSimulation[src]

Auto Trait Implementations

impl RefUnwindSafe for AdGroupCriterionSimulation

impl Send for AdGroupCriterionSimulation

impl Sync for AdGroupCriterionSimulation

impl Unpin for AdGroupCriterionSimulation

impl UnwindSafe for AdGroupCriterionSimulation

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]