class Google::Apis::AdsenseV1_4::AdUnit::FeedAdsSettings

Settings specific to feed ads (AFF) - deprecated.

Attributes

ad_position[RW]

The position of the ads relative to the feed entries. Corresponds to the JSON property `adPosition` @return [String]

frequency[RW]

The frequency at which ads should appear in the feed (i.e. every N entries). Corresponds to the JSON property `frequency` @return [Fixnum]

minimum_word_count[RW]

The minimum length an entry should be in order to have attached ads. Corresponds to the JSON property `minimumWordCount` @return [Fixnum]

type[RW]

The type of ads which should appear. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adsense_v1_4/classes.rb, line 516
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adsense_v1_4/classes.rb, line 521
def update!(**args)
  @ad_position = args[:ad_position] if args.key?(:ad_position)
  @frequency = args[:frequency] if args.key?(:frequency)
  @minimum_word_count = args[:minimum_word_count] if args.key?(:minimum_word_count)
  @type = args[:type] if args.key?(:type)
end