Class: Google::Apis::AdmobV1beta::GenerateCampaignReportRequest
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::GenerateCampaignReportRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admob_v1beta/classes.rb,
lib/google/apis/admob_v1beta/representations.rb,
lib/google/apis/admob_v1beta/representations.rb
Overview
Request to generate campaign report.
Instance Attribute Summary collapse
-
#report_spec ⇒ Google::Apis::AdmobV1beta::CampaignReportSpec
The specification for generating a Campaign report.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateCampaignReportRequest
constructor
A new instance of GenerateCampaignReportRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateCampaignReportRequest
Returns a new instance of GenerateCampaignReportRequest.
616 617 618 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 616 def initialize(**args) update!(**args) end |
Instance Attribute Details
#report_spec ⇒ Google::Apis::AdmobV1beta::CampaignReportSpec
The specification for generating a Campaign report. For example, the
specification to get IMPRESSIONS and CLICKS sliced by CAMPAIGN_ID can look
like the following example: "date_range":
"start_date": "year": 2021, "
month": 12, "day": 1
, "end_date": "year": 2021, "month": 12, "day": 30
, "
dimensions": ["CAMPAIGN_ID"], "metrics": ["IMPRESSIONS", "CLICKS"],
Corresponds to the JSON property reportSpec
614 615 616 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 614 def report_spec @report_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
621 622 623 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 621 def update!(**args) @report_spec = args[:report_spec] if args.key?(:report_spec) end |