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.



14012
14013
14014
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14012

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

Instance Attribute Details

#idString

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

Returns:

  • (String)


14005
14006
14007
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14005

def id
  @id
end

#registryString

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

Returns:

  • (String)


14010
14011
14012
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14010

def registry
  @registry
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14017
14018
14019
14020
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14017

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