pub struct DataForSeoLabsKeywordsForSiteRequest {Show 15 fields
pub target: String,
pub location_name: Option<String>,
pub location_code: Option<i32>,
pub language_name: Option<String>,
pub language_code: Option<String>,
pub target_type: Option<String>,
pub include_serp_info: Option<bool>,
pub include_subdomains: Option<bool>,
pub include_clickstream_data: Option<bool>,
pub ignore_synonyms: 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 keywords_for_site.
See https://docs.dataforseo.com/v3/dataforseo_labs/google/keywords_for_site/live/.
Fields§
§target: StringDomain, subdomain, or webpage the request targets.
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.
target_type: Option<String>Type of target: "domain", "subdomain", or "page".
include_serp_info: Option<bool>Whether to include SERP metadata for each keyword.
include_subdomains: Option<bool>Whether to include subdomains of the target.
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.
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 DataForSeoLabsKeywordsForSiteRequest
impl DataForSeoLabsKeywordsForSiteRequest
Sourcepub fn new(target: &str) -> DataForSeoLabsKeywordsForSiteRequest
pub fn new(target: &str) -> DataForSeoLabsKeywordsForSiteRequest
Creates a request for the given target site.