Struct google_dfareporting3d4::api::CustomEvent [−][src]
pub struct CustomEvent {
pub annotate_click_event: Option<CustomEventClickAnnotation>,
pub annotate_impression_event: Option<CustomEventImpressionAnnotation>,
pub custom_variables: Option<Vec<CustomVariable>>,
pub event_type: Option<String>,
pub floodlight_configuration_id: Option<String>,
pub insert_event: Option<CustomEventInsert>,
pub kind: Option<String>,
pub ordinal: Option<String>,
pub timestamp_micros: Option<String>,
}
Expand description
Experimental feature (no support provided) A custom event represents a third party impression, a third party click, an annotation on a first party impression, or an annotation on a first party click.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- batchinsert custom events (none)
Fields
annotate_click_event: Option<CustomEventClickAnnotation>
Annotate a click event. This field is mutually exclusive with insertEvent and annotateImpressionEvent. This or insertEvent and annotateImpressionEvent is a required field.
annotate_impression_event: Option<CustomEventImpressionAnnotation>
Annotate an impression. This field is mutually exclusive with insertEvent and annotateClickEvent. This or insertEvent and annotateClickEvent is a required field.
custom_variables: Option<Vec<CustomVariable>>
Custom variables associated with the event.
event_type: Option<String>
The type of event. If INSERT, the fields in insertEvent need to be populated. If ANNOTATE, the fields in either annotateClickEvent or annotateImpressionEvent need to be populated.
floodlight_configuration_id: Option<String>
Floodlight configuration ID of the advertiser the event is linked to. This is a required field.
insert_event: Option<CustomEventInsert>
Insert custom event. This field is mutually exclusive with annotateClickEvent and annotateImpressionEvent. This or annotateClickEvent and annotateImpressionEvent is a required field.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “dfareporting#customEvent”.
ordinal: Option<String>
The ordinal of this custom event. This is a required field.
timestamp_micros: Option<String>
The timestamp of this custom event, in Unix epoch micros. This is a required field.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CustomEvent
impl Send for CustomEvent
impl Sync for CustomEvent
impl Unpin for CustomEvent
impl UnwindSafe for CustomEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more