Class: Google::Apis::AdmobV1beta::GenerateNetworkReportResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::GenerateNetworkReportResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admob_v1beta/classes.rb,
generated/google/apis/admob_v1beta/representations.rb,
generated/google/apis/admob_v1beta/representations.rb
Overview
The streaming response for the AdMob Network 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":
"dateRange":
"startDate":
"year": 2018, "month": 9, "day": 1, "endDate":
"year": 2018, "
month": 9, "day": 1, "localizationSettings":
"currencyCode": "USD", "
languageCode": "en-US"
,
"row":
"dimensionValues": "DATE":
"value":
"20180918", "APP":
"value": "ca-app-pub-8123415297019784~1001342552",
displayLabel: "My app name!" , "metricValues":
"ESTIMATED_EARNINGS":
"
microsValue": 6500000
,
"footer":
"matchingRowCount": 1]
Instance Attribute Summary collapse
-
#footer ⇒ Google::Apis::AdmobV1beta::ReportFooter
Groups data available after report generation, for example, warnings and row counts.
-
#header ⇒ Google::Apis::AdmobV1beta::ReportHeader
Groups data helps to treat the generated report.
-
#row ⇒ Google::Apis::AdmobV1beta::ReportRow
A row of the returning report.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateNetworkReportResponse
constructor
A new instance of GenerateNetworkReportResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateNetworkReportResponse
Returns a new instance of GenerateNetworkReportResponse.
401 402 403 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 401 def initialize(**args) update!(**args) end |
Instance Attribute Details
#footer ⇒ Google::Apis::AdmobV1beta::ReportFooter
Groups data available after report generation, for example, warnings and row
counts. Always sent as the last message in the stream response.
Corresponds to the JSON property footer
388 389 390 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 388 def @footer end |
#header ⇒ Google::Apis::AdmobV1beta::ReportHeader
Groups data helps to treat the generated report. Always sent as a first
message in the stream response.
Corresponds to the JSON property header
394 395 396 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 394 def header @header end |
#row ⇒ Google::Apis::AdmobV1beta::ReportRow
A row of the returning report.
Corresponds to the JSON property row
399 400 401 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 399 def row @row end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
406 407 408 409 410 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 406 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 |