Class: Google::Apis::DisplayvideoV4::UniversalAdId

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb

Overview

A creative identifier provided by a registry that is unique across all platforms. This is part of the VAST 4.0 standard.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UniversalAdId

Returns a new instance of UniversalAdId.



14847
14848
14849
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14847

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idString

Optional. The unique creative identifier. Corresponds to the JSON property id

Returns:

  • (String)


14840
14841
14842
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14840

def id
  @id
end

#registryString

Optional. The registry provides unique creative identifiers. Corresponds to the JSON property registry

Returns:

  • (String)


14845
14846
14847
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14845

def registry
  @registry
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14852
14853
14854
14855
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14852

def update!(**args)
  @id = args[:id] if args.key?(:id)
  @registry = args[:registry] if args.key?(:registry)
end