Class: Vk::API::Ads::StatsFormat

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

Overview

Instance Method Summary collapse

Instance Method Details

#clicks ⇒ Integer

Returns Clicks number.

Returns:

  • (Integer) —

    Clicks number



21
# File 'lib/vk/api/ads/stats_format.rb', line 21

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

#day ⇒ String

Returns Day as YYYY-MM-DD.

Returns:

  • (String) —

    Day as YYYY-MM-DD



11
# File 'lib/vk/api/ads/stats_format.rb', line 11

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

#impressions ⇒ Integer

Returns Impressions number.

Returns:

  • (Integer) —

    Impressions number



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

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

#join_rate ⇒ Integer

Returns Events number.

Returns:

  • (Integer) —

    Events number



33
# File 'lib/vk/api/ads/stats_format.rb', line 33

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

#month ⇒ String

Returns Month as YYYY-MM.

Returns:

  • (String) —

    Month as YYYY-MM



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

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

#overall ⇒ Integer

Returns 1 if period=overall.

Returns:

  • (Integer) —

    1 if period=overall



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

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

#reach ⇒ Integer

Returns Reach.

Returns:

  • (Integer) —

    Reach



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

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

#spent ⇒ Integer

Returns Spent funds.

Returns:

  • (Integer) —

    Spent funds



17
# File 'lib/vk/api/ads/stats_format.rb', line 17

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

#video_clicks_site ⇒ Integer

Returns Clickthoughs to the advertised site.

Returns:

  • (Integer) —

    Clickthoughs to the advertised site



31
# File 'lib/vk/api/ads/stats_format.rb', line 31

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

#video_views ⇒ Integer

Returns Video views number.

Returns:

  • (Integer) —

    Video views number



25
# File 'lib/vk/api/ads/stats_format.rb', line 25

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

#video_views_full ⇒ Integer

Returns Video views (full video).

Returns:

  • (Integer) —

    Video views (full video)



29
# File 'lib/vk/api/ads/stats_format.rb', line 29

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

#video_views_half ⇒ Integer

Returns Video views (half of video).

Returns:

  • (Integer) —

    Video views (half of video)



27
# File 'lib/vk/api/ads/stats_format.rb', line 27

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