Class: Google::Apis::DfareportingV4::TvCampaignDetail

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TvCampaignDetail

Returns a new instance of TvCampaignDetail.



14033
14034
14035
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14033

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idString

ID of this TV campaign. Corresponds to the JSON property id

Returns:

  • (String)


14020
14021
14022
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14020

def id
  @id
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#tvCampaignSummary". Corresponds to the JSON property kind

Returns:

  • (String)


14026
14027
14028
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14026

def kind
  @kind
end

#timepointsArray<Google::Apis::DfareportingV4::TvCampaignTimepoint>

The timepoints of the TV campaign. Corresponds to the JSON property timepoints



14031
14032
14033
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14031

def timepoints
  @timepoints
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14038
14039
14040
14041
14042
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14038

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