PlacementGroup

Struct PlacementGroup 

Source
pub struct PlacementGroup {
Show 26 fields pub comment: Option<String>, pub primary_placement_id: Option<String>, pub campaign_id: Option<String>, pub primary_placement_id_dimension_value: Option<DimensionValue>, pub directory_site_id_dimension_value: Option<DimensionValue>, pub advertiser_id: Option<String>, pub directory_site_id: Option<String>, pub create_info: Option<LastModifiedInfo>, pub site_id: Option<String>, pub pricing_schedule: Option<PricingSchedule>, pub site_id_dimension_value: Option<DimensionValue>, pub placement_group_type: Option<String>, pub advertiser_id_dimension_value: Option<DimensionValue>, pub archived: Option<bool>, pub id: Option<String>, pub placement_strategy_id: Option<String>, pub account_id: Option<String>, pub campaign_id_dimension_value: Option<DimensionValue>, pub subaccount_id: Option<String>, pub name: Option<String>, pub child_placement_ids: Option<Vec<String>>, pub last_modified_info: Option<LastModifiedInfo>, pub kind: Option<String>, pub content_category_id: Option<String>, pub external_id: Option<String>, pub id_dimension_value: Option<DimensionValue>,
}
Expand description

Contains properties of a package or roadblock.

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

§comment: Option<String>

Comments for this placement group.

§primary_placement_id: Option<String>

ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.

§campaign_id: Option<String>

Campaign ID of this placement group. This field is required on insertion.

§primary_placement_id_dimension_value: Option<DimensionValue>

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

§directory_site_id_dimension_value: Option<DimensionValue>

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

§advertiser_id: Option<String>

Advertiser ID of this placement group. This is a required field on insertion.

§directory_site_id: Option<String>

Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.

§create_info: Option<LastModifiedInfo>

Information about the creation of this placement group. This is a read-only field.

§site_id: Option<String>

Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.

§pricing_schedule: Option<PricingSchedule>

Pricing schedule of this placement group. This field is required on insertion.

§site_id_dimension_value: Option<DimensionValue>

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

§placement_group_type: Option<String>

Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This 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.

§archived: Option<bool>

Whether this placement group is archived.

§id: Option<String>

ID of this placement group. This is a read-only, auto-generated field.

§placement_strategy_id: Option<String>

ID of the placement strategy assigned to this placement group.

§account_id: Option<String>

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

§campaign_id_dimension_value: Option<DimensionValue>

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

§subaccount_id: Option<String>

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

§name: Option<String>

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

§child_placement_ids: Option<Vec<String>>

IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.

§last_modified_info: Option<LastModifiedInfo>

Information about the most recent modification of this placement group. This is a read-only field.

§kind: Option<String>

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

§content_category_id: Option<String>

ID of the content category assigned to this placement group.

§external_id: Option<String>

External ID for this placement.

§id_dimension_value: Option<DimensionValue>

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

Trait Implementations§

Source§

impl Clone for PlacementGroup

Source§

fn clone(&self) -> PlacementGroup

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 PlacementGroup

Source§

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

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

impl Default for PlacementGroup

Source§

fn default() -> PlacementGroup

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

impl<'de> Deserialize<'de> for PlacementGroup

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 PlacementGroup

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 PlacementGroup

Source§

impl Resource for PlacementGroup

Source§

impl ResponseResult for PlacementGroup

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