[][src]Struct google_adexchangebuyer2_v2_beta1::Client

pub struct Client {
    pub status: Option<String>,
    pub client_account_id: Option<String>,
    pub entity_type: Option<String>,
    pub entity_name: Option<String>,
    pub partner_client_id: Option<String>,
    pub role: Option<String>,
    pub visible_to_seller: Option<bool>,
    pub entity_id: Option<String>,
    pub client_name: Option<String>,
}

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).

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_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]

impl<'de> Deserialize<'de> for Client[src]

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]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]