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

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 a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.