Class: Vk::API::Ads::Methods::GetUploadUrl
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Ads::Methods::GetUploadUrl
- Defined in:
- lib/vk/api/ads/methods/get_upload_url.rb
Overview
Returns URL to upload an ad photo to.
Arguments collapse
-
#ad_format ⇒ Integer
Ad format:; *1 — image and text;; *2 — big image;; *3 — exclusive format;; *4 — community, square image;; *7 — special app format.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Ads::Methods::GetUploadUrl
|
|
# File 'lib/vk/api/ads/methods/get_upload_url.rb', line 15
|
Instance Method Details
#ad_format ⇒ Integer
Returns Ad format:; *1 — image and text;; *2 — big image;; *3 — exclusive format;; *4 — community, square image;; *7 — special app format.
23 |
# File 'lib/vk/api/ads/methods/get_upload_url.rb', line 23 attribute :ad_format, API::Types::Coercible::Int |