pub struct EventTag {
Show 18 fields pub account_id: Option<i64>, pub advertiser_id: Option<i64>, pub advertiser_id_dimension_value: Option<DimensionValue>, pub campaign_id: Option<i64>, pub campaign_id_dimension_value: Option<DimensionValue>, pub enabled_by_default: Option<bool>, pub exclude_from_adx_requests: Option<bool>, pub id: Option<i64>, pub kind: Option<String>, pub name: Option<String>, pub site_filter_type: Option<String>, pub site_ids: Option<Vec<i64>>, pub ssl_compliant: Option<bool>, pub status: Option<String>, pub subaccount_id: Option<i64>, pub type_: Option<String>, pub url: Option<String>, pub url_escape_levels: Option<i32>,
}
Expand description

Contains properties of an event tag.

§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§

§account_id: Option<i64>

Account ID of this event tag. This is a read-only field that can be left blank.

§advertiser_id: Option<i64>

Advertiser ID of this event tag. This field or the campaignId field is required on insertion.

§advertiser_id_dimension_value: Option<DimensionValue>

Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.

§campaign_id: Option<i64>

Campaign ID of this event tag. This field or the advertiserId field is required on insertion.

§campaign_id_dimension_value: Option<DimensionValue>

Dimension value for the ID of the campaign. This is a read-only, auto-generated field.

§enabled_by_default: Option<bool>

Whether this event tag should be automatically enabled for all of the advertiser’s campaigns and ads.

§exclude_from_adx_requests: Option<bool>

Whether to remove this event tag from ads that are trafficked through Display & Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.

§id: Option<i64>

ID of this event tag. This is a read-only, auto-generated field.

§kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string “dfareporting#eventTag”.

§name: Option<String>

Name of this event tag. This is a required field and must be less than 256 characters long.

§site_filter_type: Option<String>

Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.

§site_ids: Option<Vec<i64>>

Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.

§ssl_compliant: Option<bool>

Whether this tag is SSL-compliant or not. This is a read-only field.

§status: Option<String>

Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.

§subaccount_id: Option<i64>

Subaccount ID of this event tag. This is a read-only field that can be left blank.

§type_: Option<String>

Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.

§url: Option<String>

Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.

§url_escape_levels: Option<i32>

Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.

Trait Implementations§

source§

impl Clone for EventTag

source§

fn clone(&self) -> EventTag

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EventTag

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EventTag

source§

fn default() -> EventTag

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

impl<'de> Deserialize<'de> for EventTag

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for EventTag

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl RequestValue for EventTag

source§

impl Resource for EventTag

source§

impl ResponseResult for EventTag

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,