[][src]Struct google_doubleclicksearch2::ConversionMethods

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

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

Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate yup_oauth2 as oauth2;
extern crate google_doubleclicksearch2 as doubleclicksearch2;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use doubleclicksearch2::Doubleclicksearch;
 
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 = Doubleclicksearch::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 `get(...)`, `insert(...)`, `patch(...)`, `update(...)` and `update_availability(...)`
// to build up your call.
let rb = hub.conversion();

Methods

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

pub fn insert(&self, request: ConversionList) -> ConversionInsertCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Inserts a batch of new conversions into DoubleClick Search.

Arguments

  • request - No description provided.

pub fn get(
    &self,
    agency_id: &str,
    advertiser_id: &str,
    engine_account_id: &str,
    end_date: i32,
    row_count: i32,
    start_date: i32,
    start_row: u32
) -> ConversionGetCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Retrieves a list of conversions from a DoubleClick Search engine account.

Arguments

  • agencyId - Numeric ID of the agency.
  • advertiserId - Numeric ID of the advertiser.
  • engineAccountId - Numeric ID of the engine account.
  • endDate - Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
  • rowCount - The number of conversions to return per call.
  • startDate - First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
  • startRow - The 0-based starting index for retrieving conversions results.

pub fn update_availability(
    &self,
    request: UpdateAvailabilityRequest
) -> ConversionUpdateAvailabilityCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Updates the availabilities of a batch of floodlight activities in DoubleClick Search.

Arguments

  • request - No description provided.

pub fn patch(
    &self,
    request: ConversionList,
    advertiser_id: &str,
    agency_id: &str,
    end_date: i32,
    engine_account_id: &str,
    row_count: i32,
    start_date: i32,
    start_row: u32
) -> ConversionPatchCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Updates a batch of conversions in DoubleClick Search. This method supports patch semantics.

Arguments

  • request - No description provided.
  • advertiserId - Numeric ID of the advertiser.
  • agencyId - Numeric ID of the agency.
  • endDate - Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
  • engineAccountId - Numeric ID of the engine account.
  • rowCount - The number of conversions to return per call.
  • startDate - First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
  • startRow - The 0-based starting index for retrieving conversions results.

pub fn update(&self, request: ConversionList) -> ConversionUpdateCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Updates a batch of conversions in DoubleClick Search.

Arguments

  • request - No description provided.

Trait Implementations

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

Auto Trait Implementations

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

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

impl<'a, C, A> Unpin for ConversionMethods<'a, C, A>

impl<'a, C, A> !UnwindSafe for ConversionMethods<'a, C, A>

impl<'a, C, A> !RefUnwindSafe for ConversionMethods<'a, C, A>

Blanket Implementations

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 = !

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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