Class: Vk::API::Ads::Methods::GetRejectionReason

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

Overview

Returns a reason of ad rejection for pre-moderation.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :account_id (Integer)

    Advertising account ID.

  • :ad_id (Integer)

    Ad ID.



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

Instance Method Details

#account_idInteger

Returns Advertising account ID.

Returns:

  • (Integer)

    Advertising account ID.



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

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

#ad_idInteger

Returns Ad ID.

Returns:

  • (Integer)

    Ad ID.



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

attribute :ad_id, API::Types::Coercible::Int