Sha256: 68aa6b1e5b09aea31f22131b223378fc470edcac32efe33e2a6b82189c81c04b

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

module TheTradeDeskAds
  # An ad belongs to an ad set. It is created using an ad creative.
  # https://developers.facebook.com/docs/marketing-api/reference/adgroup
  class AdCategories < Base
    FIELDS   = %w[CategoryId ParentCategoryId Name Path Children].freeze

    class << self
      def all(query = {})
        get('category/industrycategories', query: {}, objectify: true)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
the_trade_desk_ads-0.0.1 lib/the_trade_desk_ads/ad_categories.rb