Struct googapis::google::ads::googleads::v9::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.v9.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.
pub fn keyword_annotation(
&self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<KeywordPlanKeywordAnnotation>>
pub fn keyword_annotation(
&self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<KeywordPlanKeywordAnnotation>>
Returns an iterator which yields the valid enum values contained in keyword_annotation
.
Appends the provided enum value to keyword_annotation
.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
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
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
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
impl RefUnwindSafe for GenerateKeywordIdeasRequest
impl Send for GenerateKeywordIdeasRequest
impl Sync for GenerateKeywordIdeasRequest
impl Unpin for GenerateKeywordIdeasRequest
impl UnwindSafe for GenerateKeywordIdeasRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
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