class Google::Apis::DfareportingV3_5::ObaIcon

Online Behavioral Advertiser icon.

Attributes

icon_click_through_url[RW]

URL to redirect to when an OBA icon is clicked. Corresponds to the JSON property `iconClickThroughUrl` @return [String]

icon_click_tracking_url[RW]

URL to track click when an OBA icon is clicked. Corresponds to the JSON property `iconClickTrackingUrl` @return [String]

icon_view_tracking_url[RW]

URL to track view when an OBA icon is clicked. Corresponds to the JSON property `iconViewTrackingUrl` @return [String]

program[RW]

Identifies the industry initiative that the icon supports. For example, AdChoices. Corresponds to the JSON property `program` @return [String]

resource_url[RW]

OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more Corresponds to the JSON property `resourceUrl` @return [String]

size[RW]

Represents the dimensions of ads, placements, creatives, or creative assets. Corresponds to the JSON property `size` @return [Google::Apis::DfareportingV3_5::Size]

x_position[RW]

OBA icon x coordinate position. Accepted values are left or right. Corresponds to the JSON property `xPosition` @return [String]

y_position[RW]

OBA icon y coordinate position. Accepted values are top or bottom. Corresponds to the JSON property `yPosition` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_5/classes.rb, line 7604
def update!(**args)
  @icon_click_through_url = args[:icon_click_through_url] if args.key?(:icon_click_through_url)
  @icon_click_tracking_url = args[:icon_click_tracking_url] if args.key?(:icon_click_tracking_url)
  @icon_view_tracking_url = args[:icon_view_tracking_url] if args.key?(:icon_view_tracking_url)
  @program = args[:program] if args.key?(:program)
  @resource_url = args[:resource_url] if args.key?(:resource_url)
  @size = args[:size] if args.key?(:size)
  @x_position = args[:x_position] if args.key?(:x_position)
  @y_position = args[:y_position] if args.key?(:y_position)
end