Class: Vk::API::Ads::Account

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/ads/account.rb

Overview

Instance Method Summary collapse

Instance Method Details

#access_role ⇒ API::Ads::AccessRole



17
# File 'lib/vk/api/ads/account.rb', line 17

attribute :access_role, API::Ads::AccessRole

#account_id ⇒ Integer

Returns Account ID.

Returns:

  • (Integer) —

    Account ID



11
# File 'lib/vk/api/ads/account.rb', line 11

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

#account_status ⇒ API::Base::BoolInt

Returns Information whether account is active.

Returns:



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

attribute :account_status, API::Base::BoolInt

#account_type ⇒ String

Returns Account type.

Returns:

  • (String) —

    Account type



13
# File 'lib/vk/api/ads/account.rb', line 13

attribute :account_type, API::Types::Coercible::String.enum("general", "agency")