Class: Google::Apis::DfareportingV3_5::UniversalAdId

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UniversalAdId

Returns a new instance of UniversalAdId.



12236
12237
12238
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12236

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)


12227
12228
12229
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12227

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)


12234
12235
12236
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12234

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12241
12242
12243
12244
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12241

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