Struct gapi_grpc::google::ads::googleads::v7::services::GenerateKeywordIdeasRequest[][src]

pub struct GenerateKeywordIdeasRequest {
    pub customer_id: String,
    pub language: String,
    pub geo_target_constants: Vec<String>,
    pub include_adult_keywords: bool,
    pub page_token: String,
    pub page_size: i32,
    pub keyword_plan_network: i32,
    pub keyword_annotation: Vec<i32>,
    pub aggregate_metrics: Option<KeywordPlanAggregateMetrics>,
    pub historical_metrics_options: Option<HistoricalMetricsOptions>,
    pub seed: Option<Seed>,
}

Request message for [KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v7.services.KeywordPlanIdeaService.GenerateKeywordIdeas].

Fields

customer_id: String

The ID of the customer with the recommendation.

language: String

The resource name of the language to target. Required

geo_target_constants: Vec<String>

The resource names of the location to target. Max 10

include_adult_keywords: bool

If true, adult keywords will be included in response. The default value is false.

page_token: String

Token of the page to retrieve. If not specified, the first page of results will be returned. To request next page of results use the value obtained from next_page_token in the previous response. The request fields must match across pages.

page_size: i32

Number of results to retrieve in a single page. A maximum of 10,000 results may be returned, if the page_size exceeds this, it is ignored. If unspecified, at most 10,000 results will be returned. The server may decide to further limit the number of returned resources. If the response contains fewer than 10,000 results it may not be assumed as last page of results.

keyword_plan_network: i32

Targeting network.

keyword_annotation: Vec<i32>

The keyword annotations to include in response.

aggregate_metrics: Option<KeywordPlanAggregateMetrics>

The aggregate fields to include in response.

historical_metrics_options: Option<HistoricalMetricsOptions>

The options for historical metrics data.

seed: Option<Seed>

The type of seed to generate keyword ideas.

Implementations

impl GenerateKeywordIdeasRequest[src]

pub fn keyword_plan_network(&self) -> KeywordPlanNetwork[src]

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

pub fn set_keyword_plan_network(&mut self, value: KeywordPlanNetwork)[src]

Sets keyword_plan_network to the provided enum value.

pub fn keyword_annotation(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<KeywordPlanKeywordAnnotation>>
[src]

Returns an iterator which yields the valid enum values contained in keyword_annotation.

pub fn push_keyword_annotation(&mut self, value: KeywordPlanKeywordAnnotation)[src]

Appends the provided enum value to keyword_annotation.

Trait Implementations

impl Clone for GenerateKeywordIdeasRequest[src]

impl Debug for GenerateKeywordIdeasRequest[src]

impl Default for GenerateKeywordIdeasRequest[src]

impl Message for GenerateKeywordIdeasRequest[src]

impl PartialEq<GenerateKeywordIdeasRequest> for GenerateKeywordIdeasRequest[src]

impl StructuralPartialEq for GenerateKeywordIdeasRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for GenerateKeywordIdeasRequest

impl Send for GenerateKeywordIdeasRequest

impl Sync for GenerateKeywordIdeasRequest

impl Unpin for GenerateKeywordIdeasRequest

impl UnwindSafe for GenerateKeywordIdeasRequest

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]