Class: Vk::API::Ads::Methods::DeleteTargetGroup

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/ads/methods/delete_target_group.rb

Overview

Deletes a retarget group.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Ads::Methods::DeleteTargetGroup

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :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.;

  • :target_group_id (Integer)

    Group ID.



# File 'lib/vk/api/ads/methods/delete_target_group.rb', line 15

Instance Method Details

#account_idInteger

Returns Advertising account ID.

Returns:

  • (Integer)

    Advertising account ID.



25
# File 'lib/vk/api/ads/methods/delete_target_group.rb', line 25

attribute :account_id, API::Types::Coercible::Int

#client_idInteger

Returns 'Only for advertising agencies.' ; ID of the client with the advertising account where the group will be created.;.

Returns:

  • (Integer)

    '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/delete_target_group.rb', line 27

attribute :client_id, API::Types::Coercible::Int.optional.default(nil)

#target_group_idInteger

Returns Group ID.

Returns:

  • (Integer)

    Group ID.



29
# File 'lib/vk/api/ads/methods/delete_target_group.rb', line 29

attribute :target_group_id, API::Types::Coercible::Int