pub struct DataForSeoLabsRelatedKeywordsRequest {Show 16 fields
pub keyword: String,
pub location_name: Option<String>,
pub location_code: Option<i32>,
pub language_name: Option<String>,
pub language_code: Option<String>,
pub depth: Option<i64>,
pub include_seed_keyword: Option<bool>,
pub include_serp_info: Option<bool>,
pub include_clickstream_data: Option<bool>,
pub ignore_synonyms: Option<bool>,
pub replace_with_core_keyword: Option<bool>,
pub filters: Option<Vec<Value>>,
pub order_by: Option<Vec<String>>,
pub limit: Option<i32>,
pub offset: Option<i32>,
pub tag: Option<String>,
}Expand description
Request body for related_keywords.
See https://docs.dataforseo.com/v3/dataforseo_labs/google/related_keywords/live/.
Fields§
§keyword: StringKeyword the data relates to.
location_name: Option<String>Full location name (e.g. "United States"); alternative to location_code.
location_code: Option<i32>Location code (e.g. 2840); alternative to location_name.
language_name: Option<String>Full language name (e.g. "English"); alternative to language_code.
language_code: Option<String>Language code (e.g. "en"); alternative to language_name.
depth: Option<i64>Keyword expansion depth (0-4); higher values return more keywords.
include_seed_keyword: Option<bool>Whether to include data for the seed keyword itself.
include_serp_info: Option<bool>Whether to include SERP metadata for each keyword.
include_clickstream_data: Option<bool>Whether to enrich the response with clickstream-based metrics.
ignore_synonyms: Option<bool>Whether to exclude highly similar keywords from the results.
replace_with_core_keyword: Option<bool>Whether to group results under their core (canonical) keyword.
filters: Option<Vec<Value>>Array of filtering conditions applied to the results.
order_by: Option<Vec<String>>Sorting rules applied to the results.
limit: Option<i32>Maximum number of returned items (default 100, max 1000).
offset: Option<i32>Offset into the result set, for pagination.
tag: Option<String>User-defined task identifier (max 255 characters).
Implementations§
Source§impl DataForSeoLabsRelatedKeywordsRequest
impl DataForSeoLabsRelatedKeywordsRequest
Sourcepub fn new(keyword: &str) -> DataForSeoLabsRelatedKeywordsRequest
pub fn new(keyword: &str) -> DataForSeoLabsRelatedKeywordsRequest
Creates a request for the given seed keyword.