[−][src]Struct google_adexchangebuyer2_v2_beta1::Client
A client resource represents a client buyer—an agency, a brand, or an advertiser customer of the sponsor buyer. Users associated with the client buyer have restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the client buyer. All fields are required unless otherwise specified.
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).
- clients update accounts (request|response)
- clients create accounts (request|response)
- clients get accounts (response)
Fields
status: Option<String>
The status of the client buyer.
client_account_id: Option<String>
The globally-unique numerical ID of the client. The value of this field is ignored in create and update operations.
entity_type: Option<String>
The type of the client entity: ADVERTISER
, BRAND
, or AGENCY
.
entity_name: Option<String>
The name of the entity. This field is automatically fetched based on the type and ID. The value of this field is ignored in create and update operations.
partner_client_id: Option<String>
Optional arbitrary unique identifier of this client buyer from the standpoint of its Ad Exchange sponsor buyer.
This field can be used to associate a client buyer with the identifier in the namespace of its sponsor buyer, lookup client buyers by that identifier and verify whether an Ad Exchange counterpart of a given client buyer already exists.
If present, must be unique among all the client buyers for its Ad Exchange sponsor buyer.
role: Option<String>
The role which is assigned to the client buyer. Each role implies a set of
permissions granted to the client. Must be one of CLIENT_DEAL_VIEWER
,
CLIENT_DEAL_NEGOTIATOR
or CLIENT_DEAL_APPROVER
.
visible_to_seller: Option<bool>
Whether the client buyer will be visible to sellers.
entity_id: Option<String>
Numerical identifier of the client entity. The entity can be an advertiser, a brand, or an agency. This identifier is unique among all the entities with the same type.
A list of all known advertisers with their identifiers is available in the advertisers.txt file.
A list of all known brands with their identifiers is available in the brands.txt file.
A list of all known agencies with their identifiers is available in the agencies.txt file.
client_name: Option<String>
Name used to represent this client to publishers.
You may have multiple clients that map to the same entity,
but for each client the combination of clientName
and entity
must be unique.
You can specify this field as empty.
Trait Implementations
impl ResponseResult for Client
[src]
impl RequestValue for Client
[src]
impl Default for Client
[src]
impl Clone for Client
[src]
fn clone(&self) -> Client
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Client
[src]
impl Serialize for Client
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Client
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Client
impl Unpin for Client
impl Sync for Client
impl UnwindSafe for Client
impl RefUnwindSafe for Client
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,