Sha256: a74c1cdaf76a63d462c6054e7b47d6e82b0efac81bd25e5a2c9cfaf6d2c71610

Contents?: true

Size: 987 Bytes

Versions: 1

Compression:

Stored size: 987 Bytes

Contents

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

module Vk
  module API
    class Ads < Vk::Schema::Namespace
      module Methods
        # Archives advertising campaigns.
        class DeleteCampaigns < Schema::Method
          # @!group Properties

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

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

          # @!group Arguments

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