class Google::Apis::AdsenseV1_4::CustomChannel::TargetingInfo

The targeting information of this custom channel, if activated.

Attributes

ads_appear_on[RW]

The name used to describe this channel externally. Corresponds to the JSON property `adsAppearOn` @return [String]

description[RW]

The external description of the channel. Corresponds to the JSON property `description` @return [String]

location[RW]

The locations in which ads appear. (Only valid for content and mobile content ads (deprecated)). Acceptable values for content ads are: TOP_LEFT, TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for mobile content ads (deprecated) are: TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS. Corresponds to the JSON property `location` @return [String]

site_language[RW]

The language of the sites ads will be displayed on. Corresponds to the JSON property `siteLanguage` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/adsense_v1_4/classes.rb, line 855
def update!(**args)
  @ads_appear_on = args[:ads_appear_on] if args.key?(:ads_appear_on)
  @description = args[:description] if args.key?(:description)
  @location = args[:location] if args.key?(:location)
  @site_language = args[:site_language] if args.key?(:site_language)
end