Class: Vk::API::Ads::Methods::RemoveOfficeUsers

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/ads/methods/remove_office_users.rb

Overview

Removes managers and/or supervisors from advertising account.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Ads::Methods::RemoveOfficeUsers

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :account_id (Integer)

    Advertising account ID.

  • :ids (String)

    Serialized JSON array with IDs of deleted managers.



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

Instance Method Details

#account_idInteger

Returns Advertising account ID.

Returns:

  • (Integer)

    Advertising account ID.



24
# File 'lib/vk/api/ads/methods/remove_office_users.rb', line 24

attribute :account_id, API::Types::Coercible::Int

#idsString

Returns Serialized JSON array with IDs of deleted managers.

Returns:

  • (String)

    Serialized JSON array with IDs of deleted managers.



26
# File 'lib/vk/api/ads/methods/remove_office_users.rb', line 26

attribute :ids, API::Types::Coercible::String