Class: Vk::API::Ads::DemostatsFormat
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Ads::DemostatsFormat
- Defined in:
- lib/vk/api/ads/demostats_format.rb
Overview
Instance Method Summary collapse
- #age ⇒ Array
- #cities ⇒ Array
-
#day ⇒ String
Day as YYYY-MM-DD.
-
#month ⇒ String
Month as YYYY-MM.
-
#overall ⇒ Integer
1 if period=overall.
- #sex ⇒ Array
- #sex_age ⇒ Array
Instance Method Details
#age ⇒ Array
19 |
# File 'lib/vk/api/ads/demostats_format.rb', line 19 attribute :age, API::Types::Coercible::Array.member(API::Ads::StatsAge).optional.default(nil) |
#cities ⇒ Array
23 |
# File 'lib/vk/api/ads/demostats_format.rb', line 23 attribute :cities, API::Types::Coercible::Array.member(API::Ads::StatsCities).optional.default(nil) |
#day ⇒ String
Returns Day as YYYY-MM-DD.
11 |
# File 'lib/vk/api/ads/demostats_format.rb', line 11 attribute :day, API::Types::Coercible::String.optional.default(nil) |
#month ⇒ String
Returns Month as YYYY-MM.
13 |
# File 'lib/vk/api/ads/demostats_format.rb', line 13 attribute :month, API::Types::Coercible::String.optional.default(nil) |
#overall ⇒ Integer
Returns 1 if period=overall.
15 |
# File 'lib/vk/api/ads/demostats_format.rb', line 15 attribute :overall, API::Types::Coercible::Int.optional.default(nil) |
#sex ⇒ Array
17 |
# File 'lib/vk/api/ads/demostats_format.rb', line 17 attribute :sex, API::Types::Coercible::Array.member(API::Ads::StatsSex).optional.default(nil) |
#sex_age ⇒ Array
21 |
# File 'lib/vk/api/ads/demostats_format.rb', line 21 attribute :sex_age, API::Types::Coercible::Array.member(API::Ads::StatsSexAge).optional.default(nil) |