pub struct ReportRequest {Show 14 fields
pub columns: Option<Vec<ReportApiColumnSpec>>,
pub download_format: Option<String>,
pub filters: Option<Vec<ReportRequestFilters>>,
pub include_deleted_entities: Option<bool>,
pub include_removed_entities: Option<bool>,
pub max_rows_per_file: Option<i32>,
pub order_by: Option<Vec<ReportRequestOrderBy>>,
pub report_scope: Option<ReportRequestReportScope>,
pub report_type: Option<String>,
pub row_count: Option<i32>,
pub start_row: Option<i32>,
pub statistics_currency: Option<String>,
pub time_range: Option<ReportRequestTimeRange>,
pub verify_single_time_zone: Option<bool>,
}Expand description
A request object used to create a DoubleClick Search report.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- generate reports (request)
- request reports (request)
Fields§
§columns: Option<Vec<ReportApiColumnSpec>>The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set in the same stanza.\ The maximum number of columns per request is 300.
download_format: Option<String>Format that the report should be returned in. Currently csv or tsv is supported.
filters: Option<Vec<ReportRequestFilters>>A list of filters to be applied to the report.\ The maximum number of filters per request is 300.
include_deleted_entities: Option<bool>Determines if removed entities should be included in the report. Defaults to false. Deprecated, please use includeRemovedEntities instead.
include_removed_entities: Option<bool>Determines if removed entities should be included in the report. Defaults to false.
max_rows_per_file: Option<i32>Asynchronous report only. The maximum number of rows per report file. A large report is split into many files based on this field. Acceptable values are 1000000 to 100000000, inclusive.
order_by: Option<Vec<ReportRequestOrderBy>>Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows.\ The maximum number of orderings per request is 300.
report_scope: Option<ReportRequestReportScope>The reportScope is a set of IDs that are used to determine which subset of entities will be returned in the report. The full lineage of IDs from the lowest scoped level desired up through agency is required.
report_type: Option<String>Determines the type of rows that are returned in the report. For example, if you specify reportType: keyword, each row in the report will contain data about a keyword. See the Types of Reports reference for the columns that are available for each type.
row_count: Option<i32>Synchronous report only. The maximum number of rows to return; additional rows are dropped. Acceptable values are 0 to 10000, inclusive. Defaults to 10000.
start_row: Option<i32>Synchronous report only. Zero-based index of the first row to return. Acceptable values are 0 to 50000, inclusive. Defaults to 0.
statistics_currency: Option<String>Specifies the currency in which monetary will be returned. Possible values are: usd, agency (valid if the report is scoped to agency or lower), advertiser (valid if the report is scoped to * advertiser or lower), or account (valid if the report is scoped to engine account or lower).
time_range: Option<ReportRequestTimeRange>If metrics are requested in a report, this argument will be used to restrict the metrics to a specific time range.
verify_single_time_zone: Option<bool>If true, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to false.
Trait Implementations§
Source§impl Clone for ReportRequest
impl Clone for ReportRequest
Source§fn clone(&self) -> ReportRequest
fn clone(&self) -> ReportRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReportRequest
impl Debug for ReportRequest
Source§impl Default for ReportRequest
impl Default for ReportRequest
Source§fn default() -> ReportRequest
fn default() -> ReportRequest
Source§impl<'de> Deserialize<'de> for ReportRequest
impl<'de> Deserialize<'de> for ReportRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ReportRequest
impl Serialize for ReportRequest
impl RequestValue for ReportRequest
Auto Trait Implementations§
impl Freeze for ReportRequest
impl RefUnwindSafe for ReportRequest
impl Send for ReportRequest
impl Sync for ReportRequest
impl Unpin for ReportRequest
impl UnwindSafe for ReportRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more