blob: e0856acb517185cb85aad37b25834342579743d0 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="adexchangebuyer2_v2beta1.html">Ad Exchange Buyer API II</a> . <a href="adexchangebuyer2_v2beta1.accounts.html">accounts</a> . <a href="adexchangebuyer2_v2beta1.accounts.proposals.html">proposals</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#accept">accept(accountId, proposalId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Mark the proposal as accepted at the given revision number. If the number</p>
80<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#addNote">addNote(accountId, proposalId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">Create a new note and attach it to the proposal. The note is assigned</p>
83<p class="toc_element">
84 <code><a href="#cancelNegotiation">cancelNegotiation(accountId, proposalId, body=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Cancel an ongoing negotiation on a proposal. This does not cancel or end</p>
86<p class="toc_element">
87 <code><a href="#completeSetup">completeSetup(accountId, proposalId, body=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Update the given proposal to indicate that setup has been completed.</p>
89<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070090 <code><a href="#create">create(accountId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070091<p class="firstline">Create the given proposal. Each created proposal and any deals it contains</p>
92<p class="toc_element">
93 <code><a href="#get">get(accountId, proposalId, x__xgafv=None)</a></code></p>
94<p class="firstline">Gets a proposal given its ID. The proposal is returned at its head</p>
95<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070096 <code><a href="#list">list(accountId, pageToken=None, filterSyntax=None, filter=None, pageSize=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070097<p class="firstline">List proposals. A filter expression (PQL query) may be specified to</p>
98<p class="toc_element">
99 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
100<p class="firstline">Retrieves the next page of results.</p>
101<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700102 <code><a href="#pause">pause(accountId, proposalId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700103<p class="firstline">Update the given proposal to pause serving.</p>
104<p class="toc_element">
105 <code><a href="#resume">resume(accountId, proposalId, body=None, x__xgafv=None)</a></code></p>
106<p class="firstline">Update the given proposal to resume serving.</p>
107<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700108 <code><a href="#update">update(accountId, proposalId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700109<p class="firstline">Update the given proposal at the client known revision number. If the</p>
110<h3>Method Details</h3>
111<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700112 <code class="details" id="accept">accept(accountId, proposalId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700113 <pre>Mark the proposal as accepted at the given revision number. If the number
Bu Sun Kim65020912020-05-20 12:08:20 -0700114does not match the server&#x27;s revision number an `ABORTED` error message will
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700115be returned. This call updates the proposal_state from `PROPOSED` to
116`BUYER_ACCEPTED`, or from `SELLER_ACCEPTED` to `FINALIZED`.
117
118Args:
119 accountId: string, Account ID of the buyer. (required)
120 proposalId: string, The ID of the proposal to accept. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700121 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700122 The object takes the form of:
123
124{ # Request to accept a proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -0700125 &quot;proposalRevision&quot;: &quot;A String&quot;, # The last known client revision number of the proposal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700126 }
127
128 x__xgafv: string, V1 error format.
129 Allowed values
130 1 - v1 error format
131 2 - v2 error format
132
133Returns:
134 An object of the form:
135
136 { # Note: this resource requires whitelisting for access. Please contact your
137 # account manager for access to Marketplace resources.
138 #
139 # Represents a proposal in the Marketplace. A proposal is the unit of
140 # negotiation between a seller and a buyer and contains deals which
141 # are served.
142 #
143 # Note: you can not update, create, or otherwise modify Private
144 # Auction or Preferred Deals deals through the API.
145 #
146 # Fields are updatable unless noted otherwise.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700147 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal.
148 # Each update to the proposal or the deal causes the proposal revision number
149 # to auto-increment. The buyer keeps track of the last revision number they
150 # know of and pass it in when making an update. If the head revision number
151 # on the server has since incremented, then an ABORTED error is returned
152 # during the update operation to let the buyer know that a subsequent update
153 # was made.
Bu Sun Kim65020912020-05-20 12:08:20 -0700154 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -0700155 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700156 # (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
157 { # A deal represents a segment of inventory for displaying ads on.
158 # A proposal can contain multiple deals. A deal contains the terms and
159 # targeting information that is used for serving.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700160 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
161 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
162 # deal.
163 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700164 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals.
165 # PUBLISHER means creative is provided by seller and ADVERTISER means
166 # creative is provided by buyer.
Bu Sun Kim65020912020-05-20 12:08:20 -0700167 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared
168 # targeting entity is AND&#x27;d together.
169 { # Advertisers can target different attributes of an ad slot. For example,
170 # they can choose to show ads only if the user is in the U.S. Such
171 # targeting criteria can be specified as part of Shared Targeting.
172 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d
173 # together.
174 { # A polymorphic targeting value used as part of Shared Targeting.
Bu Sun Kim65020912020-05-20 12:08:20 -0700175 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
176 # Filled in when the key is GOOG_DAYPART_TARGETING.
177 # The definition of this targeting is derived from the structure
178 # used by Ad Manager.
179 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
180 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
181 { # Daypart targeting message that specifies if the ad can be shown
182 # only during certain parts of a day/week.
Bu Sun Kim65020912020-05-20 12:08:20 -0700183 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
184 # granularity). The end time is exclusive. This field is not available
185 # for filtering in PQL queries.
186 # or are specified elsewhere. An API may choose to allow leap seconds. Related
187 # types are google.type.Date and `google.protobuf.Timestamp`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700188 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Bu Sun Kim65020912020-05-20 12:08:20 -0700189 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
190 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700191 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Bu Sun Kim65020912020-05-20 12:08:20 -0700192 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
193 # allow the value 60 if it allows leap-seconds.
194 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700195 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
196 # The start time is inclusive.
197 # This field is not available for filtering in PQL queries.
198 # or are specified elsewhere. An API may choose to allow leap seconds. Related
199 # types are google.type.Date and `google.protobuf.Timestamp`.
200 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
201 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
202 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
203 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
204 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
205 # allow the value 60 if it allows leap-seconds.
206 },
207 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Bu Sun Kim65020912020-05-20 12:08:20 -0700208 },
209 ],
210 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700211 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
212 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
213 # Filled in when key = GOOG_CREATIVE_SIZE
214 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
215 # only if creative_size_type = CreativeSizeType.NATIVE.
216 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
217 # of the creative
218 # height depend on the type of the targeting.
219 &quot;width&quot;: 42, # The width of the creative
220 &quot;height&quot;: 42, # The height of the creative.
221 },
222 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
223 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
224 # If this repeated field is empty then all formats are allowed.
225 # For example, if this field contains AllowedFormatType.AUDIO then the
226 # publisher only allows an audio ad (without any video).
227 &quot;A String&quot;,
228 ],
229 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
230 # creative_size_type = CreativeSizeType.VIDEO.
231 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
232 # Companion sizes may be filled in only when creative_size_type = VIDEO
233 { # Message depicting the size of the creative. The units of width and
234 # height depend on the type of the targeting.
235 &quot;width&quot;: 42, # The width of the creative
236 &quot;height&quot;: 42, # The height of the creative.
237 },
238 ],
239 },
240 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
241 },
242 ],
243 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d
244 # together.
245 { # A polymorphic targeting value used as part of Shared Targeting.
246 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
247 # Filled in when the key is GOOG_DAYPART_TARGETING.
248 # The definition of this targeting is derived from the structure
249 # used by Ad Manager.
250 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
251 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
252 { # Daypart targeting message that specifies if the ad can be shown
253 # only during certain parts of a day/week.
254 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
255 # granularity). The end time is exclusive. This field is not available
256 # for filtering in PQL queries.
257 # or are specified elsewhere. An API may choose to allow leap seconds. Related
258 # types are google.type.Date and `google.protobuf.Timestamp`.
259 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
260 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
261 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
262 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
263 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
264 # allow the value 60 if it allows leap-seconds.
265 },
266 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
267 # The start time is inclusive.
268 # This field is not available for filtering in PQL queries.
269 # or are specified elsewhere. An API may choose to allow leap seconds. Related
270 # types are google.type.Date and `google.protobuf.Timestamp`.
271 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
272 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
273 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
274 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
275 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
276 # allow the value 60 if it allows leap-seconds.
277 },
278 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
279 },
280 ],
281 },
282 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
283 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
284 # Filled in when key = GOOG_CREATIVE_SIZE
285 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
286 # only if creative_size_type = CreativeSizeType.NATIVE.
287 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
288 # of the creative
289 # height depend on the type of the targeting.
290 &quot;width&quot;: 42, # The width of the creative
291 &quot;height&quot;: 42, # The height of the creative.
292 },
293 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
294 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
295 # If this repeated field is empty then all formats are allowed.
296 # For example, if this field contains AllowedFormatType.AUDIO then the
297 # publisher only allows an audio ad (without any video).
298 &quot;A String&quot;,
299 ],
300 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
301 # creative_size_type = CreativeSizeType.VIDEO.
302 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
303 # Companion sizes may be filled in only when creative_size_type = VIDEO
304 { # Message depicting the size of the creative. The units of width and
305 # height depend on the type of the targeting.
306 &quot;width&quot;: 42, # The width of the creative
307 &quot;height&quot;: 42, # The height of the creative.
308 },
309 ],
310 },
311 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Bu Sun Kim65020912020-05-20 12:08:20 -0700312 },
313 ],
314 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion.
315 # Targeting criteria defined by Google ad servers will begin with GOOG_.
316 # Third parties may define their own keys.
317 # A list of permissible keys along with the acceptable values will be
318 # provided as part of the external documentation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700319 },
320 ],
321 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ # Output only. Restricitions about the creatives associated with the deal
322 # (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals
323 # in Ad Manager.
324 # Preferred Deal in Ad Manager.
325 # This doesn&#x27;t apply to Private Auction and AdX Preferred Deals.
326 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
327 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
328 &quot;creativeSpecifications&quot;: [
329 { # Represents information for a creative that is associated with a Programmatic
330 # Guaranteed/Preferred Deal in Ad Manager.
331 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
332 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
333 # This field will be present only when size type is `PIXEL`.
334 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
335 # This field will be present only when size type is `PIXEL`.
336 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim65020912020-05-20 12:08:20 -0700337 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700338 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
339 { # Represents size of a single ad slot, or a creative.
340 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
341 # This field will be present only when size type is `PIXEL`.
342 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
343 # This field will be present only when size type is `PIXEL`.
344 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
345 },
346 ],
347 },
348 ],
349 },
350 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
351 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. # Output only. Tracks which parties (if any) have paused a deal.
352 # The deal is considered paused if either hasBuyerPaused or
353 # hasSellPaused is true.
354 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
355 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
356 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
357 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
358 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim65020912020-05-20 12:08:20 -0700359 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700360 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700361 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things # The negotiable terms of the deal.
362 # like price per buyer, the type of pricing model (e.g., fixed price, auction)
363 # and expected impressions from the publisher.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700364 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
365 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
366 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage
367 # of guaranteed looks that the buyer is guaranteeing to buy.
368 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Bu Sun Kim65020912020-05-20 12:08:20 -0700369 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
370 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
371 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
372 # a particular buyer or buyer/advertiser pair, we look for the most specific
373 # matching rule - we first look for a rule matching the buyer and advertiser,
374 # next a rule with the buyer but an empty advertiser list, and otherwise look
375 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700376 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
377 # If empty, all advertisers with this buyer pay this price.
378 &quot;A String&quot;,
379 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700380 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700381 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -0700382 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700383 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
384 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -0700385 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
386 # The value must be between -999,999,999 and +999,999,999 inclusive.
387 # If `units` is positive, `nanos` must be positive or zero.
388 # If `units` is zero, `nanos` can be positive, zero, or negative.
389 # If `units` is negative, `nanos` must be negative or zero.
390 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700391 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -0700392 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700393 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700394 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
395 # (if the
396 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
397 # Authorized Buyers account ID.
398 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
399 },
400 },
401 ],
402 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700403 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
404 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the
405 # time zone used to mark the boundaries of a day. It should be an
406 # IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information,
407 # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Bu Sun Kim65020912020-05-20 12:08:20 -0700408 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day.
409 # Can be set by buyer or seller.
410 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only # The terms for non-guaranteed auction deals.
411 # by the seller, but they can be returned in a get or list request.
412 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers
413 # in this private auction.
414 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
415 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
416 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
417 # a particular buyer or buyer/advertiser pair, we look for the most specific
418 # matching rule - we first look for a rule matching the buyer and advertiser,
419 # next a rule with the buyer but an empty advertiser list, and otherwise look
420 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700421 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
422 # If empty, all advertisers with this buyer pay this price.
423 &quot;A String&quot;,
424 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700425 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700426 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -0700427 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700428 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
429 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -0700430 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
431 # The value must be between -999,999,999 and +999,999,999 inclusive.
432 # If `units` is positive, `nanos` must be positive or zero.
433 # If `units` is zero, `nanos` can be positive, zero, or negative.
434 # If `units` is negative, `nanos` must be negative or zero.
435 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700436 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -0700437 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700438 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700439 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
440 # (if the
441 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
442 # Authorized Buyers account ID.
443 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
444 },
445 },
446 ],
447 },
448 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via # The terms for non-guaranteed fixed price deals.
449 # the API at this time, but can be returned in a get or list request.
450 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
451 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
452 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
453 # a particular buyer or buyer/advertiser pair, we look for the most specific
454 # matching rule - we first look for a rule matching the buyer and advertiser,
455 # next a rule with the buyer but an empty advertiser list, and otherwise look
456 # for a matching rule where no buyer is set.
Bu Sun Kim65020912020-05-20 12:08:20 -0700457 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
458 # If empty, all advertisers with this buyer pay this price.
459 &quot;A String&quot;,
460 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700461 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
462 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
463 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
464 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
465 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
466 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
467 # The value must be between -999,999,999 and +999,999,999 inclusive.
468 # If `units` is positive, `nanos` must be positive or zero.
469 # If `units` is zero, `nanos` can be positive, zero, or negative.
470 # If `units` is negative, `nanos` must be negative or zero.
471 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
472 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
473 },
474 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700475 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
476 # (if the
477 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
478 # Authorized Buyers account ID.
479 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
480 },
481 },
482 ],
483 },
484 &quot;estimatedGrossSpend&quot;: { # Represents a price and a pricing type for a product / deal. # Non-binding estimate of the estimated gross spend for this deal.
485 # Can be set by buyer or seller.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700486 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -0700487 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700488 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
489 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -0700490 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
491 # The value must be between -999,999,999 and +999,999,999 inclusive.
492 # If `units` is positive, `nanos` must be positive or zero.
493 # If `units` is zero, `nanos` can be positive, zero, or negative.
494 # If `units` is negative, `nanos` must be negative or zero.
495 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700496 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -0700497 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700498 },
499 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kim65020912020-05-20 12:08:20 -0700500 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700501 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is
502 # finalized. This is the deal ID that shows up in serving/reporting etc.
503 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created.
504 #
505 # Note: This field may be set only when creating the resource. Modifying
506 # this field while updating the resource will result in an error.
507 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
508 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Bu Sun Kim65020912020-05-20 12:08:20 -0700509 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to # Output only. Specifies the subset of inventory targeted by the deal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700510 # target ad inventory. For example, they can choose to target ad requests only
511 # if the user is in the US.
512 # Multiple types of targeting are always applied as a logical AND, unless noted
513 # otherwise.
Bu Sun Kim65020912020-05-20 12:08:20 -0700514 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or # Placement targeting information, e.g., URL, mobile applications.
515 # mobile applications.
516 # Different placement targeting types will be logically OR&#x27;ed.
517 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). # URLs to be included/excluded.
518 # For Private Auction and AdX Preferred Deals, URLs are either included or
519 # excluded.
520 # For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t
521 # apply.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700522 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -0700523 &quot;A String&quot;,
524 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700525 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -0700526 &quot;A String&quot;,
527 ],
528 },
529 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal.
530 # This doesn&#x27;t apply to Auction Packages.
531 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that # Publisher owned apps to be targeted or excluded by the publisher to
Dan O'Mearadd494642020-05-01 07:42:23 -0700532 # display the ads in.
533 # publishers own.
534 # Mobile application IDs are from App Store and Google Play Store.
535 # Android App ID, for example, com.google.android.apps.maps, can be found in
536 # Google Play Store URL.
537 # iOS App ID (which is a number) can be found at the end of iTunes store URL.
538 # First party mobile applications is either included or excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700539 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -0700540 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700541 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700542 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -0700543 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700544 ],
545 },
546 },
547 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700548 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad # Inventory sizes to be included/excluded.
549 # request. It only applies to Private Auction, AdX Preferred Deals and
550 # Auction Packages. This targeting does not apply to Programmatic Guaranteed
551 # and Preferred Deals in Ad Manager.
552 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
553 { # Represents size of a single ad slot, or a creative.
554 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
555 # This field will be present only when size type is `PIXEL`.
556 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
557 # This field will be present only when size type is `PIXEL`.
558 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
559 },
560 ],
561 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
562 { # Represents size of a single ad slot, or a creative.
563 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
564 # This field will be present only when size type is `PIXEL`.
565 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
566 # This field will be present only when size type is `PIXEL`.
567 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
568 },
569 ],
570 },
571 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # Geo criteria IDs to be included/excluded.
572 # included and excluded numeric IDs.
573 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
574 &quot;A String&quot;,
575 ],
576 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
577 &quot;A String&quot;,
578 ],
579 },
580 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
581 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
582 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating system versions to be included/excluded.
583 # included and excluded numeric IDs.
584 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
585 &quot;A String&quot;,
586 ],
587 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
588 &quot;A String&quot;,
589 ],
590 },
591 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating systems to be included/excluded.
592 # included and excluded numeric IDs.
593 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
594 &quot;A String&quot;,
595 ],
596 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
597 &quot;A String&quot;,
598 ],
599 },
600 },
601 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device capabilities to be included/excluded.
602 # included and excluded numeric IDs.
603 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
604 &quot;A String&quot;,
605 ],
606 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
607 &quot;A String&quot;,
608 ],
609 },
610 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device categories to be included/excluded.
611 # included and excluded numeric IDs.
612 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
613 &quot;A String&quot;,
614 ],
615 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
616 &quot;A String&quot;,
617 ],
618 },
619 },
620 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
621 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included.
622 # When the included list is present, the excluded list must be empty.
623 # When the excluded list is present, the included list must be empty.
624 &quot;A String&quot;,
625 ],
626 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded.
627 # Position types can either be included or excluded (XOR).
628 &quot;A String&quot;,
629 ],
630 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700631 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700632 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
633 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
634 # operations (max-length: 1024 unicode code units).
635 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700636 &quot;deliveryControl&quot;: { # Message contains details about how the deals will be paced. # The set of fields around delivery control that are interesting for a buyer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700637 # to see but are non-negotiable. These are set by the publisher.
Bu Sun Kim65020912020-05-20 12:08:20 -0700638 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700639 { # Frequency cap.
Bu Sun Kim65020912020-05-20 12:08:20 -0700640 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700641 # specified time period.
Bu Sun Kim65020912020-05-20 12:08:20 -0700642 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over
643 # which impressions per user are counted and capped.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700644 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the
645 # amount of time over which impressions per user are counted and capped.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700646 },
647 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700648 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700649 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700650 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700651 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal.
652 # This will generally be stored in a granularity of a second.
653 # A value is not required for Private Auction deals or Preferred Deals.
654 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal.
655 # This will generally be stored in the granularity of one second since deal
656 # serving starts at seconds boundary. Any time specified with more
657 # granularity (e.g., in milliseconds) will be truncated towards the start of
658 # time in seconds.
659 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
660 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
661 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from.
662 # If present on create, and the server `product_revision` has advanced sinced
663 # the passed-in `create_product_revision`, an `ABORTED` error will be
664 # returned.
665 #
666 # Note: This field may be set only when creating the resource. Modifying
667 # this field while updating the resource will result in an error.
668 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
669 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
670 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
671 { # Contains information on how a buyer or seller can be reached.
672 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
673 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700674 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700675 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700676 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700677 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal.
678 #
679 # Note: This field may be set only when creating the resource. Modifying
680 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700681 },
682 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700683 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Output only. Reference to the buyer that will get billed for this proposal.
684 # Authorized Buyers account ID.
685 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
686 },
687 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -0700688 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique # Reference to the seller on the proposal.
Dan O'Mearadd494642020-05-01 07:42:23 -0700689 #
690 # Note: This field may be set only when creating the resource. Modifying
691 # this field while updating the resource will result in an error.
692 # Ad Manager account ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700693 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
694 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field.
Dan O'Mearadd494642020-05-01 07:42:23 -0700695 # The seller account ID is then available to buyer in the product.
696 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700697 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
698 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
699 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
700 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
701 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
702 { # A proposal may be associated to several notes.
703 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
704 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
705 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
706 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
707 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
708 # (max-length: 1024 unicode code units)
709 #
710 # Note: This field may be set only when creating the resource. Modifying
711 # this field while updating the resource will result in an error.
712 },
713 ],
714 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
715 { # Contains information on how a buyer or seller can be reached.
716 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
717 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
718 },
719 ],
720 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
721 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
722 # operations (max-length: 1024 unicode code units).
723 },
724 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
725 { # Contains information on how a buyer or seller can be reached.
726 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
727 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
728 },
729 ],
730 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction
731 # proposal.
732 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
733 # proposal.
734 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Reference to the buyer on the proposal.
735 #
736 # Note: This field may be set only when creating the resource. Modifying
737 # this field while updating the resource will result in an error.
738 # Authorized Buyers account ID.
739 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
740 },
741 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or
742 # left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700743 }</pre>
744</div>
745
746<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700747 <code class="details" id="addNote">addNote(accountId, proposalId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700748 <pre>Create a new note and attach it to the proposal. The note is assigned
749a unique ID by the server.
750The proposal revision number will not increase when associated with a
751new note.
752
753Args:
754 accountId: string, Account ID of the buyer. (required)
755 proposalId: string, The ID of the proposal to attach the note to. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700756 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700757 The object takes the form of:
758
759{ # Request message for adding a note to a given proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -0700760 &quot;note&quot;: { # A proposal may be associated to several notes. # Details of the note to add.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700761 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
762 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
763 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
764 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700765 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700766 # (max-length: 1024 unicode code units)
767 #
768 # Note: This field may be set only when creating the resource. Modifying
769 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700770 },
771 }
772
773 x__xgafv: string, V1 error format.
774 Allowed values
775 1 - v1 error format
776 2 - v2 error format
777
778Returns:
779 An object of the form:
780
781 { # A proposal may be associated to several notes.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700782 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
783 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
784 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
785 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700786 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700787 # (max-length: 1024 unicode code units)
788 #
789 # Note: This field may be set only when creating the resource. Modifying
790 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700791 }</pre>
792</div>
793
794<div class="method">
795 <code class="details" id="cancelNegotiation">cancelNegotiation(accountId, proposalId, body=None, x__xgafv=None)</code>
796 <pre>Cancel an ongoing negotiation on a proposal. This does not cancel or end
797serving for the deals if the proposal has been finalized, but only cancels
798a negotiation unilaterally.
799
800Args:
801 accountId: string, Account ID of the buyer. (required)
802 proposalId: string, The ID of the proposal to cancel negotiation for. (required)
803 body: object, The request body.
804 The object takes the form of:
805
806{ # Request to cancel an ongoing negotiation.
807 }
808
809 x__xgafv: string, V1 error format.
810 Allowed values
811 1 - v1 error format
812 2 - v2 error format
813
814Returns:
815 An object of the form:
816
817 { # Note: this resource requires whitelisting for access. Please contact your
818 # account manager for access to Marketplace resources.
819 #
820 # Represents a proposal in the Marketplace. A proposal is the unit of
821 # negotiation between a seller and a buyer and contains deals which
822 # are served.
823 #
824 # Note: you can not update, create, or otherwise modify Private
825 # Auction or Preferred Deals deals through the API.
826 #
827 # Fields are updatable unless noted otherwise.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700828 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal.
829 # Each update to the proposal or the deal causes the proposal revision number
830 # to auto-increment. The buyer keeps track of the last revision number they
831 # know of and pass it in when making an update. If the head revision number
832 # on the server has since incremented, then an ABORTED error is returned
833 # during the update operation to let the buyer know that a subsequent update
834 # was made.
Bu Sun Kim65020912020-05-20 12:08:20 -0700835 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -0700836 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700837 # (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
838 { # A deal represents a segment of inventory for displaying ads on.
839 # A proposal can contain multiple deals. A deal contains the terms and
840 # targeting information that is used for serving.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700841 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
842 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
843 # deal.
844 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700845 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals.
846 # PUBLISHER means creative is provided by seller and ADVERTISER means
847 # creative is provided by buyer.
Bu Sun Kim65020912020-05-20 12:08:20 -0700848 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared
849 # targeting entity is AND&#x27;d together.
850 { # Advertisers can target different attributes of an ad slot. For example,
851 # they can choose to show ads only if the user is in the U.S. Such
852 # targeting criteria can be specified as part of Shared Targeting.
853 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d
854 # together.
855 { # A polymorphic targeting value used as part of Shared Targeting.
Bu Sun Kim65020912020-05-20 12:08:20 -0700856 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
857 # Filled in when the key is GOOG_DAYPART_TARGETING.
858 # The definition of this targeting is derived from the structure
859 # used by Ad Manager.
860 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
861 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
862 { # Daypart targeting message that specifies if the ad can be shown
863 # only during certain parts of a day/week.
Bu Sun Kim65020912020-05-20 12:08:20 -0700864 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
865 # granularity). The end time is exclusive. This field is not available
866 # for filtering in PQL queries.
867 # or are specified elsewhere. An API may choose to allow leap seconds. Related
868 # types are google.type.Date and `google.protobuf.Timestamp`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700869 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Bu Sun Kim65020912020-05-20 12:08:20 -0700870 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
871 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700872 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Bu Sun Kim65020912020-05-20 12:08:20 -0700873 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
874 # allow the value 60 if it allows leap-seconds.
875 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700876 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
877 # The start time is inclusive.
878 # This field is not available for filtering in PQL queries.
879 # or are specified elsewhere. An API may choose to allow leap seconds. Related
880 # types are google.type.Date and `google.protobuf.Timestamp`.
881 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
882 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
883 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
884 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
885 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
886 # allow the value 60 if it allows leap-seconds.
887 },
888 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Bu Sun Kim65020912020-05-20 12:08:20 -0700889 },
890 ],
891 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700892 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
893 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
894 # Filled in when key = GOOG_CREATIVE_SIZE
895 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
896 # only if creative_size_type = CreativeSizeType.NATIVE.
897 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
898 # of the creative
899 # height depend on the type of the targeting.
900 &quot;width&quot;: 42, # The width of the creative
901 &quot;height&quot;: 42, # The height of the creative.
902 },
903 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
904 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
905 # If this repeated field is empty then all formats are allowed.
906 # For example, if this field contains AllowedFormatType.AUDIO then the
907 # publisher only allows an audio ad (without any video).
908 &quot;A String&quot;,
909 ],
910 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
911 # creative_size_type = CreativeSizeType.VIDEO.
912 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
913 # Companion sizes may be filled in only when creative_size_type = VIDEO
914 { # Message depicting the size of the creative. The units of width and
915 # height depend on the type of the targeting.
916 &quot;width&quot;: 42, # The width of the creative
917 &quot;height&quot;: 42, # The height of the creative.
918 },
919 ],
920 },
921 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
922 },
923 ],
924 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d
925 # together.
926 { # A polymorphic targeting value used as part of Shared Targeting.
927 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
928 # Filled in when the key is GOOG_DAYPART_TARGETING.
929 # The definition of this targeting is derived from the structure
930 # used by Ad Manager.
931 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
932 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
933 { # Daypart targeting message that specifies if the ad can be shown
934 # only during certain parts of a day/week.
935 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
936 # granularity). The end time is exclusive. This field is not available
937 # for filtering in PQL queries.
938 # or are specified elsewhere. An API may choose to allow leap seconds. Related
939 # types are google.type.Date and `google.protobuf.Timestamp`.
940 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
941 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
942 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
943 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
944 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
945 # allow the value 60 if it allows leap-seconds.
946 },
947 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
948 # The start time is inclusive.
949 # This field is not available for filtering in PQL queries.
950 # or are specified elsewhere. An API may choose to allow leap seconds. Related
951 # types are google.type.Date and `google.protobuf.Timestamp`.
952 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
953 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
954 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
955 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
956 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
957 # allow the value 60 if it allows leap-seconds.
958 },
959 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
960 },
961 ],
962 },
963 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
964 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
965 # Filled in when key = GOOG_CREATIVE_SIZE
966 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
967 # only if creative_size_type = CreativeSizeType.NATIVE.
968 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
969 # of the creative
970 # height depend on the type of the targeting.
971 &quot;width&quot;: 42, # The width of the creative
972 &quot;height&quot;: 42, # The height of the creative.
973 },
974 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
975 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
976 # If this repeated field is empty then all formats are allowed.
977 # For example, if this field contains AllowedFormatType.AUDIO then the
978 # publisher only allows an audio ad (without any video).
979 &quot;A String&quot;,
980 ],
981 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
982 # creative_size_type = CreativeSizeType.VIDEO.
983 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
984 # Companion sizes may be filled in only when creative_size_type = VIDEO
985 { # Message depicting the size of the creative. The units of width and
986 # height depend on the type of the targeting.
987 &quot;width&quot;: 42, # The width of the creative
988 &quot;height&quot;: 42, # The height of the creative.
989 },
990 ],
991 },
992 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Bu Sun Kim65020912020-05-20 12:08:20 -0700993 },
994 ],
995 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion.
996 # Targeting criteria defined by Google ad servers will begin with GOOG_.
997 # Third parties may define their own keys.
998 # A list of permissible keys along with the acceptable values will be
999 # provided as part of the external documentation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001000 },
1001 ],
1002 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ # Output only. Restricitions about the creatives associated with the deal
1003 # (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals
1004 # in Ad Manager.
1005 # Preferred Deal in Ad Manager.
1006 # This doesn&#x27;t apply to Private Auction and AdX Preferred Deals.
1007 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1008 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
1009 &quot;creativeSpecifications&quot;: [
1010 { # Represents information for a creative that is associated with a Programmatic
1011 # Guaranteed/Preferred Deal in Ad Manager.
1012 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1013 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
1014 # This field will be present only when size type is `PIXEL`.
1015 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
1016 # This field will be present only when size type is `PIXEL`.
1017 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim65020912020-05-20 12:08:20 -07001018 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001019 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1020 { # Represents size of a single ad slot, or a creative.
1021 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
1022 # This field will be present only when size type is `PIXEL`.
1023 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
1024 # This field will be present only when size type is `PIXEL`.
1025 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1026 },
1027 ],
1028 },
1029 ],
1030 },
1031 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
1032 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. # Output only. Tracks which parties (if any) have paused a deal.
1033 # The deal is considered paused if either hasBuyerPaused or
1034 # hasSellPaused is true.
1035 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
1036 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
1037 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
1038 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
1039 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim65020912020-05-20 12:08:20 -07001040 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001041 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001042 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things # The negotiable terms of the deal.
1043 # like price per buyer, the type of pricing model (e.g., fixed price, auction)
1044 # and expected impressions from the publisher.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001045 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
1046 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
1047 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage
1048 # of guaranteed looks that the buyer is guaranteeing to buy.
1049 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Bu Sun Kim65020912020-05-20 12:08:20 -07001050 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1051 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
1052 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
1053 # a particular buyer or buyer/advertiser pair, we look for the most specific
1054 # matching rule - we first look for a rule matching the buyer and advertiser,
1055 # next a rule with the buyer but an empty advertiser list, and otherwise look
1056 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001057 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
1058 # If empty, all advertisers with this buyer pay this price.
1059 &quot;A String&quot;,
1060 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001061 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001062 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07001063 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001064 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
1065 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07001066 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
1067 # The value must be between -999,999,999 and +999,999,999 inclusive.
1068 # If `units` is positive, `nanos` must be positive or zero.
1069 # If `units` is zero, `nanos` can be positive, zero, or negative.
1070 # If `units` is negative, `nanos` must be negative or zero.
1071 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001072 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07001073 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001074 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001075 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
1076 # (if the
1077 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
1078 # Authorized Buyers account ID.
1079 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1080 },
1081 },
1082 ],
1083 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001084 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
1085 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the
1086 # time zone used to mark the boundaries of a day. It should be an
1087 # IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information,
1088 # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Bu Sun Kim65020912020-05-20 12:08:20 -07001089 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day.
1090 # Can be set by buyer or seller.
1091 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only # The terms for non-guaranteed auction deals.
1092 # by the seller, but they can be returned in a get or list request.
1093 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers
1094 # in this private auction.
1095 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
1096 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
1097 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
1098 # a particular buyer or buyer/advertiser pair, we look for the most specific
1099 # matching rule - we first look for a rule matching the buyer and advertiser,
1100 # next a rule with the buyer but an empty advertiser list, and otherwise look
1101 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001102 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
1103 # If empty, all advertisers with this buyer pay this price.
1104 &quot;A String&quot;,
1105 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001106 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001107 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07001108 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001109 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
1110 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07001111 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
1112 # The value must be between -999,999,999 and +999,999,999 inclusive.
1113 # If `units` is positive, `nanos` must be positive or zero.
1114 # If `units` is zero, `nanos` can be positive, zero, or negative.
1115 # If `units` is negative, `nanos` must be negative or zero.
1116 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001117 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07001118 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001119 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001120 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
1121 # (if the
1122 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
1123 # Authorized Buyers account ID.
1124 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1125 },
1126 },
1127 ],
1128 },
1129 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via # The terms for non-guaranteed fixed price deals.
1130 # the API at this time, but can be returned in a get or list request.
1131 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1132 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
1133 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
1134 # a particular buyer or buyer/advertiser pair, we look for the most specific
1135 # matching rule - we first look for a rule matching the buyer and advertiser,
1136 # next a rule with the buyer but an empty advertiser list, and otherwise look
1137 # for a matching rule where no buyer is set.
Bu Sun Kim65020912020-05-20 12:08:20 -07001138 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
1139 # If empty, all advertisers with this buyer pay this price.
1140 &quot;A String&quot;,
1141 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001142 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1143 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1144 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1145 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
1146 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
1147 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
1148 # The value must be between -999,999,999 and +999,999,999 inclusive.
1149 # If `units` is positive, `nanos` must be positive or zero.
1150 # If `units` is zero, `nanos` can be positive, zero, or negative.
1151 # If `units` is negative, `nanos` must be negative or zero.
1152 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1153 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
1154 },
1155 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001156 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
1157 # (if the
1158 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
1159 # Authorized Buyers account ID.
1160 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1161 },
1162 },
1163 ],
1164 },
1165 &quot;estimatedGrossSpend&quot;: { # Represents a price and a pricing type for a product / deal. # Non-binding estimate of the estimated gross spend for this deal.
1166 # Can be set by buyer or seller.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001167 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07001168 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001169 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
1170 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07001171 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
1172 # The value must be between -999,999,999 and +999,999,999 inclusive.
1173 # If `units` is positive, `nanos` must be positive or zero.
1174 # If `units` is zero, `nanos` can be positive, zero, or negative.
1175 # If `units` is negative, `nanos` must be negative or zero.
1176 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001177 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07001178 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001179 },
1180 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kim65020912020-05-20 12:08:20 -07001181 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001182 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is
1183 # finalized. This is the deal ID that shows up in serving/reporting etc.
1184 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created.
1185 #
1186 # Note: This field may be set only when creating the resource. Modifying
1187 # this field while updating the resource will result in an error.
1188 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
1189 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Bu Sun Kim65020912020-05-20 12:08:20 -07001190 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to # Output only. Specifies the subset of inventory targeted by the deal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001191 # target ad inventory. For example, they can choose to target ad requests only
1192 # if the user is in the US.
1193 # Multiple types of targeting are always applied as a logical AND, unless noted
1194 # otherwise.
Bu Sun Kim65020912020-05-20 12:08:20 -07001195 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or # Placement targeting information, e.g., URL, mobile applications.
1196 # mobile applications.
1197 # Different placement targeting types will be logically OR&#x27;ed.
1198 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). # URLs to be included/excluded.
1199 # For Private Auction and AdX Preferred Deals, URLs are either included or
1200 # excluded.
1201 # For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t
1202 # apply.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001203 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07001204 &quot;A String&quot;,
1205 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001206 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07001207 &quot;A String&quot;,
1208 ],
1209 },
1210 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal.
1211 # This doesn&#x27;t apply to Auction Packages.
1212 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that # Publisher owned apps to be targeted or excluded by the publisher to
Dan O'Mearadd494642020-05-01 07:42:23 -07001213 # display the ads in.
1214 # publishers own.
1215 # Mobile application IDs are from App Store and Google Play Store.
1216 # Android App ID, for example, com.google.android.apps.maps, can be found in
1217 # Google Play Store URL.
1218 # iOS App ID (which is a number) can be found at the end of iTunes store URL.
1219 # First party mobile applications is either included or excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001220 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07001221 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001222 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001223 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07001224 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001225 ],
1226 },
1227 },
1228 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001229 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad # Inventory sizes to be included/excluded.
1230 # request. It only applies to Private Auction, AdX Preferred Deals and
1231 # Auction Packages. This targeting does not apply to Programmatic Guaranteed
1232 # and Preferred Deals in Ad Manager.
1233 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1234 { # Represents size of a single ad slot, or a creative.
1235 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
1236 # This field will be present only when size type is `PIXEL`.
1237 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
1238 # This field will be present only when size type is `PIXEL`.
1239 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1240 },
1241 ],
1242 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1243 { # Represents size of a single ad slot, or a creative.
1244 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
1245 # This field will be present only when size type is `PIXEL`.
1246 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
1247 # This field will be present only when size type is `PIXEL`.
1248 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1249 },
1250 ],
1251 },
1252 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # Geo criteria IDs to be included/excluded.
1253 # included and excluded numeric IDs.
1254 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1255 &quot;A String&quot;,
1256 ],
1257 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1258 &quot;A String&quot;,
1259 ],
1260 },
1261 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
1262 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
1263 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating system versions to be included/excluded.
1264 # included and excluded numeric IDs.
1265 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1266 &quot;A String&quot;,
1267 ],
1268 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1269 &quot;A String&quot;,
1270 ],
1271 },
1272 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating systems to be included/excluded.
1273 # included and excluded numeric IDs.
1274 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1275 &quot;A String&quot;,
1276 ],
1277 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1278 &quot;A String&quot;,
1279 ],
1280 },
1281 },
1282 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device capabilities to be included/excluded.
1283 # included and excluded numeric IDs.
1284 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1285 &quot;A String&quot;,
1286 ],
1287 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1288 &quot;A String&quot;,
1289 ],
1290 },
1291 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device categories to be included/excluded.
1292 # included and excluded numeric IDs.
1293 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1294 &quot;A String&quot;,
1295 ],
1296 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1297 &quot;A String&quot;,
1298 ],
1299 },
1300 },
1301 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1302 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included.
1303 # When the included list is present, the excluded list must be empty.
1304 # When the excluded list is present, the included list must be empty.
1305 &quot;A String&quot;,
1306 ],
1307 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded.
1308 # Position types can either be included or excluded (XOR).
1309 &quot;A String&quot;,
1310 ],
1311 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001312 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001313 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
1314 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
1315 # operations (max-length: 1024 unicode code units).
1316 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001317 &quot;deliveryControl&quot;: { # Message contains details about how the deals will be paced. # The set of fields around delivery control that are interesting for a buyer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001318 # to see but are non-negotiable. These are set by the publisher.
Bu Sun Kim65020912020-05-20 12:08:20 -07001319 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001320 { # Frequency cap.
Bu Sun Kim65020912020-05-20 12:08:20 -07001321 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001322 # specified time period.
Bu Sun Kim65020912020-05-20 12:08:20 -07001323 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over
1324 # which impressions per user are counted and capped.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001325 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the
1326 # amount of time over which impressions per user are counted and capped.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001327 },
1328 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001329 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001330 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001331 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001332 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal.
1333 # This will generally be stored in a granularity of a second.
1334 # A value is not required for Private Auction deals or Preferred Deals.
1335 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal.
1336 # This will generally be stored in the granularity of one second since deal
1337 # serving starts at seconds boundary. Any time specified with more
1338 # granularity (e.g., in milliseconds) will be truncated towards the start of
1339 # time in seconds.
1340 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
1341 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
1342 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from.
1343 # If present on create, and the server `product_revision` has advanced sinced
1344 # the passed-in `create_product_revision`, an `ABORTED` error will be
1345 # returned.
1346 #
1347 # Note: This field may be set only when creating the resource. Modifying
1348 # this field while updating the resource will result in an error.
1349 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
1350 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
1351 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1352 { # Contains information on how a buyer or seller can be reached.
1353 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1354 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001355 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001356 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001357 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001358 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal.
1359 #
1360 # Note: This field may be set only when creating the resource. Modifying
1361 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001362 },
1363 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001364 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Output only. Reference to the buyer that will get billed for this proposal.
1365 # Authorized Buyers account ID.
1366 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1367 },
1368 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07001369 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique # Reference to the seller on the proposal.
Dan O'Mearadd494642020-05-01 07:42:23 -07001370 #
1371 # Note: This field may be set only when creating the resource. Modifying
1372 # this field while updating the resource will result in an error.
1373 # Ad Manager account ID.
Bu Sun Kim65020912020-05-20 12:08:20 -07001374 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
1375 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field.
Dan O'Mearadd494642020-05-01 07:42:23 -07001376 # The seller account ID is then available to buyer in the product.
1377 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001378 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
1379 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
1380 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
1381 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
1382 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
1383 { # A proposal may be associated to several notes.
1384 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
1385 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
1386 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
1387 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
1388 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
1389 # (max-length: 1024 unicode code units)
1390 #
1391 # Note: This field may be set only when creating the resource. Modifying
1392 # this field while updating the resource will result in an error.
1393 },
1394 ],
1395 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
1396 { # Contains information on how a buyer or seller can be reached.
1397 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1398 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1399 },
1400 ],
1401 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
1402 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
1403 # operations (max-length: 1024 unicode code units).
1404 },
1405 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
1406 { # Contains information on how a buyer or seller can be reached.
1407 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1408 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1409 },
1410 ],
1411 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction
1412 # proposal.
1413 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
1414 # proposal.
1415 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Reference to the buyer on the proposal.
1416 #
1417 # Note: This field may be set only when creating the resource. Modifying
1418 # this field while updating the resource will result in an error.
1419 # Authorized Buyers account ID.
1420 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1421 },
1422 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or
1423 # left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001424 }</pre>
1425</div>
1426
1427<div class="method">
1428 <code class="details" id="completeSetup">completeSetup(accountId, proposalId, body=None, x__xgafv=None)</code>
1429 <pre>Update the given proposal to indicate that setup has been completed.
1430This method is called by the buyer when the line items have been created
1431on their end for a finalized proposal and all the required creatives
1432have been uploaded using the creatives API. This call updates the
1433`is_setup_completed` bit on the proposal and also notifies the seller.
1434The server will advance the revision number of the most recent proposal.
1435
1436Args:
1437 accountId: string, Account ID of the buyer. (required)
1438 proposalId: string, The ID of the proposal to mark as setup completed. (required)
1439 body: object, The request body.
1440 The object takes the form of:
1441
Bu Sun Kim65020912020-05-20 12:08:20 -07001442{ # Request message for indicating that the proposal&#x27;s setup step is complete.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001443 }
1444
1445 x__xgafv: string, V1 error format.
1446 Allowed values
1447 1 - v1 error format
1448 2 - v2 error format
1449
1450Returns:
1451 An object of the form:
1452
1453 { # Note: this resource requires whitelisting for access. Please contact your
1454 # account manager for access to Marketplace resources.
1455 #
1456 # Represents a proposal in the Marketplace. A proposal is the unit of
1457 # negotiation between a seller and a buyer and contains deals which
1458 # are served.
1459 #
1460 # Note: you can not update, create, or otherwise modify Private
1461 # Auction or Preferred Deals deals through the API.
1462 #
1463 # Fields are updatable unless noted otherwise.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001464 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal.
1465 # Each update to the proposal or the deal causes the proposal revision number
1466 # to auto-increment. The buyer keeps track of the last revision number they
1467 # know of and pass it in when making an update. If the head revision number
1468 # on the server has since incremented, then an ABORTED error is returned
1469 # during the update operation to let the buyer know that a subsequent update
1470 # was made.
Bu Sun Kim65020912020-05-20 12:08:20 -07001471 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07001472 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001473 # (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
1474 { # A deal represents a segment of inventory for displaying ads on.
1475 # A proposal can contain multiple deals. A deal contains the terms and
1476 # targeting information that is used for serving.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001477 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
1478 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
1479 # deal.
1480 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Bu Sun Kim65020912020-05-20 12:08:20 -07001481 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals.
1482 # PUBLISHER means creative is provided by seller and ADVERTISER means
1483 # creative is provided by buyer.
Bu Sun Kim65020912020-05-20 12:08:20 -07001484 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared
1485 # targeting entity is AND&#x27;d together.
1486 { # Advertisers can target different attributes of an ad slot. For example,
1487 # they can choose to show ads only if the user is in the U.S. Such
1488 # targeting criteria can be specified as part of Shared Targeting.
1489 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d
1490 # together.
1491 { # A polymorphic targeting value used as part of Shared Targeting.
Bu Sun Kim65020912020-05-20 12:08:20 -07001492 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
1493 # Filled in when the key is GOOG_DAYPART_TARGETING.
1494 # The definition of this targeting is derived from the structure
1495 # used by Ad Manager.
1496 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1497 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1498 { # Daypart targeting message that specifies if the ad can be shown
1499 # only during certain parts of a day/week.
Bu Sun Kim65020912020-05-20 12:08:20 -07001500 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
1501 # granularity). The end time is exclusive. This field is not available
1502 # for filtering in PQL queries.
1503 # or are specified elsewhere. An API may choose to allow leap seconds. Related
1504 # types are google.type.Date and `google.protobuf.Timestamp`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001505 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Bu Sun Kim65020912020-05-20 12:08:20 -07001506 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
1507 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001508 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Bu Sun Kim65020912020-05-20 12:08:20 -07001509 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
1510 # allow the value 60 if it allows leap-seconds.
1511 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001512 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
1513 # The start time is inclusive.
1514 # This field is not available for filtering in PQL queries.
1515 # or are specified elsewhere. An API may choose to allow leap seconds. Related
1516 # types are google.type.Date and `google.protobuf.Timestamp`.
1517 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1518 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
1519 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1520 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1521 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
1522 # allow the value 60 if it allows leap-seconds.
1523 },
1524 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Bu Sun Kim65020912020-05-20 12:08:20 -07001525 },
1526 ],
1527 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001528 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1529 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
1530 # Filled in when key = GOOG_CREATIVE_SIZE
1531 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
1532 # only if creative_size_type = CreativeSizeType.NATIVE.
1533 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
1534 # of the creative
1535 # height depend on the type of the targeting.
1536 &quot;width&quot;: 42, # The width of the creative
1537 &quot;height&quot;: 42, # The height of the creative.
1538 },
1539 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1540 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
1541 # If this repeated field is empty then all formats are allowed.
1542 # For example, if this field contains AllowedFormatType.AUDIO then the
1543 # publisher only allows an audio ad (without any video).
1544 &quot;A String&quot;,
1545 ],
1546 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
1547 # creative_size_type = CreativeSizeType.VIDEO.
1548 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
1549 # Companion sizes may be filled in only when creative_size_type = VIDEO
1550 { # Message depicting the size of the creative. The units of width and
1551 # height depend on the type of the targeting.
1552 &quot;width&quot;: 42, # The width of the creative
1553 &quot;height&quot;: 42, # The height of the creative.
1554 },
1555 ],
1556 },
1557 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1558 },
1559 ],
1560 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d
1561 # together.
1562 { # A polymorphic targeting value used as part of Shared Targeting.
1563 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
1564 # Filled in when the key is GOOG_DAYPART_TARGETING.
1565 # The definition of this targeting is derived from the structure
1566 # used by Ad Manager.
1567 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1568 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1569 { # Daypart targeting message that specifies if the ad can be shown
1570 # only during certain parts of a day/week.
1571 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
1572 # granularity). The end time is exclusive. This field is not available
1573 # for filtering in PQL queries.
1574 # or are specified elsewhere. An API may choose to allow leap seconds. Related
1575 # types are google.type.Date and `google.protobuf.Timestamp`.
1576 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1577 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
1578 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1579 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1580 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
1581 # allow the value 60 if it allows leap-seconds.
1582 },
1583 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
1584 # The start time is inclusive.
1585 # This field is not available for filtering in PQL queries.
1586 # or are specified elsewhere. An API may choose to allow leap seconds. Related
1587 # types are google.type.Date and `google.protobuf.Timestamp`.
1588 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1589 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
1590 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1591 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1592 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
1593 # allow the value 60 if it allows leap-seconds.
1594 },
1595 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1596 },
1597 ],
1598 },
1599 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1600 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
1601 # Filled in when key = GOOG_CREATIVE_SIZE
1602 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
1603 # only if creative_size_type = CreativeSizeType.NATIVE.
1604 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
1605 # of the creative
1606 # height depend on the type of the targeting.
1607 &quot;width&quot;: 42, # The width of the creative
1608 &quot;height&quot;: 42, # The height of the creative.
1609 },
1610 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1611 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
1612 # If this repeated field is empty then all formats are allowed.
1613 # For example, if this field contains AllowedFormatType.AUDIO then the
1614 # publisher only allows an audio ad (without any video).
1615 &quot;A String&quot;,
1616 ],
1617 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
1618 # creative_size_type = CreativeSizeType.VIDEO.
1619 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
1620 # Companion sizes may be filled in only when creative_size_type = VIDEO
1621 { # Message depicting the size of the creative. The units of width and
1622 # height depend on the type of the targeting.
1623 &quot;width&quot;: 42, # The width of the creative
1624 &quot;height&quot;: 42, # The height of the creative.
1625 },
1626 ],
1627 },
1628 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Bu Sun Kim65020912020-05-20 12:08:20 -07001629 },
1630 ],
1631 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion.
1632 # Targeting criteria defined by Google ad servers will begin with GOOG_.
1633 # Third parties may define their own keys.
1634 # A list of permissible keys along with the acceptable values will be
1635 # provided as part of the external documentation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001636 },
1637 ],
1638 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ # Output only. Restricitions about the creatives associated with the deal
1639 # (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals
1640 # in Ad Manager.
1641 # Preferred Deal in Ad Manager.
1642 # This doesn&#x27;t apply to Private Auction and AdX Preferred Deals.
1643 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1644 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
1645 &quot;creativeSpecifications&quot;: [
1646 { # Represents information for a creative that is associated with a Programmatic
1647 # Guaranteed/Preferred Deal in Ad Manager.
1648 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1649 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
1650 # This field will be present only when size type is `PIXEL`.
1651 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
1652 # This field will be present only when size type is `PIXEL`.
1653 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim65020912020-05-20 12:08:20 -07001654 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001655 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1656 { # Represents size of a single ad slot, or a creative.
1657 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
1658 # This field will be present only when size type is `PIXEL`.
1659 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
1660 # This field will be present only when size type is `PIXEL`.
1661 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1662 },
1663 ],
1664 },
1665 ],
1666 },
1667 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
1668 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. # Output only. Tracks which parties (if any) have paused a deal.
1669 # The deal is considered paused if either hasBuyerPaused or
1670 # hasSellPaused is true.
1671 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
1672 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
1673 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
1674 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
1675 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim65020912020-05-20 12:08:20 -07001676 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001677 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001678 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things # The negotiable terms of the deal.
1679 # like price per buyer, the type of pricing model (e.g., fixed price, auction)
1680 # and expected impressions from the publisher.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001681 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
1682 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
1683 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage
1684 # of guaranteed looks that the buyer is guaranteeing to buy.
1685 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Bu Sun Kim65020912020-05-20 12:08:20 -07001686 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1687 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
1688 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
1689 # a particular buyer or buyer/advertiser pair, we look for the most specific
1690 # matching rule - we first look for a rule matching the buyer and advertiser,
1691 # next a rule with the buyer but an empty advertiser list, and otherwise look
1692 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001693 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
1694 # If empty, all advertisers with this buyer pay this price.
1695 &quot;A String&quot;,
1696 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001697 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001698 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07001699 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001700 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
1701 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07001702 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
1703 # The value must be between -999,999,999 and +999,999,999 inclusive.
1704 # If `units` is positive, `nanos` must be positive or zero.
1705 # If `units` is zero, `nanos` can be positive, zero, or negative.
1706 # If `units` is negative, `nanos` must be negative or zero.
1707 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001708 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07001709 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001710 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001711 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
1712 # (if the
1713 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
1714 # Authorized Buyers account ID.
1715 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1716 },
1717 },
1718 ],
1719 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001720 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
1721 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the
1722 # time zone used to mark the boundaries of a day. It should be an
1723 # IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information,
1724 # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Bu Sun Kim65020912020-05-20 12:08:20 -07001725 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day.
1726 # Can be set by buyer or seller.
1727 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only # The terms for non-guaranteed auction deals.
1728 # by the seller, but they can be returned in a get or list request.
1729 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers
1730 # in this private auction.
1731 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
1732 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
1733 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
1734 # a particular buyer or buyer/advertiser pair, we look for the most specific
1735 # matching rule - we first look for a rule matching the buyer and advertiser,
1736 # next a rule with the buyer but an empty advertiser list, and otherwise look
1737 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001738 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
1739 # If empty, all advertisers with this buyer pay this price.
1740 &quot;A String&quot;,
1741 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001742 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001743 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07001744 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001745 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
1746 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07001747 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
1748 # The value must be between -999,999,999 and +999,999,999 inclusive.
1749 # If `units` is positive, `nanos` must be positive or zero.
1750 # If `units` is zero, `nanos` can be positive, zero, or negative.
1751 # If `units` is negative, `nanos` must be negative or zero.
1752 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001753 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07001754 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001755 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001756 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
1757 # (if the
1758 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
1759 # Authorized Buyers account ID.
1760 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1761 },
1762 },
1763 ],
1764 },
1765 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via # The terms for non-guaranteed fixed price deals.
1766 # the API at this time, but can be returned in a get or list request.
1767 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1768 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
1769 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
1770 # a particular buyer or buyer/advertiser pair, we look for the most specific
1771 # matching rule - we first look for a rule matching the buyer and advertiser,
1772 # next a rule with the buyer but an empty advertiser list, and otherwise look
1773 # for a matching rule where no buyer is set.
Bu Sun Kim65020912020-05-20 12:08:20 -07001774 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
1775 # If empty, all advertisers with this buyer pay this price.
1776 &quot;A String&quot;,
1777 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001778 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1779 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1780 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1781 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
1782 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
1783 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
1784 # The value must be between -999,999,999 and +999,999,999 inclusive.
1785 # If `units` is positive, `nanos` must be positive or zero.
1786 # If `units` is zero, `nanos` can be positive, zero, or negative.
1787 # If `units` is negative, `nanos` must be negative or zero.
1788 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1789 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
1790 },
1791 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001792 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
1793 # (if the
1794 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
1795 # Authorized Buyers account ID.
1796 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1797 },
1798 },
1799 ],
1800 },
1801 &quot;estimatedGrossSpend&quot;: { # Represents a price and a pricing type for a product / deal. # Non-binding estimate of the estimated gross spend for this deal.
1802 # Can be set by buyer or seller.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001803 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07001804 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001805 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
1806 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07001807 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
1808 # The value must be between -999,999,999 and +999,999,999 inclusive.
1809 # If `units` is positive, `nanos` must be positive or zero.
1810 # If `units` is zero, `nanos` can be positive, zero, or negative.
1811 # If `units` is negative, `nanos` must be negative or zero.
1812 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001813 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07001814 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001815 },
1816 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kim65020912020-05-20 12:08:20 -07001817 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001818 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is
1819 # finalized. This is the deal ID that shows up in serving/reporting etc.
1820 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created.
1821 #
1822 # Note: This field may be set only when creating the resource. Modifying
1823 # this field while updating the resource will result in an error.
1824 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
1825 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Bu Sun Kim65020912020-05-20 12:08:20 -07001826 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to # Output only. Specifies the subset of inventory targeted by the deal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001827 # target ad inventory. For example, they can choose to target ad requests only
1828 # if the user is in the US.
1829 # Multiple types of targeting are always applied as a logical AND, unless noted
1830 # otherwise.
Bu Sun Kim65020912020-05-20 12:08:20 -07001831 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or # Placement targeting information, e.g., URL, mobile applications.
1832 # mobile applications.
1833 # Different placement targeting types will be logically OR&#x27;ed.
1834 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). # URLs to be included/excluded.
1835 # For Private Auction and AdX Preferred Deals, URLs are either included or
1836 # excluded.
1837 # For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t
1838 # apply.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001839 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07001840 &quot;A String&quot;,
1841 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001842 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07001843 &quot;A String&quot;,
1844 ],
1845 },
1846 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal.
1847 # This doesn&#x27;t apply to Auction Packages.
1848 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that # Publisher owned apps to be targeted or excluded by the publisher to
Dan O'Mearadd494642020-05-01 07:42:23 -07001849 # display the ads in.
1850 # publishers own.
1851 # Mobile application IDs are from App Store and Google Play Store.
1852 # Android App ID, for example, com.google.android.apps.maps, can be found in
1853 # Google Play Store URL.
1854 # iOS App ID (which is a number) can be found at the end of iTunes store URL.
1855 # First party mobile applications is either included or excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001856 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07001857 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001858 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001859 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07001860 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001861 ],
1862 },
1863 },
1864 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001865 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad # Inventory sizes to be included/excluded.
1866 # request. It only applies to Private Auction, AdX Preferred Deals and
1867 # Auction Packages. This targeting does not apply to Programmatic Guaranteed
1868 # and Preferred Deals in Ad Manager.
1869 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1870 { # Represents size of a single ad slot, or a creative.
1871 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
1872 # This field will be present only when size type is `PIXEL`.
1873 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
1874 # This field will be present only when size type is `PIXEL`.
1875 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1876 },
1877 ],
1878 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1879 { # Represents size of a single ad slot, or a creative.
1880 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
1881 # This field will be present only when size type is `PIXEL`.
1882 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
1883 # This field will be present only when size type is `PIXEL`.
1884 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1885 },
1886 ],
1887 },
1888 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # Geo criteria IDs to be included/excluded.
1889 # included and excluded numeric IDs.
1890 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1891 &quot;A String&quot;,
1892 ],
1893 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1894 &quot;A String&quot;,
1895 ],
1896 },
1897 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
1898 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
1899 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating system versions to be included/excluded.
1900 # included and excluded numeric IDs.
1901 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1902 &quot;A String&quot;,
1903 ],
1904 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1905 &quot;A String&quot;,
1906 ],
1907 },
1908 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating systems to be included/excluded.
1909 # included and excluded numeric IDs.
1910 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1911 &quot;A String&quot;,
1912 ],
1913 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1914 &quot;A String&quot;,
1915 ],
1916 },
1917 },
1918 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device capabilities to be included/excluded.
1919 # included and excluded numeric IDs.
1920 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1921 &quot;A String&quot;,
1922 ],
1923 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1924 &quot;A String&quot;,
1925 ],
1926 },
1927 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device categories to be included/excluded.
1928 # included and excluded numeric IDs.
1929 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1930 &quot;A String&quot;,
1931 ],
1932 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1933 &quot;A String&quot;,
1934 ],
1935 },
1936 },
1937 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1938 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included.
1939 # When the included list is present, the excluded list must be empty.
1940 # When the excluded list is present, the included list must be empty.
1941 &quot;A String&quot;,
1942 ],
1943 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded.
1944 # Position types can either be included or excluded (XOR).
1945 &quot;A String&quot;,
1946 ],
1947 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001948 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001949 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
1950 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
1951 # operations (max-length: 1024 unicode code units).
1952 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001953 &quot;deliveryControl&quot;: { # Message contains details about how the deals will be paced. # The set of fields around delivery control that are interesting for a buyer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001954 # to see but are non-negotiable. These are set by the publisher.
Bu Sun Kim65020912020-05-20 12:08:20 -07001955 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001956 { # Frequency cap.
Bu Sun Kim65020912020-05-20 12:08:20 -07001957 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001958 # specified time period.
Bu Sun Kim65020912020-05-20 12:08:20 -07001959 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over
1960 # which impressions per user are counted and capped.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001961 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the
1962 # amount of time over which impressions per user are counted and capped.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001963 },
1964 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001965 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001966 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001967 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001968 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal.
1969 # This will generally be stored in a granularity of a second.
1970 # A value is not required for Private Auction deals or Preferred Deals.
1971 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal.
1972 # This will generally be stored in the granularity of one second since deal
1973 # serving starts at seconds boundary. Any time specified with more
1974 # granularity (e.g., in milliseconds) will be truncated towards the start of
1975 # time in seconds.
1976 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
1977 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
1978 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from.
1979 # If present on create, and the server `product_revision` has advanced sinced
1980 # the passed-in `create_product_revision`, an `ABORTED` error will be
1981 # returned.
1982 #
1983 # Note: This field may be set only when creating the resource. Modifying
1984 # this field while updating the resource will result in an error.
1985 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
1986 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
1987 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1988 { # Contains information on how a buyer or seller can be reached.
1989 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1990 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001991 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001992 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001993 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001994 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal.
1995 #
1996 # Note: This field may be set only when creating the resource. Modifying
1997 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001998 },
1999 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002000 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Output only. Reference to the buyer that will get billed for this proposal.
2001 # Authorized Buyers account ID.
2002 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2003 },
2004 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07002005 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique # Reference to the seller on the proposal.
Dan O'Mearadd494642020-05-01 07:42:23 -07002006 #
2007 # Note: This field may be set only when creating the resource. Modifying
2008 # this field while updating the resource will result in an error.
2009 # Ad Manager account ID.
Bu Sun Kim65020912020-05-20 12:08:20 -07002010 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2011 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field.
Dan O'Mearadd494642020-05-01 07:42:23 -07002012 # The seller account ID is then available to buyer in the product.
2013 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002014 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
2015 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
2016 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2017 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2018 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2019 { # A proposal may be associated to several notes.
2020 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
2021 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
2022 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2023 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
2024 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
2025 # (max-length: 1024 unicode code units)
2026 #
2027 # Note: This field may be set only when creating the resource. Modifying
2028 # this field while updating the resource will result in an error.
2029 },
2030 ],
2031 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2032 { # Contains information on how a buyer or seller can be reached.
2033 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2034 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2035 },
2036 ],
2037 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2038 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
2039 # operations (max-length: 1024 unicode code units).
2040 },
2041 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2042 { # Contains information on how a buyer or seller can be reached.
2043 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2044 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2045 },
2046 ],
2047 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction
2048 # proposal.
2049 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
2050 # proposal.
2051 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Reference to the buyer on the proposal.
2052 #
2053 # Note: This field may be set only when creating the resource. Modifying
2054 # this field while updating the resource will result in an error.
2055 # Authorized Buyers account ID.
2056 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2057 },
2058 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or
2059 # left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002060 }</pre>
2061</div>
2062
2063<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002064 <code class="details" id="create">create(accountId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002065 <pre>Create the given proposal. Each created proposal and any deals it contains
2066are assigned a unique ID by the server.
2067
2068Args:
2069 accountId: string, Account ID of the buyer. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002070 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002071 The object takes the form of:
2072
2073{ # Note: this resource requires whitelisting for access. Please contact your
2074 # account manager for access to Marketplace resources.
2075 #
2076 # Represents a proposal in the Marketplace. A proposal is the unit of
2077 # negotiation between a seller and a buyer and contains deals which
2078 # are served.
2079 #
2080 # Note: you can not update, create, or otherwise modify Private
2081 # Auction or Preferred Deals deals through the API.
2082 #
2083 # Fields are updatable unless noted otherwise.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002084 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal.
2085 # Each update to the proposal or the deal causes the proposal revision number
2086 # to auto-increment. The buyer keeps track of the last revision number they
2087 # know of and pass it in when making an update. If the head revision number
2088 # on the server has since incremented, then an ABORTED error is returned
2089 # during the update operation to let the buyer know that a subsequent update
2090 # was made.
Bu Sun Kim65020912020-05-20 12:08:20 -07002091 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07002092 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002093 # (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2094 { # A deal represents a segment of inventory for displaying ads on.
2095 # A proposal can contain multiple deals. A deal contains the terms and
2096 # targeting information that is used for serving.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002097 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
2098 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
2099 # deal.
2100 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Bu Sun Kim65020912020-05-20 12:08:20 -07002101 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals.
2102 # PUBLISHER means creative is provided by seller and ADVERTISER means
2103 # creative is provided by buyer.
Bu Sun Kim65020912020-05-20 12:08:20 -07002104 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared
2105 # targeting entity is AND&#x27;d together.
2106 { # Advertisers can target different attributes of an ad slot. For example,
2107 # they can choose to show ads only if the user is in the U.S. Such
2108 # targeting criteria can be specified as part of Shared Targeting.
2109 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d
2110 # together.
2111 { # A polymorphic targeting value used as part of Shared Targeting.
Bu Sun Kim65020912020-05-20 12:08:20 -07002112 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
2113 # Filled in when the key is GOOG_DAYPART_TARGETING.
2114 # The definition of this targeting is derived from the structure
2115 # used by Ad Manager.
2116 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2117 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2118 { # Daypart targeting message that specifies if the ad can be shown
2119 # only during certain parts of a day/week.
Bu Sun Kim65020912020-05-20 12:08:20 -07002120 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
2121 # granularity). The end time is exclusive. This field is not available
2122 # for filtering in PQL queries.
2123 # or are specified elsewhere. An API may choose to allow leap seconds. Related
2124 # types are google.type.Date and `google.protobuf.Timestamp`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002125 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Bu Sun Kim65020912020-05-20 12:08:20 -07002126 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
2127 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002128 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Bu Sun Kim65020912020-05-20 12:08:20 -07002129 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
2130 # allow the value 60 if it allows leap-seconds.
2131 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002132 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
2133 # The start time is inclusive.
2134 # This field is not available for filtering in PQL queries.
2135 # or are specified elsewhere. An API may choose to allow leap seconds. Related
2136 # types are google.type.Date and `google.protobuf.Timestamp`.
2137 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2138 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
2139 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2140 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2141 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
2142 # allow the value 60 if it allows leap-seconds.
2143 },
2144 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Bu Sun Kim65020912020-05-20 12:08:20 -07002145 },
2146 ],
2147 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002148 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2149 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
2150 # Filled in when key = GOOG_CREATIVE_SIZE
2151 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
2152 # only if creative_size_type = CreativeSizeType.NATIVE.
2153 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
2154 # of the creative
2155 # height depend on the type of the targeting.
2156 &quot;width&quot;: 42, # The width of the creative
2157 &quot;height&quot;: 42, # The height of the creative.
2158 },
2159 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2160 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
2161 # If this repeated field is empty then all formats are allowed.
2162 # For example, if this field contains AllowedFormatType.AUDIO then the
2163 # publisher only allows an audio ad (without any video).
2164 &quot;A String&quot;,
2165 ],
2166 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
2167 # creative_size_type = CreativeSizeType.VIDEO.
2168 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
2169 # Companion sizes may be filled in only when creative_size_type = VIDEO
2170 { # Message depicting the size of the creative. The units of width and
2171 # height depend on the type of the targeting.
2172 &quot;width&quot;: 42, # The width of the creative
2173 &quot;height&quot;: 42, # The height of the creative.
2174 },
2175 ],
2176 },
2177 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2178 },
2179 ],
2180 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d
2181 # together.
2182 { # A polymorphic targeting value used as part of Shared Targeting.
2183 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
2184 # Filled in when the key is GOOG_DAYPART_TARGETING.
2185 # The definition of this targeting is derived from the structure
2186 # used by Ad Manager.
2187 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2188 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2189 { # Daypart targeting message that specifies if the ad can be shown
2190 # only during certain parts of a day/week.
2191 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
2192 # granularity). The end time is exclusive. This field is not available
2193 # for filtering in PQL queries.
2194 # or are specified elsewhere. An API may choose to allow leap seconds. Related
2195 # types are google.type.Date and `google.protobuf.Timestamp`.
2196 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2197 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
2198 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2199 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2200 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
2201 # allow the value 60 if it allows leap-seconds.
2202 },
2203 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
2204 # The start time is inclusive.
2205 # This field is not available for filtering in PQL queries.
2206 # or are specified elsewhere. An API may choose to allow leap seconds. Related
2207 # types are google.type.Date and `google.protobuf.Timestamp`.
2208 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2209 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
2210 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2211 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2212 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
2213 # allow the value 60 if it allows leap-seconds.
2214 },
2215 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2216 },
2217 ],
2218 },
2219 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2220 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
2221 # Filled in when key = GOOG_CREATIVE_SIZE
2222 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
2223 # only if creative_size_type = CreativeSizeType.NATIVE.
2224 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
2225 # of the creative
2226 # height depend on the type of the targeting.
2227 &quot;width&quot;: 42, # The width of the creative
2228 &quot;height&quot;: 42, # The height of the creative.
2229 },
2230 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2231 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
2232 # If this repeated field is empty then all formats are allowed.
2233 # For example, if this field contains AllowedFormatType.AUDIO then the
2234 # publisher only allows an audio ad (without any video).
2235 &quot;A String&quot;,
2236 ],
2237 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
2238 # creative_size_type = CreativeSizeType.VIDEO.
2239 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
2240 # Companion sizes may be filled in only when creative_size_type = VIDEO
2241 { # Message depicting the size of the creative. The units of width and
2242 # height depend on the type of the targeting.
2243 &quot;width&quot;: 42, # The width of the creative
2244 &quot;height&quot;: 42, # The height of the creative.
2245 },
2246 ],
2247 },
2248 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Bu Sun Kim65020912020-05-20 12:08:20 -07002249 },
2250 ],
2251 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion.
2252 # Targeting criteria defined by Google ad servers will begin with GOOG_.
2253 # Third parties may define their own keys.
2254 # A list of permissible keys along with the acceptable values will be
2255 # provided as part of the external documentation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002256 },
2257 ],
2258 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ # Output only. Restricitions about the creatives associated with the deal
2259 # (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals
2260 # in Ad Manager.
2261 # Preferred Deal in Ad Manager.
2262 # This doesn&#x27;t apply to Private Auction and AdX Preferred Deals.
2263 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
2264 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
2265 &quot;creativeSpecifications&quot;: [
2266 { # Represents information for a creative that is associated with a Programmatic
2267 # Guaranteed/Preferred Deal in Ad Manager.
2268 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
2269 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
2270 # This field will be present only when size type is `PIXEL`.
2271 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
2272 # This field will be present only when size type is `PIXEL`.
2273 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim65020912020-05-20 12:08:20 -07002274 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002275 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
2276 { # Represents size of a single ad slot, or a creative.
2277 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
2278 # This field will be present only when size type is `PIXEL`.
2279 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
2280 # This field will be present only when size type is `PIXEL`.
2281 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2282 },
2283 ],
2284 },
2285 ],
2286 },
2287 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
2288 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. # Output only. Tracks which parties (if any) have paused a deal.
2289 # The deal is considered paused if either hasBuyerPaused or
2290 # hasSellPaused is true.
2291 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
2292 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
2293 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
2294 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
2295 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim65020912020-05-20 12:08:20 -07002296 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002297 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002298 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things # The negotiable terms of the deal.
2299 # like price per buyer, the type of pricing model (e.g., fixed price, auction)
2300 # and expected impressions from the publisher.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002301 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
2302 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2303 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage
2304 # of guaranteed looks that the buyer is guaranteeing to buy.
2305 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Bu Sun Kim65020912020-05-20 12:08:20 -07002306 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2307 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
2308 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
2309 # a particular buyer or buyer/advertiser pair, we look for the most specific
2310 # matching rule - we first look for a rule matching the buyer and advertiser,
2311 # next a rule with the buyer but an empty advertiser list, and otherwise look
2312 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002313 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
2314 # If empty, all advertisers with this buyer pay this price.
2315 &quot;A String&quot;,
2316 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002317 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002318 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07002319 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002320 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
2321 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07002322 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
2323 # The value must be between -999,999,999 and +999,999,999 inclusive.
2324 # If `units` is positive, `nanos` must be positive or zero.
2325 # If `units` is zero, `nanos` can be positive, zero, or negative.
2326 # If `units` is negative, `nanos` must be negative or zero.
2327 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002328 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07002329 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002330 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002331 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
2332 # (if the
2333 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
2334 # Authorized Buyers account ID.
2335 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2336 },
2337 },
2338 ],
2339 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002340 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
2341 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the
2342 # time zone used to mark the boundaries of a day. It should be an
2343 # IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information,
2344 # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Bu Sun Kim65020912020-05-20 12:08:20 -07002345 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day.
2346 # Can be set by buyer or seller.
2347 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only # The terms for non-guaranteed auction deals.
2348 # by the seller, but they can be returned in a get or list request.
2349 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers
2350 # in this private auction.
2351 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
2352 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
2353 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
2354 # a particular buyer or buyer/advertiser pair, we look for the most specific
2355 # matching rule - we first look for a rule matching the buyer and advertiser,
2356 # next a rule with the buyer but an empty advertiser list, and otherwise look
2357 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002358 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
2359 # If empty, all advertisers with this buyer pay this price.
2360 &quot;A String&quot;,
2361 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002362 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002363 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07002364 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002365 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
2366 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07002367 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
2368 # The value must be between -999,999,999 and +999,999,999 inclusive.
2369 # If `units` is positive, `nanos` must be positive or zero.
2370 # If `units` is zero, `nanos` can be positive, zero, or negative.
2371 # If `units` is negative, `nanos` must be negative or zero.
2372 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002373 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07002374 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002375 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002376 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
2377 # (if the
2378 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
2379 # Authorized Buyers account ID.
2380 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2381 },
2382 },
2383 ],
2384 },
2385 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via # The terms for non-guaranteed fixed price deals.
2386 # the API at this time, but can be returned in a get or list request.
2387 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2388 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
2389 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
2390 # a particular buyer or buyer/advertiser pair, we look for the most specific
2391 # matching rule - we first look for a rule matching the buyer and advertiser,
2392 # next a rule with the buyer but an empty advertiser list, and otherwise look
2393 # for a matching rule where no buyer is set.
Bu Sun Kim65020912020-05-20 12:08:20 -07002394 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
2395 # If empty, all advertisers with this buyer pay this price.
2396 &quot;A String&quot;,
2397 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002398 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2399 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2400 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2401 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
2402 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
2403 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
2404 # The value must be between -999,999,999 and +999,999,999 inclusive.
2405 # If `units` is positive, `nanos` must be positive or zero.
2406 # If `units` is zero, `nanos` can be positive, zero, or negative.
2407 # If `units` is negative, `nanos` must be negative or zero.
2408 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2409 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2410 },
2411 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002412 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
2413 # (if the
2414 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
2415 # Authorized Buyers account ID.
2416 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2417 },
2418 },
2419 ],
2420 },
2421 &quot;estimatedGrossSpend&quot;: { # Represents a price and a pricing type for a product / deal. # Non-binding estimate of the estimated gross spend for this deal.
2422 # Can be set by buyer or seller.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002423 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07002424 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002425 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
2426 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07002427 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
2428 # The value must be between -999,999,999 and +999,999,999 inclusive.
2429 # If `units` is positive, `nanos` must be positive or zero.
2430 # If `units` is zero, `nanos` can be positive, zero, or negative.
2431 # If `units` is negative, `nanos` must be negative or zero.
2432 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002433 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07002434 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002435 },
2436 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kim65020912020-05-20 12:08:20 -07002437 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002438 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is
2439 # finalized. This is the deal ID that shows up in serving/reporting etc.
2440 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created.
2441 #
2442 # Note: This field may be set only when creating the resource. Modifying
2443 # this field while updating the resource will result in an error.
2444 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
2445 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Bu Sun Kim65020912020-05-20 12:08:20 -07002446 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to # Output only. Specifies the subset of inventory targeted by the deal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002447 # target ad inventory. For example, they can choose to target ad requests only
2448 # if the user is in the US.
2449 # Multiple types of targeting are always applied as a logical AND, unless noted
2450 # otherwise.
Bu Sun Kim65020912020-05-20 12:08:20 -07002451 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or # Placement targeting information, e.g., URL, mobile applications.
2452 # mobile applications.
2453 # Different placement targeting types will be logically OR&#x27;ed.
2454 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). # URLs to be included/excluded.
2455 # For Private Auction and AdX Preferred Deals, URLs are either included or
2456 # excluded.
2457 # For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t
2458 # apply.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002459 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07002460 &quot;A String&quot;,
2461 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002462 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07002463 &quot;A String&quot;,
2464 ],
2465 },
2466 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal.
2467 # This doesn&#x27;t apply to Auction Packages.
2468 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that # Publisher owned apps to be targeted or excluded by the publisher to
Dan O'Mearadd494642020-05-01 07:42:23 -07002469 # display the ads in.
2470 # publishers own.
2471 # Mobile application IDs are from App Store and Google Play Store.
2472 # Android App ID, for example, com.google.android.apps.maps, can be found in
2473 # Google Play Store URL.
2474 # iOS App ID (which is a number) can be found at the end of iTunes store URL.
2475 # First party mobile applications is either included or excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002476 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07002477 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07002478 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002479 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07002480 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07002481 ],
2482 },
2483 },
2484 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002485 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad # Inventory sizes to be included/excluded.
2486 # request. It only applies to Private Auction, AdX Preferred Deals and
2487 # Auction Packages. This targeting does not apply to Programmatic Guaranteed
2488 # and Preferred Deals in Ad Manager.
2489 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
2490 { # Represents size of a single ad slot, or a creative.
2491 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
2492 # This field will be present only when size type is `PIXEL`.
2493 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
2494 # This field will be present only when size type is `PIXEL`.
2495 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2496 },
2497 ],
2498 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
2499 { # Represents size of a single ad slot, or a creative.
2500 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
2501 # This field will be present only when size type is `PIXEL`.
2502 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
2503 # This field will be present only when size type is `PIXEL`.
2504 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2505 },
2506 ],
2507 },
2508 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # Geo criteria IDs to be included/excluded.
2509 # included and excluded numeric IDs.
2510 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2511 &quot;A String&quot;,
2512 ],
2513 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2514 &quot;A String&quot;,
2515 ],
2516 },
2517 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
2518 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
2519 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating system versions to be included/excluded.
2520 # included and excluded numeric IDs.
2521 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2522 &quot;A String&quot;,
2523 ],
2524 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2525 &quot;A String&quot;,
2526 ],
2527 },
2528 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating systems to be included/excluded.
2529 # included and excluded numeric IDs.
2530 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2531 &quot;A String&quot;,
2532 ],
2533 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2534 &quot;A String&quot;,
2535 ],
2536 },
2537 },
2538 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device capabilities to be included/excluded.
2539 # included and excluded numeric IDs.
2540 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2541 &quot;A String&quot;,
2542 ],
2543 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2544 &quot;A String&quot;,
2545 ],
2546 },
2547 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device categories to be included/excluded.
2548 # included and excluded numeric IDs.
2549 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2550 &quot;A String&quot;,
2551 ],
2552 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2553 &quot;A String&quot;,
2554 ],
2555 },
2556 },
2557 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
2558 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included.
2559 # When the included list is present, the excluded list must be empty.
2560 # When the excluded list is present, the included list must be empty.
2561 &quot;A String&quot;,
2562 ],
2563 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded.
2564 # Position types can either be included or excluded (XOR).
2565 &quot;A String&quot;,
2566 ],
2567 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002568 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002569 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2570 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
2571 # operations (max-length: 1024 unicode code units).
2572 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002573 &quot;deliveryControl&quot;: { # Message contains details about how the deals will be paced. # The set of fields around delivery control that are interesting for a buyer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002574 # to see but are non-negotiable. These are set by the publisher.
Bu Sun Kim65020912020-05-20 12:08:20 -07002575 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002576 { # Frequency cap.
Bu Sun Kim65020912020-05-20 12:08:20 -07002577 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002578 # specified time period.
Bu Sun Kim65020912020-05-20 12:08:20 -07002579 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over
2580 # which impressions per user are counted and capped.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002581 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the
2582 # amount of time over which impressions per user are counted and capped.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002583 },
2584 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002585 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002586 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002587 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002588 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal.
2589 # This will generally be stored in a granularity of a second.
2590 # A value is not required for Private Auction deals or Preferred Deals.
2591 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal.
2592 # This will generally be stored in the granularity of one second since deal
2593 # serving starts at seconds boundary. Any time specified with more
2594 # granularity (e.g., in milliseconds) will be truncated towards the start of
2595 # time in seconds.
2596 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
2597 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
2598 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from.
2599 # If present on create, and the server `product_revision` has advanced sinced
2600 # the passed-in `create_product_revision`, an `ABORTED` error will be
2601 # returned.
2602 #
2603 # Note: This field may be set only when creating the resource. Modifying
2604 # this field while updating the resource will result in an error.
2605 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
2606 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
2607 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
2608 { # Contains information on how a buyer or seller can be reached.
2609 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2610 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002611 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002612 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002613 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002614 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal.
2615 #
2616 # Note: This field may be set only when creating the resource. Modifying
2617 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002618 },
2619 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002620 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Output only. Reference to the buyer that will get billed for this proposal.
2621 # Authorized Buyers account ID.
2622 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2623 },
2624 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07002625 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique # Reference to the seller on the proposal.
Dan O'Mearadd494642020-05-01 07:42:23 -07002626 #
2627 # Note: This field may be set only when creating the resource. Modifying
2628 # this field while updating the resource will result in an error.
2629 # Ad Manager account ID.
Bu Sun Kim65020912020-05-20 12:08:20 -07002630 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2631 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field.
Dan O'Mearadd494642020-05-01 07:42:23 -07002632 # The seller account ID is then available to buyer in the product.
2633 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002634 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
2635 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
2636 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2637 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2638 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2639 { # A proposal may be associated to several notes.
2640 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
2641 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
2642 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2643 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
2644 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
2645 # (max-length: 1024 unicode code units)
2646 #
2647 # Note: This field may be set only when creating the resource. Modifying
2648 # this field while updating the resource will result in an error.
2649 },
2650 ],
2651 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2652 { # Contains information on how a buyer or seller can be reached.
2653 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2654 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2655 },
2656 ],
2657 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2658 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
2659 # operations (max-length: 1024 unicode code units).
2660 },
2661 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2662 { # Contains information on how a buyer or seller can be reached.
2663 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2664 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2665 },
2666 ],
2667 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction
2668 # proposal.
2669 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
2670 # proposal.
2671 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Reference to the buyer on the proposal.
2672 #
2673 # Note: This field may be set only when creating the resource. Modifying
2674 # this field while updating the resource will result in an error.
2675 # Authorized Buyers account ID.
2676 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2677 },
2678 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or
2679 # left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002680}
2681
2682 x__xgafv: string, V1 error format.
2683 Allowed values
2684 1 - v1 error format
2685 2 - v2 error format
2686
2687Returns:
2688 An object of the form:
2689
2690 { # Note: this resource requires whitelisting for access. Please contact your
2691 # account manager for access to Marketplace resources.
2692 #
2693 # Represents a proposal in the Marketplace. A proposal is the unit of
2694 # negotiation between a seller and a buyer and contains deals which
2695 # are served.
2696 #
2697 # Note: you can not update, create, or otherwise modify Private
2698 # Auction or Preferred Deals deals through the API.
2699 #
2700 # Fields are updatable unless noted otherwise.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002701 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal.
2702 # Each update to the proposal or the deal causes the proposal revision number
2703 # to auto-increment. The buyer keeps track of the last revision number they
2704 # know of and pass it in when making an update. If the head revision number
2705 # on the server has since incremented, then an ABORTED error is returned
2706 # during the update operation to let the buyer know that a subsequent update
2707 # was made.
Bu Sun Kim65020912020-05-20 12:08:20 -07002708 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07002709 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002710 # (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2711 { # A deal represents a segment of inventory for displaying ads on.
2712 # A proposal can contain multiple deals. A deal contains the terms and
2713 # targeting information that is used for serving.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002714 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
2715 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
2716 # deal.
2717 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Bu Sun Kim65020912020-05-20 12:08:20 -07002718 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals.
2719 # PUBLISHER means creative is provided by seller and ADVERTISER means
2720 # creative is provided by buyer.
Bu Sun Kim65020912020-05-20 12:08:20 -07002721 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared
2722 # targeting entity is AND&#x27;d together.
2723 { # Advertisers can target different attributes of an ad slot. For example,
2724 # they can choose to show ads only if the user is in the U.S. Such
2725 # targeting criteria can be specified as part of Shared Targeting.
2726 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d
2727 # together.
2728 { # A polymorphic targeting value used as part of Shared Targeting.
Bu Sun Kim65020912020-05-20 12:08:20 -07002729 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
2730 # Filled in when the key is GOOG_DAYPART_TARGETING.
2731 # The definition of this targeting is derived from the structure
2732 # used by Ad Manager.
2733 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2734 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2735 { # Daypart targeting message that specifies if the ad can be shown
2736 # only during certain parts of a day/week.
Bu Sun Kim65020912020-05-20 12:08:20 -07002737 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
2738 # granularity). The end time is exclusive. This field is not available
2739 # for filtering in PQL queries.
2740 # or are specified elsewhere. An API may choose to allow leap seconds. Related
2741 # types are google.type.Date and `google.protobuf.Timestamp`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002742 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Bu Sun Kim65020912020-05-20 12:08:20 -07002743 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
2744 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002745 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Bu Sun Kim65020912020-05-20 12:08:20 -07002746 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
2747 # allow the value 60 if it allows leap-seconds.
2748 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002749 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
2750 # The start time is inclusive.
2751 # This field is not available for filtering in PQL queries.
2752 # or are specified elsewhere. An API may choose to allow leap seconds. Related
2753 # types are google.type.Date and `google.protobuf.Timestamp`.
2754 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2755 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
2756 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2757 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2758 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
2759 # allow the value 60 if it allows leap-seconds.
2760 },
2761 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Bu Sun Kim65020912020-05-20 12:08:20 -07002762 },
2763 ],
2764 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002765 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2766 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
2767 # Filled in when key = GOOG_CREATIVE_SIZE
2768 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
2769 # only if creative_size_type = CreativeSizeType.NATIVE.
2770 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
2771 # of the creative
2772 # height depend on the type of the targeting.
2773 &quot;width&quot;: 42, # The width of the creative
2774 &quot;height&quot;: 42, # The height of the creative.
2775 },
2776 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2777 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
2778 # If this repeated field is empty then all formats are allowed.
2779 # For example, if this field contains AllowedFormatType.AUDIO then the
2780 # publisher only allows an audio ad (without any video).
2781 &quot;A String&quot;,
2782 ],
2783 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
2784 # creative_size_type = CreativeSizeType.VIDEO.
2785 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
2786 # Companion sizes may be filled in only when creative_size_type = VIDEO
2787 { # Message depicting the size of the creative. The units of width and
2788 # height depend on the type of the targeting.
2789 &quot;width&quot;: 42, # The width of the creative
2790 &quot;height&quot;: 42, # The height of the creative.
2791 },
2792 ],
2793 },
2794 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2795 },
2796 ],
2797 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d
2798 # together.
2799 { # A polymorphic targeting value used as part of Shared Targeting.
2800 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
2801 # Filled in when the key is GOOG_DAYPART_TARGETING.
2802 # The definition of this targeting is derived from the structure
2803 # used by Ad Manager.
2804 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2805 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2806 { # Daypart targeting message that specifies if the ad can be shown
2807 # only during certain parts of a day/week.
2808 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
2809 # granularity). The end time is exclusive. This field is not available
2810 # for filtering in PQL queries.
2811 # or are specified elsewhere. An API may choose to allow leap seconds. Related
2812 # types are google.type.Date and `google.protobuf.Timestamp`.
2813 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2814 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
2815 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2816 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2817 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
2818 # allow the value 60 if it allows leap-seconds.
2819 },
2820 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
2821 # The start time is inclusive.
2822 # This field is not available for filtering in PQL queries.
2823 # or are specified elsewhere. An API may choose to allow leap seconds. Related
2824 # types are google.type.Date and `google.protobuf.Timestamp`.
2825 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2826 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
2827 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2828 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2829 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
2830 # allow the value 60 if it allows leap-seconds.
2831 },
2832 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2833 },
2834 ],
2835 },
2836 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2837 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
2838 # Filled in when key = GOOG_CREATIVE_SIZE
2839 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
2840 # only if creative_size_type = CreativeSizeType.NATIVE.
2841 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
2842 # of the creative
2843 # height depend on the type of the targeting.
2844 &quot;width&quot;: 42, # The width of the creative
2845 &quot;height&quot;: 42, # The height of the creative.
2846 },
2847 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2848 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
2849 # If this repeated field is empty then all formats are allowed.
2850 # For example, if this field contains AllowedFormatType.AUDIO then the
2851 # publisher only allows an audio ad (without any video).
2852 &quot;A String&quot;,
2853 ],
2854 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
2855 # creative_size_type = CreativeSizeType.VIDEO.
2856 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
2857 # Companion sizes may be filled in only when creative_size_type = VIDEO
2858 { # Message depicting the size of the creative. The units of width and
2859 # height depend on the type of the targeting.
2860 &quot;width&quot;: 42, # The width of the creative
2861 &quot;height&quot;: 42, # The height of the creative.
2862 },
2863 ],
2864 },
2865 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Bu Sun Kim65020912020-05-20 12:08:20 -07002866 },
2867 ],
2868 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion.
2869 # Targeting criteria defined by Google ad servers will begin with GOOG_.
2870 # Third parties may define their own keys.
2871 # A list of permissible keys along with the acceptable values will be
2872 # provided as part of the external documentation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002873 },
2874 ],
2875 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ # Output only. Restricitions about the creatives associated with the deal
2876 # (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals
2877 # in Ad Manager.
2878 # Preferred Deal in Ad Manager.
2879 # This doesn&#x27;t apply to Private Auction and AdX Preferred Deals.
2880 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
2881 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
2882 &quot;creativeSpecifications&quot;: [
2883 { # Represents information for a creative that is associated with a Programmatic
2884 # Guaranteed/Preferred Deal in Ad Manager.
2885 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
2886 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
2887 # This field will be present only when size type is `PIXEL`.
2888 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
2889 # This field will be present only when size type is `PIXEL`.
2890 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim65020912020-05-20 12:08:20 -07002891 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002892 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
2893 { # Represents size of a single ad slot, or a creative.
2894 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
2895 # This field will be present only when size type is `PIXEL`.
2896 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
2897 # This field will be present only when size type is `PIXEL`.
2898 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2899 },
2900 ],
2901 },
2902 ],
2903 },
2904 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
2905 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. # Output only. Tracks which parties (if any) have paused a deal.
2906 # The deal is considered paused if either hasBuyerPaused or
2907 # hasSellPaused is true.
2908 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
2909 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
2910 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
2911 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
2912 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim65020912020-05-20 12:08:20 -07002913 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002914 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002915 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things # The negotiable terms of the deal.
2916 # like price per buyer, the type of pricing model (e.g., fixed price, auction)
2917 # and expected impressions from the publisher.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002918 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
2919 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2920 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage
2921 # of guaranteed looks that the buyer is guaranteeing to buy.
2922 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Bu Sun Kim65020912020-05-20 12:08:20 -07002923 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2924 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
2925 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
2926 # a particular buyer or buyer/advertiser pair, we look for the most specific
2927 # matching rule - we first look for a rule matching the buyer and advertiser,
2928 # next a rule with the buyer but an empty advertiser list, and otherwise look
2929 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002930 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
2931 # If empty, all advertisers with this buyer pay this price.
2932 &quot;A String&quot;,
2933 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002934 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002935 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07002936 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002937 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
2938 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07002939 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
2940 # The value must be between -999,999,999 and +999,999,999 inclusive.
2941 # If `units` is positive, `nanos` must be positive or zero.
2942 # If `units` is zero, `nanos` can be positive, zero, or negative.
2943 # If `units` is negative, `nanos` must be negative or zero.
2944 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002945 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07002946 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002947 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002948 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
2949 # (if the
2950 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
2951 # Authorized Buyers account ID.
2952 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2953 },
2954 },
2955 ],
2956 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002957 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
2958 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the
2959 # time zone used to mark the boundaries of a day. It should be an
2960 # IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information,
2961 # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Bu Sun Kim65020912020-05-20 12:08:20 -07002962 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day.
2963 # Can be set by buyer or seller.
2964 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only # The terms for non-guaranteed auction deals.
2965 # by the seller, but they can be returned in a get or list request.
2966 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers
2967 # in this private auction.
2968 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
2969 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
2970 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
2971 # a particular buyer or buyer/advertiser pair, we look for the most specific
2972 # matching rule - we first look for a rule matching the buyer and advertiser,
2973 # next a rule with the buyer but an empty advertiser list, and otherwise look
2974 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002975 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
2976 # If empty, all advertisers with this buyer pay this price.
2977 &quot;A String&quot;,
2978 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002979 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002980 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07002981 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002982 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
2983 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07002984 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
2985 # The value must be between -999,999,999 and +999,999,999 inclusive.
2986 # If `units` is positive, `nanos` must be positive or zero.
2987 # If `units` is zero, `nanos` can be positive, zero, or negative.
2988 # If `units` is negative, `nanos` must be negative or zero.
2989 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002990 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07002991 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002992 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002993 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
2994 # (if the
2995 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
2996 # Authorized Buyers account ID.
2997 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2998 },
2999 },
3000 ],
3001 },
3002 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via # The terms for non-guaranteed fixed price deals.
3003 # the API at this time, but can be returned in a get or list request.
3004 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3005 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
3006 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
3007 # a particular buyer or buyer/advertiser pair, we look for the most specific
3008 # matching rule - we first look for a rule matching the buyer and advertiser,
3009 # next a rule with the buyer but an empty advertiser list, and otherwise look
3010 # for a matching rule where no buyer is set.
Bu Sun Kim65020912020-05-20 12:08:20 -07003011 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
3012 # If empty, all advertisers with this buyer pay this price.
3013 &quot;A String&quot;,
3014 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003015 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3016 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3017 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3018 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
3019 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
3020 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
3021 # The value must be between -999,999,999 and +999,999,999 inclusive.
3022 # If `units` is positive, `nanos` must be positive or zero.
3023 # If `units` is zero, `nanos` can be positive, zero, or negative.
3024 # If `units` is negative, `nanos` must be negative or zero.
3025 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
3026 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
3027 },
3028 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003029 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
3030 # (if the
3031 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
3032 # Authorized Buyers account ID.
3033 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3034 },
3035 },
3036 ],
3037 },
3038 &quot;estimatedGrossSpend&quot;: { # Represents a price and a pricing type for a product / deal. # Non-binding estimate of the estimated gross spend for this deal.
3039 # Can be set by buyer or seller.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003040 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07003041 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003042 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
3043 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07003044 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
3045 # The value must be between -999,999,999 and +999,999,999 inclusive.
3046 # If `units` is positive, `nanos` must be positive or zero.
3047 # If `units` is zero, `nanos` can be positive, zero, or negative.
3048 # If `units` is negative, `nanos` must be negative or zero.
3049 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003050 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07003051 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003052 },
3053 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kim65020912020-05-20 12:08:20 -07003054 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003055 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is
3056 # finalized. This is the deal ID that shows up in serving/reporting etc.
3057 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created.
3058 #
3059 # Note: This field may be set only when creating the resource. Modifying
3060 # this field while updating the resource will result in an error.
3061 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
3062 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Bu Sun Kim65020912020-05-20 12:08:20 -07003063 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to # Output only. Specifies the subset of inventory targeted by the deal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003064 # target ad inventory. For example, they can choose to target ad requests only
3065 # if the user is in the US.
3066 # Multiple types of targeting are always applied as a logical AND, unless noted
3067 # otherwise.
Bu Sun Kim65020912020-05-20 12:08:20 -07003068 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or # Placement targeting information, e.g., URL, mobile applications.
3069 # mobile applications.
3070 # Different placement targeting types will be logically OR&#x27;ed.
3071 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). # URLs to be included/excluded.
3072 # For Private Auction and AdX Preferred Deals, URLs are either included or
3073 # excluded.
3074 # For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t
3075 # apply.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003076 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07003077 &quot;A String&quot;,
3078 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003079 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07003080 &quot;A String&quot;,
3081 ],
3082 },
3083 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal.
3084 # This doesn&#x27;t apply to Auction Packages.
3085 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that # Publisher owned apps to be targeted or excluded by the publisher to
Dan O'Mearadd494642020-05-01 07:42:23 -07003086 # display the ads in.
3087 # publishers own.
3088 # Mobile application IDs are from App Store and Google Play Store.
3089 # Android App ID, for example, com.google.android.apps.maps, can be found in
3090 # Google Play Store URL.
3091 # iOS App ID (which is a number) can be found at the end of iTunes store URL.
3092 # First party mobile applications is either included or excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003093 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07003094 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07003095 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003096 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07003097 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07003098 ],
3099 },
3100 },
3101 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003102 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad # Inventory sizes to be included/excluded.
3103 # request. It only applies to Private Auction, AdX Preferred Deals and
3104 # Auction Packages. This targeting does not apply to Programmatic Guaranteed
3105 # and Preferred Deals in Ad Manager.
3106 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3107 { # Represents size of a single ad slot, or a creative.
3108 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
3109 # This field will be present only when size type is `PIXEL`.
3110 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
3111 # This field will be present only when size type is `PIXEL`.
3112 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3113 },
3114 ],
3115 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3116 { # Represents size of a single ad slot, or a creative.
3117 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
3118 # This field will be present only when size type is `PIXEL`.
3119 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
3120 # This field will be present only when size type is `PIXEL`.
3121 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3122 },
3123 ],
3124 },
3125 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # Geo criteria IDs to be included/excluded.
3126 # included and excluded numeric IDs.
3127 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3128 &quot;A String&quot;,
3129 ],
3130 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3131 &quot;A String&quot;,
3132 ],
3133 },
3134 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
3135 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
3136 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating system versions to be included/excluded.
3137 # included and excluded numeric IDs.
3138 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3139 &quot;A String&quot;,
3140 ],
3141 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3142 &quot;A String&quot;,
3143 ],
3144 },
3145 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating systems to be included/excluded.
3146 # included and excluded numeric IDs.
3147 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3148 &quot;A String&quot;,
3149 ],
3150 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3151 &quot;A String&quot;,
3152 ],
3153 },
3154 },
3155 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device capabilities to be included/excluded.
3156 # included and excluded numeric IDs.
3157 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3158 &quot;A String&quot;,
3159 ],
3160 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3161 &quot;A String&quot;,
3162 ],
3163 },
3164 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device categories to be included/excluded.
3165 # included and excluded numeric IDs.
3166 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3167 &quot;A String&quot;,
3168 ],
3169 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3170 &quot;A String&quot;,
3171 ],
3172 },
3173 },
3174 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3175 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included.
3176 # When the included list is present, the excluded list must be empty.
3177 # When the excluded list is present, the included list must be empty.
3178 &quot;A String&quot;,
3179 ],
3180 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded.
3181 # Position types can either be included or excluded (XOR).
3182 &quot;A String&quot;,
3183 ],
3184 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003185 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003186 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
3187 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
3188 # operations (max-length: 1024 unicode code units).
3189 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003190 &quot;deliveryControl&quot;: { # Message contains details about how the deals will be paced. # The set of fields around delivery control that are interesting for a buyer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003191 # to see but are non-negotiable. These are set by the publisher.
Bu Sun Kim65020912020-05-20 12:08:20 -07003192 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003193 { # Frequency cap.
Bu Sun Kim65020912020-05-20 12:08:20 -07003194 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003195 # specified time period.
Bu Sun Kim65020912020-05-20 12:08:20 -07003196 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over
3197 # which impressions per user are counted and capped.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003198 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the
3199 # amount of time over which impressions per user are counted and capped.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003200 },
3201 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003202 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003203 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003204 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003205 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal.
3206 # This will generally be stored in a granularity of a second.
3207 # A value is not required for Private Auction deals or Preferred Deals.
3208 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal.
3209 # This will generally be stored in the granularity of one second since deal
3210 # serving starts at seconds boundary. Any time specified with more
3211 # granularity (e.g., in milliseconds) will be truncated towards the start of
3212 # time in seconds.
3213 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
3214 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
3215 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from.
3216 # If present on create, and the server `product_revision` has advanced sinced
3217 # the passed-in `create_product_revision`, an `ABORTED` error will be
3218 # returned.
3219 #
3220 # Note: This field may be set only when creating the resource. Modifying
3221 # this field while updating the resource will result in an error.
3222 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
3223 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
3224 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3225 { # Contains information on how a buyer or seller can be reached.
3226 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3227 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003228 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003229 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003230 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003231 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal.
3232 #
3233 # Note: This field may be set only when creating the resource. Modifying
3234 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003235 },
3236 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003237 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Output only. Reference to the buyer that will get billed for this proposal.
3238 # Authorized Buyers account ID.
3239 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3240 },
3241 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07003242 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique # Reference to the seller on the proposal.
Dan O'Mearadd494642020-05-01 07:42:23 -07003243 #
3244 # Note: This field may be set only when creating the resource. Modifying
3245 # this field while updating the resource will result in an error.
3246 # Ad Manager account ID.
Bu Sun Kim65020912020-05-20 12:08:20 -07003247 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
3248 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field.
Dan O'Mearadd494642020-05-01 07:42:23 -07003249 # The seller account ID is then available to buyer in the product.
3250 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003251 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
3252 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
3253 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
3254 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
3255 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
3256 { # A proposal may be associated to several notes.
3257 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
3258 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
3259 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
3260 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
3261 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
3262 # (max-length: 1024 unicode code units)
3263 #
3264 # Note: This field may be set only when creating the resource. Modifying
3265 # this field while updating the resource will result in an error.
3266 },
3267 ],
3268 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
3269 { # Contains information on how a buyer or seller can be reached.
3270 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3271 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3272 },
3273 ],
3274 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
3275 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
3276 # operations (max-length: 1024 unicode code units).
3277 },
3278 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
3279 { # Contains information on how a buyer or seller can be reached.
3280 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3281 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3282 },
3283 ],
3284 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction
3285 # proposal.
3286 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
3287 # proposal.
3288 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Reference to the buyer on the proposal.
3289 #
3290 # Note: This field may be set only when creating the resource. Modifying
3291 # this field while updating the resource will result in an error.
3292 # Authorized Buyers account ID.
3293 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3294 },
3295 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or
3296 # left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003297 }</pre>
3298</div>
3299
3300<div class="method">
3301 <code class="details" id="get">get(accountId, proposalId, x__xgafv=None)</code>
3302 <pre>Gets a proposal given its ID. The proposal is returned at its head
3303revision.
3304
3305Args:
3306 accountId: string, Account ID of the buyer. (required)
3307 proposalId: string, The unique ID of the proposal (required)
3308 x__xgafv: string, V1 error format.
3309 Allowed values
3310 1 - v1 error format
3311 2 - v2 error format
3312
3313Returns:
3314 An object of the form:
3315
3316 { # Note: this resource requires whitelisting for access. Please contact your
3317 # account manager for access to Marketplace resources.
3318 #
3319 # Represents a proposal in the Marketplace. A proposal is the unit of
3320 # negotiation between a seller and a buyer and contains deals which
3321 # are served.
3322 #
3323 # Note: you can not update, create, or otherwise modify Private
3324 # Auction or Preferred Deals deals through the API.
3325 #
3326 # Fields are updatable unless noted otherwise.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003327 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal.
3328 # Each update to the proposal or the deal causes the proposal revision number
3329 # to auto-increment. The buyer keeps track of the last revision number they
3330 # know of and pass it in when making an update. If the head revision number
3331 # on the server has since incremented, then an ABORTED error is returned
3332 # during the update operation to let the buyer know that a subsequent update
3333 # was made.
Bu Sun Kim65020912020-05-20 12:08:20 -07003334 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07003335 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003336 # (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
3337 { # A deal represents a segment of inventory for displaying ads on.
3338 # A proposal can contain multiple deals. A deal contains the terms and
3339 # targeting information that is used for serving.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003340 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
3341 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
3342 # deal.
3343 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Bu Sun Kim65020912020-05-20 12:08:20 -07003344 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals.
3345 # PUBLISHER means creative is provided by seller and ADVERTISER means
3346 # creative is provided by buyer.
Bu Sun Kim65020912020-05-20 12:08:20 -07003347 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared
3348 # targeting entity is AND&#x27;d together.
3349 { # Advertisers can target different attributes of an ad slot. For example,
3350 # they can choose to show ads only if the user is in the U.S. Such
3351 # targeting criteria can be specified as part of Shared Targeting.
3352 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d
3353 # together.
3354 { # A polymorphic targeting value used as part of Shared Targeting.
Bu Sun Kim65020912020-05-20 12:08:20 -07003355 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
3356 # Filled in when the key is GOOG_DAYPART_TARGETING.
3357 # The definition of this targeting is derived from the structure
3358 # used by Ad Manager.
3359 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3360 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3361 { # Daypart targeting message that specifies if the ad can be shown
3362 # only during certain parts of a day/week.
Bu Sun Kim65020912020-05-20 12:08:20 -07003363 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
3364 # granularity). The end time is exclusive. This field is not available
3365 # for filtering in PQL queries.
3366 # or are specified elsewhere. An API may choose to allow leap seconds. Related
3367 # types are google.type.Date and `google.protobuf.Timestamp`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003368 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Bu Sun Kim65020912020-05-20 12:08:20 -07003369 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
3370 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003371 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Bu Sun Kim65020912020-05-20 12:08:20 -07003372 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
3373 # allow the value 60 if it allows leap-seconds.
3374 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003375 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
3376 # The start time is inclusive.
3377 # This field is not available for filtering in PQL queries.
3378 # or are specified elsewhere. An API may choose to allow leap seconds. Related
3379 # types are google.type.Date and `google.protobuf.Timestamp`.
3380 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3381 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
3382 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3383 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3384 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
3385 # allow the value 60 if it allows leap-seconds.
3386 },
3387 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Bu Sun Kim65020912020-05-20 12:08:20 -07003388 },
3389 ],
3390 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003391 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3392 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
3393 # Filled in when key = GOOG_CREATIVE_SIZE
3394 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
3395 # only if creative_size_type = CreativeSizeType.NATIVE.
3396 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
3397 # of the creative
3398 # height depend on the type of the targeting.
3399 &quot;width&quot;: 42, # The width of the creative
3400 &quot;height&quot;: 42, # The height of the creative.
3401 },
3402 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3403 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
3404 # If this repeated field is empty then all formats are allowed.
3405 # For example, if this field contains AllowedFormatType.AUDIO then the
3406 # publisher only allows an audio ad (without any video).
3407 &quot;A String&quot;,
3408 ],
3409 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
3410 # creative_size_type = CreativeSizeType.VIDEO.
3411 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
3412 # Companion sizes may be filled in only when creative_size_type = VIDEO
3413 { # Message depicting the size of the creative. The units of width and
3414 # height depend on the type of the targeting.
3415 &quot;width&quot;: 42, # The width of the creative
3416 &quot;height&quot;: 42, # The height of the creative.
3417 },
3418 ],
3419 },
3420 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3421 },
3422 ],
3423 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d
3424 # together.
3425 { # A polymorphic targeting value used as part of Shared Targeting.
3426 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
3427 # Filled in when the key is GOOG_DAYPART_TARGETING.
3428 # The definition of this targeting is derived from the structure
3429 # used by Ad Manager.
3430 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3431 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3432 { # Daypart targeting message that specifies if the ad can be shown
3433 # only during certain parts of a day/week.
3434 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
3435 # granularity). The end time is exclusive. This field is not available
3436 # for filtering in PQL queries.
3437 # or are specified elsewhere. An API may choose to allow leap seconds. Related
3438 # types are google.type.Date and `google.protobuf.Timestamp`.
3439 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3440 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
3441 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3442 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3443 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
3444 # allow the value 60 if it allows leap-seconds.
3445 },
3446 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
3447 # The start time is inclusive.
3448 # This field is not available for filtering in PQL queries.
3449 # or are specified elsewhere. An API may choose to allow leap seconds. Related
3450 # types are google.type.Date and `google.protobuf.Timestamp`.
3451 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3452 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
3453 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3454 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3455 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
3456 # allow the value 60 if it allows leap-seconds.
3457 },
3458 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3459 },
3460 ],
3461 },
3462 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3463 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
3464 # Filled in when key = GOOG_CREATIVE_SIZE
3465 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
3466 # only if creative_size_type = CreativeSizeType.NATIVE.
3467 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
3468 # of the creative
3469 # height depend on the type of the targeting.
3470 &quot;width&quot;: 42, # The width of the creative
3471 &quot;height&quot;: 42, # The height of the creative.
3472 },
3473 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3474 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
3475 # If this repeated field is empty then all formats are allowed.
3476 # For example, if this field contains AllowedFormatType.AUDIO then the
3477 # publisher only allows an audio ad (without any video).
3478 &quot;A String&quot;,
3479 ],
3480 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
3481 # creative_size_type = CreativeSizeType.VIDEO.
3482 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
3483 # Companion sizes may be filled in only when creative_size_type = VIDEO
3484 { # Message depicting the size of the creative. The units of width and
3485 # height depend on the type of the targeting.
3486 &quot;width&quot;: 42, # The width of the creative
3487 &quot;height&quot;: 42, # The height of the creative.
3488 },
3489 ],
3490 },
3491 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Bu Sun Kim65020912020-05-20 12:08:20 -07003492 },
3493 ],
3494 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion.
3495 # Targeting criteria defined by Google ad servers will begin with GOOG_.
3496 # Third parties may define their own keys.
3497 # A list of permissible keys along with the acceptable values will be
3498 # provided as part of the external documentation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003499 },
3500 ],
3501 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ # Output only. Restricitions about the creatives associated with the deal
3502 # (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals
3503 # in Ad Manager.
3504 # Preferred Deal in Ad Manager.
3505 # This doesn&#x27;t apply to Private Auction and AdX Preferred Deals.
3506 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
3507 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
3508 &quot;creativeSpecifications&quot;: [
3509 { # Represents information for a creative that is associated with a Programmatic
3510 # Guaranteed/Preferred Deal in Ad Manager.
3511 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
3512 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
3513 # This field will be present only when size type is `PIXEL`.
3514 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
3515 # This field will be present only when size type is `PIXEL`.
3516 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim65020912020-05-20 12:08:20 -07003517 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003518 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
3519 { # Represents size of a single ad slot, or a creative.
3520 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
3521 # This field will be present only when size type is `PIXEL`.
3522 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
3523 # This field will be present only when size type is `PIXEL`.
3524 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3525 },
3526 ],
3527 },
3528 ],
3529 },
3530 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
3531 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. # Output only. Tracks which parties (if any) have paused a deal.
3532 # The deal is considered paused if either hasBuyerPaused or
3533 # hasSellPaused is true.
3534 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
3535 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
3536 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
3537 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
3538 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim65020912020-05-20 12:08:20 -07003539 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003540 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003541 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things # The negotiable terms of the deal.
3542 # like price per buyer, the type of pricing model (e.g., fixed price, auction)
3543 # and expected impressions from the publisher.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003544 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
3545 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
3546 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage
3547 # of guaranteed looks that the buyer is guaranteeing to buy.
3548 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Bu Sun Kim65020912020-05-20 12:08:20 -07003549 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3550 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
3551 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
3552 # a particular buyer or buyer/advertiser pair, we look for the most specific
3553 # matching rule - we first look for a rule matching the buyer and advertiser,
3554 # next a rule with the buyer but an empty advertiser list, and otherwise look
3555 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003556 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
3557 # If empty, all advertisers with this buyer pay this price.
3558 &quot;A String&quot;,
3559 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003560 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003561 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07003562 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003563 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
3564 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07003565 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
3566 # The value must be between -999,999,999 and +999,999,999 inclusive.
3567 # If `units` is positive, `nanos` must be positive or zero.
3568 # If `units` is zero, `nanos` can be positive, zero, or negative.
3569 # If `units` is negative, `nanos` must be negative or zero.
3570 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003571 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07003572 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003573 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003574 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
3575 # (if the
3576 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
3577 # Authorized Buyers account ID.
3578 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3579 },
3580 },
3581 ],
3582 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003583 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
3584 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the
3585 # time zone used to mark the boundaries of a day. It should be an
3586 # IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information,
3587 # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Bu Sun Kim65020912020-05-20 12:08:20 -07003588 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day.
3589 # Can be set by buyer or seller.
3590 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only # The terms for non-guaranteed auction deals.
3591 # by the seller, but they can be returned in a get or list request.
3592 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers
3593 # in this private auction.
3594 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
3595 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
3596 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
3597 # a particular buyer or buyer/advertiser pair, we look for the most specific
3598 # matching rule - we first look for a rule matching the buyer and advertiser,
3599 # next a rule with the buyer but an empty advertiser list, and otherwise look
3600 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003601 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
3602 # If empty, all advertisers with this buyer pay this price.
3603 &quot;A String&quot;,
3604 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003605 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003606 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07003607 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003608 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
3609 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07003610 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
3611 # The value must be between -999,999,999 and +999,999,999 inclusive.
3612 # If `units` is positive, `nanos` must be positive or zero.
3613 # If `units` is zero, `nanos` can be positive, zero, or negative.
3614 # If `units` is negative, `nanos` must be negative or zero.
3615 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003616 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07003617 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003618 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003619 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
3620 # (if the
3621 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
3622 # Authorized Buyers account ID.
3623 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3624 },
3625 },
3626 ],
3627 },
3628 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via # The terms for non-guaranteed fixed price deals.
3629 # the API at this time, but can be returned in a get or list request.
3630 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3631 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
3632 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
3633 # a particular buyer or buyer/advertiser pair, we look for the most specific
3634 # matching rule - we first look for a rule matching the buyer and advertiser,
3635 # next a rule with the buyer but an empty advertiser list, and otherwise look
3636 # for a matching rule where no buyer is set.
Bu Sun Kim65020912020-05-20 12:08:20 -07003637 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
3638 # If empty, all advertisers with this buyer pay this price.
3639 &quot;A String&quot;,
3640 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003641 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3642 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3643 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3644 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
3645 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
3646 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
3647 # The value must be between -999,999,999 and +999,999,999 inclusive.
3648 # If `units` is positive, `nanos` must be positive or zero.
3649 # If `units` is zero, `nanos` can be positive, zero, or negative.
3650 # If `units` is negative, `nanos` must be negative or zero.
3651 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
3652 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
3653 },
3654 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003655 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
3656 # (if the
3657 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
3658 # Authorized Buyers account ID.
3659 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3660 },
3661 },
3662 ],
3663 },
3664 &quot;estimatedGrossSpend&quot;: { # Represents a price and a pricing type for a product / deal. # Non-binding estimate of the estimated gross spend for this deal.
3665 # Can be set by buyer or seller.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003666 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07003667 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003668 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
3669 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07003670 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
3671 # The value must be between -999,999,999 and +999,999,999 inclusive.
3672 # If `units` is positive, `nanos` must be positive or zero.
3673 # If `units` is zero, `nanos` can be positive, zero, or negative.
3674 # If `units` is negative, `nanos` must be negative or zero.
3675 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003676 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07003677 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003678 },
3679 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kim65020912020-05-20 12:08:20 -07003680 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003681 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is
3682 # finalized. This is the deal ID that shows up in serving/reporting etc.
3683 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created.
3684 #
3685 # Note: This field may be set only when creating the resource. Modifying
3686 # this field while updating the resource will result in an error.
3687 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
3688 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Bu Sun Kim65020912020-05-20 12:08:20 -07003689 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to # Output only. Specifies the subset of inventory targeted by the deal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003690 # target ad inventory. For example, they can choose to target ad requests only
3691 # if the user is in the US.
3692 # Multiple types of targeting are always applied as a logical AND, unless noted
3693 # otherwise.
Bu Sun Kim65020912020-05-20 12:08:20 -07003694 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or # Placement targeting information, e.g., URL, mobile applications.
3695 # mobile applications.
3696 # Different placement targeting types will be logically OR&#x27;ed.
3697 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). # URLs to be included/excluded.
3698 # For Private Auction and AdX Preferred Deals, URLs are either included or
3699 # excluded.
3700 # For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t
3701 # apply.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003702 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07003703 &quot;A String&quot;,
3704 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003705 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07003706 &quot;A String&quot;,
3707 ],
3708 },
3709 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal.
3710 # This doesn&#x27;t apply to Auction Packages.
3711 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that # Publisher owned apps to be targeted or excluded by the publisher to
Dan O'Mearadd494642020-05-01 07:42:23 -07003712 # display the ads in.
3713 # publishers own.
3714 # Mobile application IDs are from App Store and Google Play Store.
3715 # Android App ID, for example, com.google.android.apps.maps, can be found in
3716 # Google Play Store URL.
3717 # iOS App ID (which is a number) can be found at the end of iTunes store URL.
3718 # First party mobile applications is either included or excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003719 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07003720 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07003721 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003722 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07003723 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07003724 ],
3725 },
3726 },
3727 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003728 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad # Inventory sizes to be included/excluded.
3729 # request. It only applies to Private Auction, AdX Preferred Deals and
3730 # Auction Packages. This targeting does not apply to Programmatic Guaranteed
3731 # and Preferred Deals in Ad Manager.
3732 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3733 { # Represents size of a single ad slot, or a creative.
3734 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
3735 # This field will be present only when size type is `PIXEL`.
3736 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
3737 # This field will be present only when size type is `PIXEL`.
3738 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3739 },
3740 ],
3741 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3742 { # Represents size of a single ad slot, or a creative.
3743 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
3744 # This field will be present only when size type is `PIXEL`.
3745 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
3746 # This field will be present only when size type is `PIXEL`.
3747 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3748 },
3749 ],
3750 },
3751 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # Geo criteria IDs to be included/excluded.
3752 # included and excluded numeric IDs.
3753 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3754 &quot;A String&quot;,
3755 ],
3756 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3757 &quot;A String&quot;,
3758 ],
3759 },
3760 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
3761 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
3762 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating system versions to be included/excluded.
3763 # included and excluded numeric IDs.
3764 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3765 &quot;A String&quot;,
3766 ],
3767 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3768 &quot;A String&quot;,
3769 ],
3770 },
3771 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating systems to be included/excluded.
3772 # included and excluded numeric IDs.
3773 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3774 &quot;A String&quot;,
3775 ],
3776 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3777 &quot;A String&quot;,
3778 ],
3779 },
3780 },
3781 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device capabilities to be included/excluded.
3782 # included and excluded numeric IDs.
3783 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3784 &quot;A String&quot;,
3785 ],
3786 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3787 &quot;A String&quot;,
3788 ],
3789 },
3790 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device categories to be included/excluded.
3791 # included and excluded numeric IDs.
3792 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3793 &quot;A String&quot;,
3794 ],
3795 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3796 &quot;A String&quot;,
3797 ],
3798 },
3799 },
3800 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3801 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included.
3802 # When the included list is present, the excluded list must be empty.
3803 # When the excluded list is present, the included list must be empty.
3804 &quot;A String&quot;,
3805 ],
3806 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded.
3807 # Position types can either be included or excluded (XOR).
3808 &quot;A String&quot;,
3809 ],
3810 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003811 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003812 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
3813 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
3814 # operations (max-length: 1024 unicode code units).
3815 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003816 &quot;deliveryControl&quot;: { # Message contains details about how the deals will be paced. # The set of fields around delivery control that are interesting for a buyer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003817 # to see but are non-negotiable. These are set by the publisher.
Bu Sun Kim65020912020-05-20 12:08:20 -07003818 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003819 { # Frequency cap.
Bu Sun Kim65020912020-05-20 12:08:20 -07003820 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003821 # specified time period.
Bu Sun Kim65020912020-05-20 12:08:20 -07003822 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over
3823 # which impressions per user are counted and capped.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003824 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the
3825 # amount of time over which impressions per user are counted and capped.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003826 },
3827 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003828 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003829 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003830 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003831 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal.
3832 # This will generally be stored in a granularity of a second.
3833 # A value is not required for Private Auction deals or Preferred Deals.
3834 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal.
3835 # This will generally be stored in the granularity of one second since deal
3836 # serving starts at seconds boundary. Any time specified with more
3837 # granularity (e.g., in milliseconds) will be truncated towards the start of
3838 # time in seconds.
3839 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
3840 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
3841 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from.
3842 # If present on create, and the server `product_revision` has advanced sinced
3843 # the passed-in `create_product_revision`, an `ABORTED` error will be
3844 # returned.
3845 #
3846 # Note: This field may be set only when creating the resource. Modifying
3847 # this field while updating the resource will result in an error.
3848 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
3849 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
3850 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3851 { # Contains information on how a buyer or seller can be reached.
3852 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3853 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003854 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003855 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003856 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003857 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal.
3858 #
3859 # Note: This field may be set only when creating the resource. Modifying
3860 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003861 },
3862 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003863 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Output only. Reference to the buyer that will get billed for this proposal.
3864 # Authorized Buyers account ID.
3865 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3866 },
3867 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07003868 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique # Reference to the seller on the proposal.
Dan O'Mearadd494642020-05-01 07:42:23 -07003869 #
3870 # Note: This field may be set only when creating the resource. Modifying
3871 # this field while updating the resource will result in an error.
3872 # Ad Manager account ID.
Bu Sun Kim65020912020-05-20 12:08:20 -07003873 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
3874 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field.
Dan O'Mearadd494642020-05-01 07:42:23 -07003875 # The seller account ID is then available to buyer in the product.
3876 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003877 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
3878 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
3879 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
3880 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
3881 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
3882 { # A proposal may be associated to several notes.
3883 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
3884 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
3885 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
3886 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
3887 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
3888 # (max-length: 1024 unicode code units)
3889 #
3890 # Note: This field may be set only when creating the resource. Modifying
3891 # this field while updating the resource will result in an error.
3892 },
3893 ],
3894 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
3895 { # Contains information on how a buyer or seller can be reached.
3896 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3897 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3898 },
3899 ],
3900 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
3901 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
3902 # operations (max-length: 1024 unicode code units).
3903 },
3904 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
3905 { # Contains information on how a buyer or seller can be reached.
3906 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3907 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3908 },
3909 ],
3910 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction
3911 # proposal.
3912 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
3913 # proposal.
3914 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Reference to the buyer on the proposal.
3915 #
3916 # Note: This field may be set only when creating the resource. Modifying
3917 # this field while updating the resource will result in an error.
3918 # Authorized Buyers account ID.
3919 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3920 },
3921 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or
3922 # left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003923 }</pre>
3924</div>
3925
3926<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003927 <code class="details" id="list">list(accountId, pageToken=None, filterSyntax=None, filter=None, pageSize=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003928 <pre>List proposals. A filter expression (PQL query) may be specified to
3929filter the results. To retrieve all finalized proposals, regardless if a
3930proposal is being renegotiated, see the FinalizedProposals resource.
3931Note that Bidder/ChildSeat relationships differ from the usual behavior.
Bu Sun Kim65020912020-05-20 12:08:20 -07003932A Bidder account can only see its child seats&#x27; proposals by specifying
3933the ChildSeat&#x27;s accountId in the request path.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003934
3935Args:
3936 accountId: string, Account ID of the buyer. (required)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003937 pageToken: string, The page token as returned from ListProposalsResponse.
3938 filterSyntax: string, Syntax the filter is written in. Current implementation defaults to PQL
3939but in the future it will be LIST_FILTER.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003940 filter: string, An optional PQL filter query used to query for proposals.
3941
3942Nested repeated fields, such as proposal.deals.targetingCriterion,
3943cannot be filtered.
Bu Sun Kim65020912020-05-20 12:08:20 -07003944 pageSize: integer, Requested page size. The server may return fewer results than requested.
3945If unspecified, the server will pick an appropriate default.
Bu Sun Kim65020912020-05-20 12:08:20 -07003946 x__xgafv: string, V1 error format.
3947 Allowed values
3948 1 - v1 error format
3949 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003950
3951Returns:
3952 An object of the form:
3953
3954 { # Response message for listing proposals.
Bu Sun Kim65020912020-05-20 12:08:20 -07003955 &quot;proposals&quot;: [ # The list of proposals.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003956 { # Note: this resource requires whitelisting for access. Please contact your
3957 # account manager for access to Marketplace resources.
3958 #
3959 # Represents a proposal in the Marketplace. A proposal is the unit of
3960 # negotiation between a seller and a buyer and contains deals which
3961 # are served.
3962 #
3963 # Note: you can not update, create, or otherwise modify Private
3964 # Auction or Preferred Deals deals through the API.
3965 #
3966 # Fields are updatable unless noted otherwise.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003967 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal.
3968 # Each update to the proposal or the deal causes the proposal revision number
3969 # to auto-increment. The buyer keeps track of the last revision number they
3970 # know of and pass it in when making an update. If the head revision number
3971 # on the server has since incremented, then an ABORTED error is returned
3972 # during the update operation to let the buyer know that a subsequent update
3973 # was made.
Bu Sun Kim65020912020-05-20 12:08:20 -07003974 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07003975 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003976 # (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
3977 { # A deal represents a segment of inventory for displaying ads on.
3978 # A proposal can contain multiple deals. A deal contains the terms and
3979 # targeting information that is used for serving.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003980 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
3981 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
3982 # deal.
3983 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Bu Sun Kim65020912020-05-20 12:08:20 -07003984 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals.
3985 # PUBLISHER means creative is provided by seller and ADVERTISER means
3986 # creative is provided by buyer.
Bu Sun Kim65020912020-05-20 12:08:20 -07003987 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared
3988 # targeting entity is AND&#x27;d together.
3989 { # Advertisers can target different attributes of an ad slot. For example,
3990 # they can choose to show ads only if the user is in the U.S. Such
3991 # targeting criteria can be specified as part of Shared Targeting.
3992 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d
3993 # together.
3994 { # A polymorphic targeting value used as part of Shared Targeting.
Bu Sun Kim65020912020-05-20 12:08:20 -07003995 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
3996 # Filled in when the key is GOOG_DAYPART_TARGETING.
3997 # The definition of this targeting is derived from the structure
3998 # used by Ad Manager.
3999 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4000 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4001 { # Daypart targeting message that specifies if the ad can be shown
4002 # only during certain parts of a day/week.
Bu Sun Kim65020912020-05-20 12:08:20 -07004003 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
4004 # granularity). The end time is exclusive. This field is not available
4005 # for filtering in PQL queries.
4006 # or are specified elsewhere. An API may choose to allow leap seconds. Related
4007 # types are google.type.Date and `google.protobuf.Timestamp`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004008 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Bu Sun Kim65020912020-05-20 12:08:20 -07004009 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
4010 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004011 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Bu Sun Kim65020912020-05-20 12:08:20 -07004012 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
4013 # allow the value 60 if it allows leap-seconds.
4014 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004015 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
4016 # The start time is inclusive.
4017 # This field is not available for filtering in PQL queries.
4018 # or are specified elsewhere. An API may choose to allow leap seconds. Related
4019 # types are google.type.Date and `google.protobuf.Timestamp`.
4020 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4021 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
4022 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
4023 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4024 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
4025 # allow the value 60 if it allows leap-seconds.
4026 },
4027 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Bu Sun Kim65020912020-05-20 12:08:20 -07004028 },
4029 ],
4030 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004031 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4032 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
4033 # Filled in when key = GOOG_CREATIVE_SIZE
4034 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
4035 # only if creative_size_type = CreativeSizeType.NATIVE.
4036 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
4037 # of the creative
4038 # height depend on the type of the targeting.
4039 &quot;width&quot;: 42, # The width of the creative
4040 &quot;height&quot;: 42, # The height of the creative.
4041 },
4042 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4043 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
4044 # If this repeated field is empty then all formats are allowed.
4045 # For example, if this field contains AllowedFormatType.AUDIO then the
4046 # publisher only allows an audio ad (without any video).
4047 &quot;A String&quot;,
4048 ],
4049 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
4050 # creative_size_type = CreativeSizeType.VIDEO.
4051 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
4052 # Companion sizes may be filled in only when creative_size_type = VIDEO
4053 { # Message depicting the size of the creative. The units of width and
4054 # height depend on the type of the targeting.
4055 &quot;width&quot;: 42, # The width of the creative
4056 &quot;height&quot;: 42, # The height of the creative.
4057 },
4058 ],
4059 },
4060 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
4061 },
4062 ],
4063 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d
4064 # together.
4065 { # A polymorphic targeting value used as part of Shared Targeting.
4066 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
4067 # Filled in when the key is GOOG_DAYPART_TARGETING.
4068 # The definition of this targeting is derived from the structure
4069 # used by Ad Manager.
4070 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4071 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4072 { # Daypart targeting message that specifies if the ad can be shown
4073 # only during certain parts of a day/week.
4074 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
4075 # granularity). The end time is exclusive. This field is not available
4076 # for filtering in PQL queries.
4077 # or are specified elsewhere. An API may choose to allow leap seconds. Related
4078 # types are google.type.Date and `google.protobuf.Timestamp`.
4079 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4080 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
4081 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
4082 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4083 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
4084 # allow the value 60 if it allows leap-seconds.
4085 },
4086 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
4087 # The start time is inclusive.
4088 # This field is not available for filtering in PQL queries.
4089 # or are specified elsewhere. An API may choose to allow leap seconds. Related
4090 # types are google.type.Date and `google.protobuf.Timestamp`.
4091 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4092 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
4093 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
4094 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4095 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
4096 # allow the value 60 if it allows leap-seconds.
4097 },
4098 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
4099 },
4100 ],
4101 },
4102 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4103 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
4104 # Filled in when key = GOOG_CREATIVE_SIZE
4105 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
4106 # only if creative_size_type = CreativeSizeType.NATIVE.
4107 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
4108 # of the creative
4109 # height depend on the type of the targeting.
4110 &quot;width&quot;: 42, # The width of the creative
4111 &quot;height&quot;: 42, # The height of the creative.
4112 },
4113 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4114 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
4115 # If this repeated field is empty then all formats are allowed.
4116 # For example, if this field contains AllowedFormatType.AUDIO then the
4117 # publisher only allows an audio ad (without any video).
4118 &quot;A String&quot;,
4119 ],
4120 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
4121 # creative_size_type = CreativeSizeType.VIDEO.
4122 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
4123 # Companion sizes may be filled in only when creative_size_type = VIDEO
4124 { # Message depicting the size of the creative. The units of width and
4125 # height depend on the type of the targeting.
4126 &quot;width&quot;: 42, # The width of the creative
4127 &quot;height&quot;: 42, # The height of the creative.
4128 },
4129 ],
4130 },
4131 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Bu Sun Kim65020912020-05-20 12:08:20 -07004132 },
4133 ],
4134 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion.
4135 # Targeting criteria defined by Google ad servers will begin with GOOG_.
4136 # Third parties may define their own keys.
4137 # A list of permissible keys along with the acceptable values will be
4138 # provided as part of the external documentation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004139 },
4140 ],
4141 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ # Output only. Restricitions about the creatives associated with the deal
4142 # (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals
4143 # in Ad Manager.
4144 # Preferred Deal in Ad Manager.
4145 # This doesn&#x27;t apply to Private Auction and AdX Preferred Deals.
4146 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
4147 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
4148 &quot;creativeSpecifications&quot;: [
4149 { # Represents information for a creative that is associated with a Programmatic
4150 # Guaranteed/Preferred Deal in Ad Manager.
4151 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
4152 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
4153 # This field will be present only when size type is `PIXEL`.
4154 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
4155 # This field will be present only when size type is `PIXEL`.
4156 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim65020912020-05-20 12:08:20 -07004157 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004158 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
4159 { # Represents size of a single ad slot, or a creative.
4160 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
4161 # This field will be present only when size type is `PIXEL`.
4162 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
4163 # This field will be present only when size type is `PIXEL`.
4164 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4165 },
4166 ],
4167 },
4168 ],
4169 },
4170 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
4171 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. # Output only. Tracks which parties (if any) have paused a deal.
4172 # The deal is considered paused if either hasBuyerPaused or
4173 # hasSellPaused is true.
4174 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
4175 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
4176 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
4177 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
4178 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim65020912020-05-20 12:08:20 -07004179 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004180 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004181 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things # The negotiable terms of the deal.
4182 # like price per buyer, the type of pricing model (e.g., fixed price, auction)
4183 # and expected impressions from the publisher.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004184 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
4185 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
4186 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage
4187 # of guaranteed looks that the buyer is guaranteeing to buy.
4188 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Bu Sun Kim65020912020-05-20 12:08:20 -07004189 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4190 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
4191 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
4192 # a particular buyer or buyer/advertiser pair, we look for the most specific
4193 # matching rule - we first look for a rule matching the buyer and advertiser,
4194 # next a rule with the buyer but an empty advertiser list, and otherwise look
4195 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004196 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
4197 # If empty, all advertisers with this buyer pay this price.
4198 &quot;A String&quot;,
4199 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004200 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004201 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07004202 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004203 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
4204 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07004205 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
4206 # The value must be between -999,999,999 and +999,999,999 inclusive.
4207 # If `units` is positive, `nanos` must be positive or zero.
4208 # If `units` is zero, `nanos` can be positive, zero, or negative.
4209 # If `units` is negative, `nanos` must be negative or zero.
4210 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004211 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07004212 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004213 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004214 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
4215 # (if the
4216 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
4217 # Authorized Buyers account ID.
4218 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4219 },
4220 },
4221 ],
4222 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004223 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
4224 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the
4225 # time zone used to mark the boundaries of a day. It should be an
4226 # IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information,
4227 # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Bu Sun Kim65020912020-05-20 12:08:20 -07004228 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day.
4229 # Can be set by buyer or seller.
4230 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only # The terms for non-guaranteed auction deals.
4231 # by the seller, but they can be returned in a get or list request.
4232 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers
4233 # in this private auction.
4234 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
4235 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
4236 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
4237 # a particular buyer or buyer/advertiser pair, we look for the most specific
4238 # matching rule - we first look for a rule matching the buyer and advertiser,
4239 # next a rule with the buyer but an empty advertiser list, and otherwise look
4240 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004241 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
4242 # If empty, all advertisers with this buyer pay this price.
4243 &quot;A String&quot;,
4244 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004245 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004246 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07004247 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004248 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
4249 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07004250 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
4251 # The value must be between -999,999,999 and +999,999,999 inclusive.
4252 # If `units` is positive, `nanos` must be positive or zero.
4253 # If `units` is zero, `nanos` can be positive, zero, or negative.
4254 # If `units` is negative, `nanos` must be negative or zero.
4255 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004256 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07004257 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004258 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004259 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
4260 # (if the
4261 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
4262 # Authorized Buyers account ID.
4263 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4264 },
4265 },
4266 ],
4267 },
4268 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via # The terms for non-guaranteed fixed price deals.
4269 # the API at this time, but can be returned in a get or list request.
4270 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4271 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
4272 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
4273 # a particular buyer or buyer/advertiser pair, we look for the most specific
4274 # matching rule - we first look for a rule matching the buyer and advertiser,
4275 # next a rule with the buyer but an empty advertiser list, and otherwise look
4276 # for a matching rule where no buyer is set.
Bu Sun Kim65020912020-05-20 12:08:20 -07004277 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
4278 # If empty, all advertisers with this buyer pay this price.
4279 &quot;A String&quot;,
4280 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004281 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4282 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4283 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4284 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
4285 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
4286 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
4287 # The value must be between -999,999,999 and +999,999,999 inclusive.
4288 # If `units` is positive, `nanos` must be positive or zero.
4289 # If `units` is zero, `nanos` can be positive, zero, or negative.
4290 # If `units` is negative, `nanos` must be negative or zero.
4291 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
4292 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
4293 },
4294 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004295 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
4296 # (if the
4297 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
4298 # Authorized Buyers account ID.
4299 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4300 },
4301 },
4302 ],
4303 },
4304 &quot;estimatedGrossSpend&quot;: { # Represents a price and a pricing type for a product / deal. # Non-binding estimate of the estimated gross spend for this deal.
4305 # Can be set by buyer or seller.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004306 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07004307 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004308 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
4309 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07004310 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
4311 # The value must be between -999,999,999 and +999,999,999 inclusive.
4312 # If `units` is positive, `nanos` must be positive or zero.
4313 # If `units` is zero, `nanos` can be positive, zero, or negative.
4314 # If `units` is negative, `nanos` must be negative or zero.
4315 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004316 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07004317 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004318 },
4319 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kim65020912020-05-20 12:08:20 -07004320 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004321 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is
4322 # finalized. This is the deal ID that shows up in serving/reporting etc.
4323 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created.
4324 #
4325 # Note: This field may be set only when creating the resource. Modifying
4326 # this field while updating the resource will result in an error.
4327 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
4328 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Bu Sun Kim65020912020-05-20 12:08:20 -07004329 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to # Output only. Specifies the subset of inventory targeted by the deal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004330 # target ad inventory. For example, they can choose to target ad requests only
4331 # if the user is in the US.
4332 # Multiple types of targeting are always applied as a logical AND, unless noted
4333 # otherwise.
Bu Sun Kim65020912020-05-20 12:08:20 -07004334 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or # Placement targeting information, e.g., URL, mobile applications.
4335 # mobile applications.
4336 # Different placement targeting types will be logically OR&#x27;ed.
4337 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). # URLs to be included/excluded.
4338 # For Private Auction and AdX Preferred Deals, URLs are either included or
4339 # excluded.
4340 # For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t
4341 # apply.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004342 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07004343 &quot;A String&quot;,
4344 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004345 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07004346 &quot;A String&quot;,
4347 ],
4348 },
4349 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal.
4350 # This doesn&#x27;t apply to Auction Packages.
4351 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that # Publisher owned apps to be targeted or excluded by the publisher to
Dan O'Mearadd494642020-05-01 07:42:23 -07004352 # display the ads in.
4353 # publishers own.
4354 # Mobile application IDs are from App Store and Google Play Store.
4355 # Android App ID, for example, com.google.android.apps.maps, can be found in
4356 # Google Play Store URL.
4357 # iOS App ID (which is a number) can be found at the end of iTunes store URL.
4358 # First party mobile applications is either included or excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004359 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07004360 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07004361 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004362 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07004363 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07004364 ],
4365 },
4366 },
4367 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004368 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad # Inventory sizes to be included/excluded.
4369 # request. It only applies to Private Auction, AdX Preferred Deals and
4370 # Auction Packages. This targeting does not apply to Programmatic Guaranteed
4371 # and Preferred Deals in Ad Manager.
4372 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
4373 { # Represents size of a single ad slot, or a creative.
4374 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
4375 # This field will be present only when size type is `PIXEL`.
4376 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
4377 # This field will be present only when size type is `PIXEL`.
4378 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4379 },
4380 ],
4381 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
4382 { # Represents size of a single ad slot, or a creative.
4383 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
4384 # This field will be present only when size type is `PIXEL`.
4385 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
4386 # This field will be present only when size type is `PIXEL`.
4387 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4388 },
4389 ],
4390 },
4391 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # Geo criteria IDs to be included/excluded.
4392 # included and excluded numeric IDs.
4393 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4394 &quot;A String&quot;,
4395 ],
4396 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4397 &quot;A String&quot;,
4398 ],
4399 },
4400 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
4401 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
4402 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating system versions to be included/excluded.
4403 # included and excluded numeric IDs.
4404 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4405 &quot;A String&quot;,
4406 ],
4407 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4408 &quot;A String&quot;,
4409 ],
4410 },
4411 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating systems to be included/excluded.
4412 # included and excluded numeric IDs.
4413 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4414 &quot;A String&quot;,
4415 ],
4416 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4417 &quot;A String&quot;,
4418 ],
4419 },
4420 },
4421 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device capabilities to be included/excluded.
4422 # included and excluded numeric IDs.
4423 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4424 &quot;A String&quot;,
4425 ],
4426 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4427 &quot;A String&quot;,
4428 ],
4429 },
4430 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device categories to be included/excluded.
4431 # included and excluded numeric IDs.
4432 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4433 &quot;A String&quot;,
4434 ],
4435 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4436 &quot;A String&quot;,
4437 ],
4438 },
4439 },
4440 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
4441 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included.
4442 # When the included list is present, the excluded list must be empty.
4443 # When the excluded list is present, the included list must be empty.
4444 &quot;A String&quot;,
4445 ],
4446 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded.
4447 # Position types can either be included or excluded (XOR).
4448 &quot;A String&quot;,
4449 ],
4450 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004451 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004452 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
4453 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
4454 # operations (max-length: 1024 unicode code units).
4455 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004456 &quot;deliveryControl&quot;: { # Message contains details about how the deals will be paced. # The set of fields around delivery control that are interesting for a buyer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004457 # to see but are non-negotiable. These are set by the publisher.
Bu Sun Kim65020912020-05-20 12:08:20 -07004458 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004459 { # Frequency cap.
Bu Sun Kim65020912020-05-20 12:08:20 -07004460 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004461 # specified time period.
Bu Sun Kim65020912020-05-20 12:08:20 -07004462 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over
4463 # which impressions per user are counted and capped.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004464 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the
4465 # amount of time over which impressions per user are counted and capped.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004466 },
4467 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004468 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004469 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004470 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004471 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal.
4472 # This will generally be stored in a granularity of a second.
4473 # A value is not required for Private Auction deals or Preferred Deals.
4474 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal.
4475 # This will generally be stored in the granularity of one second since deal
4476 # serving starts at seconds boundary. Any time specified with more
4477 # granularity (e.g., in milliseconds) will be truncated towards the start of
4478 # time in seconds.
4479 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
4480 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
4481 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from.
4482 # If present on create, and the server `product_revision` has advanced sinced
4483 # the passed-in `create_product_revision`, an `ABORTED` error will be
4484 # returned.
4485 #
4486 # Note: This field may be set only when creating the resource. Modifying
4487 # this field while updating the resource will result in an error.
4488 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
4489 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
4490 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
4491 { # Contains information on how a buyer or seller can be reached.
4492 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4493 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004494 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004495 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004496 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004497 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal.
4498 #
4499 # Note: This field may be set only when creating the resource. Modifying
4500 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004501 },
4502 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004503 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Output only. Reference to the buyer that will get billed for this proposal.
4504 # Authorized Buyers account ID.
4505 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4506 },
4507 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07004508 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique # Reference to the seller on the proposal.
Dan O'Mearadd494642020-05-01 07:42:23 -07004509 #
4510 # Note: This field may be set only when creating the resource. Modifying
4511 # this field while updating the resource will result in an error.
4512 # Ad Manager account ID.
Bu Sun Kim65020912020-05-20 12:08:20 -07004513 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
4514 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field.
Dan O'Mearadd494642020-05-01 07:42:23 -07004515 # The seller account ID is then available to buyer in the product.
4516 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004517 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
4518 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
4519 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
4520 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
4521 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
4522 { # A proposal may be associated to several notes.
4523 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
4524 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
4525 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
4526 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
4527 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
4528 # (max-length: 1024 unicode code units)
4529 #
4530 # Note: This field may be set only when creating the resource. Modifying
4531 # this field while updating the resource will result in an error.
4532 },
4533 ],
4534 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
4535 { # Contains information on how a buyer or seller can be reached.
4536 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4537 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4538 },
4539 ],
4540 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
4541 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
4542 # operations (max-length: 1024 unicode code units).
4543 },
4544 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
4545 { # Contains information on how a buyer or seller can be reached.
4546 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4547 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4548 },
4549 ],
4550 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction
4551 # proposal.
4552 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
4553 # proposal.
4554 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Reference to the buyer on the proposal.
4555 #
4556 # Note: This field may be set only when creating the resource. Modifying
4557 # this field while updating the resource will result in an error.
4558 # Authorized Buyers account ID.
4559 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4560 },
4561 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or
4562 # left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004563 },
4564 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004565 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004566 }</pre>
4567</div>
4568
4569<div class="method">
4570 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
4571 <pre>Retrieves the next page of results.
4572
4573Args:
4574 previous_request: The request for the previous page. (required)
4575 previous_response: The response from the request for the previous page. (required)
4576
4577Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07004578 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004579 page. Returns None if there are no more items in the collection.
4580 </pre>
4581</div>
4582
4583<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07004584 <code class="details" id="pause">pause(accountId, proposalId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004585 <pre>Update the given proposal to pause serving.
4586This method will set the
4587`DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all
4588deals in the proposal.
4589
4590It is a no-op to pause an already-paused proposal.
4591It is an error to call PauseProposal for a proposal that is not
4592finalized or renegotiating.
4593
4594Args:
4595 accountId: string, Account ID of the buyer. (required)
4596 proposalId: string, The ID of the proposal to pause. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004597 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004598 The object takes the form of:
4599
4600{ # Request message to pause serving for an already-finalized proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07004601 &quot;reason&quot;: &quot;A String&quot;, # The reason why the proposal is being paused.
4602 # This human readable message will be displayed in the seller&#x27;s UI.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004603 # (Max length: 1000 unicode code units.)
4604 }
4605
4606 x__xgafv: string, V1 error format.
4607 Allowed values
4608 1 - v1 error format
4609 2 - v2 error format
4610
4611Returns:
4612 An object of the form:
4613
4614 { # Note: this resource requires whitelisting for access. Please contact your
4615 # account manager for access to Marketplace resources.
4616 #
4617 # Represents a proposal in the Marketplace. A proposal is the unit of
4618 # negotiation between a seller and a buyer and contains deals which
4619 # are served.
4620 #
4621 # Note: you can not update, create, or otherwise modify Private
4622 # Auction or Preferred Deals deals through the API.
4623 #
4624 # Fields are updatable unless noted otherwise.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004625 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal.
4626 # Each update to the proposal or the deal causes the proposal revision number
4627 # to auto-increment. The buyer keeps track of the last revision number they
4628 # know of and pass it in when making an update. If the head revision number
4629 # on the server has since incremented, then an ABORTED error is returned
4630 # during the update operation to let the buyer know that a subsequent update
4631 # was made.
Bu Sun Kim65020912020-05-20 12:08:20 -07004632 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07004633 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004634 # (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
4635 { # A deal represents a segment of inventory for displaying ads on.
4636 # A proposal can contain multiple deals. A deal contains the terms and
4637 # targeting information that is used for serving.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004638 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
4639 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
4640 # deal.
4641 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004642 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals.
4643 # PUBLISHER means creative is provided by seller and ADVERTISER means
4644 # creative is provided by buyer.
Bu Sun Kim65020912020-05-20 12:08:20 -07004645 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared
4646 # targeting entity is AND&#x27;d together.
4647 { # Advertisers can target different attributes of an ad slot. For example,
4648 # they can choose to show ads only if the user is in the U.S. Such
4649 # targeting criteria can be specified as part of Shared Targeting.
4650 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d
4651 # together.
4652 { # A polymorphic targeting value used as part of Shared Targeting.
Bu Sun Kim65020912020-05-20 12:08:20 -07004653 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
4654 # Filled in when the key is GOOG_DAYPART_TARGETING.
4655 # The definition of this targeting is derived from the structure
4656 # used by Ad Manager.
4657 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4658 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4659 { # Daypart targeting message that specifies if the ad can be shown
4660 # only during certain parts of a day/week.
Bu Sun Kim65020912020-05-20 12:08:20 -07004661 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
4662 # granularity). The end time is exclusive. This field is not available
4663 # for filtering in PQL queries.
4664 # or are specified elsewhere. An API may choose to allow leap seconds. Related
4665 # types are google.type.Date and `google.protobuf.Timestamp`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004666 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Bu Sun Kim65020912020-05-20 12:08:20 -07004667 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
4668 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004669 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Bu Sun Kim65020912020-05-20 12:08:20 -07004670 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
4671 # allow the value 60 if it allows leap-seconds.
4672 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004673 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
4674 # The start time is inclusive.
4675 # This field is not available for filtering in PQL queries.
4676 # or are specified elsewhere. An API may choose to allow leap seconds. Related
4677 # types are google.type.Date and `google.protobuf.Timestamp`.
4678 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4679 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
4680 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
4681 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4682 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
4683 # allow the value 60 if it allows leap-seconds.
4684 },
4685 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Bu Sun Kim65020912020-05-20 12:08:20 -07004686 },
4687 ],
4688 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004689 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4690 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
4691 # Filled in when key = GOOG_CREATIVE_SIZE
4692 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
4693 # only if creative_size_type = CreativeSizeType.NATIVE.
4694 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
4695 # of the creative
4696 # height depend on the type of the targeting.
4697 &quot;width&quot;: 42, # The width of the creative
4698 &quot;height&quot;: 42, # The height of the creative.
4699 },
4700 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4701 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
4702 # If this repeated field is empty then all formats are allowed.
4703 # For example, if this field contains AllowedFormatType.AUDIO then the
4704 # publisher only allows an audio ad (without any video).
4705 &quot;A String&quot;,
4706 ],
4707 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
4708 # creative_size_type = CreativeSizeType.VIDEO.
4709 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
4710 # Companion sizes may be filled in only when creative_size_type = VIDEO
4711 { # Message depicting the size of the creative. The units of width and
4712 # height depend on the type of the targeting.
4713 &quot;width&quot;: 42, # The width of the creative
4714 &quot;height&quot;: 42, # The height of the creative.
4715 },
4716 ],
4717 },
4718 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
4719 },
4720 ],
4721 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d
4722 # together.
4723 { # A polymorphic targeting value used as part of Shared Targeting.
4724 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
4725 # Filled in when the key is GOOG_DAYPART_TARGETING.
4726 # The definition of this targeting is derived from the structure
4727 # used by Ad Manager.
4728 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4729 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4730 { # Daypart targeting message that specifies if the ad can be shown
4731 # only during certain parts of a day/week.
4732 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
4733 # granularity). The end time is exclusive. This field is not available
4734 # for filtering in PQL queries.
4735 # or are specified elsewhere. An API may choose to allow leap seconds. Related
4736 # types are google.type.Date and `google.protobuf.Timestamp`.
4737 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4738 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
4739 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
4740 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4741 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
4742 # allow the value 60 if it allows leap-seconds.
4743 },
4744 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
4745 # The start time is inclusive.
4746 # This field is not available for filtering in PQL queries.
4747 # or are specified elsewhere. An API may choose to allow leap seconds. Related
4748 # types are google.type.Date and `google.protobuf.Timestamp`.
4749 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4750 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
4751 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
4752 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4753 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
4754 # allow the value 60 if it allows leap-seconds.
4755 },
4756 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
4757 },
4758 ],
4759 },
4760 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4761 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
4762 # Filled in when key = GOOG_CREATIVE_SIZE
4763 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
4764 # only if creative_size_type = CreativeSizeType.NATIVE.
4765 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
4766 # of the creative
4767 # height depend on the type of the targeting.
4768 &quot;width&quot;: 42, # The width of the creative
4769 &quot;height&quot;: 42, # The height of the creative.
4770 },
4771 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4772 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
4773 # If this repeated field is empty then all formats are allowed.
4774 # For example, if this field contains AllowedFormatType.AUDIO then the
4775 # publisher only allows an audio ad (without any video).
4776 &quot;A String&quot;,
4777 ],
4778 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
4779 # creative_size_type = CreativeSizeType.VIDEO.
4780 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
4781 # Companion sizes may be filled in only when creative_size_type = VIDEO
4782 { # Message depicting the size of the creative. The units of width and
4783 # height depend on the type of the targeting.
4784 &quot;width&quot;: 42, # The width of the creative
4785 &quot;height&quot;: 42, # The height of the creative.
4786 },
4787 ],
4788 },
4789 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Bu Sun Kim65020912020-05-20 12:08:20 -07004790 },
4791 ],
4792 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion.
4793 # Targeting criteria defined by Google ad servers will begin with GOOG_.
4794 # Third parties may define their own keys.
4795 # A list of permissible keys along with the acceptable values will be
4796 # provided as part of the external documentation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004797 },
4798 ],
4799 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ # Output only. Restricitions about the creatives associated with the deal
4800 # (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals
4801 # in Ad Manager.
4802 # Preferred Deal in Ad Manager.
4803 # This doesn&#x27;t apply to Private Auction and AdX Preferred Deals.
4804 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
4805 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
4806 &quot;creativeSpecifications&quot;: [
4807 { # Represents information for a creative that is associated with a Programmatic
4808 # Guaranteed/Preferred Deal in Ad Manager.
4809 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
4810 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
4811 # This field will be present only when size type is `PIXEL`.
4812 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
4813 # This field will be present only when size type is `PIXEL`.
4814 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim65020912020-05-20 12:08:20 -07004815 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004816 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
4817 { # Represents size of a single ad slot, or a creative.
4818 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
4819 # This field will be present only when size type is `PIXEL`.
4820 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
4821 # This field will be present only when size type is `PIXEL`.
4822 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4823 },
4824 ],
4825 },
4826 ],
4827 },
4828 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
4829 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. # Output only. Tracks which parties (if any) have paused a deal.
4830 # The deal is considered paused if either hasBuyerPaused or
4831 # hasSellPaused is true.
4832 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
4833 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
4834 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
4835 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
4836 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim65020912020-05-20 12:08:20 -07004837 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004838 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004839 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things # The negotiable terms of the deal.
4840 # like price per buyer, the type of pricing model (e.g., fixed price, auction)
4841 # and expected impressions from the publisher.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004842 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
4843 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
4844 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage
4845 # of guaranteed looks that the buyer is guaranteeing to buy.
4846 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Bu Sun Kim65020912020-05-20 12:08:20 -07004847 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4848 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
4849 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
4850 # a particular buyer or buyer/advertiser pair, we look for the most specific
4851 # matching rule - we first look for a rule matching the buyer and advertiser,
4852 # next a rule with the buyer but an empty advertiser list, and otherwise look
4853 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004854 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
4855 # If empty, all advertisers with this buyer pay this price.
4856 &quot;A String&quot;,
4857 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004858 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004859 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07004860 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004861 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
4862 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07004863 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
4864 # The value must be between -999,999,999 and +999,999,999 inclusive.
4865 # If `units` is positive, `nanos` must be positive or zero.
4866 # If `units` is zero, `nanos` can be positive, zero, or negative.
4867 # If `units` is negative, `nanos` must be negative or zero.
4868 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004869 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07004870 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004871 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004872 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
4873 # (if the
4874 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
4875 # Authorized Buyers account ID.
4876 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4877 },
4878 },
4879 ],
4880 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004881 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
4882 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the
4883 # time zone used to mark the boundaries of a day. It should be an
4884 # IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information,
4885 # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Bu Sun Kim65020912020-05-20 12:08:20 -07004886 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day.
4887 # Can be set by buyer or seller.
4888 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only # The terms for non-guaranteed auction deals.
4889 # by the seller, but they can be returned in a get or list request.
4890 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers
4891 # in this private auction.
4892 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
4893 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
4894 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
4895 # a particular buyer or buyer/advertiser pair, we look for the most specific
4896 # matching rule - we first look for a rule matching the buyer and advertiser,
4897 # next a rule with the buyer but an empty advertiser list, and otherwise look
4898 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004899 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
4900 # If empty, all advertisers with this buyer pay this price.
4901 &quot;A String&quot;,
4902 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004903 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004904 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07004905 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004906 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
4907 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07004908 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
4909 # The value must be between -999,999,999 and +999,999,999 inclusive.
4910 # If `units` is positive, `nanos` must be positive or zero.
4911 # If `units` is zero, `nanos` can be positive, zero, or negative.
4912 # If `units` is negative, `nanos` must be negative or zero.
4913 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004914 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07004915 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004916 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004917 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
4918 # (if the
4919 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
4920 # Authorized Buyers account ID.
4921 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4922 },
4923 },
4924 ],
4925 },
4926 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via # The terms for non-guaranteed fixed price deals.
4927 # the API at this time, but can be returned in a get or list request.
4928 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4929 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
4930 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
4931 # a particular buyer or buyer/advertiser pair, we look for the most specific
4932 # matching rule - we first look for a rule matching the buyer and advertiser,
4933 # next a rule with the buyer but an empty advertiser list, and otherwise look
4934 # for a matching rule where no buyer is set.
Bu Sun Kim65020912020-05-20 12:08:20 -07004935 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
4936 # If empty, all advertisers with this buyer pay this price.
4937 &quot;A String&quot;,
4938 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004939 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4940 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4941 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4942 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
4943 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
4944 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
4945 # The value must be between -999,999,999 and +999,999,999 inclusive.
4946 # If `units` is positive, `nanos` must be positive or zero.
4947 # If `units` is zero, `nanos` can be positive, zero, or negative.
4948 # If `units` is negative, `nanos` must be negative or zero.
4949 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
4950 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
4951 },
4952 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004953 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
4954 # (if the
4955 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
4956 # Authorized Buyers account ID.
4957 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4958 },
4959 },
4960 ],
4961 },
4962 &quot;estimatedGrossSpend&quot;: { # Represents a price and a pricing type for a product / deal. # Non-binding estimate of the estimated gross spend for this deal.
4963 # Can be set by buyer or seller.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004964 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07004965 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004966 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
4967 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07004968 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
4969 # The value must be between -999,999,999 and +999,999,999 inclusive.
4970 # If `units` is positive, `nanos` must be positive or zero.
4971 # If `units` is zero, `nanos` can be positive, zero, or negative.
4972 # If `units` is negative, `nanos` must be negative or zero.
4973 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004974 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07004975 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004976 },
4977 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kim65020912020-05-20 12:08:20 -07004978 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004979 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is
4980 # finalized. This is the deal ID that shows up in serving/reporting etc.
4981 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created.
4982 #
4983 # Note: This field may be set only when creating the resource. Modifying
4984 # this field while updating the resource will result in an error.
4985 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
4986 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Bu Sun Kim65020912020-05-20 12:08:20 -07004987 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to # Output only. Specifies the subset of inventory targeted by the deal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004988 # target ad inventory. For example, they can choose to target ad requests only
4989 # if the user is in the US.
4990 # Multiple types of targeting are always applied as a logical AND, unless noted
4991 # otherwise.
Bu Sun Kim65020912020-05-20 12:08:20 -07004992 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or # Placement targeting information, e.g., URL, mobile applications.
4993 # mobile applications.
4994 # Different placement targeting types will be logically OR&#x27;ed.
4995 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). # URLs to be included/excluded.
4996 # For Private Auction and AdX Preferred Deals, URLs are either included or
4997 # excluded.
4998 # For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t
4999 # apply.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005000 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07005001 &quot;A String&quot;,
5002 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005003 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07005004 &quot;A String&quot;,
5005 ],
5006 },
5007 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal.
5008 # This doesn&#x27;t apply to Auction Packages.
5009 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that # Publisher owned apps to be targeted or excluded by the publisher to
Dan O'Mearadd494642020-05-01 07:42:23 -07005010 # display the ads in.
5011 # publishers own.
5012 # Mobile application IDs are from App Store and Google Play Store.
5013 # Android App ID, for example, com.google.android.apps.maps, can be found in
5014 # Google Play Store URL.
5015 # iOS App ID (which is a number) can be found at the end of iTunes store URL.
5016 # First party mobile applications is either included or excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005017 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07005018 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07005019 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005020 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07005021 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07005022 ],
5023 },
5024 },
5025 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005026 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad # Inventory sizes to be included/excluded.
5027 # request. It only applies to Private Auction, AdX Preferred Deals and
5028 # Auction Packages. This targeting does not apply to Programmatic Guaranteed
5029 # and Preferred Deals in Ad Manager.
5030 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
5031 { # Represents size of a single ad slot, or a creative.
5032 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
5033 # This field will be present only when size type is `PIXEL`.
5034 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
5035 # This field will be present only when size type is `PIXEL`.
5036 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
5037 },
5038 ],
5039 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
5040 { # Represents size of a single ad slot, or a creative.
5041 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
5042 # This field will be present only when size type is `PIXEL`.
5043 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
5044 # This field will be present only when size type is `PIXEL`.
5045 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
5046 },
5047 ],
5048 },
5049 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # Geo criteria IDs to be included/excluded.
5050 # included and excluded numeric IDs.
5051 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
5052 &quot;A String&quot;,
5053 ],
5054 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
5055 &quot;A String&quot;,
5056 ],
5057 },
5058 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
5059 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
5060 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating system versions to be included/excluded.
5061 # included and excluded numeric IDs.
5062 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
5063 &quot;A String&quot;,
5064 ],
5065 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
5066 &quot;A String&quot;,
5067 ],
5068 },
5069 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating systems to be included/excluded.
5070 # included and excluded numeric IDs.
5071 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
5072 &quot;A String&quot;,
5073 ],
5074 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
5075 &quot;A String&quot;,
5076 ],
5077 },
5078 },
5079 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device capabilities to be included/excluded.
5080 # included and excluded numeric IDs.
5081 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
5082 &quot;A String&quot;,
5083 ],
5084 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
5085 &quot;A String&quot;,
5086 ],
5087 },
5088 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device categories to be included/excluded.
5089 # included and excluded numeric IDs.
5090 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
5091 &quot;A String&quot;,
5092 ],
5093 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
5094 &quot;A String&quot;,
5095 ],
5096 },
5097 },
5098 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
5099 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included.
5100 # When the included list is present, the excluded list must be empty.
5101 # When the excluded list is present, the included list must be empty.
5102 &quot;A String&quot;,
5103 ],
5104 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded.
5105 # Position types can either be included or excluded (XOR).
5106 &quot;A String&quot;,
5107 ],
5108 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005109 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005110 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
5111 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
5112 # operations (max-length: 1024 unicode code units).
5113 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005114 &quot;deliveryControl&quot;: { # Message contains details about how the deals will be paced. # The set of fields around delivery control that are interesting for a buyer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005115 # to see but are non-negotiable. These are set by the publisher.
Bu Sun Kim65020912020-05-20 12:08:20 -07005116 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005117 { # Frequency cap.
Bu Sun Kim65020912020-05-20 12:08:20 -07005118 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005119 # specified time period.
Bu Sun Kim65020912020-05-20 12:08:20 -07005120 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over
5121 # which impressions per user are counted and capped.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005122 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the
5123 # amount of time over which impressions per user are counted and capped.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005124 },
5125 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07005126 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005127 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005128 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005129 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal.
5130 # This will generally be stored in a granularity of a second.
5131 # A value is not required for Private Auction deals or Preferred Deals.
5132 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal.
5133 # This will generally be stored in the granularity of one second since deal
5134 # serving starts at seconds boundary. Any time specified with more
5135 # granularity (e.g., in milliseconds) will be truncated towards the start of
5136 # time in seconds.
5137 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
5138 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
5139 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from.
5140 # If present on create, and the server `product_revision` has advanced sinced
5141 # the passed-in `create_product_revision`, an `ABORTED` error will be
5142 # returned.
5143 #
5144 # Note: This field may be set only when creating the resource. Modifying
5145 # this field while updating the resource will result in an error.
5146 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
5147 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
5148 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
5149 { # Contains information on how a buyer or seller can be reached.
5150 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
5151 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005152 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005153 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07005154 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005155 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal.
5156 #
5157 # Note: This field may be set only when creating the resource. Modifying
5158 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005159 },
5160 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005161 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Output only. Reference to the buyer that will get billed for this proposal.
5162 # Authorized Buyers account ID.
5163 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
5164 },
5165 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07005166 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique # Reference to the seller on the proposal.
Dan O'Mearadd494642020-05-01 07:42:23 -07005167 #
5168 # Note: This field may be set only when creating the resource. Modifying
5169 # this field while updating the resource will result in an error.
5170 # Ad Manager account ID.
Bu Sun Kim65020912020-05-20 12:08:20 -07005171 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
5172 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field.
Dan O'Mearadd494642020-05-01 07:42:23 -07005173 # The seller account ID is then available to buyer in the product.
5174 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005175 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
5176 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
5177 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
5178 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
5179 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
5180 { # A proposal may be associated to several notes.
5181 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
5182 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
5183 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
5184 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
5185 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
5186 # (max-length: 1024 unicode code units)
5187 #
5188 # Note: This field may be set only when creating the resource. Modifying
5189 # this field while updating the resource will result in an error.
5190 },
5191 ],
5192 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
5193 { # Contains information on how a buyer or seller can be reached.
5194 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
5195 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
5196 },
5197 ],
5198 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
5199 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
5200 # operations (max-length: 1024 unicode code units).
5201 },
5202 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
5203 { # Contains information on how a buyer or seller can be reached.
5204 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
5205 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
5206 },
5207 ],
5208 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction
5209 # proposal.
5210 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
5211 # proposal.
5212 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Reference to the buyer on the proposal.
5213 #
5214 # Note: This field may be set only when creating the resource. Modifying
5215 # this field while updating the resource will result in an error.
5216 # Authorized Buyers account ID.
5217 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
5218 },
5219 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or
5220 # left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005221 }</pre>
5222</div>
5223
5224<div class="method">
5225 <code class="details" id="resume">resume(accountId, proposalId, body=None, x__xgafv=None)</code>
5226 <pre>Update the given proposal to resume serving.
5227This method will set the
5228`DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all
5229deals in the proposal.
5230
5231Note that if the `has_seller_paused` bit is also set, serving will not
5232resume until the seller also resumes.
5233
5234It is a no-op to resume an already-running proposal.
5235It is an error to call ResumeProposal for a proposal that is not
5236finalized or renegotiating.
5237
5238Args:
5239 accountId: string, Account ID of the buyer. (required)
5240 proposalId: string, The ID of the proposal to resume. (required)
5241 body: object, The request body.
5242 The object takes the form of:
5243
5244{ # Request message to resume (unpause) serving for an already-finalized
5245 # proposal.
5246 }
5247
5248 x__xgafv: string, V1 error format.
5249 Allowed values
5250 1 - v1 error format
5251 2 - v2 error format
5252
5253Returns:
5254 An object of the form:
5255
5256 { # Note: this resource requires whitelisting for access. Please contact your
5257 # account manager for access to Marketplace resources.
5258 #
5259 # Represents a proposal in the Marketplace. A proposal is the unit of
5260 # negotiation between a seller and a buyer and contains deals which
5261 # are served.
5262 #
5263 # Note: you can not update, create, or otherwise modify Private
5264 # Auction or Preferred Deals deals through the API.
5265 #
5266 # Fields are updatable unless noted otherwise.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005267 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal.
5268 # Each update to the proposal or the deal causes the proposal revision number
5269 # to auto-increment. The buyer keeps track of the last revision number they
5270 # know of and pass it in when making an update. If the head revision number
5271 # on the server has since incremented, then an ABORTED error is returned
5272 # during the update operation to let the buyer know that a subsequent update
5273 # was made.
Bu Sun Kim65020912020-05-20 12:08:20 -07005274 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07005275 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005276 # (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
5277 { # A deal represents a segment of inventory for displaying ads on.
5278 # A proposal can contain multiple deals. A deal contains the terms and
5279 # targeting information that is used for serving.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005280 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
5281 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
5282 # deal.
5283 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Bu Sun Kim65020912020-05-20 12:08:20 -07005284 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals.
5285 # PUBLISHER means creative is provided by seller and ADVERTISER means
5286 # creative is provided by buyer.
Bu Sun Kim65020912020-05-20 12:08:20 -07005287 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared
5288 # targeting entity is AND&#x27;d together.
5289 { # Advertisers can target different attributes of an ad slot. For example,
5290 # they can choose to show ads only if the user is in the U.S. Such
5291 # targeting criteria can be specified as part of Shared Targeting.
5292 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d
5293 # together.
5294 { # A polymorphic targeting value used as part of Shared Targeting.
Bu Sun Kim65020912020-05-20 12:08:20 -07005295 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
5296 # Filled in when the key is GOOG_DAYPART_TARGETING.
5297 # The definition of this targeting is derived from the structure
5298 # used by Ad Manager.
5299 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
5300 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
5301 { # Daypart targeting message that specifies if the ad can be shown
5302 # only during certain parts of a day/week.
Bu Sun Kim65020912020-05-20 12:08:20 -07005303 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
5304 # granularity). The end time is exclusive. This field is not available
5305 # for filtering in PQL queries.
5306 # or are specified elsewhere. An API may choose to allow leap seconds. Related
5307 # types are google.type.Date and `google.protobuf.Timestamp`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005308 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Bu Sun Kim65020912020-05-20 12:08:20 -07005309 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
5310 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005311 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Bu Sun Kim65020912020-05-20 12:08:20 -07005312 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
5313 # allow the value 60 if it allows leap-seconds.
5314 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005315 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
5316 # The start time is inclusive.
5317 # This field is not available for filtering in PQL queries.
5318 # or are specified elsewhere. An API may choose to allow leap seconds. Related
5319 # types are google.type.Date and `google.protobuf.Timestamp`.
5320 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
5321 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
5322 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
5323 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
5324 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
5325 # allow the value 60 if it allows leap-seconds.
5326 },
5327 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Bu Sun Kim65020912020-05-20 12:08:20 -07005328 },
5329 ],
5330 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005331 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
5332 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
5333 # Filled in when key = GOOG_CREATIVE_SIZE
5334 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
5335 # only if creative_size_type = CreativeSizeType.NATIVE.
5336 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
5337 # of the creative
5338 # height depend on the type of the targeting.
5339 &quot;width&quot;: 42, # The width of the creative
5340 &quot;height&quot;: 42, # The height of the creative.
5341 },
5342 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
5343 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
5344 # If this repeated field is empty then all formats are allowed.
5345 # For example, if this field contains AllowedFormatType.AUDIO then the
5346 # publisher only allows an audio ad (without any video).
5347 &quot;A String&quot;,
5348 ],
5349 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
5350 # creative_size_type = CreativeSizeType.VIDEO.
5351 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
5352 # Companion sizes may be filled in only when creative_size_type = VIDEO
5353 { # Message depicting the size of the creative. The units of width and
5354 # height depend on the type of the targeting.
5355 &quot;width&quot;: 42, # The width of the creative
5356 &quot;height&quot;: 42, # The height of the creative.
5357 },
5358 ],
5359 },
5360 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
5361 },
5362 ],
5363 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d
5364 # together.
5365 { # A polymorphic targeting value used as part of Shared Targeting.
5366 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
5367 # Filled in when the key is GOOG_DAYPART_TARGETING.
5368 # The definition of this targeting is derived from the structure
5369 # used by Ad Manager.
5370 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
5371 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
5372 { # Daypart targeting message that specifies if the ad can be shown
5373 # only during certain parts of a day/week.
5374 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
5375 # granularity). The end time is exclusive. This field is not available
5376 # for filtering in PQL queries.
5377 # or are specified elsewhere. An API may choose to allow leap seconds. Related
5378 # types are google.type.Date and `google.protobuf.Timestamp`.
5379 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
5380 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
5381 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
5382 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
5383 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
5384 # allow the value 60 if it allows leap-seconds.
5385 },
5386 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
5387 # The start time is inclusive.
5388 # This field is not available for filtering in PQL queries.
5389 # or are specified elsewhere. An API may choose to allow leap seconds. Related
5390 # types are google.type.Date and `google.protobuf.Timestamp`.
5391 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
5392 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
5393 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
5394 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
5395 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
5396 # allow the value 60 if it allows leap-seconds.
5397 },
5398 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
5399 },
5400 ],
5401 },
5402 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
5403 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
5404 # Filled in when key = GOOG_CREATIVE_SIZE
5405 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
5406 # only if creative_size_type = CreativeSizeType.NATIVE.
5407 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
5408 # of the creative
5409 # height depend on the type of the targeting.
5410 &quot;width&quot;: 42, # The width of the creative
5411 &quot;height&quot;: 42, # The height of the creative.
5412 },
5413 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
5414 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
5415 # If this repeated field is empty then all formats are allowed.
5416 # For example, if this field contains AllowedFormatType.AUDIO then the
5417 # publisher only allows an audio ad (without any video).
5418 &quot;A String&quot;,
5419 ],
5420 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
5421 # creative_size_type = CreativeSizeType.VIDEO.
5422 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
5423 # Companion sizes may be filled in only when creative_size_type = VIDEO
5424 { # Message depicting the size of the creative. The units of width and
5425 # height depend on the type of the targeting.
5426 &quot;width&quot;: 42, # The width of the creative
5427 &quot;height&quot;: 42, # The height of the creative.
5428 },
5429 ],
5430 },
5431 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Bu Sun Kim65020912020-05-20 12:08:20 -07005432 },
5433 ],
5434 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion.
5435 # Targeting criteria defined by Google ad servers will begin with GOOG_.
5436 # Third parties may define their own keys.
5437 # A list of permissible keys along with the acceptable values will be
5438 # provided as part of the external documentation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005439 },
5440 ],
5441 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ # Output only. Restricitions about the creatives associated with the deal
5442 # (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals
5443 # in Ad Manager.
5444 # Preferred Deal in Ad Manager.
5445 # This doesn&#x27;t apply to Private Auction and AdX Preferred Deals.
5446 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
5447 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
5448 &quot;creativeSpecifications&quot;: [
5449 { # Represents information for a creative that is associated with a Programmatic
5450 # Guaranteed/Preferred Deal in Ad Manager.
5451 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
5452 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
5453 # This field will be present only when size type is `PIXEL`.
5454 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
5455 # This field will be present only when size type is `PIXEL`.
5456 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim65020912020-05-20 12:08:20 -07005457 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005458 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
5459 { # Represents size of a single ad slot, or a creative.
5460 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
5461 # This field will be present only when size type is `PIXEL`.
5462 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
5463 # This field will be present only when size type is `PIXEL`.
5464 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
5465 },
5466 ],
5467 },
5468 ],
5469 },
5470 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
5471 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. # Output only. Tracks which parties (if any) have paused a deal.
5472 # The deal is considered paused if either hasBuyerPaused or
5473 # hasSellPaused is true.
5474 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
5475 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
5476 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
5477 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
5478 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim65020912020-05-20 12:08:20 -07005479 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005480 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005481 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things # The negotiable terms of the deal.
5482 # like price per buyer, the type of pricing model (e.g., fixed price, auction)
5483 # and expected impressions from the publisher.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005484 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
5485 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
5486 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage
5487 # of guaranteed looks that the buyer is guaranteeing to buy.
5488 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Bu Sun Kim65020912020-05-20 12:08:20 -07005489 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
5490 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
5491 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
5492 # a particular buyer or buyer/advertiser pair, we look for the most specific
5493 # matching rule - we first look for a rule matching the buyer and advertiser,
5494 # next a rule with the buyer but an empty advertiser list, and otherwise look
5495 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005496 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
5497 # If empty, all advertisers with this buyer pay this price.
5498 &quot;A String&quot;,
5499 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07005500 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005501 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07005502 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005503 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
5504 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07005505 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
5506 # The value must be between -999,999,999 and +999,999,999 inclusive.
5507 # If `units` is positive, `nanos` must be positive or zero.
5508 # If `units` is zero, `nanos` can be positive, zero, or negative.
5509 # If `units` is negative, `nanos` must be negative or zero.
5510 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005511 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07005512 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005513 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005514 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
5515 # (if the
5516 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
5517 # Authorized Buyers account ID.
5518 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
5519 },
5520 },
5521 ],
5522 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005523 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
5524 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the
5525 # time zone used to mark the boundaries of a day. It should be an
5526 # IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information,
5527 # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Bu Sun Kim65020912020-05-20 12:08:20 -07005528 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day.
5529 # Can be set by buyer or seller.
5530 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only # The terms for non-guaranteed auction deals.
5531 # by the seller, but they can be returned in a get or list request.
5532 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers
5533 # in this private auction.
5534 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
5535 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
5536 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
5537 # a particular buyer or buyer/advertiser pair, we look for the most specific
5538 # matching rule - we first look for a rule matching the buyer and advertiser,
5539 # next a rule with the buyer but an empty advertiser list, and otherwise look
5540 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005541 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
5542 # If empty, all advertisers with this buyer pay this price.
5543 &quot;A String&quot;,
5544 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07005545 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005546 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07005547 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005548 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
5549 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07005550 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
5551 # The value must be between -999,999,999 and +999,999,999 inclusive.
5552 # If `units` is positive, `nanos` must be positive or zero.
5553 # If `units` is zero, `nanos` can be positive, zero, or negative.
5554 # If `units` is negative, `nanos` must be negative or zero.
5555 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005556 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07005557 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005558 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005559 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
5560 # (if the
5561 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
5562 # Authorized Buyers account ID.
5563 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
5564 },
5565 },
5566 ],
5567 },
5568 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via # The terms for non-guaranteed fixed price deals.
5569 # the API at this time, but can be returned in a get or list request.
5570 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
5571 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
5572 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
5573 # a particular buyer or buyer/advertiser pair, we look for the most specific
5574 # matching rule - we first look for a rule matching the buyer and advertiser,
5575 # next a rule with the buyer but an empty advertiser list, and otherwise look
5576 # for a matching rule where no buyer is set.
Bu Sun Kim65020912020-05-20 12:08:20 -07005577 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
5578 # If empty, all advertisers with this buyer pay this price.
5579 &quot;A String&quot;,
5580 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005581 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
5582 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
5583 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
5584 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
5585 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
5586 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
5587 # The value must be between -999,999,999 and +999,999,999 inclusive.
5588 # If `units` is positive, `nanos` must be positive or zero.
5589 # If `units` is zero, `nanos` can be positive, zero, or negative.
5590 # If `units` is negative, `nanos` must be negative or zero.
5591 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
5592 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
5593 },
5594 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005595 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
5596 # (if the
5597 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
5598 # Authorized Buyers account ID.
5599 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
5600 },
5601 },
5602 ],
5603 },
5604 &quot;estimatedGrossSpend&quot;: { # Represents a price and a pricing type for a product / deal. # Non-binding estimate of the estimated gross spend for this deal.
5605 # Can be set by buyer or seller.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005606 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07005607 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005608 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
5609 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07005610 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
5611 # The value must be between -999,999,999 and +999,999,999 inclusive.
5612 # If `units` is positive, `nanos` must be positive or zero.
5613 # If `units` is zero, `nanos` can be positive, zero, or negative.
5614 # If `units` is negative, `nanos` must be negative or zero.
5615 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005616 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07005617 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005618 },
5619 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kim65020912020-05-20 12:08:20 -07005620 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005621 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is
5622 # finalized. This is the deal ID that shows up in serving/reporting etc.
5623 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created.
5624 #
5625 # Note: This field may be set only when creating the resource. Modifying
5626 # this field while updating the resource will result in an error.
5627 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
5628 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Bu Sun Kim65020912020-05-20 12:08:20 -07005629 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to # Output only. Specifies the subset of inventory targeted by the deal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005630 # target ad inventory. For example, they can choose to target ad requests only
5631 # if the user is in the US.
5632 # Multiple types of targeting are always applied as a logical AND, unless noted
5633 # otherwise.
Bu Sun Kim65020912020-05-20 12:08:20 -07005634 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or # Placement targeting information, e.g., URL, mobile applications.
5635 # mobile applications.
5636 # Different placement targeting types will be logically OR&#x27;ed.
5637 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). # URLs to be included/excluded.
5638 # For Private Auction and AdX Preferred Deals, URLs are either included or
5639 # excluded.
5640 # For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t
5641 # apply.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005642 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07005643 &quot;A String&quot;,
5644 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005645 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07005646 &quot;A String&quot;,
5647 ],
5648 },
5649 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal.
5650 # This doesn&#x27;t apply to Auction Packages.
5651 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that # Publisher owned apps to be targeted or excluded by the publisher to
Dan O'Mearadd494642020-05-01 07:42:23 -07005652 # display the ads in.
5653 # publishers own.
5654 # Mobile application IDs are from App Store and Google Play Store.
5655 # Android App ID, for example, com.google.android.apps.maps, can be found in
5656 # Google Play Store URL.
5657 # iOS App ID (which is a number) can be found at the end of iTunes store URL.
5658 # First party mobile applications is either included or excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005659 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07005660 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07005661 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005662 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07005663 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07005664 ],
5665 },
5666 },
5667 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005668 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad # Inventory sizes to be included/excluded.
5669 # request. It only applies to Private Auction, AdX Preferred Deals and
5670 # Auction Packages. This targeting does not apply to Programmatic Guaranteed
5671 # and Preferred Deals in Ad Manager.
5672 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
5673 { # Represents size of a single ad slot, or a creative.
5674 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
5675 # This field will be present only when size type is `PIXEL`.
5676 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
5677 # This field will be present only when size type is `PIXEL`.
5678 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
5679 },
5680 ],
5681 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
5682 { # Represents size of a single ad slot, or a creative.
5683 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
5684 # This field will be present only when size type is `PIXEL`.
5685 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
5686 # This field will be present only when size type is `PIXEL`.
5687 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
5688 },
5689 ],
5690 },
5691 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # Geo criteria IDs to be included/excluded.
5692 # included and excluded numeric IDs.
5693 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
5694 &quot;A String&quot;,
5695 ],
5696 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
5697 &quot;A String&quot;,
5698 ],
5699 },
5700 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
5701 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
5702 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating system versions to be included/excluded.
5703 # included and excluded numeric IDs.
5704 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
5705 &quot;A String&quot;,
5706 ],
5707 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
5708 &quot;A String&quot;,
5709 ],
5710 },
5711 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating systems to be included/excluded.
5712 # included and excluded numeric IDs.
5713 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
5714 &quot;A String&quot;,
5715 ],
5716 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
5717 &quot;A String&quot;,
5718 ],
5719 },
5720 },
5721 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device capabilities to be included/excluded.
5722 # included and excluded numeric IDs.
5723 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
5724 &quot;A String&quot;,
5725 ],
5726 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
5727 &quot;A String&quot;,
5728 ],
5729 },
5730 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device categories to be included/excluded.
5731 # included and excluded numeric IDs.
5732 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
5733 &quot;A String&quot;,
5734 ],
5735 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
5736 &quot;A String&quot;,
5737 ],
5738 },
5739 },
5740 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
5741 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included.
5742 # When the included list is present, the excluded list must be empty.
5743 # When the excluded list is present, the included list must be empty.
5744 &quot;A String&quot;,
5745 ],
5746 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded.
5747 # Position types can either be included or excluded (XOR).
5748 &quot;A String&quot;,
5749 ],
5750 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005751 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005752 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
5753 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
5754 # operations (max-length: 1024 unicode code units).
5755 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005756 &quot;deliveryControl&quot;: { # Message contains details about how the deals will be paced. # The set of fields around delivery control that are interesting for a buyer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005757 # to see but are non-negotiable. These are set by the publisher.
Bu Sun Kim65020912020-05-20 12:08:20 -07005758 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005759 { # Frequency cap.
Bu Sun Kim65020912020-05-20 12:08:20 -07005760 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005761 # specified time period.
Bu Sun Kim65020912020-05-20 12:08:20 -07005762 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over
5763 # which impressions per user are counted and capped.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005764 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the
5765 # amount of time over which impressions per user are counted and capped.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005766 },
5767 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07005768 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005769 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005770 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005771 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal.
5772 # This will generally be stored in a granularity of a second.
5773 # A value is not required for Private Auction deals or Preferred Deals.
5774 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal.
5775 # This will generally be stored in the granularity of one second since deal
5776 # serving starts at seconds boundary. Any time specified with more
5777 # granularity (e.g., in milliseconds) will be truncated towards the start of
5778 # time in seconds.
5779 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
5780 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
5781 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from.
5782 # If present on create, and the server `product_revision` has advanced sinced
5783 # the passed-in `create_product_revision`, an `ABORTED` error will be
5784 # returned.
5785 #
5786 # Note: This field may be set only when creating the resource. Modifying
5787 # this field while updating the resource will result in an error.
5788 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
5789 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
5790 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
5791 { # Contains information on how a buyer or seller can be reached.
5792 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
5793 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005794 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005795 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07005796 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005797 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal.
5798 #
5799 # Note: This field may be set only when creating the resource. Modifying
5800 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005801 },
5802 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005803 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Output only. Reference to the buyer that will get billed for this proposal.
5804 # Authorized Buyers account ID.
5805 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
5806 },
5807 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07005808 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique # Reference to the seller on the proposal.
Dan O'Mearadd494642020-05-01 07:42:23 -07005809 #
5810 # Note: This field may be set only when creating the resource. Modifying
5811 # this field while updating the resource will result in an error.
5812 # Ad Manager account ID.
Bu Sun Kim65020912020-05-20 12:08:20 -07005813 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
5814 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field.
Dan O'Mearadd494642020-05-01 07:42:23 -07005815 # The seller account ID is then available to buyer in the product.
5816 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005817 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
5818 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
5819 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
5820 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
5821 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
5822 { # A proposal may be associated to several notes.
5823 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
5824 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
5825 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
5826 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
5827 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
5828 # (max-length: 1024 unicode code units)
5829 #
5830 # Note: This field may be set only when creating the resource. Modifying
5831 # this field while updating the resource will result in an error.
5832 },
5833 ],
5834 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
5835 { # Contains information on how a buyer or seller can be reached.
5836 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
5837 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
5838 },
5839 ],
5840 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
5841 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
5842 # operations (max-length: 1024 unicode code units).
5843 },
5844 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
5845 { # Contains information on how a buyer or seller can be reached.
5846 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
5847 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
5848 },
5849 ],
5850 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction
5851 # proposal.
5852 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
5853 # proposal.
5854 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Reference to the buyer on the proposal.
5855 #
5856 # Note: This field may be set only when creating the resource. Modifying
5857 # this field while updating the resource will result in an error.
5858 # Authorized Buyers account ID.
5859 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
5860 },
5861 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or
5862 # left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005863 }</pre>
5864</div>
5865
5866<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07005867 <code class="details" id="update">update(accountId, proposalId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005868 <pre>Update the given proposal at the client known revision number. If the
5869server revision has advanced since the passed-in
5870`proposal.proposal_revision`, an `ABORTED` error message will be returned.
5871Only the buyer-modifiable fields of the proposal will be updated.
5872
5873Note that the deals in the proposal will be updated to match the passed-in
5874copy.
5875If a passed-in deal does not have a `deal_id`, the server will assign a new
5876unique ID and create the deal.
5877If passed-in deal has a `deal_id`, it will be updated to match the
5878passed-in copy.
5879Any existing deals not present in the passed-in proposal will be deleted.
5880It is an error to pass in a deal with a `deal_id` not present at head.
5881
5882Args:
5883 accountId: string, Account ID of the buyer. (required)
5884 proposalId: string, The unique ID of the proposal. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07005885 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005886 The object takes the form of:
5887
5888{ # Note: this resource requires whitelisting for access. Please contact your
5889 # account manager for access to Marketplace resources.
5890 #
5891 # Represents a proposal in the Marketplace. A proposal is the unit of
5892 # negotiation between a seller and a buyer and contains deals which
5893 # are served.
5894 #
5895 # Note: you can not update, create, or otherwise modify Private
5896 # Auction or Preferred Deals deals through the API.
5897 #
5898 # Fields are updatable unless noted otherwise.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005899 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal.
5900 # Each update to the proposal or the deal causes the proposal revision number
5901 # to auto-increment. The buyer keeps track of the last revision number they
5902 # know of and pass it in when making an update. If the head revision number
5903 # on the server has since incremented, then an ABORTED error is returned
5904 # during the update operation to let the buyer know that a subsequent update
5905 # was made.
Bu Sun Kim65020912020-05-20 12:08:20 -07005906 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07005907 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005908 # (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
5909 { # A deal represents a segment of inventory for displaying ads on.
5910 # A proposal can contain multiple deals. A deal contains the terms and
5911 # targeting information that is used for serving.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005912 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
5913 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
5914 # deal.
5915 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Bu Sun Kim65020912020-05-20 12:08:20 -07005916 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals.
5917 # PUBLISHER means creative is provided by seller and ADVERTISER means
5918 # creative is provided by buyer.
Bu Sun Kim65020912020-05-20 12:08:20 -07005919 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared
5920 # targeting entity is AND&#x27;d together.
5921 { # Advertisers can target different attributes of an ad slot. For example,
5922 # they can choose to show ads only if the user is in the U.S. Such
5923 # targeting criteria can be specified as part of Shared Targeting.
5924 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d
5925 # together.
5926 { # A polymorphic targeting value used as part of Shared Targeting.
Bu Sun Kim65020912020-05-20 12:08:20 -07005927 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
5928 # Filled in when the key is GOOG_DAYPART_TARGETING.
5929 # The definition of this targeting is derived from the structure
5930 # used by Ad Manager.
5931 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
5932 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
5933 { # Daypart targeting message that specifies if the ad can be shown
5934 # only during certain parts of a day/week.
Bu Sun Kim65020912020-05-20 12:08:20 -07005935 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
5936 # granularity). The end time is exclusive. This field is not available
5937 # for filtering in PQL queries.
5938 # or are specified elsewhere. An API may choose to allow leap seconds. Related
5939 # types are google.type.Date and `google.protobuf.Timestamp`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005940 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Bu Sun Kim65020912020-05-20 12:08:20 -07005941 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
5942 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005943 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Bu Sun Kim65020912020-05-20 12:08:20 -07005944 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
5945 # allow the value 60 if it allows leap-seconds.
5946 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005947 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
5948 # The start time is inclusive.
5949 # This field is not available for filtering in PQL queries.
5950 # or are specified elsewhere. An API may choose to allow leap seconds. Related
5951 # types are google.type.Date and `google.protobuf.Timestamp`.
5952 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
5953 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
5954 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
5955 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
5956 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
5957 # allow the value 60 if it allows leap-seconds.
5958 },
5959 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Bu Sun Kim65020912020-05-20 12:08:20 -07005960 },
5961 ],
5962 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005963 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
5964 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
5965 # Filled in when key = GOOG_CREATIVE_SIZE
5966 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
5967 # only if creative_size_type = CreativeSizeType.NATIVE.
5968 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
5969 # of the creative
5970 # height depend on the type of the targeting.
5971 &quot;width&quot;: 42, # The width of the creative
5972 &quot;height&quot;: 42, # The height of the creative.
5973 },
5974 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
5975 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
5976 # If this repeated field is empty then all formats are allowed.
5977 # For example, if this field contains AllowedFormatType.AUDIO then the
5978 # publisher only allows an audio ad (without any video).
5979 &quot;A String&quot;,
5980 ],
5981 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
5982 # creative_size_type = CreativeSizeType.VIDEO.
5983 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
5984 # Companion sizes may be filled in only when creative_size_type = VIDEO
5985 { # Message depicting the size of the creative. The units of width and
5986 # height depend on the type of the targeting.
5987 &quot;width&quot;: 42, # The width of the creative
5988 &quot;height&quot;: 42, # The height of the creative.
5989 },
5990 ],
5991 },
5992 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
5993 },
5994 ],
5995 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d
5996 # together.
5997 { # A polymorphic targeting value used as part of Shared Targeting.
5998 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
5999 # Filled in when the key is GOOG_DAYPART_TARGETING.
6000 # The definition of this targeting is derived from the structure
6001 # used by Ad Manager.
6002 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
6003 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
6004 { # Daypart targeting message that specifies if the ad can be shown
6005 # only during certain parts of a day/week.
6006 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
6007 # granularity). The end time is exclusive. This field is not available
6008 # for filtering in PQL queries.
6009 # or are specified elsewhere. An API may choose to allow leap seconds. Related
6010 # types are google.type.Date and `google.protobuf.Timestamp`.
6011 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
6012 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
6013 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
6014 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
6015 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
6016 # allow the value 60 if it allows leap-seconds.
6017 },
6018 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
6019 # The start time is inclusive.
6020 # This field is not available for filtering in PQL queries.
6021 # or are specified elsewhere. An API may choose to allow leap seconds. Related
6022 # types are google.type.Date and `google.protobuf.Timestamp`.
6023 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
6024 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
6025 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
6026 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
6027 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
6028 # allow the value 60 if it allows leap-seconds.
6029 },
6030 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
6031 },
6032 ],
6033 },
6034 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
6035 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
6036 # Filled in when key = GOOG_CREATIVE_SIZE
6037 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
6038 # only if creative_size_type = CreativeSizeType.NATIVE.
6039 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
6040 # of the creative
6041 # height depend on the type of the targeting.
6042 &quot;width&quot;: 42, # The width of the creative
6043 &quot;height&quot;: 42, # The height of the creative.
6044 },
6045 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
6046 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
6047 # If this repeated field is empty then all formats are allowed.
6048 # For example, if this field contains AllowedFormatType.AUDIO then the
6049 # publisher only allows an audio ad (without any video).
6050 &quot;A String&quot;,
6051 ],
6052 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
6053 # creative_size_type = CreativeSizeType.VIDEO.
6054 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
6055 # Companion sizes may be filled in only when creative_size_type = VIDEO
6056 { # Message depicting the size of the creative. The units of width and
6057 # height depend on the type of the targeting.
6058 &quot;width&quot;: 42, # The width of the creative
6059 &quot;height&quot;: 42, # The height of the creative.
6060 },
6061 ],
6062 },
6063 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Bu Sun Kim65020912020-05-20 12:08:20 -07006064 },
6065 ],
6066 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion.
6067 # Targeting criteria defined by Google ad servers will begin with GOOG_.
6068 # Third parties may define their own keys.
6069 # A list of permissible keys along with the acceptable values will be
6070 # provided as part of the external documentation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006071 },
6072 ],
6073 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ # Output only. Restricitions about the creatives associated with the deal
6074 # (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals
6075 # in Ad Manager.
6076 # Preferred Deal in Ad Manager.
6077 # This doesn&#x27;t apply to Private Auction and AdX Preferred Deals.
6078 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
6079 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
6080 &quot;creativeSpecifications&quot;: [
6081 { # Represents information for a creative that is associated with a Programmatic
6082 # Guaranteed/Preferred Deal in Ad Manager.
6083 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
6084 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
6085 # This field will be present only when size type is `PIXEL`.
6086 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
6087 # This field will be present only when size type is `PIXEL`.
6088 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim65020912020-05-20 12:08:20 -07006089 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006090 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
6091 { # Represents size of a single ad slot, or a creative.
6092 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
6093 # This field will be present only when size type is `PIXEL`.
6094 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
6095 # This field will be present only when size type is `PIXEL`.
6096 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
6097 },
6098 ],
6099 },
6100 ],
6101 },
6102 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
6103 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. # Output only. Tracks which parties (if any) have paused a deal.
6104 # The deal is considered paused if either hasBuyerPaused or
6105 # hasSellPaused is true.
6106 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
6107 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
6108 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
6109 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
6110 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim65020912020-05-20 12:08:20 -07006111 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006112 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006113 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things # The negotiable terms of the deal.
6114 # like price per buyer, the type of pricing model (e.g., fixed price, auction)
6115 # and expected impressions from the publisher.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006116 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
6117 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
6118 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage
6119 # of guaranteed looks that the buyer is guaranteeing to buy.
6120 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Bu Sun Kim65020912020-05-20 12:08:20 -07006121 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
6122 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
6123 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
6124 # a particular buyer or buyer/advertiser pair, we look for the most specific
6125 # matching rule - we first look for a rule matching the buyer and advertiser,
6126 # next a rule with the buyer but an empty advertiser list, and otherwise look
6127 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006128 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
6129 # If empty, all advertisers with this buyer pay this price.
6130 &quot;A String&quot;,
6131 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07006132 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006133 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07006134 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006135 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
6136 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07006137 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
6138 # The value must be between -999,999,999 and +999,999,999 inclusive.
6139 # If `units` is positive, `nanos` must be positive or zero.
6140 # If `units` is zero, `nanos` can be positive, zero, or negative.
6141 # If `units` is negative, `nanos` must be negative or zero.
6142 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006143 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07006144 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006145 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006146 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
6147 # (if the
6148 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
6149 # Authorized Buyers account ID.
6150 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
6151 },
6152 },
6153 ],
6154 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006155 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
6156 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the
6157 # time zone used to mark the boundaries of a day. It should be an
6158 # IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information,
6159 # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Bu Sun Kim65020912020-05-20 12:08:20 -07006160 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day.
6161 # Can be set by buyer or seller.
6162 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only # The terms for non-guaranteed auction deals.
6163 # by the seller, but they can be returned in a get or list request.
6164 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers
6165 # in this private auction.
6166 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
6167 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
6168 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
6169 # a particular buyer or buyer/advertiser pair, we look for the most specific
6170 # matching rule - we first look for a rule matching the buyer and advertiser,
6171 # next a rule with the buyer but an empty advertiser list, and otherwise look
6172 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006173 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
6174 # If empty, all advertisers with this buyer pay this price.
6175 &quot;A String&quot;,
6176 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07006177 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006178 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07006179 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006180 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
6181 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07006182 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
6183 # The value must be between -999,999,999 and +999,999,999 inclusive.
6184 # If `units` is positive, `nanos` must be positive or zero.
6185 # If `units` is zero, `nanos` can be positive, zero, or negative.
6186 # If `units` is negative, `nanos` must be negative or zero.
6187 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006188 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07006189 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006190 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006191 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
6192 # (if the
6193 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
6194 # Authorized Buyers account ID.
6195 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
6196 },
6197 },
6198 ],
6199 },
6200 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via # The terms for non-guaranteed fixed price deals.
6201 # the API at this time, but can be returned in a get or list request.
6202 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
6203 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
6204 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
6205 # a particular buyer or buyer/advertiser pair, we look for the most specific
6206 # matching rule - we first look for a rule matching the buyer and advertiser,
6207 # next a rule with the buyer but an empty advertiser list, and otherwise look
6208 # for a matching rule where no buyer is set.
Bu Sun Kim65020912020-05-20 12:08:20 -07006209 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
6210 # If empty, all advertisers with this buyer pay this price.
6211 &quot;A String&quot;,
6212 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006213 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
6214 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
6215 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
6216 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
6217 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
6218 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
6219 # The value must be between -999,999,999 and +999,999,999 inclusive.
6220 # If `units` is positive, `nanos` must be positive or zero.
6221 # If `units` is zero, `nanos` can be positive, zero, or negative.
6222 # If `units` is negative, `nanos` must be negative or zero.
6223 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
6224 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
6225 },
6226 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006227 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
6228 # (if the
6229 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
6230 # Authorized Buyers account ID.
6231 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
6232 },
6233 },
6234 ],
6235 },
6236 &quot;estimatedGrossSpend&quot;: { # Represents a price and a pricing type for a product / deal. # Non-binding estimate of the estimated gross spend for this deal.
6237 # Can be set by buyer or seller.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006238 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07006239 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006240 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
6241 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07006242 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
6243 # The value must be between -999,999,999 and +999,999,999 inclusive.
6244 # If `units` is positive, `nanos` must be positive or zero.
6245 # If `units` is zero, `nanos` can be positive, zero, or negative.
6246 # If `units` is negative, `nanos` must be negative or zero.
6247 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006248 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07006249 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006250 },
6251 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kim65020912020-05-20 12:08:20 -07006252 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006253 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is
6254 # finalized. This is the deal ID that shows up in serving/reporting etc.
6255 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created.
6256 #
6257 # Note: This field may be set only when creating the resource. Modifying
6258 # this field while updating the resource will result in an error.
6259 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
6260 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Bu Sun Kim65020912020-05-20 12:08:20 -07006261 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to # Output only. Specifies the subset of inventory targeted by the deal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07006262 # target ad inventory. For example, they can choose to target ad requests only
6263 # if the user is in the US.
6264 # Multiple types of targeting are always applied as a logical AND, unless noted
6265 # otherwise.
Bu Sun Kim65020912020-05-20 12:08:20 -07006266 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or # Placement targeting information, e.g., URL, mobile applications.
6267 # mobile applications.
6268 # Different placement targeting types will be logically OR&#x27;ed.
6269 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). # URLs to be included/excluded.
6270 # For Private Auction and AdX Preferred Deals, URLs are either included or
6271 # excluded.
6272 # For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t
6273 # apply.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006274 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07006275 &quot;A String&quot;,
6276 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006277 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07006278 &quot;A String&quot;,
6279 ],
6280 },
6281 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal.
6282 # This doesn&#x27;t apply to Auction Packages.
6283 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that # Publisher owned apps to be targeted or excluded by the publisher to
Dan O'Mearadd494642020-05-01 07:42:23 -07006284 # display the ads in.
6285 # publishers own.
6286 # Mobile application IDs are from App Store and Google Play Store.
6287 # Android App ID, for example, com.google.android.apps.maps, can be found in
6288 # Google Play Store URL.
6289 # iOS App ID (which is a number) can be found at the end of iTunes store URL.
6290 # First party mobile applications is either included or excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006291 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07006292 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07006293 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006294 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07006295 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07006296 ],
6297 },
6298 },
6299 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006300 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad # Inventory sizes to be included/excluded.
6301 # request. It only applies to Private Auction, AdX Preferred Deals and
6302 # Auction Packages. This targeting does not apply to Programmatic Guaranteed
6303 # and Preferred Deals in Ad Manager.
6304 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
6305 { # Represents size of a single ad slot, or a creative.
6306 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
6307 # This field will be present only when size type is `PIXEL`.
6308 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
6309 # This field will be present only when size type is `PIXEL`.
6310 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
6311 },
6312 ],
6313 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
6314 { # Represents size of a single ad slot, or a creative.
6315 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
6316 # This field will be present only when size type is `PIXEL`.
6317 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
6318 # This field will be present only when size type is `PIXEL`.
6319 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
6320 },
6321 ],
6322 },
6323 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # Geo criteria IDs to be included/excluded.
6324 # included and excluded numeric IDs.
6325 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
6326 &quot;A String&quot;,
6327 ],
6328 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
6329 &quot;A String&quot;,
6330 ],
6331 },
6332 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
6333 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
6334 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating system versions to be included/excluded.
6335 # included and excluded numeric IDs.
6336 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
6337 &quot;A String&quot;,
6338 ],
6339 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
6340 &quot;A String&quot;,
6341 ],
6342 },
6343 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating systems to be included/excluded.
6344 # included and excluded numeric IDs.
6345 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
6346 &quot;A String&quot;,
6347 ],
6348 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
6349 &quot;A String&quot;,
6350 ],
6351 },
6352 },
6353 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device capabilities to be included/excluded.
6354 # included and excluded numeric IDs.
6355 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
6356 &quot;A String&quot;,
6357 ],
6358 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
6359 &quot;A String&quot;,
6360 ],
6361 },
6362 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device categories to be included/excluded.
6363 # included and excluded numeric IDs.
6364 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
6365 &quot;A String&quot;,
6366 ],
6367 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
6368 &quot;A String&quot;,
6369 ],
6370 },
6371 },
6372 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
6373 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included.
6374 # When the included list is present, the excluded list must be empty.
6375 # When the excluded list is present, the included list must be empty.
6376 &quot;A String&quot;,
6377 ],
6378 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded.
6379 # Position types can either be included or excluded (XOR).
6380 &quot;A String&quot;,
6381 ],
6382 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07006383 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006384 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
6385 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
6386 # operations (max-length: 1024 unicode code units).
6387 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006388 &quot;deliveryControl&quot;: { # Message contains details about how the deals will be paced. # The set of fields around delivery control that are interesting for a buyer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07006389 # to see but are non-negotiable. These are set by the publisher.
Bu Sun Kim65020912020-05-20 12:08:20 -07006390 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07006391 { # Frequency cap.
Bu Sun Kim65020912020-05-20 12:08:20 -07006392 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07006393 # specified time period.
Bu Sun Kim65020912020-05-20 12:08:20 -07006394 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over
6395 # which impressions per user are counted and capped.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006396 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the
6397 # amount of time over which impressions per user are counted and capped.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07006398 },
6399 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07006400 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006401 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07006402 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006403 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal.
6404 # This will generally be stored in a granularity of a second.
6405 # A value is not required for Private Auction deals or Preferred Deals.
6406 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal.
6407 # This will generally be stored in the granularity of one second since deal
6408 # serving starts at seconds boundary. Any time specified with more
6409 # granularity (e.g., in milliseconds) will be truncated towards the start of
6410 # time in seconds.
6411 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
6412 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
6413 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from.
6414 # If present on create, and the server `product_revision` has advanced sinced
6415 # the passed-in `create_product_revision`, an `ABORTED` error will be
6416 # returned.
6417 #
6418 # Note: This field may be set only when creating the resource. Modifying
6419 # this field while updating the resource will result in an error.
6420 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
6421 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
6422 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
6423 { # Contains information on how a buyer or seller can be reached.
6424 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
6425 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07006426 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006427 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07006428 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006429 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal.
6430 #
6431 # Note: This field may be set only when creating the resource. Modifying
6432 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07006433 },
6434 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006435 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Output only. Reference to the buyer that will get billed for this proposal.
6436 # Authorized Buyers account ID.
6437 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
6438 },
6439 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07006440 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique # Reference to the seller on the proposal.
Dan O'Mearadd494642020-05-01 07:42:23 -07006441 #
6442 # Note: This field may be set only when creating the resource. Modifying
6443 # this field while updating the resource will result in an error.
6444 # Ad Manager account ID.
Bu Sun Kim65020912020-05-20 12:08:20 -07006445 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
6446 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field.
Dan O'Mearadd494642020-05-01 07:42:23 -07006447 # The seller account ID is then available to buyer in the product.
6448 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006449 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
6450 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
6451 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
6452 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
6453 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
6454 { # A proposal may be associated to several notes.
6455 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
6456 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
6457 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
6458 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
6459 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
6460 # (max-length: 1024 unicode code units)
6461 #
6462 # Note: This field may be set only when creating the resource. Modifying
6463 # this field while updating the resource will result in an error.
6464 },
6465 ],
6466 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
6467 { # Contains information on how a buyer or seller can be reached.
6468 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
6469 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
6470 },
6471 ],
6472 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
6473 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
6474 # operations (max-length: 1024 unicode code units).
6475 },
6476 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
6477 { # Contains information on how a buyer or seller can be reached.
6478 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
6479 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
6480 },
6481 ],
6482 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction
6483 # proposal.
6484 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
6485 # proposal.
6486 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Reference to the buyer on the proposal.
6487 #
6488 # Note: This field may be set only when creating the resource. Modifying
6489 # this field while updating the resource will result in an error.
6490 # Authorized Buyers account ID.
6491 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
6492 },
6493 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or
6494 # left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07006495}
6496
6497 x__xgafv: string, V1 error format.
6498 Allowed values
6499 1 - v1 error format
6500 2 - v2 error format
6501
6502Returns:
6503 An object of the form:
6504
6505 { # Note: this resource requires whitelisting for access. Please contact your
6506 # account manager for access to Marketplace resources.
6507 #
6508 # Represents a proposal in the Marketplace. A proposal is the unit of
6509 # negotiation between a seller and a buyer and contains deals which
6510 # are served.
6511 #
6512 # Note: you can not update, create, or otherwise modify Private
6513 # Auction or Preferred Deals deals through the API.
6514 #
6515 # Fields are updatable unless noted otherwise.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006516 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal.
6517 # Each update to the proposal or the deal causes the proposal revision number
6518 # to auto-increment. The buyer keeps track of the last revision number they
6519 # know of and pass it in when making an update. If the head revision number
6520 # on the server has since incremented, then an ABORTED error is returned
6521 # during the update operation to let the buyer know that a subsequent update
6522 # was made.
Bu Sun Kim65020912020-05-20 12:08:20 -07006523 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07006524 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07006525 # (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
6526 { # A deal represents a segment of inventory for displaying ads on.
6527 # A proposal can contain multiple deals. A deal contains the terms and
6528 # targeting information that is used for serving.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006529 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
6530 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
6531 # deal.
6532 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Bu Sun Kim65020912020-05-20 12:08:20 -07006533 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals.
6534 # PUBLISHER means creative is provided by seller and ADVERTISER means
6535 # creative is provided by buyer.
Bu Sun Kim65020912020-05-20 12:08:20 -07006536 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared
6537 # targeting entity is AND&#x27;d together.
6538 { # Advertisers can target different attributes of an ad slot. For example,
6539 # they can choose to show ads only if the user is in the U.S. Such
6540 # targeting criteria can be specified as part of Shared Targeting.
6541 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d
6542 # together.
6543 { # A polymorphic targeting value used as part of Shared Targeting.
Bu Sun Kim65020912020-05-20 12:08:20 -07006544 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
6545 # Filled in when the key is GOOG_DAYPART_TARGETING.
6546 # The definition of this targeting is derived from the structure
6547 # used by Ad Manager.
6548 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
6549 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
6550 { # Daypart targeting message that specifies if the ad can be shown
6551 # only during certain parts of a day/week.
Bu Sun Kim65020912020-05-20 12:08:20 -07006552 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
6553 # granularity). The end time is exclusive. This field is not available
6554 # for filtering in PQL queries.
6555 # or are specified elsewhere. An API may choose to allow leap seconds. Related
6556 # types are google.type.Date and `google.protobuf.Timestamp`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006557 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Bu Sun Kim65020912020-05-20 12:08:20 -07006558 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
6559 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006560 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Bu Sun Kim65020912020-05-20 12:08:20 -07006561 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
6562 # allow the value 60 if it allows leap-seconds.
6563 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006564 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
6565 # The start time is inclusive.
6566 # This field is not available for filtering in PQL queries.
6567 # or are specified elsewhere. An API may choose to allow leap seconds. Related
6568 # types are google.type.Date and `google.protobuf.Timestamp`.
6569 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
6570 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
6571 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
6572 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
6573 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
6574 # allow the value 60 if it allows leap-seconds.
6575 },
6576 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Bu Sun Kim65020912020-05-20 12:08:20 -07006577 },
6578 ],
6579 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006580 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
6581 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
6582 # Filled in when key = GOOG_CREATIVE_SIZE
6583 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
6584 # only if creative_size_type = CreativeSizeType.NATIVE.
6585 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
6586 # of the creative
6587 # height depend on the type of the targeting.
6588 &quot;width&quot;: 42, # The width of the creative
6589 &quot;height&quot;: 42, # The height of the creative.
6590 },
6591 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
6592 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
6593 # If this repeated field is empty then all formats are allowed.
6594 # For example, if this field contains AllowedFormatType.AUDIO then the
6595 # publisher only allows an audio ad (without any video).
6596 &quot;A String&quot;,
6597 ],
6598 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
6599 # creative_size_type = CreativeSizeType.VIDEO.
6600 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
6601 # Companion sizes may be filled in only when creative_size_type = VIDEO
6602 { # Message depicting the size of the creative. The units of width and
6603 # height depend on the type of the targeting.
6604 &quot;width&quot;: 42, # The width of the creative
6605 &quot;height&quot;: 42, # The height of the creative.
6606 },
6607 ],
6608 },
6609 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
6610 },
6611 ],
6612 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d
6613 # together.
6614 { # A polymorphic targeting value used as part of Shared Targeting.
6615 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude.
6616 # Filled in when the key is GOOG_DAYPART_TARGETING.
6617 # The definition of this targeting is derived from the structure
6618 # used by Ad Manager.
6619 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
6620 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
6621 { # Daypart targeting message that specifies if the ad can be shown
6622 # only during certain parts of a day/week.
6623 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The ending time of the day for the ad to show (minute level
6624 # granularity). The end time is exclusive. This field is not available
6625 # for filtering in PQL queries.
6626 # or are specified elsewhere. An API may choose to allow leap seconds. Related
6627 # types are google.type.Date and `google.protobuf.Timestamp`.
6628 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
6629 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
6630 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
6631 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
6632 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
6633 # allow the value 60 if it allows leap-seconds.
6634 },
6635 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant # The starting time of day for the ad to show (minute level granularity).
6636 # The start time is inclusive.
6637 # This field is not available for filtering in PQL queries.
6638 # or are specified elsewhere. An API may choose to allow leap seconds. Related
6639 # types are google.type.Date and `google.protobuf.Timestamp`.
6640 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
6641 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
6642 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
6643 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
6644 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
6645 # allow the value 60 if it allows leap-seconds.
6646 },
6647 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
6648 },
6649 ],
6650 },
6651 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
6652 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude.
6653 # Filled in when key = GOOG_CREATIVE_SIZE
6654 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value
6655 # only if creative_size_type = CreativeSizeType.NATIVE.
6656 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and # For regular or video creative size type, specifies the size
6657 # of the creative
6658 # height depend on the type of the targeting.
6659 &quot;width&quot;: 42, # The width of the creative
6660 &quot;height&quot;: 42, # The height of the creative.
6661 },
6662 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
6663 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher.
6664 # If this repeated field is empty then all formats are allowed.
6665 # For example, if this field contains AllowedFormatType.AUDIO then the
6666 # publisher only allows an audio ad (without any video).
6667 &quot;A String&quot;,
6668 ],
6669 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if
6670 # creative_size_type = CreativeSizeType.VIDEO.
6671 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present).
6672 # Companion sizes may be filled in only when creative_size_type = VIDEO
6673 { # Message depicting the size of the creative. The units of width and
6674 # height depend on the type of the targeting.
6675 &quot;width&quot;: 42, # The width of the creative
6676 &quot;height&quot;: 42, # The height of the creative.
6677 },
6678 ],
6679 },
6680 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Bu Sun Kim65020912020-05-20 12:08:20 -07006681 },
6682 ],
6683 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion.
6684 # Targeting criteria defined by Google ad servers will begin with GOOG_.
6685 # Third parties may define their own keys.
6686 # A list of permissible keys along with the acceptable values will be
6687 # provided as part of the external documentation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006688 },
6689 ],
6690 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ # Output only. Restricitions about the creatives associated with the deal
6691 # (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals
6692 # in Ad Manager.
6693 # Preferred Deal in Ad Manager.
6694 # This doesn&#x27;t apply to Private Auction and AdX Preferred Deals.
6695 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
6696 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
6697 &quot;creativeSpecifications&quot;: [
6698 { # Represents information for a creative that is associated with a Programmatic
6699 # Guaranteed/Preferred Deal in Ad Manager.
6700 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
6701 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
6702 # This field will be present only when size type is `PIXEL`.
6703 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
6704 # This field will be present only when size type is `PIXEL`.
6705 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim65020912020-05-20 12:08:20 -07006706 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006707 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
6708 { # Represents size of a single ad slot, or a creative.
6709 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
6710 # This field will be present only when size type is `PIXEL`.
6711 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
6712 # This field will be present only when size type is `PIXEL`.
6713 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
6714 },
6715 ],
6716 },
6717 ],
6718 },
6719 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
6720 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. # Output only. Tracks which parties (if any) have paused a deal.
6721 # The deal is considered paused if either hasBuyerPaused or
6722 # hasSellPaused is true.
6723 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
6724 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
6725 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
6726 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
6727 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim65020912020-05-20 12:08:20 -07006728 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006729 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006730 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things # The negotiable terms of the deal.
6731 # like price per buyer, the type of pricing model (e.g., fixed price, auction)
6732 # and expected impressions from the publisher.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006733 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
6734 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
6735 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage
6736 # of guaranteed looks that the buyer is guaranteeing to buy.
6737 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Bu Sun Kim65020912020-05-20 12:08:20 -07006738 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
6739 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
6740 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
6741 # a particular buyer or buyer/advertiser pair, we look for the most specific
6742 # matching rule - we first look for a rule matching the buyer and advertiser,
6743 # next a rule with the buyer but an empty advertiser list, and otherwise look
6744 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006745 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
6746 # If empty, all advertisers with this buyer pay this price.
6747 &quot;A String&quot;,
6748 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07006749 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006750 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07006751 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006752 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
6753 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07006754 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
6755 # The value must be between -999,999,999 and +999,999,999 inclusive.
6756 # If `units` is positive, `nanos` must be positive or zero.
6757 # If `units` is zero, `nanos` can be positive, zero, or negative.
6758 # If `units` is negative, `nanos` must be negative or zero.
6759 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006760 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07006761 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006762 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006763 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
6764 # (if the
6765 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
6766 # Authorized Buyers account ID.
6767 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
6768 },
6769 },
6770 ],
6771 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006772 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
6773 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the
6774 # time zone used to mark the boundaries of a day. It should be an
6775 # IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information,
6776 # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Bu Sun Kim65020912020-05-20 12:08:20 -07006777 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day.
6778 # Can be set by buyer or seller.
6779 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only # The terms for non-guaranteed auction deals.
6780 # by the seller, but they can be returned in a get or list request.
6781 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers
6782 # in this private auction.
6783 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
6784 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
6785 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
6786 # a particular buyer or buyer/advertiser pair, we look for the most specific
6787 # matching rule - we first look for a rule matching the buyer and advertiser,
6788 # next a rule with the buyer but an empty advertiser list, and otherwise look
6789 # for a matching rule where no buyer is set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006790 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
6791 # If empty, all advertisers with this buyer pay this price.
6792 &quot;A String&quot;,
6793 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07006794 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006795 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07006796 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006797 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
6798 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07006799 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
6800 # The value must be between -999,999,999 and +999,999,999 inclusive.
6801 # If `units` is positive, `nanos` must be positive or zero.
6802 # If `units` is zero, `nanos` can be positive, zero, or negative.
6803 # If `units` is negative, `nanos` must be negative or zero.
6804 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006805 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07006806 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006807 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006808 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
6809 # (if the
6810 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
6811 # Authorized Buyers account ID.
6812 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
6813 },
6814 },
6815 ],
6816 },
6817 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via # The terms for non-guaranteed fixed price deals.
6818 # the API at this time, but can be returned in a get or list request.
6819 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
6820 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in
6821 # a product can become 0 or 1 deals. To check if there is a PricePerBuyer for
6822 # a particular buyer or buyer/advertiser pair, we look for the most specific
6823 # matching rule - we first look for a rule matching the buyer and advertiser,
6824 # next a rule with the buyer but an empty advertiser list, and otherwise look
6825 # for a matching rule where no buyer is set.
Bu Sun Kim65020912020-05-20 12:08:20 -07006826 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer.
6827 # If empty, all advertisers with this buyer pay this price.
6828 &quot;A String&quot;,
6829 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006830 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
6831 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
6832 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
6833 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
6834 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
6835 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
6836 # The value must be between -999,999,999 and +999,999,999 inclusive.
6837 # If `units` is positive, `nanos` must be positive or zero.
6838 # If `units` is zero, `nanos` can be positive, zero, or negative.
6839 # If `units` is negative, `nanos` must be negative or zero.
6840 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
6841 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
6842 },
6843 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006844 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # The buyer who will pay this price. If unset, all buyers can pay this price
6845 # (if the
6846 # advertisers match, and there&#x27;s no more specific rule matching the buyer).
6847 # Authorized Buyers account ID.
6848 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
6849 },
6850 },
6851 ],
6852 },
6853 &quot;estimatedGrossSpend&quot;: { # Represents a price and a pricing type for a product / deal. # Non-binding estimate of the estimated gross spend for this deal.
6854 # Can be set by buyer or seller.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006855 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Bu Sun Kim65020912020-05-20 12:08:20 -07006856 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006857 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount.
6858 # For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kim65020912020-05-20 12:08:20 -07006859 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount.
6860 # The value must be between -999,999,999 and +999,999,999 inclusive.
6861 # If `units` is positive, `nanos` must be positive or zero.
6862 # If `units` is zero, `nanos` can be positive, zero, or negative.
6863 # If `units` is negative, `nanos` must be negative or zero.
6864 # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006865 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
Bu Sun Kim65020912020-05-20 12:08:20 -07006866 },
Bu Sun Kim65020912020-05-20 12:08:20 -07006867 },
6868 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kim65020912020-05-20 12:08:20 -07006869 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006870 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is
6871 # finalized. This is the deal ID that shows up in serving/reporting etc.
6872 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created.
6873 #
6874 # Note: This field may be set only when creating the resource. Modifying
6875 # this field while updating the resource will result in an error.
6876 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
6877 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Bu Sun Kim65020912020-05-20 12:08:20 -07006878 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to # Output only. Specifies the subset of inventory targeted by the deal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07006879 # target ad inventory. For example, they can choose to target ad requests only
6880 # if the user is in the US.
6881 # Multiple types of targeting are always applied as a logical AND, unless noted
6882 # otherwise.
Bu Sun Kim65020912020-05-20 12:08:20 -07006883 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or # Placement targeting information, e.g., URL, mobile applications.
6884 # mobile applications.
6885 # Different placement targeting types will be logically OR&#x27;ed.
6886 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). # URLs to be included/excluded.
6887 # For Private Auction and AdX Preferred Deals, URLs are either included or
6888 # excluded.
6889 # For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t
6890 # apply.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006891 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07006892 &quot;A String&quot;,
6893 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006894 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07006895 &quot;A String&quot;,
6896 ],
6897 },
6898 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal.
6899 # This doesn&#x27;t apply to Auction Packages.
6900 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that # Publisher owned apps to be targeted or excluded by the publisher to
Dan O'Mearadd494642020-05-01 07:42:23 -07006901 # display the ads in.
6902 # publishers own.
6903 # Mobile application IDs are from App Store and Google Play Store.
6904 # Android App ID, for example, com.google.android.apps.maps, can be found in
6905 # Google Play Store URL.
6906 # iOS App ID (which is a number) can be found at the end of iTunes store URL.
6907 # First party mobile applications is either included or excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006908 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07006909 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07006910 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006911 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07006912 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07006913 ],
6914 },
6915 },
6916 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07006917 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad # Inventory sizes to be included/excluded.
6918 # request. It only applies to Private Auction, AdX Preferred Deals and
6919 # Auction Packages. This targeting does not apply to Programmatic Guaranteed
6920 # and Preferred Deals in Ad Manager.
6921 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
6922 { # Represents size of a single ad slot, or a creative.
6923 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
6924 # This field will be present only when size type is `PIXEL`.
6925 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
6926 # This field will be present only when size type is `PIXEL`.
6927 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
6928 },
6929 ],
6930 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
6931 { # Represents size of a single ad slot, or a creative.
6932 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels.
6933 # This field will be present only when size type is `PIXEL`.
6934 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels.
6935 # This field will be present only when size type is `PIXEL`.
6936 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
6937 },
6938 ],
6939 },
6940 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # Geo criteria IDs to be included/excluded.
6941 # included and excluded numeric IDs.
6942 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
6943 &quot;A String&quot;,
6944 ],
6945 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
6946 &quot;A String&quot;,
6947 ],
6948 },
6949 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
6950 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
6951 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating system versions to be included/excluded.
6952 # included and excluded numeric IDs.
6953 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
6954 &quot;A String&quot;,
6955 ],
6956 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
6957 &quot;A String&quot;,
6958 ],
6959 },
6960 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of operating systems to be included/excluded.
6961 # included and excluded numeric IDs.
6962 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
6963 &quot;A String&quot;,
6964 ],
6965 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
6966 &quot;A String&quot;,
6967 ],
6968 },
6969 },
6970 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device capabilities to be included/excluded.
6971 # included and excluded numeric IDs.
6972 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
6973 &quot;A String&quot;,
6974 ],
6975 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
6976 &quot;A String&quot;,
6977 ],
6978 },
6979 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of # IDs of device categories to be included/excluded.
6980 # included and excluded numeric IDs.
6981 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
6982 &quot;A String&quot;,
6983 ],
6984 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
6985 &quot;A String&quot;,
6986 ],
6987 },
6988 },
6989 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
6990 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included.
6991 # When the included list is present, the excluded list must be empty.
6992 # When the excluded list is present, the included list must be empty.
6993 &quot;A String&quot;,
6994 ],
6995 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded.
6996 # Position types can either be included or excluded (XOR).
6997 &quot;A String&quot;,
6998 ],
6999 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07007000 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07007001 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
7002 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
7003 # operations (max-length: 1024 unicode code units).
7004 },
Bu Sun Kim65020912020-05-20 12:08:20 -07007005 &quot;deliveryControl&quot;: { # Message contains details about how the deals will be paced. # The set of fields around delivery control that are interesting for a buyer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07007006 # to see but are non-negotiable. These are set by the publisher.
Bu Sun Kim65020912020-05-20 12:08:20 -07007007 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07007008 { # Frequency cap.
Bu Sun Kim65020912020-05-20 12:08:20 -07007009 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07007010 # specified time period.
Bu Sun Kim65020912020-05-20 12:08:20 -07007011 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over
7012 # which impressions per user are counted and capped.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07007013 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the
7014 # amount of time over which impressions per user are counted and capped.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07007015 },
7016 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07007017 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07007018 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07007019 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07007020 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal.
7021 # This will generally be stored in a granularity of a second.
7022 # A value is not required for Private Auction deals or Preferred Deals.
7023 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal.
7024 # This will generally be stored in the granularity of one second since deal
7025 # serving starts at seconds boundary. Any time specified with more
7026 # granularity (e.g., in milliseconds) will be truncated towards the start of
7027 # time in seconds.
7028 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
7029 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
7030 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from.
7031 # If present on create, and the server `product_revision` has advanced sinced
7032 # the passed-in `create_product_revision`, an `ABORTED` error will be
7033 # returned.
7034 #
7035 # Note: This field may be set only when creating the resource. Modifying
7036 # this field while updating the resource will result in an error.
7037 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
7038 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
7039 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
7040 { # Contains information on how a buyer or seller can be reached.
7041 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
7042 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07007043 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07007044 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07007045 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07007046 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal.
7047 #
7048 # Note: This field may be set only when creating the resource. Modifying
7049 # this field while updating the resource will result in an error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07007050 },
7051 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07007052 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Output only. Reference to the buyer that will get billed for this proposal.
7053 # Authorized Buyers account ID.
7054 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
7055 },
7056 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -07007057 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique # Reference to the seller on the proposal.
Dan O'Mearadd494642020-05-01 07:42:23 -07007058 #
7059 # Note: This field may be set only when creating the resource. Modifying
7060 # this field while updating the resource will result in an error.
7061 # Ad Manager account ID.
Bu Sun Kim65020912020-05-20 12:08:20 -07007062 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
7063 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field.
Dan O'Mearadd494642020-05-01 07:42:23 -07007064 # The seller account ID is then available to buyer in the product.
7065 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07007066 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
7067 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
7068 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
7069 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
7070 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
7071 { # A proposal may be associated to several notes.
7072 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
7073 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
7074 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
7075 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
7076 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach.
7077 # (max-length: 1024 unicode code units)
7078 #
7079 # Note: This field may be set only when creating the resource. Modifying
7080 # this field while updating the resource will result in an error.
7081 },
7082 ],
7083 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
7084 { # Contains information on how a buyer or seller can be reached.
7085 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
7086 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
7087 },
7088 ],
7089 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
7090 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list
7091 # operations (max-length: 1024 unicode code units).
7092 },
7093 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
7094 { # Contains information on how a buyer or seller can be reached.
7095 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
7096 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
7097 },
7098 ],
7099 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction
7100 # proposal.
7101 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this
7102 # proposal.
7103 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique # Reference to the buyer on the proposal.
7104 #
7105 # Note: This field may be set only when creating the resource. Modifying
7106 # this field while updating the resource will result in an error.
7107 # Authorized Buyers account ID.
7108 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
7109 },
7110 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or
7111 # left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07007112 }</pre>
7113</div>
7114
7115</body></html>