Struct gapi_grpc::google::ads::googleads::v7::services::reach_plan_service_client::ReachPlanServiceClient[][src]

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

Reach Plan Service gives users information about audience size that can be reached through advertisement on YouTube. In particular, GenerateReachForecast provides estimated number of people of specified demographics that can be reached by an ad in a given market by a campaign of certain duration with a defined budget.

Implementations

impl ReachPlanServiceClient<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> ReachPlanServiceClient<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 list_plannable_locations(
    &mut self,
    request: impl IntoRequest<ListPlannableLocationsRequest>
) -> Result<Response<ListPlannableLocationsResponse>, Status>
[src]

Returns the list of plannable locations (for example, countries & DMAs).

List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

pub async fn list_plannable_products(
    &mut self,
    request: impl IntoRequest<ListPlannableProductsRequest>
) -> Result<Response<ListPlannableProductsResponse>, Status>
[src]

Returns the list of per-location plannable YouTube ad formats with allowed targeting.

List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

pub async fn generate_product_mix_ideas(
    &mut self,
    request: impl IntoRequest<GenerateProductMixIdeasRequest>
) -> Result<Response<GenerateProductMixIdeasResponse>, Status>
[src]

Generates a product mix ideas given a set of preferences. This method helps the advertiser to obtain a good mix of ad formats and budget allocations based on its preferences.

List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError ReachPlanError RequestError

pub async fn generate_reach_forecast(
    &mut self,
    request: impl IntoRequest<GenerateReachForecastRequest>
) -> Result<Response<GenerateReachForecastResponse>, Status>
[src]

Generates a reach forecast for a given targeting / product mix.

List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError ReachPlanError RequestError

Trait Implementations

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

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

Auto Trait Implementations

impl<T> !RefUnwindSafe for ReachPlanServiceClient<T>

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

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

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

impl<T> !UnwindSafe for ReachPlanServiceClient<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]