pub struct DataForSeoLabsRelevantPagesRequest {
pub target: String,
pub location_name: Option<String>,
pub location_code: Option<i32>,
pub language_name: Option<String>,
pub language_code: Option<String>,
pub item_types: Option<Vec<String>>,
pub include_clickstream_data: 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 relevant_pages.
See https://docs.dataforseo.com/v3/dataforseo_labs/google/relevant_pages/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.
item_types: Option<Vec<String>>SERP feature types to include (e.g. "organic", "paid").
include_clickstream_data: Option<bool>Whether to enrich the response with clickstream-based metrics.
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 DataForSeoLabsRelevantPagesRequest
impl DataForSeoLabsRelevantPagesRequest
Sourcepub fn new(target: &str) -> DataForSeoLabsRelevantPagesRequest
pub fn new(target: &str) -> DataForSeoLabsRelevantPagesRequest
Creates a request for the given target domain.