Struct google_adexchangebuyer2_v2_beta1::AccountMethods[][src]

pub struct AccountMethods<'a, C, A> where
    C: 'a,
    A: 'a, 
{ /* fields omitted */ }

A builder providing access to all methods supported on account resources. It is not used directly, but through the AdExchangeBuyerII hub.

Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate yup_oauth2 as oauth2;
extern crate google_adexchangebuyer2_v2_beta1 as adexchangebuyer2_v2_beta1;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use adexchangebuyer2_v2_beta1::AdExchangeBuyerII;
 
let secret: ApplicationSecret = Default::default();
let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate,
                              hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())),
                              <MemoryStorage as Default>::default(), None);
let mut hub = AdExchangeBuyerII::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `clients_create(...)`, `clients_get(...)`, `clients_invitations_create(...)`, `clients_invitations_get(...)`, `clients_invitations_list(...)`, `clients_list(...)`, `clients_update(...)`, `clients_users_get(...)`, `clients_users_list(...)`, `clients_users_update(...)`, `creatives_create(...)`, `creatives_deal_associations_add(...)`, `creatives_deal_associations_list(...)`, `creatives_deal_associations_remove(...)`, `creatives_get(...)`, `creatives_list(...)`, `creatives_stop_watching(...)`, `creatives_update(...)` and `creatives_watch(...)`
// to build up your call.
let rb = hub.accounts();

Methods

impl<'a, C, A> AccountMethods<'a, C, A>
[src]

Create a builder to help you perform the following task:

Associate an existing deal with a creative.

Arguments

  • request - No description provided.
  • accountId - The account the creative belongs to.
  • creativeId - The ID of the creative associated with the deal.

Create a builder to help you perform the following task:

Lists creatives.

Arguments

  • accountId - The account to list the creatives from. Specify "-" to list all creatives the current user has access to.

Create a builder to help you perform the following task:

Watches a creative. Will result in push notifications being sent to the topic when the creative changes status.

Arguments

  • request - No description provided.
  • accountId - The account of the creative to watch.
  • creativeId - The creative ID to watch for status changes. Specify "-" to watch all creatives under the above account. If both creative-level and account-level notifications are sent, only a single notification will be sent to the creative-level notification topic.

Create a builder to help you perform the following task:

Updates an existing client buyer.

Arguments

  • request - No description provided.
  • accountId - Unique numerical account ID for the buyer of which the client buyer is a customer; the sponsor buyer to update a client for. (required)
  • clientAccountId - Unique numerical account ID of the client to update. (required)

Create a builder to help you perform the following task:

Retrieves an existing client user.

Arguments

  • accountId - Numerical account ID of the client's sponsor buyer. (required)
  • clientAccountId - Numerical account ID of the client buyer that the user to be retrieved is associated with. (required)
  • userId - Numerical identifier of the user to retrieve. (required)

Create a builder to help you perform the following task:

Retrieves an existing client user invitation.

Arguments

  • accountId - Numerical account ID of the client's sponsor buyer. (required)
  • clientAccountId - Numerical account ID of the client buyer that the user invitation to be retrieved is associated with. (required)
  • invitationId - Numerical identifier of the user invitation to retrieve. (required)

Create a builder to help you perform the following task:

Lists all the clients for the current sponsor buyer.

Arguments

  • accountId - Unique numerical account ID of the sponsor buyer to list the clients for.

Create a builder to help you perform the following task:

Gets a creative.

Arguments

  • accountId - The account the creative belongs to.
  • creativeId - The ID of the creative to retrieve.

Create a builder to help you perform the following task:

Creates a creative.

Arguments

  • request - No description provided.
  • accountId - The account that this creative belongs to. Can be used to filter the response of the creatives.list method.

Create a builder to help you perform the following task:

Stops watching a creative. Will stop push notifications being sent to the topics when the creative changes status.

Arguments

  • request - No description provided.
  • accountId - The account of the creative to stop notifications for.
  • creativeId - The creative ID of the creative to stop notifications for. Specify "-" to specify stopping account level notifications.

Create a builder to help you perform the following task:

Updates an existing client user. Only the user status can be changed on update.

Arguments

  • request - No description provided.
  • accountId - Numerical account ID of the client's sponsor buyer. (required)
  • clientAccountId - Numerical account ID of the client buyer that the user to be retrieved is associated with. (required)
  • userId - Numerical identifier of the user to retrieve. (required)

Create a builder to help you perform the following task:

Creates and sends out an email invitation to access an Ad Exchange client buyer account.

Arguments

  • request - No description provided.
  • accountId - Numerical account ID of the client's sponsor buyer. (required)
  • clientAccountId - Numerical account ID of the client buyer that the user should be associated with. (required)

Create a builder to help you perform the following task:

Lists all the known client users for a specified sponsor buyer account ID.

Arguments

  • accountId - Numerical account ID of the sponsor buyer of the client to list users for. (required)
  • clientAccountId - The account ID of the client buyer to list users for. (required) You must specify either a string representation of a numerical account identifier or the - character to list all the client users for all the clients of a given sponsor buyer.

Create a builder to help you perform the following task:

Creates a new client buyer.

Arguments

  • request - No description provided.
  • accountId - Unique numerical account ID for the buyer of which the client buyer is a customer; the sponsor buyer to create a client for. (required)

Create a builder to help you perform the following task:

Gets a client buyer with a given client account ID.

Arguments

  • accountId - Numerical account ID of the client's sponsor buyer. (required)
  • clientAccountId - Numerical account ID of the client buyer to retrieve. (required)

Create a builder to help you perform the following task:

List all creative-deal associations.

Arguments

  • accountId - The account to list the associations from. Specify "-" to list all creatives the current user has access to.
  • creativeId - The creative ID to list the associations from. Specify "-" to list all creatives under the above account.

Create a builder to help you perform the following task:

Updates a creative.

Arguments

  • request - No description provided.
  • accountId - The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
  • creativeId - The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.

Create a builder to help you perform the following task:

Remove the association between a deal and a creative.

Arguments

  • request - No description provided.
  • accountId - The account the creative belongs to.
  • creativeId - The ID of the creative associated with the deal.

Create a builder to help you perform the following task:

Lists all the client users invitations for a client with a given account ID.

Arguments

  • accountId - Numerical account ID of the client's sponsor buyer. (required)
  • clientAccountId - Numerical account ID of the client buyer to list invitations for. (required) You must either specify a string representation of a numerical account identifier or the - character to list all the invitations for all the clients of a given sponsor buyer.

Trait Implementations

impl<'a, C, A> MethodsBuilder for AccountMethods<'a, C, A>
[src]

Auto Trait Implementations

impl<'a, C, A> !Send for AccountMethods<'a, C, A>

impl<'a, C, A> !Sync for AccountMethods<'a, C, A>