Sha256: 5f0330057007f8ed91248bc23c4707bffaa48e252925bb7d42809469ada240b7

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Ads < Vk::Schema::Namespace
      module Methods
        # Creates ads.
        class CreateAds < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'ads.createAds'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :account_id Advertising account ID.
          #   @option arguments [String] :data Serialized JSON array of objects that describe created ads. Description of 'ad_specification' objects see below.
          #   @return [Ads::Methods::CreateAds]

          # @!group Arguments

          # @return [Integer] Advertising account ID.
          attribute :account_id, API::Types::Coercible::Int.optional
          # @return [String] Serialized JSON array of objects that describe created ads. Description of 'ad_specification' objects see below.
          attribute :data, API::Types::Coercible::String.optional
        end
      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/methods/create_ads.rb