Class: Google::Apis::AdexchangebuyerV1_4::Account::BidderLocation
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::Account::BidderLocation
- 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
-
#bid_protocol ⇒ String
The protocol that the bidder endpoint is using.
-
#maximum_qps ⇒ Fixnum
The maximum queries per second the Ad Exchange will send.
-
#region ⇒ String
The geographical region the Ad Exchange should send requests from.
-
#url ⇒ String
The URL to which the Ad Exchange will send bid requests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BidderLocation
constructor
A new instance of BidderLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BidderLocation
Returns a new instance of BidderLocation.
127 128 129 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 127 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bid_protocol ⇒ String
The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.3 right now. Allowed values:
- PROTOCOL_ADX
- PROTOCOL_OPENRTB_2_2
- PROTOCOL_OPENRTB_2_3
- PROTOCOL_OPENRTB_PROTOBUF
Corresponds to the JSON property
bidProtocol
104 105 106 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 104 def bid_protocol @bid_protocol end |
#maximum_qps ⇒ Fixnum
The maximum queries per second the Ad Exchange will send.
Corresponds to the JSON property maximumQps
109 110 111 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 109 def maximum_qps @maximum_qps end |
#region ⇒ String
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
120 121 122 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 120 def region @region end |
#url ⇒ String
The URL to which the Ad Exchange will send bid requests.
Corresponds to the JSON property url
125 126 127 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 125 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
132 133 134 135 136 137 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 132 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 |