Class: Google::Apis::DfareportingV2_8::UniversalAdId

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

Overview

A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_VIDEO and VPAID.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UniversalAdId

Returns a new instance of UniversalAdId



11543
11544
11545
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11543

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

Instance Attribute Details

#registryString

Registry used for the Ad ID value. Corresponds to the JSON property registry

Returns:

  • (String)


11534
11535
11536
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11534

def registry
  @registry
end

#valueString

ID value for this creative. Only alphanumeric characters and the following symbols are valid: "_/-". Maximum length is 64 characters. Read only when registry is DCM. Corresponds to the JSON property value

Returns:

  • (String)


11541
11542
11543
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11541

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11548
11549
11550
11551
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11548

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