blob: 47fd4c48343cb27b64c22ec28bab9a3bbf886f41 [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>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070079<p class="firstline">Mark the proposal as accepted at the given revision number. If the number does not match the server's revision number an `ABORTED` error message will be returned. This call updates the proposal_state from `PROPOSED` to `BUYER_ACCEPTED`, or from `SELLER_ACCEPTED` to `FINALIZED`.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070080<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>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070082<p class="firstline">Create a new note and attach it to the proposal. The note is assigned a unique ID by the server. The proposal revision number will not increase when associated with a new note.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070083<p class="toc_element">
84 <code><a href="#cancelNegotiation">cancelNegotiation(accountId, proposalId, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070085<p class="firstline">Cancel an ongoing negotiation on a proposal. This does not cancel or end serving for the deals if the proposal has been finalized, but only cancels a negotiation unilaterally.</p>
86<p class="toc_element">
87 <code><a href="#close">close()</a></code></p>
88<p class="firstline">Close httplib2 connections.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070089<p class="toc_element">
90 <code><a href="#completeSetup">completeSetup(accountId, proposalId, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070091<p class="firstline">Update the given proposal to indicate that setup has been completed. This method is called by the buyer when the line items have been created on their end for a finalized proposal and all the required creatives have been uploaded using the creatives API. This call updates the `is_setup_completed` bit on the proposal and also notifies the seller. The server will advance the revision number of the most recent proposal.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070092<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code><a href="#create">create(accountId, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070094<p class="firstline">Create the given proposal. Each created proposal and any deals it contains are assigned a unique ID by the server.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095<p class="toc_element">
96 <code><a href="#get">get(accountId, proposalId, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070097<p class="firstline">Gets a proposal given its ID. The proposal is returned at its head revision.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070099 <code><a href="#list">list(accountId, pageToken=None, pageSize=None, filter=None, filterSyntax=None, x__xgafv=None)</a></code></p>
100<p class="firstline">List proposals. A filter expression (PQL query) may be specified to filter the results. To retrieve all finalized proposals, regardless if a proposal is being renegotiated, see the FinalizedProposals resource. Note that Bidder/ChildSeat relationships differ from the usual behavior. A Bidder account can only see its child seats' proposals by specifying the ChildSeat's accountId in the request path.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700101<p class="toc_element">
102 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
103<p class="firstline">Retrieves the next page of results.</p>
104<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700105 <code><a href="#pause">pause(accountId, proposalId, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700106<p class="firstline">Update the given proposal to pause serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all deals in the proposal. It is a no-op to pause an already-paused proposal. It is an error to call PauseProposal for a proposal that is not finalized or renegotiating.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700107<p class="toc_element">
108 <code><a href="#resume">resume(accountId, proposalId, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700109<p class="firstline">Update the given proposal to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all deals in the proposal. Note that if the `has_seller_paused` bit is also set, serving will not resume until the seller also resumes. It is a no-op to resume an already-running proposal. It is an error to call ResumeProposal for a proposal that is not finalized or renegotiating.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700110<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700111 <code><a href="#update">update(accountId, proposalId, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700112<p class="firstline">Update the given proposal at the client known revision number. If the server revision has advanced since the passed-in `proposal.proposal_revision`, an `ABORTED` error message will be returned. Only the buyer-modifiable fields of the proposal will be updated. Note that the deals in the proposal will be updated to match the passed-in copy. If a passed-in deal does not have a `deal_id`, the server will assign a new unique ID and create the deal. If passed-in deal has a `deal_id`, it will be updated to match the passed-in copy. Any existing deals not present in the passed-in proposal will be deleted. It is an error to pass in a deal with a `deal_id` not present at head.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700113<h3>Method Details</h3>
114<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700115 <code class="details" id="accept">accept(accountId, proposalId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700116 <pre>Mark the proposal as accepted at the given revision number. If the number does not match the server&#x27;s revision number an `ABORTED` error message will be returned. This call updates the proposal_state from `PROPOSED` to `BUYER_ACCEPTED`, or from `SELLER_ACCEPTED` to `FINALIZED`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700117
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
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700136 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
137 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Reference to the buyer on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
138 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
139 },
140 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
141 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
142 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
143 },
144 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
145 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
146 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
147 { # A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
148 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
149 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
150 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
151 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.
152 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not required for Private Auction deals or Preferred Deals.
153 &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 to see but are non-negotiable. These are set by the publisher.
154 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
155 { # Frequency cap.
156 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
157 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
158 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.
159 },
160 ],
161 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
162 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
163 },
164 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
165 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
166 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
167 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
168 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
169 },
170 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from. If present on create, and the server `product_revision` has advanced sinced the passed-in `create_product_revision`, an `ABORTED` error will be returned. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700171 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700172 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
173 { # Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.
174 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
175 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
176 { # A polymorphic targeting value used as part of Shared Targeting.
177 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
178 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
179 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
180 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
181 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
182 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
183 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
184 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
185 },
186 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
187 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
188 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
189 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
190 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
191 },
192 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
193 },
194 ],
195 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
196 },
197 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
198 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
199 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
200 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
201 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
202 &quot;height&quot;: 42, # The height of the creative.
203 &quot;width&quot;: 42, # The width of the creative
204 },
205 ],
206 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
207 &quot;height&quot;: 42, # The height of the creative.
208 &quot;width&quot;: 42, # The width of the creative
209 },
210 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
211 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
212 &quot;A String&quot;,
213 ],
214 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
215 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
216 },
217 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700218 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700219 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
220 { # A polymorphic targeting value used as part of Shared Targeting.
221 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
222 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
223 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
224 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
225 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
226 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
227 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
228 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
229 },
230 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
231 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
232 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
233 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
234 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
235 },
236 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
237 },
238 ],
239 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
240 },
241 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
242 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
243 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
244 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
245 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
246 &quot;height&quot;: 42, # The height of the creative.
247 &quot;width&quot;: 42, # The width of the creative
248 },
249 ],
250 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
251 &quot;height&quot;: 42, # The height of the creative.
252 &quot;width&quot;: 42, # The width of the creative
253 },
254 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
255 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
256 &quot;A String&quot;,
257 ],
258 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
259 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
260 },
261 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700262 ],
263 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700264 ],
265 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to target ad inventory. For example, they can choose to target ad requests only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise. # Output only. Specifies the subset of inventory targeted by the deal.
266 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR&#x27;ed. # Placement targeting information, e.g., URL, mobile applications.
267 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t apply. # URLs to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700268 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -0700269 &quot;A String&quot;,
270 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700271 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
272 &quot;A String&quot;,
273 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700274 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700275 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
276 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700277 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -0700278 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700279 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700280 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
281 &quot;A String&quot;,
282 ],
Dan O'Mearadd494642020-05-01 07:42:23 -0700283 },
284 },
285 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700286 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700287 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device capabilities to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700288 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
289 &quot;A String&quot;,
290 ],
291 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
292 &quot;A String&quot;,
293 ],
294 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700295 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device categories to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700296 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
297 &quot;A String&quot;,
298 ],
299 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
300 &quot;A String&quot;,
301 ],
302 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700303 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700304 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700305 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
306 &quot;A String&quot;,
307 ],
308 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
309 &quot;A String&quot;,
310 ],
311 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700312 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700313 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
314 &quot;A String&quot;,
315 ],
316 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
317 &quot;A String&quot;,
318 ],
319 },
320 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700321 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700322 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
323 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
324 &quot;A String&quot;,
325 ],
326 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included. When the included list is present, the excluded list must be empty. When the excluded list is present, the included list must be empty.
327 &quot;A String&quot;,
328 ],
329 },
330 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad request. It only applies to Private Auction, AdX Preferred Deals and Auction Packages. This targeting does not apply to Programmatic Guaranteed and Preferred Deals in Ad Manager. # Inventory sizes to be included/excluded.
331 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
332 { # Represents size of a single ad slot, or a creative.
333 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
334 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
335 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
336 },
337 ],
338 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
339 { # Represents size of a single ad slot, or a creative.
340 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
341 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
342 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
343 },
344 ],
345 },
346 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # Geo criteria IDs to be included/excluded.
347 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
348 &quot;A String&quot;,
349 ],
350 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
351 &quot;A String&quot;,
352 ],
353 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700354 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700355 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.
356 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
357 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn&#x27;t apply to Private Auction and AdX Preferred Deals. # Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700358 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
359 &quot;creativeSpecifications&quot;: [
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700360 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700361 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
362 { # Represents size of a single ad slot, or a creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700363 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
364 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700365 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700366 },
367 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700368 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
369 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
370 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
371 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
372 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700373 },
374 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700375 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700376 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700377 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700378 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
379 { # Contains information on how a buyer or seller can be reached.
380 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
381 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700382 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700383 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700384 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
385 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true. # Output only. Tracks which parties (if any) have paused a deal.
386 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
387 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
388 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
389 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
390 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700391 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700392 },
393 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
394 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
395 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher. # The negotiable terms of the deal.
396 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via the API at this time, but can be returned in a get or list request. # The terms for non-guaranteed fixed price deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700397 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700398 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
399 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700400 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
401 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700402 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
403 &quot;A String&quot;,
404 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700405 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
406 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
407 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700408 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
409 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700410 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
411 },
412 },
413 },
414 ],
415 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700416 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
417 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700418 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700419 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700420 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
421 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
422 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700423 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
424 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700425 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
426 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700427 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
428 &quot;A String&quot;,
429 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700430 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
431 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
432 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700433 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
434 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700435 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
436 },
437 },
438 },
439 ],
440 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700441 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
442 &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. Can be set by buyer or seller.
443 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
444 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
445 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
446 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
447 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
448 },
449 },
450 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request. # The terms for non-guaranteed auction deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700451 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700452 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
453 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700454 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
455 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700456 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
457 &quot;A String&quot;,
458 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700459 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
460 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
461 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700462 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
463 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700464 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
465 },
466 },
467 },
468 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700469 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700470 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700471 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700472 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700473 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
474 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700475 },
476 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700477 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
478 { # Contains information on how a buyer or seller can be reached.
479 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
480 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
481 },
482 ],
483 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Output only. Reference to the buyer that will get billed for this proposal.
484 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Dan O'Mearadd494642020-05-01 07:42:23 -0700485 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700486 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
487 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
488 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. # Reference to the seller on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
489 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field. The seller account ID is then available to buyer in the product.
490 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
491 },
492 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
493 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
494 { # A proposal may be associated to several notes.
495 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
496 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
497 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
498 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
499 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
500 },
501 ],
502 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
503 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
504 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
505 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal. Each update to the proposal or the deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700506 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
507 { # Contains information on how a buyer or seller can be reached.
508 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
509 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
510 },
511 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700512 }</pre>
513</div>
514
515<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700516 <code class="details" id="addNote">addNote(accountId, proposalId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700517 <pre>Create a new note and attach it to the proposal. The note is assigned a unique ID by the server. The proposal revision number will not increase when associated with a new note.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700518
519Args:
520 accountId: string, Account ID of the buyer. (required)
521 proposalId: string, The ID of the proposal to attach the note to. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700522 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700523 The object takes the form of:
524
525{ # Request message for adding a note to a given proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -0700526 &quot;note&quot;: { # A proposal may be associated to several notes. # Details of the note to add.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700527 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
528 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700529 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
530 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
531 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700532 },
533 }
534
535 x__xgafv: string, V1 error format.
536 Allowed values
537 1 - v1 error format
538 2 - v2 error format
539
540Returns:
541 An object of the form:
542
543 { # A proposal may be associated to several notes.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700544 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
545 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700546 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
547 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
548 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700549 }</pre>
550</div>
551
552<div class="method">
553 <code class="details" id="cancelNegotiation">cancelNegotiation(accountId, proposalId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700554 <pre>Cancel an ongoing negotiation on a proposal. This does not cancel or end serving for the deals if the proposal has been finalized, but only cancels a negotiation unilaterally.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700555
556Args:
557 accountId: string, Account ID of the buyer. (required)
558 proposalId: string, The ID of the proposal to cancel negotiation for. (required)
559 body: object, The request body.
560 The object takes the form of:
561
562{ # Request to cancel an ongoing negotiation.
563 }
564
565 x__xgafv: string, V1 error format.
566 Allowed values
567 1 - v1 error format
568 2 - v2 error format
569
570Returns:
571 An object of the form:
572
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700573 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
574 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Reference to the buyer on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
575 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
576 },
577 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
578 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
579 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
580 },
581 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
582 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
583 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
584 { # A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
585 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
586 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
587 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
588 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.
589 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not required for Private Auction deals or Preferred Deals.
590 &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 to see but are non-negotiable. These are set by the publisher.
591 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
592 { # Frequency cap.
593 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
594 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
595 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.
596 },
597 ],
598 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
599 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
600 },
601 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
602 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
603 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
604 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
605 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
606 },
607 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from. If present on create, and the server `product_revision` has advanced sinced the passed-in `create_product_revision`, an `ABORTED` error will be returned. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700608 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700609 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
610 { # Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.
611 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
612 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
613 { # A polymorphic targeting value used as part of Shared Targeting.
614 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
615 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
616 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
617 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
618 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
619 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
620 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
621 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
622 },
623 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
624 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
625 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
626 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
627 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
628 },
629 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
630 },
631 ],
632 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
633 },
634 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
635 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
636 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
637 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
638 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
639 &quot;height&quot;: 42, # The height of the creative.
640 &quot;width&quot;: 42, # The width of the creative
641 },
642 ],
643 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
644 &quot;height&quot;: 42, # The height of the creative.
645 &quot;width&quot;: 42, # The width of the creative
646 },
647 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
648 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
649 &quot;A String&quot;,
650 ],
651 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
652 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
653 },
654 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700655 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700656 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
657 { # A polymorphic targeting value used as part of Shared Targeting.
658 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
659 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
660 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
661 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
662 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
663 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
664 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
665 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
666 },
667 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
668 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
669 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
670 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
671 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
672 },
673 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
674 },
675 ],
676 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
677 },
678 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
679 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
680 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
681 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
682 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
683 &quot;height&quot;: 42, # The height of the creative.
684 &quot;width&quot;: 42, # The width of the creative
685 },
686 ],
687 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
688 &quot;height&quot;: 42, # The height of the creative.
689 &quot;width&quot;: 42, # The width of the creative
690 },
691 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
692 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
693 &quot;A String&quot;,
694 ],
695 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
696 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
697 },
698 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700699 ],
700 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700701 ],
702 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to target ad inventory. For example, they can choose to target ad requests only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise. # Output only. Specifies the subset of inventory targeted by the deal.
703 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR&#x27;ed. # Placement targeting information, e.g., URL, mobile applications.
704 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t apply. # URLs to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700705 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -0700706 &quot;A String&quot;,
707 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700708 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
709 &quot;A String&quot;,
710 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700711 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700712 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
713 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700714 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -0700715 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700716 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700717 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
718 &quot;A String&quot;,
719 ],
Dan O'Mearadd494642020-05-01 07:42:23 -0700720 },
721 },
722 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700723 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700724 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device capabilities to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700725 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
726 &quot;A String&quot;,
727 ],
728 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
729 &quot;A String&quot;,
730 ],
731 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700732 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device categories to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700733 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
734 &quot;A String&quot;,
735 ],
736 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
737 &quot;A String&quot;,
738 ],
739 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700740 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700741 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700742 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
743 &quot;A String&quot;,
744 ],
745 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
746 &quot;A String&quot;,
747 ],
748 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700749 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700750 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
751 &quot;A String&quot;,
752 ],
753 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
754 &quot;A String&quot;,
755 ],
756 },
757 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700758 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700759 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
760 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
761 &quot;A String&quot;,
762 ],
763 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included. When the included list is present, the excluded list must be empty. When the excluded list is present, the included list must be empty.
764 &quot;A String&quot;,
765 ],
766 },
767 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad request. It only applies to Private Auction, AdX Preferred Deals and Auction Packages. This targeting does not apply to Programmatic Guaranteed and Preferred Deals in Ad Manager. # Inventory sizes to be included/excluded.
768 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
769 { # Represents size of a single ad slot, or a creative.
770 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
771 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
772 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
773 },
774 ],
775 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
776 { # Represents size of a single ad slot, or a creative.
777 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
778 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
779 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
780 },
781 ],
782 },
783 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # Geo criteria IDs to be included/excluded.
784 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
785 &quot;A String&quot;,
786 ],
787 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
788 &quot;A String&quot;,
789 ],
790 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700791 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700792 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.
793 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
794 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn&#x27;t apply to Private Auction and AdX Preferred Deals. # Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700795 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
796 &quot;creativeSpecifications&quot;: [
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700797 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700798 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
799 { # Represents size of a single ad slot, or a creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700800 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
801 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700802 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700803 },
804 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700805 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
806 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
807 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
808 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
809 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700810 },
811 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700812 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700813 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700814 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700815 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
816 { # Contains information on how a buyer or seller can be reached.
817 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
818 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700819 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700820 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700821 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
822 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true. # Output only. Tracks which parties (if any) have paused a deal.
823 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
824 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
825 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
826 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
827 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700828 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700829 },
830 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
831 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
832 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher. # The negotiable terms of the deal.
833 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via the API at this time, but can be returned in a get or list request. # The terms for non-guaranteed fixed price deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700834 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700835 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
836 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700837 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
838 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700839 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
840 &quot;A String&quot;,
841 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700842 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
843 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
844 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700845 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
846 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700847 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
848 },
849 },
850 },
851 ],
852 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700853 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
854 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700855 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700856 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700857 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
858 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
859 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700860 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
861 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700862 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
863 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700864 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
865 &quot;A String&quot;,
866 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700867 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
868 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
869 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700870 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
871 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700872 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
873 },
874 },
875 },
876 ],
877 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700878 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
879 &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. Can be set by buyer or seller.
880 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
881 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
882 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
883 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
884 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
885 },
886 },
887 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request. # The terms for non-guaranteed auction deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700888 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700889 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
890 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700891 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
892 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700893 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
894 &quot;A String&quot;,
895 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700896 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
897 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
898 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700899 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
900 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700901 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
902 },
903 },
904 },
905 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700906 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700907 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700908 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700909 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700910 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
911 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700912 },
913 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700914 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
915 { # Contains information on how a buyer or seller can be reached.
916 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
917 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
918 },
919 ],
920 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Output only. Reference to the buyer that will get billed for this proposal.
921 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Dan O'Mearadd494642020-05-01 07:42:23 -0700922 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700923 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
924 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
925 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. # Reference to the seller on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
926 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field. The seller account ID is then available to buyer in the product.
927 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
928 },
929 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
930 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
931 { # A proposal may be associated to several notes.
932 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
933 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
934 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
935 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
936 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
937 },
938 ],
939 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
940 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
941 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
942 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal. Each update to the proposal or the deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700943 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
944 { # Contains information on how a buyer or seller can be reached.
945 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
946 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
947 },
948 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700949 }</pre>
950</div>
951
952<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700953 <code class="details" id="close">close()</code>
954 <pre>Close httplib2 connections.</pre>
955</div>
956
957<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700958 <code class="details" id="completeSetup">completeSetup(accountId, proposalId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700959 <pre>Update the given proposal to indicate that setup has been completed. This method is called by the buyer when the line items have been created on their end for a finalized proposal and all the required creatives have been uploaded using the creatives API. This call updates the `is_setup_completed` bit on the proposal and also notifies the seller. The server will advance the revision number of the most recent proposal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700960
961Args:
962 accountId: string, Account ID of the buyer. (required)
963 proposalId: string, The ID of the proposal to mark as setup completed. (required)
964 body: object, The request body.
965 The object takes the form of:
966
Bu Sun Kim65020912020-05-20 12:08:20 -0700967{ # Request message for indicating that the proposal&#x27;s setup step is complete.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700968 }
969
970 x__xgafv: string, V1 error format.
971 Allowed values
972 1 - v1 error format
973 2 - v2 error format
974
975Returns:
976 An object of the form:
977
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700978 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
979 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Reference to the buyer on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
980 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
981 },
982 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
983 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
984 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
985 },
986 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
987 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
988 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
989 { # A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
990 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
991 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
992 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
993 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.
994 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not required for Private Auction deals or Preferred Deals.
995 &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 to see but are non-negotiable. These are set by the publisher.
996 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
997 { # Frequency cap.
998 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
999 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
1000 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.
1001 },
1002 ],
1003 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
1004 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
1005 },
1006 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
1007 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
1008 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
1009 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
1010 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
1011 },
1012 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from. If present on create, and the server `product_revision` has advanced sinced the passed-in `create_product_revision`, an `ABORTED` error will be returned. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001013 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001014 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
1015 { # Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.
1016 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
1017 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
1018 { # A polymorphic targeting value used as part of Shared Targeting.
1019 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
1020 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1021 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1022 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
1023 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1024 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1025 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1026 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1027 },
1028 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
1029 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1030 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1031 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1032 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1033 },
1034 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1035 },
1036 ],
1037 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1038 },
1039 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1040 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1041 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1042 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
1043 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1044 &quot;height&quot;: 42, # The height of the creative.
1045 &quot;width&quot;: 42, # The width of the creative
1046 },
1047 ],
1048 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
1049 &quot;height&quot;: 42, # The height of the creative.
1050 &quot;width&quot;: 42, # The width of the creative
1051 },
1052 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
1053 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
1054 &quot;A String&quot;,
1055 ],
1056 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1057 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
1058 },
1059 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001060 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001061 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
1062 { # A polymorphic targeting value used as part of Shared Targeting.
1063 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
1064 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1065 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1066 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
1067 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1068 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1069 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1070 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1071 },
1072 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
1073 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1074 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1075 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1076 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1077 },
1078 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1079 },
1080 ],
1081 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1082 },
1083 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1084 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1085 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1086 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
1087 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1088 &quot;height&quot;: 42, # The height of the creative.
1089 &quot;width&quot;: 42, # The width of the creative
1090 },
1091 ],
1092 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
1093 &quot;height&quot;: 42, # The height of the creative.
1094 &quot;width&quot;: 42, # The width of the creative
1095 },
1096 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
1097 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
1098 &quot;A String&quot;,
1099 ],
1100 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1101 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
1102 },
1103 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001104 ],
1105 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001106 ],
1107 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to target ad inventory. For example, they can choose to target ad requests only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise. # Output only. Specifies the subset of inventory targeted by the deal.
1108 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR&#x27;ed. # Placement targeting information, e.g., URL, mobile applications.
1109 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t apply. # URLs to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001110 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07001111 &quot;A String&quot;,
1112 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001113 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
1114 &quot;A String&quot;,
1115 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001116 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001117 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
1118 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001119 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07001120 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001121 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001122 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
1123 &quot;A String&quot;,
1124 ],
Dan O'Mearadd494642020-05-01 07:42:23 -07001125 },
1126 },
1127 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001128 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001129 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device capabilities to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001130 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1131 &quot;A String&quot;,
1132 ],
1133 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1134 &quot;A String&quot;,
1135 ],
1136 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001137 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device categories to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001138 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1139 &quot;A String&quot;,
1140 ],
1141 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1142 &quot;A String&quot;,
1143 ],
1144 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001145 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001146 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001147 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1148 &quot;A String&quot;,
1149 ],
1150 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1151 &quot;A String&quot;,
1152 ],
1153 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001154 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001155 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1156 &quot;A String&quot;,
1157 ],
1158 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1159 &quot;A String&quot;,
1160 ],
1161 },
1162 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001163 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001164 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1165 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
1166 &quot;A String&quot;,
1167 ],
1168 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included. When the included list is present, the excluded list must be empty. When the excluded list is present, the included list must be empty.
1169 &quot;A String&quot;,
1170 ],
1171 },
1172 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad request. It only applies to Private Auction, AdX Preferred Deals and Auction Packages. This targeting does not apply to Programmatic Guaranteed and Preferred Deals in Ad Manager. # Inventory sizes to be included/excluded.
1173 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1174 { # Represents size of a single ad slot, or a creative.
1175 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1176 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001177 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001178 },
1179 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001180 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1181 { # Represents size of a single ad slot, or a creative.
1182 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1183 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1184 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001185 },
1186 ],
1187 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001188 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # Geo criteria IDs to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001189 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1190 &quot;A String&quot;,
1191 ],
1192 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1193 &quot;A String&quot;,
1194 ],
1195 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001196 },
1197 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.
1198 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
1199 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn&#x27;t apply to Private Auction and AdX Preferred Deals. # Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
1200 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1201 &quot;creativeSpecifications&quot;: [
1202 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
1203 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1204 { # Represents size of a single ad slot, or a creative.
1205 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1206 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1207 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1208 },
1209 ],
1210 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1211 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1212 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1213 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1214 },
1215 },
1216 ],
1217 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
1218 },
1219 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.
1220 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1221 { # Contains information on how a buyer or seller can be reached.
1222 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1223 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1224 },
1225 ],
1226 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
1227 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true. # Output only. Tracks which parties (if any) have paused a deal.
1228 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
1229 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
1230 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
1231 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
1232 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
1233 },
1234 },
1235 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
1236 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
1237 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher. # The negotiable terms of the deal.
1238 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via the API at this time, but can be returned in a get or list request. # The terms for non-guaranteed fixed price deals.
1239 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1240 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
1241 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
1242 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1243 },
1244 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
1245 &quot;A String&quot;,
1246 ],
1247 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1248 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1249 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1250 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1251 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
1252 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
1253 },
1254 },
1255 },
1256 ],
1257 },
1258 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
1259 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
1260 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
1261 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
1262 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
1263 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
1264 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1265 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
1266 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
1267 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1268 },
1269 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
1270 &quot;A String&quot;,
1271 ],
1272 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1273 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1274 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1275 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1276 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
1277 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
1278 },
1279 },
1280 },
1281 ],
1282 },
1283 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
1284 &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. Can be set by buyer or seller.
1285 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1286 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1287 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1288 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
1289 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
1290 },
1291 },
1292 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request. # The terms for non-guaranteed auction deals.
1293 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
1294 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
1295 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
1296 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1297 },
1298 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
1299 &quot;A String&quot;,
1300 ],
1301 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1302 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1303 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1304 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1305 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
1306 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
1307 },
1308 },
1309 },
1310 ],
1311 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
1312 },
1313 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
1314 },
1315 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
1316 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
1317 },
1318 ],
1319 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
1320 { # Contains information on how a buyer or seller can be reached.
1321 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1322 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1323 },
1324 ],
1325 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Output only. Reference to the buyer that will get billed for this proposal.
1326 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1327 },
1328 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
1329 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
1330 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. # Reference to the seller on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
1331 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field. The seller account ID is then available to buyer in the product.
1332 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
1333 },
1334 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
1335 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
1336 { # A proposal may be associated to several notes.
1337 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
1338 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
1339 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
1340 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
1341 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
1342 },
1343 ],
1344 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
1345 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
1346 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
1347 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal. Each update to the proposal or the deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.
1348 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
1349 { # Contains information on how a buyer or seller can be reached.
1350 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1351 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1352 },
1353 ],
1354 }</pre>
1355</div>
1356
1357<div class="method">
1358 <code class="details" id="create">create(accountId, body=None, x__xgafv=None)</code>
1359 <pre>Create the given proposal. Each created proposal and any deals it contains are assigned a unique ID by the server.
1360
1361Args:
1362 accountId: string, Account ID of the buyer. (required)
1363 body: object, The request body.
1364 The object takes the form of:
1365
1366{ # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
1367 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Reference to the buyer on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
1368 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1369 },
1370 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
1371 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
1372 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
1373 },
1374 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
1375 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
1376 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
1377 { # A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
1378 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
1379 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
1380 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
1381 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.
1382 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not required for Private Auction deals or Preferred Deals.
1383 &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 to see but are non-negotiable. These are set by the publisher.
1384 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
1385 { # Frequency cap.
1386 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
1387 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
1388 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.
1389 },
1390 ],
1391 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
1392 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
1393 },
1394 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
1395 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
1396 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
1397 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
1398 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
1399 },
1400 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from. If present on create, and the server `product_revision` has advanced sinced the passed-in `create_product_revision`, an `ABORTED` error will be returned. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
1401 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
1402 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
1403 { # Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.
1404 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
1405 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
1406 { # A polymorphic targeting value used as part of Shared Targeting.
1407 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
1408 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1409 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1410 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
1411 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1412 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1413 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1414 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1415 },
1416 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
1417 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1418 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1419 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1420 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1421 },
1422 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1423 },
1424 ],
1425 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1426 },
1427 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1428 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1429 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1430 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
1431 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1432 &quot;height&quot;: 42, # The height of the creative.
1433 &quot;width&quot;: 42, # The width of the creative
1434 },
1435 ],
1436 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
1437 &quot;height&quot;: 42, # The height of the creative.
1438 &quot;width&quot;: 42, # The width of the creative
1439 },
1440 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
1441 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
1442 &quot;A String&quot;,
1443 ],
1444 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1445 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
1446 },
1447 },
1448 ],
1449 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
1450 { # A polymorphic targeting value used as part of Shared Targeting.
1451 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
1452 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1453 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1454 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
1455 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1456 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1457 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1458 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1459 },
1460 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
1461 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1462 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1463 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1464 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1465 },
1466 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1467 },
1468 ],
1469 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1470 },
1471 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1472 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1473 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1474 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
1475 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1476 &quot;height&quot;: 42, # The height of the creative.
1477 &quot;width&quot;: 42, # The width of the creative
1478 },
1479 ],
1480 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
1481 &quot;height&quot;: 42, # The height of the creative.
1482 &quot;width&quot;: 42, # The width of the creative
1483 },
1484 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
1485 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
1486 &quot;A String&quot;,
1487 ],
1488 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1489 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
1490 },
1491 },
1492 ],
1493 },
1494 ],
1495 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to target ad inventory. For example, they can choose to target ad requests only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise. # Output only. Specifies the subset of inventory targeted by the deal.
1496 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR&#x27;ed. # Placement targeting information, e.g., URL, mobile applications.
1497 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t apply. # URLs to be included/excluded.
1498 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
1499 &quot;A String&quot;,
1500 ],
1501 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
1502 &quot;A String&quot;,
1503 ],
1504 },
1505 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
1506 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
1507 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
1508 &quot;A String&quot;,
1509 ],
1510 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
1511 &quot;A String&quot;,
1512 ],
1513 },
1514 },
1515 },
1516 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
1517 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device capabilities to be included/excluded.
1518 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1519 &quot;A String&quot;,
1520 ],
1521 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1522 &quot;A String&quot;,
1523 ],
1524 },
1525 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device categories to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001526 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1527 &quot;A String&quot;,
1528 ],
1529 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1530 &quot;A String&quot;,
1531 ],
1532 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001533 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001534 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001535 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1536 &quot;A String&quot;,
1537 ],
1538 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1539 &quot;A String&quot;,
1540 ],
1541 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001542 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001543 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1544 &quot;A String&quot;,
1545 ],
1546 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1547 &quot;A String&quot;,
1548 ],
1549 },
1550 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001551 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001552 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1553 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
1554 &quot;A String&quot;,
1555 ],
1556 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included. When the included list is present, the excluded list must be empty. When the excluded list is present, the included list must be empty.
1557 &quot;A String&quot;,
1558 ],
1559 },
1560 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad request. It only applies to Private Auction, AdX Preferred Deals and Auction Packages. This targeting does not apply to Programmatic Guaranteed and Preferred Deals in Ad Manager. # Inventory sizes to be included/excluded.
1561 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1562 { # Represents size of a single ad slot, or a creative.
1563 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1564 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1565 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1566 },
1567 ],
1568 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1569 { # Represents size of a single ad slot, or a creative.
1570 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1571 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1572 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1573 },
1574 ],
1575 },
1576 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # Geo criteria IDs to be included/excluded.
1577 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1578 &quot;A String&quot;,
1579 ],
1580 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1581 &quot;A String&quot;,
1582 ],
1583 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001584 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001585 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.
1586 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
1587 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn&#x27;t apply to Private Auction and AdX Preferred Deals. # Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001588 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1589 &quot;creativeSpecifications&quot;: [
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001590 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001591 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1592 { # Represents size of a single ad slot, or a creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001593 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1594 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001595 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001596 },
1597 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001598 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1599 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1600 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1601 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1602 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001603 },
1604 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001605 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001606 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001607 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001608 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1609 { # Contains information on how a buyer or seller can be reached.
1610 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1611 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001612 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001613 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001614 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
1615 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true. # Output only. Tracks which parties (if any) have paused a deal.
1616 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
1617 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
1618 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
1619 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
1620 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001621 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001622 },
1623 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
1624 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
1625 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher. # The negotiable terms of the deal.
1626 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via the API at this time, but can be returned in a get or list request. # The terms for non-guaranteed fixed price deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001627 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001628 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
1629 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001630 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1631 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001632 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
1633 &quot;A String&quot;,
1634 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001635 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1636 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1637 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001638 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1639 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001640 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
1641 },
1642 },
1643 },
1644 ],
1645 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001646 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
1647 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001648 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001649 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001650 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
1651 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
1652 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001653 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
1654 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001655 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1656 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001657 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
1658 &quot;A String&quot;,
1659 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001660 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1661 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1662 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001663 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1664 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001665 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
1666 },
1667 },
1668 },
1669 ],
1670 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001671 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
1672 &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. Can be set by buyer or seller.
1673 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1674 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1675 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1676 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
1677 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
1678 },
1679 },
1680 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request. # The terms for non-guaranteed auction deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001681 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001682 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
1683 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001684 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1685 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001686 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
1687 &quot;A String&quot;,
1688 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001689 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1690 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1691 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001692 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1693 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001694 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
1695 },
1696 },
1697 },
1698 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001699 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001700 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001701 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001702 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001703 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
1704 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001705 },
1706 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001707 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
1708 { # Contains information on how a buyer or seller can be reached.
1709 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1710 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1711 },
1712 ],
1713 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Output only. Reference to the buyer that will get billed for this proposal.
1714 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Dan O'Mearadd494642020-05-01 07:42:23 -07001715 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001716 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
1717 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
1718 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. # Reference to the seller on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
1719 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field. The seller account ID is then available to buyer in the product.
1720 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
1721 },
1722 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
1723 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
1724 { # A proposal may be associated to several notes.
1725 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
1726 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
1727 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
1728 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
1729 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
1730 },
1731 ],
1732 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
1733 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
1734 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
1735 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal. Each update to the proposal or the deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001736 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
1737 { # Contains information on how a buyer or seller can be reached.
1738 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1739 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1740 },
1741 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001742}
1743
1744 x__xgafv: string, V1 error format.
1745 Allowed values
1746 1 - v1 error format
1747 2 - v2 error format
1748
1749Returns:
1750 An object of the form:
1751
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001752 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
1753 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Reference to the buyer on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
1754 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1755 },
1756 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
1757 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
1758 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
1759 },
1760 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
1761 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
1762 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
1763 { # A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
1764 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
1765 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
1766 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
1767 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.
1768 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not required for Private Auction deals or Preferred Deals.
1769 &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 to see but are non-negotiable. These are set by the publisher.
1770 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
1771 { # Frequency cap.
1772 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
1773 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
1774 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.
1775 },
1776 ],
1777 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
1778 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
1779 },
1780 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
1781 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
1782 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
1783 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
1784 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
1785 },
1786 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from. If present on create, and the server `product_revision` has advanced sinced the passed-in `create_product_revision`, an `ABORTED` error will be returned. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001787 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001788 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
1789 { # Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.
1790 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
1791 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
1792 { # A polymorphic targeting value used as part of Shared Targeting.
1793 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
1794 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1795 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1796 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
1797 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1798 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1799 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1800 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1801 },
1802 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
1803 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1804 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1805 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1806 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1807 },
1808 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1809 },
1810 ],
1811 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1812 },
1813 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1814 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1815 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1816 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
1817 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1818 &quot;height&quot;: 42, # The height of the creative.
1819 &quot;width&quot;: 42, # The width of the creative
1820 },
1821 ],
1822 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
1823 &quot;height&quot;: 42, # The height of the creative.
1824 &quot;width&quot;: 42, # The width of the creative
1825 },
1826 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
1827 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
1828 &quot;A String&quot;,
1829 ],
1830 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1831 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
1832 },
1833 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001834 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001835 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
1836 { # A polymorphic targeting value used as part of Shared Targeting.
1837 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
1838 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1839 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1840 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
1841 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1842 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1843 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1844 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1845 },
1846 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
1847 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1848 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1849 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
1850 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1851 },
1852 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1853 },
1854 ],
1855 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1856 },
1857 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1858 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1859 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1860 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
1861 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1862 &quot;height&quot;: 42, # The height of the creative.
1863 &quot;width&quot;: 42, # The width of the creative
1864 },
1865 ],
1866 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
1867 &quot;height&quot;: 42, # The height of the creative.
1868 &quot;width&quot;: 42, # The width of the creative
1869 },
1870 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
1871 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
1872 &quot;A String&quot;,
1873 ],
1874 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1875 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
1876 },
1877 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001878 ],
1879 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001880 ],
1881 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to target ad inventory. For example, they can choose to target ad requests only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise. # Output only. Specifies the subset of inventory targeted by the deal.
1882 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR&#x27;ed. # Placement targeting information, e.g., URL, mobile applications.
1883 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t apply. # URLs to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001884 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07001885 &quot;A String&quot;,
1886 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001887 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
1888 &quot;A String&quot;,
1889 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001890 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001891 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
1892 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001893 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07001894 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001895 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001896 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
1897 &quot;A String&quot;,
1898 ],
Dan O'Mearadd494642020-05-01 07:42:23 -07001899 },
1900 },
1901 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001902 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001903 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device capabilities to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001904 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1905 &quot;A String&quot;,
1906 ],
1907 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1908 &quot;A String&quot;,
1909 ],
1910 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001911 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device categories to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001912 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1913 &quot;A String&quot;,
1914 ],
1915 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1916 &quot;A String&quot;,
1917 ],
1918 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001919 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001920 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001921 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1922 &quot;A String&quot;,
1923 ],
1924 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1925 &quot;A String&quot;,
1926 ],
1927 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001928 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001929 &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 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001937 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001938 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1939 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
1940 &quot;A String&quot;,
1941 ],
1942 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included. When the included list is present, the excluded list must be empty. When the excluded list is present, the included list must be empty.
1943 &quot;A String&quot;,
1944 ],
1945 },
1946 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad request. It only applies to Private Auction, AdX Preferred Deals and Auction Packages. This targeting does not apply to Programmatic Guaranteed and Preferred Deals in Ad Manager. # Inventory sizes to be included/excluded.
1947 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1948 { # Represents size of a single ad slot, or a creative.
1949 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1950 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1951 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1952 },
1953 ],
1954 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1955 { # Represents size of a single ad slot, or a creative.
1956 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1957 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1958 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1959 },
1960 ],
1961 },
1962 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # Geo criteria IDs to be included/excluded.
1963 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1964 &quot;A String&quot;,
1965 ],
1966 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1967 &quot;A String&quot;,
1968 ],
1969 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001970 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001971 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.
1972 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
1973 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn&#x27;t apply to Private Auction and AdX Preferred Deals. # Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001974 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1975 &quot;creativeSpecifications&quot;: [
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001976 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001977 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1978 { # Represents size of a single ad slot, or a creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001979 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1980 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001981 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001982 },
1983 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001984 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1985 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1986 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
1987 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1988 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001989 },
1990 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001991 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001992 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001993 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001994 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1995 { # Contains information on how a buyer or seller can be reached.
1996 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1997 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001998 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001999 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002000 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
2001 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true. # Output only. Tracks which parties (if any) have paused a deal.
2002 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
2003 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
2004 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
2005 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
2006 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002007 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002008 },
2009 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
2010 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
2011 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher. # The negotiable terms of the deal.
2012 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via the API at this time, but can be returned in a get or list request. # The terms for non-guaranteed fixed price deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002013 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002014 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
2015 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002016 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2017 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002018 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
2019 &quot;A String&quot;,
2020 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002021 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2022 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2023 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002024 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2025 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002026 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2027 },
2028 },
2029 },
2030 ],
2031 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002032 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
2033 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002034 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002035 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002036 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2037 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
2038 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002039 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
2040 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002041 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2042 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002043 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
2044 &quot;A String&quot;,
2045 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002046 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2047 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2048 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002049 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2050 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002051 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2052 },
2053 },
2054 },
2055 ],
2056 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002057 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
2058 &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. Can be set by buyer or seller.
2059 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2060 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2061 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2062 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
2063 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2064 },
2065 },
2066 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request. # The terms for non-guaranteed auction deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002067 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002068 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
2069 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002070 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2071 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002072 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
2073 &quot;A String&quot;,
2074 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002075 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2076 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2077 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002078 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2079 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002080 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2081 },
2082 },
2083 },
2084 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002085 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002086 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002087 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002088 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002089 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
2090 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002091 },
2092 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002093 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2094 { # Contains information on how a buyer or seller can be reached.
2095 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2096 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2097 },
2098 ],
2099 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Output only. Reference to the buyer that will get billed for this proposal.
2100 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Dan O'Mearadd494642020-05-01 07:42:23 -07002101 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002102 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2103 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
2104 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. # Reference to the seller on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2105 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field. The seller account ID is then available to buyer in the product.
2106 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2107 },
2108 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
2109 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2110 { # A proposal may be associated to several notes.
2111 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2112 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
2113 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2114 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
2115 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
2116 },
2117 ],
2118 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
2119 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
2120 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
2121 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal. Each update to the proposal or the deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002122 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2123 { # Contains information on how a buyer or seller can be reached.
2124 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2125 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2126 },
2127 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002128 }</pre>
2129</div>
2130
2131<div class="method">
2132 <code class="details" id="get">get(accountId, proposalId, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002133 <pre>Gets a proposal given its ID. The proposal is returned at its head revision.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002134
2135Args:
2136 accountId: string, Account ID of the buyer. (required)
2137 proposalId: string, The unique ID of the proposal (required)
2138 x__xgafv: string, V1 error format.
2139 Allowed values
2140 1 - v1 error format
2141 2 - v2 error format
2142
2143Returns:
2144 An object of the form:
2145
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002146 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
2147 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Reference to the buyer on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2148 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2149 },
2150 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2151 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2152 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
2153 },
2154 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
2155 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
2156 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2157 { # A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
2158 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
2159 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2160 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
2161 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.
2162 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not required for Private Auction deals or Preferred Deals.
2163 &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 to see but are non-negotiable. These are set by the publisher.
2164 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
2165 { # Frequency cap.
2166 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
2167 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
2168 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.
2169 },
2170 ],
2171 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
2172 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
2173 },
2174 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2175 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
2176 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
2177 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2178 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
2179 },
2180 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from. If present on create, and the server `product_revision` has advanced sinced the passed-in `create_product_revision`, an `ABORTED` error will be returned. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002181 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002182 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
2183 { # Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.
2184 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
2185 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
2186 { # A polymorphic targeting value used as part of Shared Targeting.
2187 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
2188 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2189 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2190 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
2191 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
2192 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2193 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2194 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2195 },
2196 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
2197 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
2198 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2199 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2200 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2201 },
2202 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2203 },
2204 ],
2205 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2206 },
2207 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2208 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2209 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2210 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
2211 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2212 &quot;height&quot;: 42, # The height of the creative.
2213 &quot;width&quot;: 42, # The width of the creative
2214 },
2215 ],
2216 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
2217 &quot;height&quot;: 42, # The height of the creative.
2218 &quot;width&quot;: 42, # The width of the creative
2219 },
2220 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
2221 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
2222 &quot;A String&quot;,
2223 ],
2224 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2225 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
2226 },
2227 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002228 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002229 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
2230 { # A polymorphic targeting value used as part of Shared Targeting.
2231 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
2232 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2233 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2234 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
2235 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
2236 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2237 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2238 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2239 },
2240 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
2241 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
2242 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2243 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2244 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2245 },
2246 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2247 },
2248 ],
2249 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2250 },
2251 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2252 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2253 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2254 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
2255 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2256 &quot;height&quot;: 42, # The height of the creative.
2257 &quot;width&quot;: 42, # The width of the creative
2258 },
2259 ],
2260 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
2261 &quot;height&quot;: 42, # The height of the creative.
2262 &quot;width&quot;: 42, # The width of the creative
2263 },
2264 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
2265 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
2266 &quot;A String&quot;,
2267 ],
2268 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2269 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
2270 },
2271 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002272 ],
2273 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002274 ],
2275 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to target ad inventory. For example, they can choose to target ad requests only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise. # Output only. Specifies the subset of inventory targeted by the deal.
2276 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR&#x27;ed. # Placement targeting information, e.g., URL, mobile applications.
2277 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t apply. # URLs to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002278 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07002279 &quot;A String&quot;,
2280 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002281 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
2282 &quot;A String&quot;,
2283 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002284 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002285 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
2286 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002287 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07002288 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07002289 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002290 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
2291 &quot;A String&quot;,
2292 ],
Dan O'Mearadd494642020-05-01 07:42:23 -07002293 },
2294 },
2295 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002296 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002297 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device capabilities to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002298 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2299 &quot;A String&quot;,
2300 ],
2301 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2302 &quot;A String&quot;,
2303 ],
2304 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002305 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device categories to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002306 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2307 &quot;A String&quot;,
2308 ],
2309 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2310 &quot;A String&quot;,
2311 ],
2312 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002313 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002314 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002315 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2316 &quot;A String&quot;,
2317 ],
2318 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2319 &quot;A String&quot;,
2320 ],
2321 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002322 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002323 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2324 &quot;A String&quot;,
2325 ],
2326 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2327 &quot;A String&quot;,
2328 ],
2329 },
2330 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002331 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002332 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
2333 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
2334 &quot;A String&quot;,
2335 ],
2336 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included. When the included list is present, the excluded list must be empty. When the excluded list is present, the included list must be empty.
2337 &quot;A String&quot;,
2338 ],
2339 },
2340 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad request. It only applies to Private Auction, AdX Preferred Deals and Auction Packages. This targeting does not apply to Programmatic Guaranteed and Preferred Deals in Ad Manager. # Inventory sizes to be included/excluded.
2341 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
2342 { # Represents size of a single ad slot, or a creative.
2343 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2344 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2345 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2346 },
2347 ],
2348 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
2349 { # Represents size of a single ad slot, or a creative.
2350 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2351 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2352 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2353 },
2354 ],
2355 },
2356 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # Geo criteria IDs to be included/excluded.
2357 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2358 &quot;A String&quot;,
2359 ],
2360 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2361 &quot;A String&quot;,
2362 ],
2363 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002364 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002365 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.
2366 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
2367 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn&#x27;t apply to Private Auction and AdX Preferred Deals. # Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002368 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
2369 &quot;creativeSpecifications&quot;: [
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002370 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002371 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
2372 { # Represents size of a single ad slot, or a creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002373 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2374 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002375 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002376 },
2377 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002378 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
2379 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2380 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2381 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2382 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002383 },
2384 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002385 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002386 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002387 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002388 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
2389 { # Contains information on how a buyer or seller can be reached.
2390 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2391 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002392 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002393 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002394 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
2395 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true. # Output only. Tracks which parties (if any) have paused a deal.
2396 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
2397 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
2398 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
2399 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
2400 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002401 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002402 },
2403 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
2404 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
2405 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher. # The negotiable terms of the deal.
2406 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via the API at this time, but can be returned in a get or list request. # The terms for non-guaranteed fixed price deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002407 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002408 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
2409 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002410 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2411 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002412 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
2413 &quot;A String&quot;,
2414 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002415 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2416 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2417 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002418 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2419 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002420 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2421 },
2422 },
2423 },
2424 ],
2425 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002426 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
2427 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002428 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002429 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002430 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2431 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
2432 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002433 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
2434 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002435 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2436 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002437 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
2438 &quot;A String&quot;,
2439 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002440 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2441 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2442 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002443 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2444 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002445 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2446 },
2447 },
2448 },
2449 ],
2450 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002451 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
2452 &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. Can be set by buyer or seller.
2453 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2454 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2455 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2456 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
2457 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2458 },
2459 },
2460 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request. # The terms for non-guaranteed auction deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002461 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002462 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
2463 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002464 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2465 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002466 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
2467 &quot;A String&quot;,
2468 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002469 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2470 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2471 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002472 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2473 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002474 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2475 },
2476 },
2477 },
2478 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002479 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002480 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002481 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002482 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002483 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
2484 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002485 },
2486 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002487 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2488 { # Contains information on how a buyer or seller can be reached.
2489 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2490 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2491 },
2492 ],
2493 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Output only. Reference to the buyer that will get billed for this proposal.
2494 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Dan O'Mearadd494642020-05-01 07:42:23 -07002495 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002496 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2497 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
2498 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. # Reference to the seller on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2499 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field. The seller account ID is then available to buyer in the product.
2500 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2501 },
2502 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
2503 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2504 { # A proposal may be associated to several notes.
2505 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2506 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
2507 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2508 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
2509 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
2510 },
2511 ],
2512 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
2513 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
2514 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
2515 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal. Each update to the proposal or the deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002516 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2517 { # Contains information on how a buyer or seller can be reached.
2518 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2519 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2520 },
2521 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002522 }</pre>
2523</div>
2524
2525<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002526 <code class="details" id="list">list(accountId, pageToken=None, pageSize=None, filter=None, filterSyntax=None, x__xgafv=None)</code>
2527 <pre>List proposals. A filter expression (PQL query) may be specified to filter the results. To retrieve all finalized proposals, regardless if a proposal is being renegotiated, see the FinalizedProposals resource. Note that Bidder/ChildSeat relationships differ from the usual behavior. A Bidder account can only see its child seats&#x27; proposals by specifying the ChildSeat&#x27;s accountId in the request path.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002528
2529Args:
2530 accountId: string, Account ID of the buyer. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002531 pageToken: string, The page token as returned from ListProposalsResponse.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002532 pageSize: integer, Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.
2533 filter: string, An optional PQL filter query used to query for proposals. Nested repeated fields, such as proposal.deals.targetingCriterion, cannot be filtered.
2534 filterSyntax: string, Syntax the filter is written in. Current implementation defaults to PQL but in the future it will be LIST_FILTER.
2535 Allowed values
2536 FILTER_SYNTAX_UNSPECIFIED - A placeholder for an undefined filter syntax.
2537 PQL - PQL query syntax. Visit https://developers.google.com/ad-manager/api/pqlreference for PQL documentation and examples.
2538 LIST_FILTER - API list filtering syntax. Read about syntax and usage at https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
Bu Sun Kim65020912020-05-20 12:08:20 -07002539 x__xgafv: string, V1 error format.
2540 Allowed values
2541 1 - v1 error format
2542 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002543
2544Returns:
2545 An object of the form:
2546
2547 { # Response message for listing proposals.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002548 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results.
Bu Sun Kim65020912020-05-20 12:08:20 -07002549 &quot;proposals&quot;: [ # The list of proposals.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002550 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
2551 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Reference to the buyer on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2552 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2553 },
2554 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2555 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2556 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
2557 },
2558 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
2559 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
2560 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2561 { # A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
2562 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
2563 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2564 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
2565 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.
2566 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not required for Private Auction deals or Preferred Deals.
2567 &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 to see but are non-negotiable. These are set by the publisher.
2568 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
2569 { # Frequency cap.
2570 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
2571 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
2572 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.
2573 },
2574 ],
2575 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
2576 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
2577 },
2578 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2579 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
2580 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
2581 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2582 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
2583 },
2584 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from. If present on create, and the server `product_revision` has advanced sinced the passed-in `create_product_revision`, an `ABORTED` error will be returned. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002585 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002586 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
2587 { # Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.
2588 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
2589 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
2590 { # A polymorphic targeting value used as part of Shared Targeting.
2591 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
2592 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2593 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2594 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
2595 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
2596 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2597 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2598 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2599 },
2600 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
2601 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
2602 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2603 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2604 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2605 },
2606 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2607 },
2608 ],
2609 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2610 },
2611 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2612 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2613 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2614 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
2615 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2616 &quot;height&quot;: 42, # The height of the creative.
2617 &quot;width&quot;: 42, # The width of the creative
2618 },
2619 ],
2620 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
2621 &quot;height&quot;: 42, # The height of the creative.
2622 &quot;width&quot;: 42, # The width of the creative
2623 },
2624 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
2625 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
2626 &quot;A String&quot;,
2627 ],
2628 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2629 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
2630 },
2631 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002632 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002633 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
2634 { # A polymorphic targeting value used as part of Shared Targeting.
2635 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
2636 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2637 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2638 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
2639 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
2640 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2641 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2642 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2643 },
2644 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
2645 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
2646 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2647 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
2648 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2649 },
2650 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2651 },
2652 ],
2653 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2654 },
2655 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2656 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2657 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2658 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
2659 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2660 &quot;height&quot;: 42, # The height of the creative.
2661 &quot;width&quot;: 42, # The width of the creative
2662 },
2663 ],
2664 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
2665 &quot;height&quot;: 42, # The height of the creative.
2666 &quot;width&quot;: 42, # The width of the creative
2667 },
2668 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
2669 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
2670 &quot;A String&quot;,
2671 ],
2672 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2673 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
2674 },
2675 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002676 ],
2677 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002678 ],
2679 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to target ad inventory. For example, they can choose to target ad requests only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise. # Output only. Specifies the subset of inventory targeted by the deal.
2680 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR&#x27;ed. # Placement targeting information, e.g., URL, mobile applications.
2681 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t apply. # URLs to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002682 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07002683 &quot;A String&quot;,
2684 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002685 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
2686 &quot;A String&quot;,
2687 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002688 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002689 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
2690 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002691 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07002692 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07002693 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002694 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
2695 &quot;A String&quot;,
2696 ],
Dan O'Mearadd494642020-05-01 07:42:23 -07002697 },
2698 },
2699 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002700 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002701 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device capabilities to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002702 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2703 &quot;A String&quot;,
2704 ],
2705 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2706 &quot;A String&quot;,
2707 ],
2708 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002709 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device categories to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002710 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2711 &quot;A String&quot;,
2712 ],
2713 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2714 &quot;A String&quot;,
2715 ],
2716 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002717 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002718 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002719 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2720 &quot;A String&quot;,
2721 ],
2722 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2723 &quot;A String&quot;,
2724 ],
2725 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002726 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002727 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2728 &quot;A String&quot;,
2729 ],
2730 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2731 &quot;A String&quot;,
2732 ],
2733 },
2734 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002735 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002736 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
2737 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
2738 &quot;A String&quot;,
2739 ],
2740 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included. When the included list is present, the excluded list must be empty. When the excluded list is present, the included list must be empty.
2741 &quot;A String&quot;,
2742 ],
2743 },
2744 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad request. It only applies to Private Auction, AdX Preferred Deals and Auction Packages. This targeting does not apply to Programmatic Guaranteed and Preferred Deals in Ad Manager. # Inventory sizes to be included/excluded.
2745 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
2746 { # Represents size of a single ad slot, or a creative.
2747 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2748 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2749 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2750 },
2751 ],
2752 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
2753 { # Represents size of a single ad slot, or a creative.
2754 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2755 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2756 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2757 },
2758 ],
2759 },
2760 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # Geo criteria IDs to be included/excluded.
2761 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2762 &quot;A String&quot;,
2763 ],
2764 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2765 &quot;A String&quot;,
2766 ],
2767 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002768 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002769 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.
2770 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
2771 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn&#x27;t apply to Private Auction and AdX Preferred Deals. # Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002772 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
2773 &quot;creativeSpecifications&quot;: [
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002774 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002775 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
2776 { # Represents size of a single ad slot, or a creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002777 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2778 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002779 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002780 },
2781 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002782 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
2783 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2784 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
2785 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2786 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002787 },
2788 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002789 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002790 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002791 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002792 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
2793 { # Contains information on how a buyer or seller can be reached.
2794 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2795 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002796 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002797 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002798 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
2799 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true. # Output only. Tracks which parties (if any) have paused a deal.
2800 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
2801 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
2802 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
2803 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
2804 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002805 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002806 },
2807 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
2808 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
2809 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher. # The negotiable terms of the deal.
2810 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via the API at this time, but can be returned in a get or list request. # The terms for non-guaranteed fixed price deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002811 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002812 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
2813 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002814 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2815 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002816 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
2817 &quot;A String&quot;,
2818 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002819 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2820 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2821 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002822 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2823 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002824 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2825 },
2826 },
2827 },
2828 ],
2829 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002830 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
2831 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002832 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002833 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002834 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2835 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
2836 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002837 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
2838 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002839 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2840 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002841 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
2842 &quot;A String&quot;,
2843 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002844 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2845 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2846 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002847 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2848 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002849 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2850 },
2851 },
2852 },
2853 ],
2854 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002855 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
2856 &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. Can be set by buyer or seller.
2857 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2858 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2859 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2860 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
2861 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2862 },
2863 },
2864 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request. # The terms for non-guaranteed auction deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002865 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002866 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
2867 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002868 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2869 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002870 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
2871 &quot;A String&quot;,
2872 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002873 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2874 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2875 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002876 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2877 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002878 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
2879 },
2880 },
2881 },
2882 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002883 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002884 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002885 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002886 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002887 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
2888 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002889 },
2890 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002891 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2892 { # Contains information on how a buyer or seller can be reached.
2893 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2894 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2895 },
2896 ],
2897 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Output only. Reference to the buyer that will get billed for this proposal.
2898 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Dan O'Mearadd494642020-05-01 07:42:23 -07002899 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002900 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2901 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
2902 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. # Reference to the seller on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2903 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field. The seller account ID is then available to buyer in the product.
2904 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2905 },
2906 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
2907 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2908 { # A proposal may be associated to several notes.
2909 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2910 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
2911 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2912 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
2913 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
2914 },
2915 ],
2916 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
2917 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
2918 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
2919 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal. Each update to the proposal or the deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002920 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2921 { # Contains information on how a buyer or seller can be reached.
2922 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2923 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2924 },
2925 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002926 },
2927 ],
2928 }</pre>
2929</div>
2930
2931<div class="method">
2932 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
2933 <pre>Retrieves the next page of results.
2934
2935Args:
2936 previous_request: The request for the previous page. (required)
2937 previous_response: The response from the request for the previous page. (required)
2938
2939Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07002940 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002941 page. Returns None if there are no more items in the collection.
2942 </pre>
2943</div>
2944
2945<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002946 <code class="details" id="pause">pause(accountId, proposalId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002947 <pre>Update the given proposal to pause serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all deals in the proposal. It is a no-op to pause an already-paused proposal. It is an error to call PauseProposal for a proposal that is not finalized or renegotiating.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002948
2949Args:
2950 accountId: string, Account ID of the buyer. (required)
2951 proposalId: string, The ID of the proposal to pause. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002952 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002953 The object takes the form of:
2954
2955{ # Request message to pause serving for an already-finalized proposal.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002956 &quot;reason&quot;: &quot;A String&quot;, # The reason why the proposal is being paused. This human readable message will be displayed in the seller&#x27;s UI. (Max length: 1000 unicode code units.)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002957 }
2958
2959 x__xgafv: string, V1 error format.
2960 Allowed values
2961 1 - v1 error format
2962 2 - v2 error format
2963
2964Returns:
2965 An object of the form:
2966
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002967 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
2968 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Reference to the buyer on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2969 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2970 },
2971 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2972 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2973 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
2974 },
2975 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
2976 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
2977 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2978 { # A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
2979 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
2980 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2981 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
2982 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.
2983 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not required for Private Auction deals or Preferred Deals.
2984 &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 to see but are non-negotiable. These are set by the publisher.
2985 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
2986 { # Frequency cap.
2987 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
2988 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
2989 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.
2990 },
2991 ],
2992 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
2993 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
2994 },
2995 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
2996 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
2997 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
2998 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2999 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
3000 },
3001 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from. If present on create, and the server `product_revision` has advanced sinced the passed-in `create_product_revision`, an `ABORTED` error will be returned. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003002 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003003 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
3004 { # Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.
3005 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
3006 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
3007 { # A polymorphic targeting value used as part of Shared Targeting.
3008 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
3009 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3010 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3011 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
3012 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
3013 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3014 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3015 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3016 },
3017 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
3018 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
3019 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3020 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3021 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3022 },
3023 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3024 },
3025 ],
3026 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3027 },
3028 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3029 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3030 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3031 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
3032 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3033 &quot;height&quot;: 42, # The height of the creative.
3034 &quot;width&quot;: 42, # The width of the creative
3035 },
3036 ],
3037 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
3038 &quot;height&quot;: 42, # The height of the creative.
3039 &quot;width&quot;: 42, # The width of the creative
3040 },
3041 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
3042 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
3043 &quot;A String&quot;,
3044 ],
3045 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3046 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
3047 },
3048 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003049 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003050 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
3051 { # A polymorphic targeting value used as part of Shared Targeting.
3052 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
3053 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3054 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3055 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
3056 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
3057 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3058 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3059 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3060 },
3061 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
3062 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
3063 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3064 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3065 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3066 },
3067 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3068 },
3069 ],
3070 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3071 },
3072 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3073 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3074 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3075 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
3076 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3077 &quot;height&quot;: 42, # The height of the creative.
3078 &quot;width&quot;: 42, # The width of the creative
3079 },
3080 ],
3081 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
3082 &quot;height&quot;: 42, # The height of the creative.
3083 &quot;width&quot;: 42, # The width of the creative
3084 },
3085 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
3086 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
3087 &quot;A String&quot;,
3088 ],
3089 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3090 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
3091 },
3092 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003093 ],
3094 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003095 ],
3096 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to target ad inventory. For example, they can choose to target ad requests only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise. # Output only. Specifies the subset of inventory targeted by the deal.
3097 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR&#x27;ed. # Placement targeting information, e.g., URL, mobile applications.
3098 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t apply. # URLs to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003099 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07003100 &quot;A String&quot;,
3101 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003102 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
3103 &quot;A String&quot;,
3104 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003105 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003106 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
3107 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003108 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07003109 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07003110 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003111 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
3112 &quot;A String&quot;,
3113 ],
Dan O'Mearadd494642020-05-01 07:42:23 -07003114 },
3115 },
3116 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003117 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003118 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device capabilities to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003119 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3120 &quot;A String&quot;,
3121 ],
3122 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3123 &quot;A String&quot;,
3124 ],
3125 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003126 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device categories to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003127 &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 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003134 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003135 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003136 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3137 &quot;A String&quot;,
3138 ],
3139 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3140 &quot;A String&quot;,
3141 ],
3142 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003143 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003144 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3145 &quot;A String&quot;,
3146 ],
3147 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3148 &quot;A String&quot;,
3149 ],
3150 },
3151 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003152 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003153 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3154 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
3155 &quot;A String&quot;,
3156 ],
3157 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included. When the included list is present, the excluded list must be empty. When the excluded list is present, the included list must be empty.
3158 &quot;A String&quot;,
3159 ],
3160 },
3161 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad request. It only applies to Private Auction, AdX Preferred Deals and Auction Packages. This targeting does not apply to Programmatic Guaranteed and Preferred Deals in Ad Manager. # Inventory sizes to be included/excluded.
3162 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3163 { # Represents size of a single ad slot, or a creative.
3164 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3165 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3166 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3167 },
3168 ],
3169 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3170 { # Represents size of a single ad slot, or a creative.
3171 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3172 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3173 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3174 },
3175 ],
3176 },
3177 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # Geo criteria IDs to be included/excluded.
3178 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3179 &quot;A String&quot;,
3180 ],
3181 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3182 &quot;A String&quot;,
3183 ],
3184 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003185 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003186 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.
3187 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
3188 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn&#x27;t apply to Private Auction and AdX Preferred Deals. # Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003189 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
3190 &quot;creativeSpecifications&quot;: [
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003191 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003192 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
3193 { # Represents size of a single ad slot, or a creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003194 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3195 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003196 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003197 },
3198 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003199 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
3200 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3201 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3202 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3203 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003204 },
3205 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003206 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003207 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003208 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003209 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3210 { # Contains information on how a buyer or seller can be reached.
3211 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3212 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003213 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003214 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003215 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
3216 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true. # Output only. Tracks which parties (if any) have paused a deal.
3217 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
3218 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
3219 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
3220 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
3221 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003222 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003223 },
3224 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
3225 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
3226 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher. # The negotiable terms of the deal.
3227 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via the API at this time, but can be returned in a get or list request. # The terms for non-guaranteed fixed price deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003228 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003229 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
3230 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003231 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3232 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003233 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
3234 &quot;A String&quot;,
3235 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003236 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3237 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3238 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003239 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
3240 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003241 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
3242 },
3243 },
3244 },
3245 ],
3246 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003247 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
3248 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003249 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003250 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003251 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
3252 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
3253 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003254 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
3255 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003256 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3257 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003258 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
3259 &quot;A String&quot;,
3260 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003261 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3262 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3263 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003264 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
3265 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003266 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
3267 },
3268 },
3269 },
3270 ],
3271 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003272 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
3273 &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. Can be set by buyer or seller.
3274 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3275 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3276 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
3277 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
3278 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
3279 },
3280 },
3281 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request. # The terms for non-guaranteed auction deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003282 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003283 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
3284 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003285 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3286 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003287 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
3288 &quot;A String&quot;,
3289 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003290 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3291 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3292 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003293 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
3294 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003295 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
3296 },
3297 },
3298 },
3299 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003300 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003301 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003302 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003303 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003304 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
3305 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003306 },
3307 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003308 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
3309 { # Contains information on how a buyer or seller can be reached.
3310 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3311 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3312 },
3313 ],
3314 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Output only. Reference to the buyer that will get billed for this proposal.
3315 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Dan O'Mearadd494642020-05-01 07:42:23 -07003316 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003317 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
3318 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
3319 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. # Reference to the seller on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
3320 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field. The seller account ID is then available to buyer in the product.
3321 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
3322 },
3323 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
3324 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
3325 { # A proposal may be associated to several notes.
3326 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
3327 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
3328 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
3329 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
3330 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
3331 },
3332 ],
3333 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
3334 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
3335 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
3336 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal. Each update to the proposal or the deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003337 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
3338 { # Contains information on how a buyer or seller can be reached.
3339 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3340 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3341 },
3342 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003343 }</pre>
3344</div>
3345
3346<div class="method">
3347 <code class="details" id="resume">resume(accountId, proposalId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003348 <pre>Update the given proposal to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all deals in the proposal. Note that if the `has_seller_paused` bit is also set, serving will not resume until the seller also resumes. It is a no-op to resume an already-running proposal. It is an error to call ResumeProposal for a proposal that is not finalized or renegotiating.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003349
3350Args:
3351 accountId: string, Account ID of the buyer. (required)
3352 proposalId: string, The ID of the proposal to resume. (required)
3353 body: object, The request body.
3354 The object takes the form of:
3355
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003356{ # Request message to resume (unpause) serving for an already-finalized proposal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003357 }
3358
3359 x__xgafv: string, V1 error format.
3360 Allowed values
3361 1 - v1 error format
3362 2 - v2 error format
3363
3364Returns:
3365 An object of the form:
3366
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003367 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
3368 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Reference to the buyer on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
3369 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3370 },
3371 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
3372 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
3373 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
3374 },
3375 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
3376 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
3377 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
3378 { # A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
3379 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
3380 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
3381 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
3382 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.
3383 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not required for Private Auction deals or Preferred Deals.
3384 &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 to see but are non-negotiable. These are set by the publisher.
3385 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
3386 { # Frequency cap.
3387 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
3388 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
3389 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.
3390 },
3391 ],
3392 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
3393 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
3394 },
3395 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
3396 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
3397 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
3398 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
3399 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
3400 },
3401 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from. If present on create, and the server `product_revision` has advanced sinced the passed-in `create_product_revision`, an `ABORTED` error will be returned. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003402 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003403 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
3404 { # Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.
3405 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
3406 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
3407 { # A polymorphic targeting value used as part of Shared Targeting.
3408 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
3409 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3410 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3411 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
3412 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
3413 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3414 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3415 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3416 },
3417 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
3418 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
3419 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3420 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3421 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3422 },
3423 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3424 },
3425 ],
3426 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3427 },
3428 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3429 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3430 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3431 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
3432 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3433 &quot;height&quot;: 42, # The height of the creative.
3434 &quot;width&quot;: 42, # The width of the creative
3435 },
3436 ],
3437 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
3438 &quot;height&quot;: 42, # The height of the creative.
3439 &quot;width&quot;: 42, # The width of the creative
3440 },
3441 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
3442 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
3443 &quot;A String&quot;,
3444 ],
3445 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3446 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
3447 },
3448 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003449 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003450 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
3451 { # A polymorphic targeting value used as part of Shared Targeting.
3452 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
3453 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3454 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3455 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
3456 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
3457 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3458 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3459 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3460 },
3461 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
3462 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
3463 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3464 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3465 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3466 },
3467 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3468 },
3469 ],
3470 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3471 },
3472 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3473 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3474 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3475 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
3476 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3477 &quot;height&quot;: 42, # The height of the creative.
3478 &quot;width&quot;: 42, # The width of the creative
3479 },
3480 ],
3481 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
3482 &quot;height&quot;: 42, # The height of the creative.
3483 &quot;width&quot;: 42, # The width of the creative
3484 },
3485 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
3486 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
3487 &quot;A String&quot;,
3488 ],
3489 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3490 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
3491 },
3492 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003493 ],
3494 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003495 ],
3496 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to target ad inventory. For example, they can choose to target ad requests only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise. # Output only. Specifies the subset of inventory targeted by the deal.
3497 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR&#x27;ed. # Placement targeting information, e.g., URL, mobile applications.
3498 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t apply. # URLs to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003499 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07003500 &quot;A String&quot;,
3501 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003502 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
3503 &quot;A String&quot;,
3504 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003505 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003506 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
3507 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003508 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07003509 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07003510 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003511 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
3512 &quot;A String&quot;,
3513 ],
Dan O'Mearadd494642020-05-01 07:42:23 -07003514 },
3515 },
3516 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003517 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003518 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device capabilities to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003519 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3520 &quot;A String&quot;,
3521 ],
3522 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3523 &quot;A String&quot;,
3524 ],
3525 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003526 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device categories to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003527 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3528 &quot;A String&quot;,
3529 ],
3530 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3531 &quot;A String&quot;,
3532 ],
3533 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003534 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003535 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003536 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3537 &quot;A String&quot;,
3538 ],
3539 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3540 &quot;A String&quot;,
3541 ],
3542 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003543 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003544 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3545 &quot;A String&quot;,
3546 ],
3547 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3548 &quot;A String&quot;,
3549 ],
3550 },
3551 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003552 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003553 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3554 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
3555 &quot;A String&quot;,
3556 ],
3557 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included. When the included list is present, the excluded list must be empty. When the excluded list is present, the included list must be empty.
3558 &quot;A String&quot;,
3559 ],
3560 },
3561 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad request. It only applies to Private Auction, AdX Preferred Deals and Auction Packages. This targeting does not apply to Programmatic Guaranteed and Preferred Deals in Ad Manager. # Inventory sizes to be included/excluded.
3562 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3563 { # Represents size of a single ad slot, or a creative.
3564 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3565 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003566 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003567 },
3568 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003569 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3570 { # Represents size of a single ad slot, or a creative.
3571 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3572 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3573 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003574 },
3575 ],
3576 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003577 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # Geo criteria IDs to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003578 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3579 &quot;A String&quot;,
3580 ],
3581 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3582 &quot;A String&quot;,
3583 ],
3584 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003585 },
3586 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.
3587 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
3588 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn&#x27;t apply to Private Auction and AdX Preferred Deals. # Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
3589 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
3590 &quot;creativeSpecifications&quot;: [
3591 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
3592 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
3593 { # Represents size of a single ad slot, or a creative.
3594 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3595 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3596 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3597 },
3598 ],
3599 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
3600 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3601 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3602 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3603 },
3604 },
3605 ],
3606 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
3607 },
3608 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.
3609 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3610 { # Contains information on how a buyer or seller can be reached.
3611 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3612 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3613 },
3614 ],
3615 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
3616 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true. # Output only. Tracks which parties (if any) have paused a deal.
3617 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
3618 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
3619 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
3620 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
3621 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
3622 },
3623 },
3624 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
3625 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
3626 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher. # The negotiable terms of the deal.
3627 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via the API at this time, but can be returned in a get or list request. # The terms for non-guaranteed fixed price deals.
3628 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3629 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
3630 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
3631 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3632 },
3633 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
3634 &quot;A String&quot;,
3635 ],
3636 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3637 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3638 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3639 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
3640 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
3641 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
3642 },
3643 },
3644 },
3645 ],
3646 },
3647 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
3648 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
3649 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
3650 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
3651 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
3652 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
3653 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3654 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
3655 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
3656 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3657 },
3658 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
3659 &quot;A String&quot;,
3660 ],
3661 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3662 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3663 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3664 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
3665 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
3666 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
3667 },
3668 },
3669 },
3670 ],
3671 },
3672 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
3673 &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. Can be set by buyer or seller.
3674 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3675 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3676 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
3677 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
3678 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
3679 },
3680 },
3681 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request. # The terms for non-guaranteed auction deals.
3682 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
3683 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
3684 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
3685 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3686 },
3687 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
3688 &quot;A String&quot;,
3689 ],
3690 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3691 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3692 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3693 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
3694 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
3695 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
3696 },
3697 },
3698 },
3699 ],
3700 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
3701 },
3702 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
3703 },
3704 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
3705 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
3706 },
3707 ],
3708 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
3709 { # Contains information on how a buyer or seller can be reached.
3710 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3711 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3712 },
3713 ],
3714 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Output only. Reference to the buyer that will get billed for this proposal.
3715 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3716 },
3717 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
3718 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
3719 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. # Reference to the seller on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
3720 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field. The seller account ID is then available to buyer in the product.
3721 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
3722 },
3723 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
3724 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
3725 { # A proposal may be associated to several notes.
3726 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
3727 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
3728 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
3729 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
3730 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
3731 },
3732 ],
3733 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
3734 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
3735 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
3736 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal. Each update to the proposal or the deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.
3737 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
3738 { # Contains information on how a buyer or seller can be reached.
3739 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3740 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3741 },
3742 ],
3743 }</pre>
3744</div>
3745
3746<div class="method">
3747 <code class="details" id="update">update(accountId, proposalId, body=None, x__xgafv=None)</code>
3748 <pre>Update the given proposal at the client known revision number. If the server revision has advanced since the passed-in `proposal.proposal_revision`, an `ABORTED` error message will be returned. Only the buyer-modifiable fields of the proposal will be updated. Note that the deals in the proposal will be updated to match the passed-in copy. If a passed-in deal does not have a `deal_id`, the server will assign a new unique ID and create the deal. If passed-in deal has a `deal_id`, it will be updated to match the passed-in copy. Any existing deals not present in the passed-in proposal will be deleted. It is an error to pass in a deal with a `deal_id` not present at head.
3749
3750Args:
3751 accountId: string, Account ID of the buyer. (required)
3752 proposalId: string, The unique ID of the proposal. (required)
3753 body: object, The request body.
3754 The object takes the form of:
3755
3756{ # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
3757 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Reference to the buyer on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
3758 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3759 },
3760 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
3761 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
3762 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
3763 },
3764 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
3765 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
3766 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
3767 { # A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
3768 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
3769 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
3770 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
3771 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.
3772 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not required for Private Auction deals or Preferred Deals.
3773 &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 to see but are non-negotiable. These are set by the publisher.
3774 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
3775 { # Frequency cap.
3776 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
3777 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
3778 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.
3779 },
3780 ],
3781 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
3782 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
3783 },
3784 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
3785 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
3786 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
3787 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
3788 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
3789 },
3790 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from. If present on create, and the server `product_revision` has advanced sinced the passed-in `create_product_revision`, an `ABORTED` error will be returned. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
3791 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
3792 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
3793 { # Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.
3794 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
3795 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
3796 { # A polymorphic targeting value used as part of Shared Targeting.
3797 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
3798 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3799 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3800 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
3801 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
3802 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3803 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3804 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3805 },
3806 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
3807 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
3808 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3809 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3810 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3811 },
3812 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3813 },
3814 ],
3815 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3816 },
3817 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3818 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3819 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3820 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
3821 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3822 &quot;height&quot;: 42, # The height of the creative.
3823 &quot;width&quot;: 42, # The width of the creative
3824 },
3825 ],
3826 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
3827 &quot;height&quot;: 42, # The height of the creative.
3828 &quot;width&quot;: 42, # The width of the creative
3829 },
3830 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
3831 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
3832 &quot;A String&quot;,
3833 ],
3834 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3835 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
3836 },
3837 },
3838 ],
3839 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
3840 { # A polymorphic targeting value used as part of Shared Targeting.
3841 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
3842 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3843 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3844 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
3845 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
3846 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3847 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3848 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3849 },
3850 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
3851 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
3852 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3853 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
3854 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3855 },
3856 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3857 },
3858 ],
3859 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3860 },
3861 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3862 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3863 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3864 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
3865 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3866 &quot;height&quot;: 42, # The height of the creative.
3867 &quot;width&quot;: 42, # The width of the creative
3868 },
3869 ],
3870 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
3871 &quot;height&quot;: 42, # The height of the creative.
3872 &quot;width&quot;: 42, # The width of the creative
3873 },
3874 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
3875 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
3876 &quot;A String&quot;,
3877 ],
3878 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3879 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
3880 },
3881 },
3882 ],
3883 },
3884 ],
3885 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to target ad inventory. For example, they can choose to target ad requests only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise. # Output only. Specifies the subset of inventory targeted by the deal.
3886 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR&#x27;ed. # Placement targeting information, e.g., URL, mobile applications.
3887 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t apply. # URLs to be included/excluded.
3888 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
3889 &quot;A String&quot;,
3890 ],
3891 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
3892 &quot;A String&quot;,
3893 ],
3894 },
3895 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
3896 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
3897 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
3898 &quot;A String&quot;,
3899 ],
3900 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
3901 &quot;A String&quot;,
3902 ],
3903 },
3904 },
3905 },
3906 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
3907 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device capabilities to be included/excluded.
3908 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3909 &quot;A String&quot;,
3910 ],
3911 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3912 &quot;A String&quot;,
3913 ],
3914 },
3915 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device categories to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003916 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3917 &quot;A String&quot;,
3918 ],
3919 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3920 &quot;A String&quot;,
3921 ],
3922 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003923 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003924 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003925 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3926 &quot;A String&quot;,
3927 ],
3928 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3929 &quot;A String&quot;,
3930 ],
3931 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003932 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003933 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3934 &quot;A String&quot;,
3935 ],
3936 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3937 &quot;A String&quot;,
3938 ],
3939 },
3940 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003941 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003942 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3943 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
3944 &quot;A String&quot;,
3945 ],
3946 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included. When the included list is present, the excluded list must be empty. When the excluded list is present, the included list must be empty.
3947 &quot;A String&quot;,
3948 ],
3949 },
3950 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad request. It only applies to Private Auction, AdX Preferred Deals and Auction Packages. This targeting does not apply to Programmatic Guaranteed and Preferred Deals in Ad Manager. # Inventory sizes to be included/excluded.
3951 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3952 { # Represents size of a single ad slot, or a creative.
3953 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3954 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3955 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3956 },
3957 ],
3958 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3959 { # Represents size of a single ad slot, or a creative.
3960 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3961 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3962 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3963 },
3964 ],
3965 },
3966 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # Geo criteria IDs to be included/excluded.
3967 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3968 &quot;A String&quot;,
3969 ],
3970 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3971 &quot;A String&quot;,
3972 ],
3973 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003974 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003975 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.
3976 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
3977 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn&#x27;t apply to Private Auction and AdX Preferred Deals. # Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003978 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
3979 &quot;creativeSpecifications&quot;: [
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003980 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003981 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
3982 { # Represents size of a single ad slot, or a creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003983 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3984 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003985 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003986 },
3987 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003988 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
3989 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3990 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
3991 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3992 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003993 },
3994 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003995 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003996 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003997 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003998 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3999 { # Contains information on how a buyer or seller can be reached.
4000 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4001 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004002 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004003 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004004 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
4005 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true. # Output only. Tracks which parties (if any) have paused a deal.
4006 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
4007 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
4008 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
4009 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
4010 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004011 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004012 },
4013 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
4014 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
4015 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher. # The negotiable terms of the deal.
4016 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via the API at this time, but can be returned in a get or list request. # The terms for non-guaranteed fixed price deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004017 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004018 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
4019 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004020 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4021 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004022 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
4023 &quot;A String&quot;,
4024 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004025 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4026 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4027 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004028 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
4029 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004030 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
4031 },
4032 },
4033 },
4034 ],
4035 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004036 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
4037 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004038 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004039 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004040 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
4041 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
4042 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004043 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
4044 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004045 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4046 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004047 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
4048 &quot;A String&quot;,
4049 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004050 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4051 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4052 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004053 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
4054 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004055 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
4056 },
4057 },
4058 },
4059 ],
4060 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004061 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
4062 &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. Can be set by buyer or seller.
4063 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4064 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4065 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
4066 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
4067 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
4068 },
4069 },
4070 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request. # The terms for non-guaranteed auction deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004071 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004072 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
4073 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004074 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4075 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004076 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
4077 &quot;A String&quot;,
4078 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004079 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4080 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4081 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004082 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
4083 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004084 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
4085 },
4086 },
4087 },
4088 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004089 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004090 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004091 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004092 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004093 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
4094 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004095 },
4096 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004097 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
4098 { # Contains information on how a buyer or seller can be reached.
4099 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4100 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4101 },
4102 ],
4103 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Output only. Reference to the buyer that will get billed for this proposal.
4104 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Dan O'Mearadd494642020-05-01 07:42:23 -07004105 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004106 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
4107 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
4108 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. # Reference to the seller on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
4109 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field. The seller account ID is then available to buyer in the product.
4110 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
4111 },
4112 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
4113 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
4114 { # A proposal may be associated to several notes.
4115 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
4116 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
4117 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
4118 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
4119 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
4120 },
4121 ],
4122 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
4123 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
4124 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
4125 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal. Each update to the proposal or the deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004126 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
4127 { # Contains information on how a buyer or seller can be reached.
4128 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4129 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4130 },
4131 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004132}
4133
4134 x__xgafv: string, V1 error format.
4135 Allowed values
4136 1 - v1 error format
4137 2 - v2 error format
4138
4139Returns:
4140 An object of the form:
4141
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004142 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
4143 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Reference to the buyer on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
4144 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4145 },
4146 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
4147 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
4148 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
4149 },
4150 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
4151 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
4152 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
4153 { # A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
4154 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
4155 &quot;syndicationProduct&quot;: &quot;A String&quot;, # The syndication product associated with the deal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
4156 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
4157 &quot;programmaticCreativeSource&quot;: &quot;A String&quot;, # Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.
4158 &quot;availableEndTime&quot;: &quot;A String&quot;, # Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not required for Private Auction deals or Preferred Deals.
4159 &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 to see but are non-negotiable. These are set by the publisher.
4160 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
4161 { # Frequency cap.
4162 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
4163 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
4164 &quot;timeUnitType&quot;: &quot;A String&quot;, # The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.
4165 },
4166 ],
4167 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
4168 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
4169 },
4170 &quot;createProductId&quot;: &quot;A String&quot;, # The product ID from which this deal was created. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
4171 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
4172 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
4173 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
4174 &quot;referenceId&quot;: &quot;A String&quot;, # A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).
4175 },
4176 &quot;createProductRevision&quot;: &quot;A String&quot;, # Optional revision number of the product that the deal was created from. If present on create, and the server `product_revision` has advanced sinced the passed-in `create_product_revision`, an `ABORTED` error will be returned. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004177 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004178 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
4179 { # Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.
4180 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
4181 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
4182 { # A polymorphic targeting value used as part of Shared Targeting.
4183 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
4184 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4185 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
4186 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
4187 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
4188 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4189 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
4190 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4191 },
4192 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
4193 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
4194 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4195 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
4196 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4197 },
4198 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
4199 },
4200 ],
4201 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4202 },
4203 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4204 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
4205 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
4206 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
4207 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
4208 &quot;height&quot;: 42, # The height of the creative.
4209 &quot;width&quot;: 42, # The width of the creative
4210 },
4211 ],
4212 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
4213 &quot;height&quot;: 42, # The height of the creative.
4214 &quot;width&quot;: 42, # The width of the creative
4215 },
4216 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
4217 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
4218 &quot;A String&quot;,
4219 ],
4220 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4221 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
4222 },
4223 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004224 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004225 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
4226 { # A polymorphic targeting value used as part of Shared Targeting.
4227 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
4228 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4229 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
4230 &quot;endTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
4231 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
4232 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4233 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
4234 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4235 },
4236 &quot;startTime&quot;: { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.
4237 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
4238 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4239 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
4240 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4241 },
4242 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
4243 },
4244 ],
4245 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4246 },
4247 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4248 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
4249 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
4250 &quot;companionSizes&quot;: [ # For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
4251 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
4252 &quot;height&quot;: 42, # The height of the creative.
4253 &quot;width&quot;: 42, # The width of the creative
4254 },
4255 ],
4256 &quot;size&quot;: { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting. # For regular or video creative size type, specifies the size of the creative
4257 &quot;height&quot;: 42, # The height of the creative.
4258 &quot;width&quot;: 42, # The width of the creative
4259 },
4260 &quot;nativeTemplate&quot;: &quot;A String&quot;, # Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
4261 &quot;allowedFormats&quot;: [ # What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
4262 &quot;A String&quot;,
4263 ],
4264 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4265 &quot;skippableAdType&quot;: &quot;A String&quot;, # The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.
4266 },
4267 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004268 ],
4269 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004270 ],
4271 &quot;targeting&quot;: { # Targeting represents different criteria that can be used by advertisers to target ad inventory. For example, they can choose to target ad requests only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise. # Output only. Specifies the subset of inventory targeted by the deal.
4272 &quot;placementTargeting&quot;: { # Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR&#x27;ed. # Placement targeting information, e.g., URL, mobile applications.
4273 &quot;urlTargeting&quot;: { # Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn&#x27;t apply. # URLs to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004274 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Bu Sun Kim65020912020-05-20 12:08:20 -07004275 &quot;A String&quot;,
4276 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004277 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
4278 &quot;A String&quot;,
4279 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004280 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004281 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
4282 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004283 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Bu Sun Kim65020912020-05-20 12:08:20 -07004284 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07004285 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004286 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
4287 &quot;A String&quot;,
4288 ],
Dan O'Mearadd494642020-05-01 07:42:23 -07004289 },
4290 },
4291 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004292 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004293 &quot;deviceCapabilityTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device capabilities to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004294 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4295 &quot;A String&quot;,
4296 ],
4297 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4298 &quot;A String&quot;,
4299 ],
4300 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004301 &quot;deviceCategoryTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of device categories to be included/excluded.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004302 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4303 &quot;A String&quot;,
4304 ],
4305 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4306 &quot;A String&quot;,
4307 ],
4308 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004309 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004310 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004311 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4312 &quot;A String&quot;,
4313 ],
4314 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4315 &quot;A String&quot;,
4316 ],
4317 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004318 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004319 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4320 &quot;A String&quot;,
4321 ],
4322 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4323 &quot;A String&quot;,
4324 ],
4325 },
4326 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004327 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004328 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
4329 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
4330 &quot;A String&quot;,
4331 ],
4332 &quot;targetedPositionTypes&quot;: [ # A list of video positions to be included. When the included list is present, the excluded list must be empty. When the excluded list is present, the included list must be empty.
4333 &quot;A String&quot;,
4334 ],
4335 },
4336 &quot;inventorySizeTargeting&quot;: { # Represents the size of an ad unit that can be targeted on an ad request. It only applies to Private Auction, AdX Preferred Deals and Auction Packages. This targeting does not apply to Programmatic Guaranteed and Preferred Deals in Ad Manager. # Inventory sizes to be included/excluded.
4337 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
4338 { # Represents size of a single ad slot, or a creative.
4339 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
4340 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
4341 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4342 },
4343 ],
4344 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
4345 { # Represents size of a single ad slot, or a creative.
4346 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
4347 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
4348 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4349 },
4350 ],
4351 },
4352 &quot;geoTargeting&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # Geo criteria IDs to be included/excluded.
4353 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4354 &quot;A String&quot;,
4355 ],
4356 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4357 &quot;A String&quot;,
4358 ],
4359 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004360 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004361 &quot;externalDealId&quot;: &quot;A String&quot;, # Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.
4362 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
4363 &quot;creativeRestrictions&quot;: { # Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn&#x27;t apply to Private Auction and AdX Preferred Deals. # Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004364 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
4365 &quot;creativeSpecifications&quot;: [
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004366 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004367 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
4368 { # Represents size of a single ad slot, or a creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004369 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
4370 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004371 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004372 },
4373 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004374 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
4375 &quot;height&quot;: &quot;A String&quot;, # The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
4376 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
4377 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4378 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004379 },
4380 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004381 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004382 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004383 &quot;availableStartTime&quot;: &quot;A String&quot;, # Optional proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004384 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
4385 { # Contains information on how a buyer or seller can be reached.
4386 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4387 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004388 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004389 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004390 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
4391 &quot;dealPauseStatus&quot;: { # Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true. # Output only. Tracks which parties (if any) have paused a deal.
4392 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
4393 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
4394 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
4395 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
4396 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004397 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004398 },
4399 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
4400 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
4401 &quot;dealTerms&quot;: { # The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher. # The negotiable terms of the deal.
4402 &quot;nonGuaranteedFixedPriceTerms&quot;: { # Terms for Preferred Deals. Note that Preferred Deals cannot be created via the API at this time, but can be returned in a get or list request. # The terms for non-guaranteed fixed price deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004403 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004404 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
4405 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004406 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4407 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004408 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
4409 &quot;A String&quot;,
4410 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004411 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4412 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4413 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004414 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
4415 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004416 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
4417 },
4418 },
4419 },
4420 ],
4421 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004422 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
4423 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004424 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004425 &quot;guaranteedImpressions&quot;: &quot;A String&quot;, # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004426 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
4427 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
4428 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004429 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
4430 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004431 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4432 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004433 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
4434 &quot;A String&quot;,
4435 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004436 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4437 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4438 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004439 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
4440 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004441 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
4442 },
4443 },
4444 },
4445 ],
4446 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004447 &quot;sellerTimeZone&quot;: &quot;A String&quot;, # The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
4448 &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. Can be set by buyer or seller.
4449 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4450 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4451 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
4452 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
4453 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
4454 },
4455 },
4456 &quot;nonGuaranteedAuctionTerms&quot;: { # Terms for Private Auctions. Note that Private Auctions can be created only by the seller, but they can be returned in a get or list request. # The terms for non-guaranteed auction deals.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004457 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004458 { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
4459 &quot;buyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there&#x27;s no more specific rule matching the buyer).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004460 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4461 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004462 &quot;advertiserIds&quot;: [ # The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.
4463 &quot;A String&quot;,
4464 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004465 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4466 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4467 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004468 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
4469 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004470 &quot;currencyCode&quot;: &quot;A String&quot;, # The 3-letter currency code defined in ISO 4217.
4471 },
4472 },
4473 },
4474 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004475 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004476 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004477 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004478 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004479 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
4480 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004481 },
4482 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004483 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
4484 { # Contains information on how a buyer or seller can be reached.
4485 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4486 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4487 },
4488 ],
4489 &quot;billedBuyer&quot;: { # Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID. # Output only. Reference to the buyer that will get billed for this proposal.
4490 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Dan O'Mearadd494642020-05-01 07:42:23 -07004491 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004492 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
4493 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
4494 &quot;seller&quot;: { # Represents a seller of inventory. Each seller is identified by a unique Ad Manager account ID. # Reference to the seller on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
4495 &quot;accountId&quot;: &quot;A String&quot;, # The unique ID for the seller. The seller fills in this field. The seller account ID is then available to buyer in the product.
4496 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
4497 },
4498 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
4499 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
4500 { # A proposal may be associated to several notes.
4501 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
4502 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
4503 &quot;note&quot;: &quot;A String&quot;, # The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
4504 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
4505 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
4506 },
4507 ],
4508 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
4509 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
4510 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
4511 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number for the proposal. Each update to the proposal or the deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004512 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
4513 { # Contains information on how a buyer or seller can be reached.
4514 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4515 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4516 },
4517 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004518 }</pre>
4519</div>
4520
4521</body></html>