[−][src]Struct google_realtimebidding1::BuyerMethods
A builder providing access to all methods supported on buyer resources.
It is not used directly, but through the RealTimeBidding
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_realtimebidding1 as realtimebidding1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use realtimebidding1::RealTimeBidding; 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 = RealTimeBidding::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 `creatives_create(...)`, `creatives_get(...)`, `creatives_list(...)`, `creatives_patch(...)`, `get_remarketing_tag(...)`, `user_lists_close(...)`, `user_lists_create(...)`, `user_lists_get(...)`, `user_lists_get_remarketing_tag(...)`, `user_lists_list(...)`, `user_lists_open(...)` and `user_lists_update(...)` // to build up your call. let rb = hub.buyers();
Implementations
impl<'a, C, A> BuyerMethods<'a, C, A>
[src]
pub fn user_lists_open(
&self,
request: OpenUserListRequest,
name: &str
) -> BuyerUserListOpenCall<'a, C, A>
[src]
&self,
request: OpenUserListRequest,
name: &str
) -> BuyerUserListOpenCall<'a, C, A>
Create a builder to help you perform the following task:
Change the status of a user list to OPEN. This allows new users to be added to the user list.
Arguments
request
- No description provided.name
- Required. The name of the user list to open. See UserList.name
pub fn creatives_list(&self, parent: &str) -> BuyerCreativeListCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Lists creatives.
Arguments
parent
- Required. Name of the parent buyer that owns the creatives. The pattern for this resource is eitherbuyers/{buyerAccountId}
orbidders/{bidderAccountId}
. Forbuyers/{buyerAccountId}
, thebuyerAccountId
can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (456
) under bidder account (123
), you would use the pattern:buyers/456
. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (123
), you would usebuyers/123
. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would usebidders/{bidderAccountId}
, e.g., for all creatives pertaining to bidder (123
), usebidders/123
.
pub fn user_lists_get(&self, name: &str) -> BuyerUserListGetCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Gets a user list by its name.
Arguments
name
- Required. The name of the user list to be retrieved. See UserList.name.
pub fn user_lists_get_remarketing_tag(
&self,
name: &str
) -> BuyerUserListGetRemarketingTagCall<'a, C, A>
[src]
&self,
name: &str
) -> BuyerUserListGetRemarketingTagCall<'a, C, A>
Create a builder to help you perform the following task:
Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list.
Arguments
name
- Required. To fetch remarketing tag for an account, name must follow the patternbuyers/{accountId}
where{accountId}
represents ID of a buyer that owns the remarketing tag. For a bidder accessing remarketing tag on behalf of a child seat buyer,{accountId}
should represent the ID of the child seat buyer. To fetch remarketing tag for a specific user list, name must follow the patternbuyers/{accountId}/userLists/{userListId}
. See UserList.name.
pub fn creatives_patch(
&self,
request: Creative,
name: &str
) -> BuyerCreativePatchCall<'a, C, A>
[src]
&self,
request: Creative,
name: &str
) -> BuyerCreativePatchCall<'a, C, A>
Create a builder to help you perform the following task:
Updates a creative.
Arguments
request
- No description provided.name
- Name of the creative to update. See creative.name.
pub fn get_remarketing_tag(
&self,
name: &str
) -> BuyerGetRemarketingTagCall<'a, C, A>
[src]
&self,
name: &str
) -> BuyerGetRemarketingTagCall<'a, C, A>
Create a builder to help you perform the following task:
Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list.
Arguments
name
- Required. To fetch remarketing tag for an account, name must follow the patternbuyers/{accountId}
where{accountId}
represents ID of a buyer that owns the remarketing tag. For a bidder accessing remarketing tag on behalf of a child seat buyer,{accountId}
should represent the ID of the child seat buyer. To fetch remarketing tag for a specific user list, name must follow the patternbuyers/{accountId}/userLists/{userListId}
. See UserList.name.
pub fn creatives_get(&self, name: &str) -> BuyerCreativeGetCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Gets a creative.
Arguments
name
- Required. Name of the creative to retrieve. See creative.name.
pub fn user_lists_create(
&self,
request: UserList,
parent: &str
) -> BuyerUserListCreateCall<'a, C, A>
[src]
&self,
request: UserList,
parent: &str
) -> BuyerUserListCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Create a new user list.
Arguments
request
- No description provided.parent
- Required. The name of the parent buyer of the user list to be retrieved that must follow the patternbuyers/{buyerAccountId}
, where{buyerAccountId}
represents the account ID of the buyer who owns user lists. For a bidder accessing user lists on behalf of a child seat buyer ,{buyerAccountId}
should represent the account ID of the child seat buyer.
pub fn creatives_create(
&self,
request: Creative,
parent: &str
) -> BuyerCreativeCreateCall<'a, C, A>
[src]
&self,
request: Creative,
parent: &str
) -> BuyerCreativeCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a creative.
Arguments
request
- No description provided.parent
- Required. The name of the parent buyer that the new creative belongs to that must follow the patternbuyers/{buyerAccountId}
, where{buyerAccountId}
represents the account ID of the buyer who owns a creative. For a bidder accessing creatives on behalf of a child seat buyer,{buyerAccountId}
should represent the account ID of the child seat buyer.
pub fn user_lists_update(
&self,
request: UserList,
name: &str
) -> BuyerUserListUpdateCall<'a, C, A>
[src]
&self,
request: UserList,
name: &str
) -> BuyerUserListUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Update the given user list. Only user lists with URLRestrictions can be updated.
Arguments
request
- No description provided.name
- Output only. Name of the user list that must follow the patternbuyers/{buyer}/userLists/{user_list}
, where{buyer}
represents the account ID of the buyer who owns the user list. For a bidder accessing user lists on behalf of a child seat buyer,{buyer}
represents the account ID of the child seat buyer.{user_list}
is an int64 identifier assigned by Google to uniquely identify a user list.
pub fn user_lists_close(
&self,
request: CloseUserListRequest,
name: &str
) -> BuyerUserListCloseCall<'a, C, A>
[src]
&self,
request: CloseUserListRequest,
name: &str
) -> BuyerUserListCloseCall<'a, C, A>
Create a builder to help you perform the following task:
Change the status of a user list to CLOSED. This prevents new users from being added to the user list.
Arguments
request
- No description provided.name
- Required. The name of the user list to close. See UserList.name
pub fn user_lists_list(&self, parent: &str) -> BuyerUserListListCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Lists the user lists visible to the current user.
Arguments
parent
- Required. The name of the parent buyer for the user lists to be returned that must follow the patternbuyers/{buyerAccountId}
, where{buyerAccountId}
represents the account ID of the buyer who owns user lists. For a bidder accessing user lists on behalf of a child seat buyer ,{buyerAccountId}
should represent the account ID of the child seat buyer.
Trait Implementations
impl<'a, C, A> MethodsBuilder for BuyerMethods<'a, C, A>
[src]
Auto Trait Implementations
impl<'a, C, A> !RefUnwindSafe for BuyerMethods<'a, C, A>
impl<'a, C, A> !Send for BuyerMethods<'a, C, A>
impl<'a, C, A> !Sync for BuyerMethods<'a, C, A>
impl<'a, C, A> Unpin for BuyerMethods<'a, C, A>
impl<'a, C, A> !UnwindSafe for BuyerMethods<'a, C, A>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &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> Typeable for T where
T: Any,
T: Any,