class Google::Apis::AdmobV1beta::GenerateMediationReportResponse

The streaming response for the AdMob Mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [` “header”: ` “date_range”: ` “start_date”: `“year”: 2018, “month”: 9, “day”: 1`, “end_date”: `“year”: 2018, “month”: 9, “day”: 1` `, “localization_settings”: ` “currency_code”: “ USD”, “language_code”: “en-US” ` ` `, ` “row”: ` “dimension_values”: ` “DATE”: `“value”: “20180918”`, “APP”: ` “value”: “ca-app-pub-8123415297019784~ 1001342552”, “display_label”: “My app name!” ` `, “metric_values”: ` “ ESTIMATED_EARNINGS”: `“decimal_value”: “1324746”` ` ` `, ` “footer”: `“ matching_row_count”: 1` `]

Attributes

header[RW]

Groups data helps to treat the generated report. Always sent as a first message in the stream response. Corresponds to the JSON property `header` @return [Google::Apis::AdmobV1beta::ReportHeader]

row[RW]

A row of the returning report. Corresponds to the JSON property `row` @return [Google::Apis::AdmobV1beta::ReportRow]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admob_v1beta/classes.rb, line 333
def update!(**args)
  @footer = args[:footer] if args.key?(:footer)
  @header = args[:header] if args.key?(:header)
  @row = args[:row] if args.key?(:row)
end