Class: Vk::API::Ads::Methods::GetAds
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Ads::Methods::GetAds
- Defined in:
- lib/vk/api/ads/methods/get_ads.rb
Overview
Returns number of ads.
Arguments collapse
-
#account_id ⇒ Integer
Advertising account ID.
-
#ad_ids ⇒ String
Filter by ads.
-
#campaign_ids ⇒ String
Filter by advertising campaigns.
-
#client_id ⇒ Integer
'Available and required 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
- #initialize(arguments) ⇒ Ads::Methods::GetAds constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#account_id ⇒ Integer
Returns Advertising account ID.
29 |
# File 'lib/vk/api/ads/methods/get_ads.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.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.rb', line 35 attribute :campaign_ids, API::Types::Coercible::String.optional.default(nil) |
#client_id ⇒ Integer
Returns 'Available and required for advertising agencies.' ID of the client ads are retrieved from.
31 |
# File 'lib/vk/api/ads/methods/get_ads.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.rb', line 33 attribute :include_deleted, API::Types::Form::Bool.optional.default(nil) |