Struct Project

Source
pub struct Project {
Show 22 fields pub start_date: Option<String>, pub target_cpm_nanos: Option<String>, pub end_date: Option<String>, pub client_billing_code: Option<String>, pub overview: Option<String>, pub target_clicks: Option<String>, pub target_cpa_nanos: Option<String>, pub advertiser_id: Option<String>, pub target_impressions: Option<String>, pub subaccount_id: Option<String>, pub audience_gender: Option<String>, pub id: Option<String>, pub account_id: Option<String>, pub kind: Option<String>, pub target_cpc_nanos: Option<String>, pub name: Option<String>, pub target_cpm_active_view_nanos: Option<String>, pub last_modified_info: Option<LastModifiedInfo>, pub budget: Option<String>, pub audience_age_group: Option<String>, pub target_conversions: Option<String>, pub client_name: Option<String>,
}
Expand description

Contains properties of a DoubleClick Planning project.

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

§start_date: Option<String>

Start date of the project.

§target_cpm_nanos: Option<String>

CPM that the advertiser is targeting.

§end_date: Option<String>

End date of the project.

§client_billing_code: Option<String>

Client billing code of this project.

§overview: Option<String>

Overview of this project.

§target_clicks: Option<String>

Number of clicks that the advertiser is targeting.

§target_cpa_nanos: Option<String>

CPA that the advertiser is targeting.

§advertiser_id: Option<String>

Advertiser ID of this project.

§target_impressions: Option<String>

Number of impressions that the advertiser is targeting.

§subaccount_id: Option<String>

Subaccount ID of this project.

§audience_gender: Option<String>

Audience gender of this project.

§id: Option<String>

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

§account_id: Option<String>

Account ID of this project.

§kind: Option<String>

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

§target_cpc_nanos: Option<String>

CPC that the advertiser is targeting.

§name: Option<String>

Name of this project.

§target_cpm_active_view_nanos: Option<String>

vCPM from Active View that the advertiser is targeting.

§last_modified_info: Option<LastModifiedInfo>

Information about the most recent modification of this project.

§budget: Option<String>

Budget of this project in the currency specified by the current account. The value stored in this field represents only the non-fractional amount. For example, for USD, the smallest value that can be represented by this field is 1 US dollar.

§audience_age_group: Option<String>

Audience age group of this project.

§target_conversions: Option<String>

Number of conversions that the advertiser is targeting.

§client_name: Option<String>

Name of the project client.

Trait Implementations§

Source§

impl Clone for Project

Source§

fn clone(&self) -> Project

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 Project

Source§

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

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

impl Default for Project

Source§

fn default() -> Project

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

impl<'de> Deserialize<'de> for Project

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 Project

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 Resource for Project

Source§

impl ResponseResult for Project

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