Struct googapis::google::ads::googleads::v8::services::CallConversion [−][src]
pub struct CallConversion {
pub caller_id: Option<String>,
pub call_start_date_time: Option<String>,
pub conversion_action: Option<String>,
pub conversion_date_time: Option<String>,
pub conversion_value: Option<f64>,
pub currency_code: Option<String>,
pub custom_variables: Vec<CustomVariable>,
}
Expand description
A call conversion.
Fields
caller_id: Option<String>
The caller id from which this call was placed. Caller id is expected to be in E.164 format with preceding ‘+’ sign. e.g. “+16502531234”.
call_start_date_time: Option<String>
The date time at which the call occurred. The timezone must be specified. The format is “yyyy-mm-dd hh:mm:ss+|-hh:mm”, e.g. “2019-01-01 12:32:45-08:00”.
conversion_action: Option<String>
Resource name of the conversion action associated with this conversion. Note: Although this resource name consists of a customer id and a conversion action id, validation will ignore the customer id and use the conversion action id as the sole identifier of the conversion action.
conversion_date_time: Option<String>
The date time at which the conversion occurred. Must be after the call time. The timezone must be specified. The format is “yyyy-mm-dd hh:mm:ss+|-hh:mm”, e.g. “2019-01-01 12:32:45-08:00”.
conversion_value: Option<f64>
The value of the conversion for the advertiser.
currency_code: Option<String>
Currency associated with the conversion value. This is the ISO 4217 3-character currency code. For example: USD, EUR.
custom_variables: Vec<CustomVariable>
The custom variables associated with this conversion.
Implementations
Returns the value of caller_id
, or the default value if caller_id
is unset.
Returns the value of call_start_date_time
, or the default value if call_start_date_time
is unset.
Returns the value of conversion_action
, or the default value if conversion_action
is unset.
Returns the value of conversion_date_time
, or the default value if conversion_date_time
is unset.
Returns the value of conversion_value
, or the default value if conversion_value
is unset.
Returns the value of currency_code
, or the default value if currency_code
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 CallConversion
impl Send for CallConversion
impl Sync for CallConversion
impl Unpin for CallConversion
impl UnwindSafe for CallConversion
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