pub struct AccountUserProfile {Show 16 fields
pub locale: Option<String>,
pub site_filter: Option<ObjectFilter>,
pub campaign_filter: Option<ObjectFilter>,
pub user_role_id: Option<String>,
pub user_access_type: Option<String>,
pub active: Option<bool>,
pub id: Option<String>,
pub account_id: Option<String>,
pub kind: Option<String>,
pub subaccount_id: Option<String>,
pub user_role_filter: Option<ObjectFilter>,
pub trafficker_type: Option<String>,
pub comments: Option<String>,
pub name: Option<String>,
pub advertiser_filter: Option<ObjectFilter>,
pub email: Option<String>,
}Expand description
AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
§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).
- patch account user profiles (request|response)
- list account user profiles (none)
- insert account user profiles (request|response)
- get account user profiles (response)
- update account user profiles (request|response)
Fields§
§locale: Option<String>Locale of the user profile. This is a required field. Acceptable values are:
- “cs” (Czech)
- “de” (German)
- “en” (English)
- “en-GB” (English United Kingdom)
- “es” (Spanish)
- “fr” (French)
- “it” (Italian)
- “ja” (Japanese)
- “ko” (Korean)
- “pl” (Polish)
- “pt-BR” (Portuguese Brazil)
- “ru” (Russian)
- “sv” (Swedish)
- “tr” (Turkish)
- “zh-CN” (Chinese Simplified)
- “zh-TW” (Chinese Traditional)
site_filter: Option<ObjectFilter>Filter that describes which sites are visible to the user profile.
campaign_filter: Option<ObjectFilter>Filter that describes which campaigns are visible to the user profile.
user_role_id: Option<String>User role ID of the user profile. This is a required field.
user_access_type: Option<String>User type of the user profile. This is a read-only field that can be left blank.
active: Option<bool>Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.
id: Option<String>ID of the user profile. This is a read-only, auto-generated field.
account_id: Option<String>Account ID of the user profile. This is a read-only field that can be left blank.
kind: Option<String>Identifies what kind of resource this is. Value: the fixed string “dfareporting#accountUserProfile”.
subaccount_id: Option<String>Subaccount ID of the user profile. This is a read-only field that can be left blank.
user_role_filter: Option<ObjectFilter>Filter that describes which user roles are visible to the user profile.
trafficker_type: Option<String>Trafficker type of this user profile.
comments: Option<String>Comments for this user profile.
name: Option<String>Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: “&;”#%,“.
advertiser_filter: Option<ObjectFilter>Filter that describes which advertisers are visible to the user profile.
email: Option<String>Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.
Trait Implementations§
source§impl Clone for AccountUserProfile
impl Clone for AccountUserProfile
source§fn clone(&self) -> AccountUserProfile
fn clone(&self) -> AccountUserProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AccountUserProfile
impl Debug for AccountUserProfile
source§impl Default for AccountUserProfile
impl Default for AccountUserProfile
source§fn default() -> AccountUserProfile
fn default() -> AccountUserProfile
source§impl Deserialize for AccountUserProfile
impl Deserialize for AccountUserProfile
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
source§impl Serialize for AccountUserProfile
impl Serialize for AccountUserProfile
impl RequestValue for AccountUserProfile
impl Resource for AccountUserProfile
impl ResponseResult for AccountUserProfile
Auto Trait Implementations§
impl Freeze for AccountUserProfile
impl RefUnwindSafe for AccountUserProfile
impl Send for AccountUserProfile
impl Sync for AccountUserProfile
impl Unpin for AccountUserProfile
impl UnwindSafe for AccountUserProfile
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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