Class: Google::Apis::DisplayvideoV2::ThirdPartyVendorConfig

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

Overview

Settings that control how third-party measurement vendors are configured.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ThirdPartyVendorConfig

Returns a new instance of ThirdPartyVendorConfig.



11345
11346
11347
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11345

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

Instance Attribute Details

#placement_idString

The ID used by the platform of the third-party vendor to identify the line item. Corresponds to the JSON property placementId

Returns:

  • (String)


11338
11339
11340
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11338

def placement_id
  @placement_id
end

#vendorString

The third-party measurement vendor. Corresponds to the JSON property vendor

Returns:

  • (String)


11343
11344
11345
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11343

def vendor
  @vendor
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11350
11351
11352
11353
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11350

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