Struct google_adexchangebuyer2_v2_beta1::api::Client
source · [−]pub struct Client {
pub client_account_id: Option<String>,
pub client_name: Option<String>,
pub entity_id: Option<String>,
pub entity_name: Option<String>,
pub entity_type: Option<String>,
pub partner_client_id: Option<String>,
pub role: Option<String>,
pub status: Option<String>,
pub visible_to_seller: Option<bool>,
}
Expand description
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 create accounts (request|response)
- clients get accounts (response)
- clients update accounts (request|response)
Fields
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.
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. Maximum length of 255 characters is allowed.
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. The value of this field is ignored if the entity type is not provided. 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.
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.
entity_type: Option<String>
An optional field for specifying the type of the client entity: ADVERTISER
, BRAND
, or AGENCY
.
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
.
status: Option<String>
The status of the client buyer.
visible_to_seller: Option<bool>
Whether the client buyer will be visible to sellers.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Client
impl<'de> Deserialize<'de> for Client
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for Client
impl ResponseResult for Client
Auto Trait Implementations
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more