Struct gapi_grpc::google::ads::admob::v1::ad_mob_api_client::AdMobApiClient[][src]

pub struct AdMobApiClient<T> { /* fields omitted */ }

The AdMob API allows AdMob publishers programmatically get information about their AdMob account.

Implementations

impl AdMobApiClient<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> AdMobApiClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn get_publisher_account(
    &mut self,
    request: impl IntoRequest<GetPublisherAccountRequest>
) -> Result<Response<PublisherAccount>, Status>
[src]

Gets information about the specified AdMob publisher account.

pub async fn list_publisher_accounts(
    &mut self,
    request: impl IntoRequest<ListPublisherAccountsRequest>
) -> Result<Response<ListPublisherAccountsResponse>, Status>
[src]

Lists the AdMob publisher account accessible with the client credential. Currently, all credentials have access to at most one AdMob account.

pub async fn generate_network_report(
    &mut self,
    request: impl IntoRequest<GenerateNetworkReportRequest>
) -> Result<Response<Streaming<GenerateNetworkReportResponse>>, Status>
[src]

Generates an AdMob Network report based on the provided report specification.

pub async fn generate_mediation_report(
    &mut self,
    request: impl IntoRequest<GenerateMediationReportRequest>
) -> Result<Response<Streaming<GenerateMediationReportResponse>>, Status>
[src]

Generates an AdMob Mediation report based on the provided report specification.

Trait Implementations

impl<T: Clone> Clone for AdMobApiClient<T>[src]

impl<T> Debug for AdMobApiClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for AdMobApiClient<T>

impl<T> Send for AdMobApiClient<T> where
    T: Send

impl<T> Sync for AdMobApiClient<T> where
    T: Sync

impl<T> Unpin for AdMobApiClient<T> where
    T: Unpin

impl<T> !UnwindSafe for AdMobApiClient<T>

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]