Sha256: 5c322ff2d2253cbbb969835d6ed077fe51bacd03ffc305e9daea8b524b39c05f

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 KB

Contents

# frozen_string_literal: true
require 'vk/api/objects'
require 'vk/schema/namespace'

module Vk
  module API
    class Ads < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class StatsFormat < Vk::Schema::Object
        # @return [String] Day as YYYY-MM-DD
        attribute :day, API::Types::Coercible::String.optional
        # @return [String] Month as YYYY-MM
        attribute :month, API::Types::Coercible::String.optional
        # @return [Integer] 1 if period=overall
        attribute :overall, API::Types::Coercible::Int.optional
        # @return [Integer] Spent funds
        attribute :spent, API::Types::Coercible::Int.optional
        # @return [Integer] Impressions number
        attribute :impressions, API::Types::Coercible::Int.optional
        # @return [Integer] Clicks number
        attribute :clicks, API::Types::Coercible::Int.optional
        # @return [Integer] Reach
        attribute :reach, API::Types::Coercible::Int.optional
        # @return [Integer] Video views number
        attribute :video_views, API::Types::Coercible::Int.optional
        # @return [Integer] Video views (half of video)
        attribute :video_views_half, API::Types::Coercible::Int.optional
        # @return [Integer] Video views (full video)
        attribute :video_views_full, API::Types::Coercible::Int.optional
        # @return [Integer] Clickthoughs to the advertised site
        attribute :video_clicks_site, API::Types::Coercible::Int.optional
        # @return [Integer] Events number
        attribute :join_rate, API::Types::Coercible::Int.optional
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/ads/stats_format.rb