Class: Vk::API::Ads::Methods::GetAdsLayout
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Ads::Methods::GetAdsLayout
- Defined in:
- lib/vk/api/ads/methods/get_ads_layout.rb
Overview
Returns descriptions of ad layouts.
Arguments collapse
-
#account_id ⇒ Integer
Advertising account ID.
-
#ad_ids ⇒ String
Filter by ads.; Serialized JSON array with ad IDs.
-
#campaign_ids ⇒ String
Filter by advertising campaigns.; Serialized JSON array with campaign IDs.
-
#client_id ⇒ Integer
'For advertising agencies.' ID of the client ads are retrieved from.
-
#include_deleted ⇒ Boolean
Flag that specifies whether archived ads shall be shown.; *0 — show only active ads;; *1 — show all ads.;.
-
#limit ⇒ Integer
Limit of number of returned ads.
-
#offset ⇒ Integer
Offset.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Ads::Methods::GetAdsLayout
|
# File 'lib/vk/api/ads/methods/get_ads_layout.rb', line 15
|
Instance Method Details
#account_id ⇒ Integer
Returns Advertising account ID.
29 |
# File 'lib/vk/api/ads/methods/get_ads_layout.rb', line 29 attribute :account_id, API::Types::Coercible::Int |
#ad_ids ⇒ String
Returns Filter by ads.; Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown.;.
37 |
# File 'lib/vk/api/ads/methods/get_ads_layout.rb', line 37 attribute :ad_ids, API::Types::Coercible::String.optional.default(nil) |
#campaign_ids ⇒ String
Returns Filter by advertising campaigns.; Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown.;.
35 |
# File 'lib/vk/api/ads/methods/get_ads_layout.rb', line 35 attribute :campaign_ids, API::Types::Coercible::String.optional.default(nil) |
#client_id ⇒ Integer
Returns 'For advertising agencies.' ID of the client ads are retrieved from.
31 |
# File 'lib/vk/api/ads/methods/get_ads_layout.rb', line 31 attribute :client_id, API::Types::Coercible::Int.optional.default(nil) |
#include_deleted ⇒ Boolean
Returns Flag that specifies whether archived ads shall be shown.; *0 — show only active ads;; *1 — show all ads.;.
33 |
# File 'lib/vk/api/ads/methods/get_ads_layout.rb', line 33 attribute :include_deleted, API::Types::Form::Bool.optional.default(nil) |