Class: Vk::API::Ads::Ad
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Ads::Ad
- Defined in:
- lib/vk/api/ads/ad.rb
Overview
Instance Method Summary collapse
-
#ad_format ⇒ Integer
Ad format.
-
#ad_platform ⇒ Integer, String
Ad platform.
-
#all_limit ⇒ Integer
Total limit.
-
#approved ⇒ Integer
Review status.
-
#campaign_id ⇒ Integer
Campaign ID.
-
#category1_id ⇒ Integer
Category ID.
-
#category2_id ⇒ Integer
Additional category ID.
-
#cost_type ⇒ Integer
Cost type.
-
#cpc ⇒ Integer
Cost of a click, kopecks.
-
#cpm ⇒ Integer
Cost of 1000 impressions, kopecks.
-
#disclaimer_medical ⇒ API::Base::BoolInt
Information whether disclaimer is enabled.
-
#disclaimer_specialist ⇒ API::Base::BoolInt
Information whether disclaimer is enabled.
-
#disclaimer_supplements ⇒ API::Base::BoolInt
Information whether disclaimer is enabled.
-
#id ⇒ Integer
Ad ID.
-
#impressions_limit ⇒ Integer
Impressions limit.
-
#impressions_limited ⇒ Integer
Information whether impressions are limited.
-
#name ⇒ String
Ad title.
-
#status ⇒ Integer
Ad atatus.
-
#video ⇒ API::Base::BoolInt
Information whether the ad is a video.
Instance Method Details
#ad_format ⇒ Integer
Returns Ad format.
15 |
# File 'lib/vk/api/ads/ad.rb', line 15 attribute :ad_format, API::Types::Coercible::Int |
#ad_platform ⇒ Integer, String
Returns Ad platform.
27 |
# File 'lib/vk/api/ads/ad.rb', line 27 attribute :ad_platform, API::Types::Coercible::Int | API::Types::Coercible::String.optional.default(nil) |
#all_limit ⇒ Integer
Returns Total limit.
29 |
# File 'lib/vk/api/ads/ad.rb', line 29 attribute :all_limit, API::Types::Coercible::Int |
#approved ⇒ Integer
Returns Review status.
39 |
# File 'lib/vk/api/ads/ad.rb', line 39 attribute :approved, API::Types::Coercible::Int.enum(0, 1, 2, 3) |
#campaign_id ⇒ Integer
Returns Campaign ID.
13 |
# File 'lib/vk/api/ads/ad.rb', line 13 attribute :campaign_id, API::Types::Coercible::Int |
#category1_id ⇒ Integer
Returns Category ID.
31 |
# File 'lib/vk/api/ads/ad.rb', line 31 attribute :category1_id, API::Types::Coercible::Int.optional.default(nil) |
#category2_id ⇒ Integer
Returns Additional category ID.
33 |
# File 'lib/vk/api/ads/ad.rb', line 33 attribute :category2_id, API::Types::Coercible::Int.optional.default(nil) |
#cost_type ⇒ Integer
Returns Cost type.
17 |
# File 'lib/vk/api/ads/ad.rb', line 17 attribute :cost_type, API::Types::Coercible::Int.enum(0, 1) |
#cpc ⇒ Integer
Returns Cost of a click, kopecks.
19 |
# File 'lib/vk/api/ads/ad.rb', line 19 attribute :cpc, API::Types::Coercible::Int.optional.default(nil) |
#cpm ⇒ Integer
Returns Cost of 1000 impressions, kopecks.
21 |
# File 'lib/vk/api/ads/ad.rb', line 21 attribute :cpm, API::Types::Coercible::Int.optional.default(nil) |
#disclaimer_medical ⇒ API::Base::BoolInt
Returns Information whether disclaimer is enabled.
43 |
# File 'lib/vk/api/ads/ad.rb', line 43 attribute :disclaimer_medical, API::Base::BoolInt.optional.default(nil) |
#disclaimer_specialist ⇒ API::Base::BoolInt
Returns Information whether disclaimer is enabled.
45 |
# File 'lib/vk/api/ads/ad.rb', line 45 attribute :disclaimer_specialist, API::Base::BoolInt.optional.default(nil) |
#disclaimer_supplements ⇒ API::Base::BoolInt
Returns Information whether disclaimer is enabled.
47 |
# File 'lib/vk/api/ads/ad.rb', line 47 attribute :disclaimer_supplements, API::Base::BoolInt.optional.default(nil) |
#id ⇒ Integer
Returns Ad ID.
11 |
# File 'lib/vk/api/ads/ad.rb', line 11 attribute :id, API::Types::Coercible::Int |
#impressions_limit ⇒ Integer
Returns Impressions limit.
23 |
# File 'lib/vk/api/ads/ad.rb', line 23 attribute :impressions_limit, API::Types::Coercible::Int.optional.default(nil) |
#impressions_limited ⇒ Integer
Returns Information whether impressions are limited.
25 |
# File 'lib/vk/api/ads/ad.rb', line 25 attribute :impressions_limited, API::Types::Coercible::Int.optional.default(nil) |
#name ⇒ String
Returns Ad title.
37 |
# File 'lib/vk/api/ads/ad.rb', line 37 attribute :name, API::Types::Coercible::String |
#status ⇒ Integer
Returns Ad atatus.
35 |
# File 'lib/vk/api/ads/ad.rb', line 35 attribute :status, API::Types::Coercible::Int.enum(0, 1, 2) |
#video ⇒ API::Base::BoolInt
Returns Information whether the ad is a video.
41 |
# File 'lib/vk/api/ads/ad.rb', line 41 attribute :video, API::Base::BoolInt.optional.default(nil) |