GoogleApi.AdSense.V2.Model.ReportResult (google_api_ad_sense v0.18.0)

View Source

Result of a generated report.

Attributes

  • averages (type: GoogleApi.AdSense.V2.Model.Row.t, default: nil) - The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.
  • endDate (type: GoogleApi.AdSense.V2.Model.Date.t, default: nil) - Required. End date of the range (inclusive).
  • headers (type: list(GoogleApi.AdSense.V2.Model.Header.t), default: nil) - The header information; one for each dimension in the request, followed by one for each metric in the request.
  • rows (type: list(GoogleApi.AdSense.V2.Model.Row.t), default: nil) - The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request.
  • startDate (type: GoogleApi.AdSense.V2.Model.Date.t, default: nil) - Required. Start date of the range (inclusive).
  • totalMatchedRows (type: String.t, default: nil) - The total number of rows matched by the report request.
  • totals (type: GoogleApi.AdSense.V2.Model.Row.t, default: nil) - The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.
  • warnings (type: list(String.t), default: nil) - Any warnings associated with generation of the report. These warnings are always returned in English.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AdSense.V2.Model.ReportResult{
  averages: GoogleApi.AdSense.V2.Model.Row.t() | nil,
  endDate: GoogleApi.AdSense.V2.Model.Date.t() | nil,
  headers: [GoogleApi.AdSense.V2.Model.Header.t()] | nil,
  rows: [GoogleApi.AdSense.V2.Model.Row.t()] | nil,
  startDate: GoogleApi.AdSense.V2.Model.Date.t() | nil,
  totalMatchedRows: String.t() | nil,
  totals: GoogleApi.AdSense.V2.Model.Row.t() | nil,
  warnings: [String.t()] | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.