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.
715 716 717 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 715 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
713 714 715 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 713 def report_spec @report_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
720 721 722 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 720 def update!(**args) @report_spec = args[:report_spec] if args.key?(:report_spec) end |