Class: Google::Apis::Adexchangebuyer2V2beta1::AdTechnologyProviders

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

Overview

Detected ad technology provider information.

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

Returns a new instance of AdTechnologyProviders.


147
148
149
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 147

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

Instance Attribute Details

#detected_provider_idsArray<Fixnum>

The detected ad technology provider IDs for this creative. See https://storage. googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the BidRequest.adslot.consented_providers_settings. consented_providers field on the (Google bid protocol)[https://developers. google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the BidRequest.user.ext.consented_providers_settings.consented_providers field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/ downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction. Corresponds to the JSON property detectedProviderIds

Returns:

  • (Array<Fixnum>)

137
138
139
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 137

def detected_provider_ids
  @detected_provider_ids
end

#has_unidentified_providerBoolean Also known as: has_unidentified_provider?

Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction. Corresponds to the JSON property hasUnidentifiedProvider

Returns:

  • (Boolean)

144
145
146
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 144

def has_unidentified_provider
  @has_unidentified_provider
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


152
153
154
155
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 152

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