pub struct Advertiser {
Show 15 fields pub account_id: Option<i64>, pub advertiser_group_id: Option<i64>, pub click_through_url_suffix: Option<String>, pub default_click_through_event_tag_id: Option<i64>, pub default_email: Option<String>, pub floodlight_configuration_id: Option<i64>, pub floodlight_configuration_id_dimension_value: Option<DimensionValue>, pub id: Option<i64>, pub id_dimension_value: Option<DimensionValue>, pub kind: Option<String>, pub name: Option<String>, pub original_floodlight_configuration_id: Option<i64>, pub status: Option<String>, pub subaccount_id: Option<i64>, pub suspended: Option<bool>,
}
Expand description

Contains properties of a Campaign Manager advertiser.

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

§advertiser_group_id: Option<i64>

ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.

§click_through_url_suffix: Option<String>

Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.

§default_click_through_event_tag_id: Option<i64>

ID of the click-through event tag to apply by default to the landing pages of this advertiser’s campaigns.

§default_email: Option<String>

Default email address used in sender field for tag emails.

§floodlight_configuration_id: Option<i64>

Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser’s floodlight configuration ID in order to share that advertiser’s floodlight configuration with this advertiser, so long as: - This advertiser’s original floodlight configuration is not already associated with floodlight activities or floodlight activity groups. - This advertiser’s original floodlight configuration is not already shared with another advertiser.

§floodlight_configuration_id_dimension_value: Option<DimensionValue>

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

§id: Option<i64>

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

§id_dimension_value: Option<DimensionValue>

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

§kind: Option<String>

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

§name: Option<String>

Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.

§original_floodlight_configuration_id: Option<i64>

Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser’s current floodlight configuration. You cannot unshare an advertiser’s floodlight configuration if the shared configuration has activities associated with any campaign or placement.

§status: Option<String>

Status of this advertiser.

§subaccount_id: Option<i64>

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

§suspended: Option<bool>

Suspension status of this advertiser.

Trait Implementations§

source§

impl Clone for Advertiser

source§

fn clone(&self) -> Advertiser

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 Advertiser

source§

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

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

impl Default for Advertiser

source§

fn default() -> Advertiser

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

impl<'de> Deserialize<'de> for Advertiser

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 Advertiser

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 Advertiser

source§

impl Resource for Advertiser

source§

impl ResponseResult for Advertiser

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