Class: Vk::API::Ads::Methods::CreateTargetGroup
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Ads::Methods::CreateTargetGroup
- Defined in:
- lib/vk/api/ads/methods/create_target_group.rb
Overview
Creates a group to re-target ads for users who visited advertiser's site (viewed information about the product, registered, etc.).
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.;.
-
#domain ⇒ String
Domain of the site where user accounting code will be placed.
-
#lifetime ⇒ Integer
'For groups with auditory created with pixel code only.'; ; Number of days after that users will be automatically removed from the group.
-
#name ⇒ String
Name of the target group — a string up to 64 characters long.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Ads::Methods::CreateTargetGroup
|
# File 'lib/vk/api/ads/methods/create_target_group.rb', line 15
|
Instance Method Details
#account_id ⇒ Integer
Returns Advertising account ID.
27 |
# File 'lib/vk/api/ads/methods/create_target_group.rb', line 27 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.;.
29 |
# File 'lib/vk/api/ads/methods/create_target_group.rb', line 29 attribute :client_id, API::Types::Coercible::Int.optional.default(nil) |
#domain ⇒ String
Returns Domain of the site where user accounting code will be placed.
33 |
# File 'lib/vk/api/ads/methods/create_target_group.rb', line 33 attribute :domain, API::Types::Coercible::String.optional.default(nil) |
#lifetime ⇒ Integer
Returns 'For groups with auditory created with pixel code only.'; ; Number of days after that users will be automatically removed from the group. '0' — not to remove users.;.
35 |
# File 'lib/vk/api/ads/methods/create_target_group.rb', line 35 attribute :lifetime, API::Types::Coercible::Int.optional.default(nil) |