Class: Google::Apis::DfareportingV5::TvCampaignSummary
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV5::TvCampaignSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb
Overview
TvCampaignSummary contains aggregate data from a TV campaign.
Instance Attribute Summary collapse
-
#end_date ⇒ String
The end date of the TV campaign, inclusive.
-
#grp ⇒ Fixnum
GRP of this TV campaign.
-
#id ⇒ String
ID of this TV campaign.
-
#impressions ⇒ Fixnum
Impressions across the entire TV campaign.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ String
Identifier.
-
#spend ⇒ Float
Spend across the entire TV campaign.
-
#start_date ⇒ String
The start date of the TV campaign, inclusive.
-
#type ⇒ String
"CampaignComponentType" of this TV campaign.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TvCampaignSummary
constructor
A new instance of TvCampaignSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TvCampaignSummary
Returns a new instance of TvCampaignSummary.
13256 13257 13258 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13256 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_date ⇒ String
The end date of the TV campaign, inclusive. A string of the format: "yyyy-MM-
dd".
Corresponds to the JSON property endDate
13212 13213 13214 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13212 def end_date @end_date end |
#grp ⇒ Fixnum
GRP of this TV campaign.
Corresponds to the JSON property grp
13217 13218 13219 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13217 def grp @grp end |
#id ⇒ String
ID of this TV campaign.
Corresponds to the JSON property id
13222 13223 13224 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13222 def id @id end |
#impressions ⇒ Fixnum
Impressions across the entire TV campaign.
Corresponds to the JSON property impressions
13227 13228 13229 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13227 def impressions @impressions end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#tvCampaignSummary".
Corresponds to the JSON property kind
13233 13234 13235 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13233 def kind @kind end |
#name ⇒ String
Identifier. Name of this TV campaign.
Corresponds to the JSON property name
13238 13239 13240 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13238 def name @name end |
#spend ⇒ Float
Spend across the entire TV campaign.
Corresponds to the JSON property spend
13243 13244 13245 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13243 def spend @spend end |
#start_date ⇒ String
The start date of the TV campaign, inclusive. A string of the format: "yyyy-MM-
dd".
Corresponds to the JSON property startDate
13249 13250 13251 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13249 def start_date @start_date end |
#type ⇒ String
"CampaignComponentType" of this TV campaign.
Corresponds to the JSON property type
13254 13255 13256 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13254 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13261 def update!(**args) @end_date = args[:end_date] if args.key?(:end_date) @grp = args[:grp] if args.key?(:grp) @id = args[:id] if args.key?(:id) @impressions = args[:impressions] if args.key?(:impressions) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @spend = args[:spend] if args.key?(:spend) @start_date = args[:start_date] if args.key?(:start_date) @type = args[:type] if args.key?(:type) end |