Class: Vk::API::Ads::Campaign
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Ads::Campaign
- Defined in:
- lib/vk/api/ads/campaign.rb
Overview
Instance Method Summary collapse
-
#all_limit ⇒ String
Campaign's total limit, rubles.
-
#day_limit ⇒ String
Campaign's day limit, rubles.
-
#id ⇒ Integer
Campaign ID.
-
#name ⇒ Integer
Campaign title.
-
#start_time ⇒ Integer
Campaign start time, as Unixtime.
-
#status ⇒ Integer
Campaign status.
-
#stop_time ⇒ Integer
Campaign stop time, as Unixtime.
-
#type ⇒ String
Campaign type.
Instance Method Details
#all_limit ⇒ String
Returns Campaign's total limit, rubles.
21 |
# File 'lib/vk/api/ads/campaign.rb', line 21 attribute :all_limit, API::Types::Coercible::String |
#day_limit ⇒ String
Returns Campaign's day limit, rubles.
19 |
# File 'lib/vk/api/ads/campaign.rb', line 19 attribute :day_limit, API::Types::Coercible::String |
#id ⇒ Integer
Returns Campaign ID.
11 |
# File 'lib/vk/api/ads/campaign.rb', line 11 attribute :id, API::Types::Coercible::Int |
#name ⇒ Integer
Returns Campaign title.
15 |
# File 'lib/vk/api/ads/campaign.rb', line 15 attribute :name, API::Types::Coercible::Int |
#start_time ⇒ Integer
Returns Campaign start time, as Unixtime.
23 |
# File 'lib/vk/api/ads/campaign.rb', line 23 attribute :start_time, API::Types::Coercible::Int |
#status ⇒ Integer
Returns Campaign status.
17 |
# File 'lib/vk/api/ads/campaign.rb', line 17 attribute :status, API::Types::Coercible::Int.enum(0, 1, 2) |