Class: Google::Apis::AdexchangebuyerV1_4::Account::BidderLocation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BidderLocation

Returns a new instance of BidderLocation.



140
141
142
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 140

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

Instance Attribute Details

#bid_protocolString

The protocol that the bidder endpoint is using. OpenRTB protocols with prefix PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. Allowed values:

  • PROTOCOL_ADX
  • PROTOCOL_OPENRTB_2_2
  • PROTOCOL_OPENRTB_2_3
  • PROTOCOL_OPENRTB_2_4
  • PROTOCOL_OPENRTB_2_5
  • PROTOCOL_OPENRTB_PROTOBUF_2_3
  • PROTOCOL_OPENRTB_PROTOBUF_2_4
  • PROTOCOL_OPENRTB_PROTOBUF_2_5 Corresponds to the JSON property bidProtocol

Returns:

  • (String)


117
118
119
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 117

def bid_protocol
  @bid_protocol
end

#maximum_qpsFixnum

The maximum queries per second the Ad Exchange will send. Corresponds to the JSON property maximumQps

Returns:

  • (Fixnum)


122
123
124
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 122

def maximum_qps
  @maximum_qps
end

#regionString

The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values:

  • ASIA
  • EUROPE
  • US_EAST
  • US_WEST Corresponds to the JSON property region

Returns:

  • (String)


133
134
135
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 133

def region
  @region
end

#urlString

The URL to which the Ad Exchange will send bid requests. Corresponds to the JSON property url

Returns:

  • (String)


138
139
140
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 138

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



145
146
147
148
149
150
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 145

def update!(**args)
  @bid_protocol = args[:bid_protocol] if args.key?(:bid_protocol)
  @maximum_qps = args[:maximum_qps] if args.key?(:maximum_qps)
  @region = args[:region] if args.key?(:region)
  @url = args[:url] if args.key?(:url)
end