Struct google_api_proto::google::ads::googleads::v17::resources::AdGroupCriterionSimulation
source · pub struct AdGroupCriterionSimulation {
pub resource_name: String,
pub ad_group_id: Option<i64>,
pub criterion_id: Option<i64>,
pub type: i32,
pub modification_method: i32,
pub start_date: Option<String>,
pub end_date: Option<String>,
pub point_list: Option<PointList>,
}
Expand description
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.
- DISPLAY - KEYWORD - CPC_BID - UNIFORM
- SEARCH - KEYWORD - CPC_BID - UNIFORM
- SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM
- HOTEL - LISTING_GROUP - CPC_BID - UNIFORM
- 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: Option<i64>
Output only. AdGroup ID of the simulation.
criterion_id: Option<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: Option<String>
Output only. First day on which the simulation is based, in YYYY-MM-DD format.
end_date: Option<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§
source§impl AdGroupCriterionSimulation
impl AdGroupCriterionSimulation
sourcepub fn type(&self) -> SimulationType
pub fn type(&self) -> SimulationType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_type(&mut self, value: SimulationType)
pub fn set_type(&mut self, value: SimulationType)
Sets type
to the provided enum value.
sourcepub fn modification_method(&self) -> SimulationModificationMethod
pub fn modification_method(&self) -> SimulationModificationMethod
Returns the enum value of modification_method
, or the default if the field is set to an invalid enum value.
sourcepub fn set_modification_method(&mut self, value: SimulationModificationMethod)
pub fn set_modification_method(&mut self, value: SimulationModificationMethod)
Sets modification_method
to the provided enum value.
sourcepub fn ad_group_id(&self) -> i64
pub fn ad_group_id(&self) -> i64
Returns the value of ad_group_id
, or the default value if ad_group_id
is unset.
sourcepub fn criterion_id(&self) -> i64
pub fn criterion_id(&self) -> i64
Returns the value of criterion_id
, or the default value if criterion_id
is unset.
sourcepub fn start_date(&self) -> &str
pub fn start_date(&self) -> &str
Returns the value of start_date
, or the default value if start_date
is unset.
Trait Implementations§
source§impl Clone for AdGroupCriterionSimulation
impl Clone for AdGroupCriterionSimulation
source§fn clone(&self) -> AdGroupCriterionSimulation
fn clone(&self) -> AdGroupCriterionSimulation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdGroupCriterionSimulation
impl Debug for AdGroupCriterionSimulation
source§impl Default for AdGroupCriterionSimulation
impl Default for AdGroupCriterionSimulation
source§impl Message for AdGroupCriterionSimulation
impl Message for AdGroupCriterionSimulation
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AdGroupCriterionSimulation
impl PartialEq for AdGroupCriterionSimulation
source§fn eq(&self, other: &AdGroupCriterionSimulation) -> bool
fn eq(&self, other: &AdGroupCriterionSimulation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdGroupCriterionSimulation
Auto Trait Implementations§
impl Freeze for AdGroupCriterionSimulation
impl RefUnwindSafe for AdGroupCriterionSimulation
impl Send for AdGroupCriterionSimulation
impl Sync for AdGroupCriterionSimulation
impl Unpin for AdGroupCriterionSimulation
impl UnwindSafe for AdGroupCriterionSimulation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request