Class: Google::Apis::DisplayvideoV1::AdvertiserAdServerConfig

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

Overview

Ad server related settings of an advertiser.

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) ⇒ AdvertiserAdServerConfig

Returns a new instance of AdvertiserAdServerConfig.



206
207
208
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 206

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

Instance Attribute Details

#cm_hybrid_configGoogle::Apis::DisplayvideoV1::CmHybridConfig

Settings for advertisers that use both Campaign Manager (CM) and third-party ad servers. Corresponds to the JSON property cmHybridConfig



199
200
201
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 199

def cm_hybrid_config
  @cm_hybrid_config
end

#third_party_only_configGoogle::Apis::DisplayvideoV1::ThirdPartyOnlyConfig

Settings for advertisers that use third-party ad servers only. Corresponds to the JSON property thirdPartyOnlyConfig



204
205
206
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 204

def third_party_only_config
  @third_party_only_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



211
212
213
214
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 211

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