Class: Google::Apis::DfareportingV4::TvCampaignSummary
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::TvCampaignSummary
- 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
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.
12702 12703 12704 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12702 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
12658 12659 12660 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12658 def end_date @end_date end |
#grp ⇒ Fixnum
GRP of this TV campaign.
Corresponds to the JSON property grp
12663 12664 12665 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12663 def grp @grp end |
#id ⇒ String
ID of this TV campaign.
Corresponds to the JSON property id
12668 12669 12670 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12668 def id @id end |
#impressions ⇒ Fixnum
Impressions across the entire TV campaign.
Corresponds to the JSON property impressions
12673 12674 12675 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12673 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
12679 12680 12681 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12679 def kind @kind end |
#name ⇒ String
Identifier. Name of this TV campaign.
Corresponds to the JSON property name
12684 12685 12686 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12684 def name @name end |
#spend ⇒ Float
Spend across the entire TV campaign.
Corresponds to the JSON property spend
12689 12690 12691 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12689 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
12695 12696 12697 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12695 def start_date @start_date end |
#type ⇒ String
"CampaignComponentType" of this TV campaign.
Corresponds to the JSON property type
12700 12701 12702 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12700 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12707 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 |