Class: Vk::API::Ads::Methods::GetTargetGroups
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Ads::Methods::GetTargetGroups
- Defined in:
- lib/vk/api/ads/methods/get_target_groups.rb
Overview
Returns a list of target groups.
Arguments collapse
-
#account_id ⇒ Integer
Advertising account ID.
-
#client_id ⇒ Integer
'Only for advertising agencies.'; ID of the client with the advertising account where the group will be created.;.
-
#extended ⇒ Boolean
'1' — to return pixel code.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Ads::Methods::GetTargetGroups
|
|
# File 'lib/vk/api/ads/methods/get_target_groups.rb', line 15
|
Instance Method Details
#account_id ⇒ Integer
Returns Advertising account ID.
25 |
# File 'lib/vk/api/ads/methods/get_target_groups.rb', line 25 attribute :account_id, API::Types::Coercible::Int |
#client_id ⇒ Integer
Returns 'Only for advertising agencies.'; ID of the client with the advertising account where the group will be created.;.
27 |
# File 'lib/vk/api/ads/methods/get_target_groups.rb', line 27 attribute :client_id, API::Types::Coercible::Int.optional.default(nil) |
#extended ⇒ Boolean
Returns '1' — to return pixel code.
29 |
# File 'lib/vk/api/ads/methods/get_target_groups.rb', line 29 attribute :extended, API::Types::Form::Bool.optional.default(nil) |