Class: Vk::API::Ads::Campaign

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/ads/campaign.rb

Overview

Instance Method Summary collapse

Instance Method Details

#all_limitString

Returns Campaign's total limit, rubles.

Returns:

  • (String)

    Campaign's total limit, rubles


21
# File 'lib/vk/api/ads/campaign.rb', line 21

attribute :all_limit, API::Types::Coercible::String

#day_limitString

Returns Campaign's day limit, rubles.

Returns:

  • (String)

    Campaign's day limit, rubles


19
# File 'lib/vk/api/ads/campaign.rb', line 19

attribute :day_limit, API::Types::Coercible::String

#idInteger

Returns Campaign ID.

Returns:

  • (Integer)

    Campaign ID


11
# File 'lib/vk/api/ads/campaign.rb', line 11

attribute :id, API::Types::Coercible::Int

#nameInteger

Returns Campaign title.

Returns:

  • (Integer)

    Campaign title


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

attribute :name, API::Types::Coercible::Int

#start_timeInteger

Returns Campaign start time, as Unixtime.

Returns:

  • (Integer)

    Campaign start time, as Unixtime


23
# File 'lib/vk/api/ads/campaign.rb', line 23

attribute :start_time, API::Types::Coercible::Int

#statusInteger

Returns Campaign status.

Returns:

  • (Integer)

    Campaign status


17
# File 'lib/vk/api/ads/campaign.rb', line 17

attribute :status, API::Types::Coercible::Int.enum(0, 1, 2)

#stop_timeInteger

Returns Campaign stop time, as Unixtime.

Returns:

  • (Integer)

    Campaign stop time, as Unixtime


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

attribute :stop_time, API::Types::Coercible::Int

#typeString

Returns Campaign type.

Returns:

  • (String)

    Campaign type


13
# File 'lib/vk/api/ads/campaign.rb', line 13

attribute :type, API::Types::Coercible::String.enum("normal", "vk_apps_managed", "mobile_apps", "promoted_posts")