Class: Google::Apis::DfareportingV4::UniversalAdId
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::UniversalAdId
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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
-
#registry ⇒ String
Registry used for the Ad ID value.
-
#value ⇒ String
ID value for this creative.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UniversalAdId
constructor
A new instance of UniversalAdId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UniversalAdId
Returns a new instance of UniversalAdId.
12374 12375 12376 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12374 def initialize(**args) update!(**args) end |
Instance Attribute Details
#registry ⇒ String
Registry used for the Ad ID value.
Corresponds to the JSON property registry
12365 12366 12367 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12365 def registry @registry end |
#value ⇒ String
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
12372 12373 12374 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12372 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12379 12380 12381 12382 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12379 def update!(**args) @registry = args[:registry] if args.key?(:registry) @value = args[:value] if args.key?(:value) end |