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

pub struct GenerateKeywordIdeasRequest {
    pub customer_id: String,
    pub language: Option<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>,
}
Expand description

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: Option<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

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

Sets keyword_plan_network to the provided enum value.

Returns the value of language, or the default value if language is unset.

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

Appends the provided enum value to keyword_annotation.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

Encodes the message to a buffer. Read more

Encodes the message to a newly allocated buffer.

Encodes the message with a length-delimiter to a buffer. Read more

Encodes the message with a length-delimiter to a newly allocated buffer.

Decodes an instance of the message from a buffer. Read more

Decodes a length-delimited instance of the message from the buffer.

Decodes an instance of the message from a buffer, and merges it into self. Read more

Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more