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.
13432 13433 13434 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13432 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
13388 13389 13390 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13388 def end_date @end_date end |
#grp ⇒ Fixnum
GRP of this TV campaign.
Corresponds to the JSON property grp
13393 13394 13395 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13393 def grp @grp end |
#id ⇒ String
ID of this TV campaign.
Corresponds to the JSON property id
13398 13399 13400 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13398 def id @id end |
#impressions ⇒ Fixnum
Impressions across the entire TV campaign.
Corresponds to the JSON property impressions
13403 13404 13405 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13403 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
13409 13410 13411 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13409 def kind @kind end |
#name ⇒ String
Identifier. Name of this TV campaign.
Corresponds to the JSON property name
13414 13415 13416 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13414 def name @name end |
#spend ⇒ Float
Spend across the entire TV campaign.
Corresponds to the JSON property spend
13419 13420 13421 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13419 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
13425 13426 13427 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13425 def start_date @start_date end |
#type ⇒ String
"CampaignComponentType" of this TV campaign.
Corresponds to the JSON property type
13430 13431 13432 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13430 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 13437 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 |