Class: Vk::API::Ads::DemostatsFormat

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/ads/demostats_format.rb

Overview

Instance Method Summary collapse

Instance Method Details

#ageArray


19
# File 'lib/vk/api/ads/demostats_format.rb', line 19

attribute :age, API::Types::Coercible::Array.member(API::Ads::StatsAge).optional.default(nil)

#citiesArray


23
# File 'lib/vk/api/ads/demostats_format.rb', line 23

attribute :cities, API::Types::Coercible::Array.member(API::Ads::StatsCities).optional.default(nil)

#dayString

Returns Day as YYYY-MM-DD.

Returns:

  • (String)

    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)

#monthString

Returns Month as YYYY-MM.

Returns:

  • (String)

    Month as YYYY-MM


13
# File 'lib/vk/api/ads/demostats_format.rb', line 13

attribute :month, API::Types::Coercible::String.optional.default(nil)

#overallInteger

Returns 1 if period=overall.

Returns:

  • (Integer)

    1 if period=overall


15
# File 'lib/vk/api/ads/demostats_format.rb', line 15

attribute :overall, API::Types::Coercible::Int.optional.default(nil)

#sexArray


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_ageArray


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)