Class: Google::Apis::DfareportingV4::TvCampaignDetail
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::TvCampaignDetail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
TvCampaignDetail contains data from a TV campaign for specific start dates and date windows.
Instance Attribute Summary collapse
-
#id ⇒ String
ID of this TV campaign.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#timepoints ⇒ Array<Google::Apis::DfareportingV4::TvCampaignTimepoint>
The timepoints of the TV campaign.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TvCampaignDetail
constructor
A new instance of TvCampaignDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TvCampaignDetail
Returns a new instance of TvCampaignDetail.
12612 12613 12614 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12612 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
ID of this TV campaign.
Corresponds to the JSON property id
12599 12600 12601 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12599 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#tvCampaignSummary".
Corresponds to the JSON property kind
12605 12606 12607 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12605 def kind @kind end |
#timepoints ⇒ Array<Google::Apis::DfareportingV4::TvCampaignTimepoint>
The timepoints of the TV campaign.
Corresponds to the JSON property timepoints
12610 12611 12612 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12610 def timepoints @timepoints end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12617 12618 12619 12620 12621 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12617 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @timepoints = args[:timepoints] if args.key?(:timepoints) end |