Struct googapis::google::ads::googleads::v9::resources::AdGroupCriterionSimulation [−][src]
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
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
Sets type
to the provided enum value.
Returns the enum value of modification_method
, or the default if the field is set to an invalid enum value.
Sets modification_method
to the provided enum value.
Returns the value of ad_group_id
, or the default value if ad_group_id
is unset.
Returns the value of criterion_id
, or the default value if criterion_id
is unset.
Returns the value of start_date
, or the default value if start_date
is unset.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
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
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
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
impl RefUnwindSafe for AdGroupCriterionSimulation
impl Send for AdGroupCriterionSimulation
impl Sync for AdGroupCriterionSimulation
impl Unpin for AdGroupCriterionSimulation
impl UnwindSafe for AdGroupCriterionSimulation
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
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