Sha256: 881b9f35cc2e2b01c08f2c7eeb65c5191729932a5fcef4bca1e35a1a165c6070

Contents?: true

Size: 915 Bytes

Versions: 1

Compression:

Stored size: 915 Bytes

Contents

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

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

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :account_id Advertising account ID.
          #   @option arguments [String] :ids Serialized JSON array with ad IDs.
          #   @return [Ads::Methods::DeleteAds]

          # @!group Arguments

          # @return [Integer] Advertising account ID.
          attribute :account_id, API::Types::Coercible::Int.optional
          # @return [String] Serialized JSON array with ad IDs.
          attribute :ids, 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/delete_ads.rb