Sha256: e91eeb804b928b6788e48e10a6fe37a47e0814a20e6170d9e9cdec44deb63a94

Contents?: true

Size: 593 Bytes

Versions: 15

Compression:

Stored size: 593 Bytes

Contents

require_relative 'resource'

module Eucalyptus
  class Ad < Resource
    def self.known_fields
      [
        :id,
        :account_id,
        :adgroup_review_feedback,
        :adgroup_status,
        :bid_type,
        :bid_info,
        :campaign_id,
        :campaign_group_id,
        :conversion_specs,
        :created_time,
        :creative,
        :failed_delivery_checks,
        :targeting,
        :tracking_specs,
        :updated_time,
        :name
      ]
    end

    def ad_set; AdSet.find(self.campaign_id); end

    def self.api_path
      "adgroups"
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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