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>,
}

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).

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

impl Clone for CustomEvent[src]

impl Debug for CustomEvent[src]

impl Default for CustomEvent[src]

impl<'de> Deserialize<'de> for CustomEvent[src]

impl Resource for CustomEvent[src]

impl Serialize for CustomEvent[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.