Class: Vk::API::Ads::Methods::UpdateAds

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

Overview

Edits ads.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :account_id (Integer)

    Advertising account ID.

  • :data (String)

    Serialized JSON array of objects that describe changes in ads. Description of 'ad_edit_specification' objects see below.



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

Instance Method Details

#account_idInteger

Returns Advertising account ID.

Returns:

  • (Integer)

    Advertising account ID.



24
# File 'lib/vk/api/ads/methods/update_ads.rb', line 24

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

#dataString

Returns Serialized JSON array of objects that describe changes in ads. Description of 'ad_edit_specification' objects see below.

Returns:

  • (String)

    Serialized JSON array of objects that describe changes in ads. Description of 'ad_edit_specification' objects see below.



26
# File 'lib/vk/api/ads/methods/update_ads.rb', line 26

attribute :data, API::Types::Coercible::String