Class: Vk::API::Ads::Methods::GetRejectionReason
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Ads::Methods::GetRejectionReason
- Defined in:
- lib/vk/api/ads/methods/get_rejection_reason.rb
Overview
Returns a reason of ad rejection for pre-moderation.
Arguments collapse
-
#account_id ⇒ Integer
Advertising account ID.
-
#ad_id ⇒ Integer
Ad ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Ads::Methods::GetRejectionReason
|
|
# File 'lib/vk/api/ads/methods/get_rejection_reason.rb', line 15
|
Instance Method Details
#account_id ⇒ Integer
Returns Advertising account ID.
24 |
# File 'lib/vk/api/ads/methods/get_rejection_reason.rb', line 24 attribute :account_id, API::Types::Coercible::Int |
#ad_id ⇒ Integer
Returns Ad ID.
26 |
# File 'lib/vk/api/ads/methods/get_rejection_reason.rb', line 26 attribute :ad_id, API::Types::Coercible::Int |