class Google::Apis::AdsenseV1_4::GenerateReportResponse

Attributes

averages[RW]

The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. Corresponds to the JSON property `averages` @return [Array<String>]

end_date[RW]

The requested end date in yyyy-mm-dd format. Corresponds to the JSON property `endDate` @return [String]

headers[RW]

The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for each metric in the request. Corresponds to the JSON property `headers` @return [Array<Google::Apis::AdsenseV1_4::GenerateReportResponse::Header>]

kind[RW]

Kind this is, in this case adsense#report. Corresponds to the JSON property `kind` @return [String]

rows[RW]

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. The dimension cells contain strings, and the metric cells contain numbers. Corresponds to the JSON property `rows` @return [Array<Array<String>>]

start_date[RW]

The requested start date in yyyy-mm-dd format. Corresponds to the JSON property `startDate` @return [String]

total_matched_rows[RW]

The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or the report row limit. Corresponds to the JSON property `totalMatchedRows` @return [String]

totals[RW]

The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. Corresponds to the JSON property `totals` @return [Array<String>]

warnings[RW]

Any warnings associated with generation of the report. Corresponds to the JSON property `warnings` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/adsense_v1_4/classes.rb, line 650
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/adsense_v1_4/classes.rb, line 655
def update!(**args)
  @averages = args[:averages] if args.key?(:averages)
  @end_date = args[:end_date] if args.key?(:end_date)
  @headers = args[:headers] if args.key?(:headers)
  @kind = args[:kind] if args.key?(:kind)
  @rows = args[:rows] if args.key?(:rows)
  @start_date = args[:start_date] if args.key?(:start_date)
  @total_matched_rows = args[:total_matched_rows] if args.key?(:total_matched_rows)
  @totals = args[:totals] if args.key?(:totals)
  @warnings = args[:warnings] if args.key?(:warnings)
end