pub struct FloodlightActivity {
Show 29 fields pub account_id: Option<i64>, pub advertiser_id: Option<i64>, pub advertiser_id_dimension_value: Option<DimensionValue>, pub attribution_enabled: Option<bool>, pub cache_busting_type: Option<String>, pub counting_method: Option<String>, pub default_tags: Option<Vec<FloodlightActivityDynamicTag>>, pub expected_url: Option<String>, pub floodlight_activity_group_id: Option<i64>, pub floodlight_activity_group_name: Option<String>, pub floodlight_activity_group_tag_string: Option<String>, pub floodlight_activity_group_type: Option<String>, pub floodlight_configuration_id: Option<i64>, pub floodlight_configuration_id_dimension_value: Option<DimensionValue>, pub floodlight_tag_type: Option<String>, pub id: Option<i64>, pub id_dimension_value: Option<DimensionValue>, pub kind: Option<String>, pub name: Option<String>, pub notes: Option<String>, pub publisher_tags: Option<Vec<FloodlightActivityPublisherDynamicTag>>, pub secure: Option<bool>, pub ssl_compliant: Option<bool>, pub ssl_required: Option<bool>, pub status: Option<String>, pub subaccount_id: Option<i64>, pub tag_format: Option<String>, pub tag_string: Option<String>, pub user_defined_variable_types: Option<Vec<String>>,
}
Expand description

Contains properties of a Floodlight activity.

§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 floodlight activity. This is a read-only field that can be left blank.

§advertiser_id: Option<i64>

Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group’s advertiser or the existing activity’s advertiser.

§advertiser_id_dimension_value: Option<DimensionValue>

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

§attribution_enabled: Option<bool>

Whether the activity is enabled for attribution.

§cache_busting_type: Option<String>

Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.

§counting_method: Option<String>

Counting method for conversions for this floodlight activity. This is a required field.

§default_tags: Option<Vec<FloodlightActivityDynamicTag>>

Dynamic floodlight tags.

§expected_url: Option<String>

URL where this tag will be deployed. If specified, must be less than 256 characters long.

§floodlight_activity_group_id: Option<i64>

Floodlight activity group ID of this floodlight activity. This is a required field.

§floodlight_activity_group_name: Option<String>

Name of the associated floodlight activity group. This is a read-only field.

§floodlight_activity_group_tag_string: Option<String>

Tag string of the associated floodlight activity group. This is a read-only field.

§floodlight_activity_group_type: Option<String>

Type of the associated floodlight activity group. This is a read-only field.

§floodlight_configuration_id: Option<i64>

Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group’s floodlight configuration or from the existing activity’s floodlight configuration.

§floodlight_configuration_id_dimension_value: Option<DimensionValue>

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

§floodlight_tag_type: Option<String>

The type of Floodlight tag this activity will generate. This is a required field.

§id: Option<i64>

ID of this floodlight activity. This is a read-only, auto-generated field.

§id_dimension_value: Option<DimensionValue>

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

§kind: Option<String>

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

§name: Option<String>

Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.

§notes: Option<String>

General notes or implementation instructions for the tag.

§publisher_tags: Option<Vec<FloodlightActivityPublisherDynamicTag>>

Publisher dynamic floodlight tags.

§secure: Option<bool>

Whether this tag should use SSL.

§ssl_compliant: Option<bool>

Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.

§ssl_required: Option<bool>

Whether this floodlight activity must be SSL-compliant.

§status: Option<String>

The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.

§subaccount_id: Option<i64>

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

§tag_format: Option<String>

Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.

§tag_string: Option<String>

Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.

§user_defined_variable_types: Option<Vec<String>>

List of the user-defined variables used by this conversion tag. These map to the “u[1-100]=” in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive.

Trait Implementations§

source§

impl Clone for FloodlightActivity

source§

fn clone(&self) -> FloodlightActivity

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 FloodlightActivity

source§

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

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

impl Default for FloodlightActivity

source§

fn default() -> FloodlightActivity

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

impl<'de> Deserialize<'de> for FloodlightActivity

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 FloodlightActivity

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 FloodlightActivity

source§

impl ResponseResult for FloodlightActivity

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