class Google::Apis::DisplayvideoV1::LocationList

A list of locations used for targeting.

Attributes

advertiser_id[RW]

Required. Immutable. The unique ID of the advertiser the location list belongs to. Corresponds to the JSON property `advertiserId` @return [Fixnum]

display_name[RW]

Required. The display name of the location list. Must be UTF-8 encoded with a maximum size of 240 bytes. Corresponds to the JSON property `displayName` @return [String]

location_list_id[RW]

Output only. The unique ID of the location list. Assigned by the system. Corresponds to the JSON property `locationListId` @return [Fixnum]

location_type[RW]

Required. Immutable. The type of location. All locations in the list will share this type. Corresponds to the JSON property `locationType` @return [String]

name[RW]

Output only. The resource name of the location list. Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 6982
def update!(**args)
  @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
  @display_name = args[:display_name] if args.key?(:display_name)
  @location_list_id = args[:location_list_id] if args.key?(:location_list_id)
  @location_type = args[:location_type] if args.key?(:location_type)
  @name = args[:name] if args.key?(:name)
end