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.



10458
10459
10460
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10458

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)


10451
10452
10453
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10451

def placement_id
  @placement_id
end

#vendorString

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

Returns:

  • (String)


10456
10457
10458
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10456

def vendor
  @vendor
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10463
10464
10465
10466
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10463

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