Class: Vk::API::Ads::Methods::CheckLink
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Ads::Methods::CheckLink
- Defined in:
- lib/vk/api/ads/methods/check_link.rb
Overview
Allows to check the ad link.
Arguments collapse
-
#account_id ⇒ Integer
Advertising account ID.
-
#campaign_id ⇒ Integer
Campaign ID.
-
#link_type ⇒ String
Object type:; *'community' — community;; *'post' — community post;; *'application' — VK application;; *'video' — video;; *'site' — external site.
-
#link_url ⇒ String
Object URL.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Ads::Methods::CheckLink constructor
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Ads::Methods::CheckLink
|
# File 'lib/vk/api/ads/methods/check_link.rb', line 15
|
Instance Method Details
#account_id ⇒ Integer
Returns Advertising account ID.
26 |
# File 'lib/vk/api/ads/methods/check_link.rb', line 26 attribute :account_id, API::Types::Coercible::Int |
#campaign_id ⇒ Integer
Returns Campaign ID.
32 |
# File 'lib/vk/api/ads/methods/check_link.rb', line 32 attribute :campaign_id, API::Types::Coercible::Int.optional.default(nil) |