FloodlightActivity

Struct FloodlightActivity 

Source
pub struct FloodlightActivity {
Show 28 fields pub secure: Option<bool>, pub id_dimension_value: Option<DimensionValue>, pub floodlight_activity_group_name: Option<String>, pub image_tag_enabled: Option<bool>, pub advertiser_id: Option<String>, pub cache_busting_type: Option<String>, pub advertiser_id_dimension_value: Option<DimensionValue>, pub floodlight_activity_group_id: Option<String>, pub user_defined_variable_types: Option<Vec<String>>, pub tag_string: Option<String>, pub floodlight_activity_group_tag_string: Option<String>, pub expected_url: Option<String>, pub kind: Option<String>, pub subaccount_id: Option<String>, pub name: Option<String>, pub publisher_tags: Option<Vec<FloodlightActivityPublisherDynamicTag>>, pub ssl_compliant: Option<bool>, pub notes: Option<String>, pub floodlight_configuration_id: Option<String>, pub id: Option<String>, pub counting_method: Option<String>, pub default_tags: Option<Vec<FloodlightActivityDynamicTag>>, pub floodlight_configuration_id_dimension_value: Option<DimensionValue>, pub tag_format: Option<String>, pub hidden: Option<bool>, pub account_id: Option<String>, pub ssl_required: Option<bool>, pub floodlight_activity_group_type: Option<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§

§secure: Option<bool>

Whether this tag should use SSL.

§id_dimension_value: Option<DimensionValue>

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

§floodlight_activity_group_name: Option<String>

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

§image_tag_enabled: Option<bool>

Whether the image tag is enabled for this activity.

§advertiser_id: Option<String>

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.

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

§advertiser_id_dimension_value: Option<DimensionValue>

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

§floodlight_activity_group_id: Option<String>

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

§user_defined_variable_types: Option<Vec<String>>

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

  • “U1”
  • “U2”
  • “U3”
  • “U4”
  • “U5”
  • “U6”
  • “U7”
  • “U8”
  • “U9”
  • “U10”
  • “U11”
  • “U12”
  • “U13”
  • “U14”
  • “U15”
  • “U16”
  • “U17”
  • “U18”
  • “U19”
  • “U20”
§tag_string: Option<String>

Value of the cat= paramter 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-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.

§floodlight_activity_group_tag_string: Option<String>

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

§expected_url: Option<String>

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

§kind: Option<String>

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

§subaccount_id: Option<String>

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

§name: Option<String>

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

§publisher_tags: Option<Vec<FloodlightActivityPublisherDynamicTag>>

Publisher dynamic floodlight tags.

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

§notes: Option<String>

General notes or implementation instructions for the tag.

§floodlight_configuration_id: Option<String>

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.

§id: Option<String>

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

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

§floodlight_configuration_id_dimension_value: Option<DimensionValue>

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

§tag_format: Option<String>

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

§hidden: Option<bool>

Whether this activity is archived.

§account_id: Option<String>

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

§ssl_required: Option<bool>

Whether this floodlight activity must be SSL-compliant.

§floodlight_activity_group_type: Option<String>

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

Trait Implementations§

Source§

impl Clone for FloodlightActivity

Source§

fn clone(&self) -> FloodlightActivity

Returns a duplicate 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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

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

Source§

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

Source§

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

Source§

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> Typeable for T
where T: Any,

Source§

fn get_type(&self) -> TypeId

Get the TypeId of this object.
Source§

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