Struct gapi_grpc::google::ads::googleads::v6::services::SearchGoogleAdsRequest[][src]

pub struct SearchGoogleAdsRequest {
    pub customer_id: String,
    pub query: String,
    pub page_token: String,
    pub page_size: i32,
    pub validate_only: bool,
    pub return_total_results_count: bool,
    pub summary_row_setting: i32,
}

Request message for [GoogleAdsService.Search][google.ads.googleads.v6.services.GoogleAdsService.Search].

Fields

customer_id: String

Required. The ID of the customer being queried.

query: String

Required. The query string.

page_token: String

Token of the page to retrieve. If not specified, the first page of results will be returned. Use the value obtained from next_page_token in the previous response in order to request the next page of results.

page_size: i32

Number of elements to retrieve in a single page. When too large a page is requested, the server may decide to further limit the number of returned resources.

validate_only: bool

If true, the request is validated but not executed.

return_total_results_count: bool

If true, the total number of results that match the query ignoring the LIMIT clause will be included in the response. Default is false.

summary_row_setting: i32

Determines whether a summary row will be returned. By default, summary row is not returned. If requested, the summary row will be sent in a response by itself after all other query results are returned.

Implementations

impl SearchGoogleAdsRequest[src]

pub fn summary_row_setting(&self) -> SummaryRowSetting[src]

Returns the enum value of summary_row_setting, or the default if the field is set to an invalid enum value.

pub fn set_summary_row_setting(&mut self, value: SummaryRowSetting)[src]

Sets summary_row_setting to the provided enum value.

Trait Implementations

impl Clone for SearchGoogleAdsRequest[src]

impl Debug for SearchGoogleAdsRequest[src]

impl Default for SearchGoogleAdsRequest[src]

impl Message for SearchGoogleAdsRequest[src]

impl PartialEq<SearchGoogleAdsRequest> for SearchGoogleAdsRequest[src]

impl StructuralPartialEq for SearchGoogleAdsRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for SearchGoogleAdsRequest

impl Send for SearchGoogleAdsRequest

impl Sync for SearchGoogleAdsRequest

impl Unpin for SearchGoogleAdsRequest

impl UnwindSafe for SearchGoogleAdsRequest

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]