Sha256: 02897e43fbd0c82a09ebaf1153606113bdd9278904c36c6990b8a21ec92ab38a

Contents?: true

Size: 642 Bytes

Versions: 16

Compression:

Stored size: 642 Bytes

Contents

require_relative 'resource'

module Eucalyptus
  class AdSet < Resource
    def self.known_fields
      [
        :id,
        :account_id,
        :bid_info,
        :bid_type,
        :campaign_group_id,
        :campaign_status,
        :created_time,
        :creative_sequence,
        :daily_budget,
        :end_time,
        :is_autobid,
        :lifetime_budget,
        :name,
        :promoted_object,
        :rf_prediction_id,
        :start_time,
        :targeting,
        :updated_time
      ]
    end

    def campaign; Campaign.find(self.campaign_group_id); end

    def self.api_path
      "adcampaigns"
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
eucalyptus-1.2.0 lib/eucalyptus/ad_set.rb
eucalyptus-1.1.0 lib/eucalyptus/ad_set.rb
eucalyptus-1.0.0 lib/eucalyptus/ad_set.rb
eucalyptus-0.3.3 lib/eucalyptus/ad_set.rb
eucalyptus-0.3.2 lib/eucalyptus/ad_set.rb
eucalyptus-0.3.1 lib/eucalyptus/ad_set.rb
eucalyptus-0.3.0 lib/eucalyptus/ad_set.rb
eucalyptus-0.2.13 lib/eucalyptus/ad_set.rb
eucalyptus-0.2.12 lib/eucalyptus/ad_set.rb
eucalyptus-0.2.11 lib/eucalyptus/ad_set.rb
eucalyptus-0.2.10 lib/eucalyptus/ad_set.rb
eucalyptus-0.2.9 lib/eucalyptus/ad_set.rb
eucalyptus-0.2.8 lib/eucalyptus/ad_set.rb
eucalyptus-0.2.7 lib/eucalyptus/ad_set.rb
eucalyptus-0.2.6 lib/eucalyptus/ad_set.rb
eucalyptus-0.2.5 lib/eucalyptus/ad_set.rb