class Google::Apis::DisplayvideoV1::LocationList
A list of locations used for targeting.
Attributes
Required. Immutable. The unique ID of the advertiser the location list belongs to. Corresponds to the JSON property `advertiserId` @return [Fixnum]
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]
Output only. The unique ID of the location list. Assigned by the system. Corresponds to the JSON property `locationListId` @return [Fixnum]
Required. Immutable. The type of location. All locations in the list will share this type. Corresponds to the JSON property `locationType` @return [String]
Output only. The resource name of the location list. Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/displayvideo_v1/classes.rb, line 6977 def initialize(**args) update!(**args) end
Public Instance Methods
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