blob: 72ec793a6bea343f2aed4be1451c8a9a13896c21 [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">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080099 <code><a href="#list">list(accountId, pageToken=None, pageSize=None, filterSyntax=None, filter=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700100<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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800137 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
138 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
139 &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.
140 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800141 &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.
142 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
143 &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.
144 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700145 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
146 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800147 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800148 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
149 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800150 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
151 { # A polymorphic targeting value used as part of Shared Targeting.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800152 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800153 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
154 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800155 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
156 &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
157 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
158 &quot;height&quot;: 42, # The height of the creative.
159 &quot;width&quot;: 42, # The width of the creative
160 },
161 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800162 &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).
163 &quot;A String&quot;,
164 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800165 &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.
166 &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
167 &quot;height&quot;: 42, # The height of the creative.
168 &quot;width&quot;: 42, # The width of the creative
169 },
170 },
171 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
172 &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.
173 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
174 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
175 &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.
176 &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.
177 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
178 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
179 &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.
180 },
181 &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.
182 &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.
183 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
184 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
185 &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.
186 },
187 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800188 },
189 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800190 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700191 },
192 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700193 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800194 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800195 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
196 { # A polymorphic targeting value used as part of Shared Targeting.
197 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
198 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
199 &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.
200 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
201 &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
202 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
203 &quot;height&quot;: 42, # The height of the creative.
204 &quot;width&quot;: 42, # The width of the creative
205 },
206 ],
207 &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).
208 &quot;A String&quot;,
209 ],
210 &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.
211 &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
212 &quot;height&quot;: 42, # The height of the creative.
213 &quot;width&quot;: 42, # The width of the creative
214 },
215 },
216 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
217 &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.
218 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
219 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
220 &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.
221 &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.
222 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
223 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
224 &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.
225 },
226 &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.
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 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
230 &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.
231 },
232 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
233 },
234 ],
235 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
236 },
237 },
238 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700239 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800240 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800241 &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.
242 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
243 &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.
244 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
245 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
246 &quot;creativeSpecifications&quot;: [
247 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
248 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
249 { # Represents size of a single ad slot, or a creative.
250 &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`.
251 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
252 &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`.
253 },
254 ],
255 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
256 &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`.
257 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
258 &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`.
259 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800260 },
261 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800262 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800263 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
264 { # Contains information on how a buyer or seller can be reached.
265 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
266 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700267 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800268 ],
269 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
270 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
271 &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.
272 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
273 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800274 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800275 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
276 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
277 &quot;A String&quot;,
278 ],
279 &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.
280 &quot;A String&quot;,
281 ],
282 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800283 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800284 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
285 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800286 &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`.
287 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800288 &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`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800289 },
290 ],
291 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
292 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800293 &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`.
294 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800295 &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`.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800296 },
297 ],
298 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700299 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800300 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700301 &quot;A String&quot;,
302 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800303 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700304 &quot;A String&quot;,
305 ],
306 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800307 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
308 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800309 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800310 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
311 &quot;A String&quot;,
312 ],
313 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
314 &quot;A String&quot;,
315 ],
316 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800317 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800318 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
319 &quot;A String&quot;,
320 ],
321 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
322 &quot;A String&quot;,
323 ],
324 },
325 },
326 &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.
327 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
328 &quot;A String&quot;,
329 ],
330 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
331 &quot;A String&quot;,
332 ],
333 },
334 &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.
335 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
336 &quot;A String&quot;,
337 ],
338 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
339 &quot;A String&quot;,
340 ],
341 },
342 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700343 &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.
344 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
345 &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.
346 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
347 &quot;A String&quot;,
348 ],
349 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
350 &quot;A String&quot;,
351 ],
352 },
353 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800354 &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.
355 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
356 &quot;A String&quot;,
357 ],
358 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
359 &quot;A String&quot;,
360 ],
361 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700362 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700363 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800364 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
365 &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.
366 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
367 &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.
368 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
369 { # Frequency cap.
370 &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.
371 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
372 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800373 },
374 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800375 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
376 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800377 },
378 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800379 &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.
380 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
381 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
382 &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.
383 &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.
384 },
385 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800386 },
387 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
388 &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.
389 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
390 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800391 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
392 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
393 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
394 &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.
395 &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.
396 },
397 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
398 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800399 &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.
400 &quot;A String&quot;,
401 ],
402 &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).
403 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
404 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700405 },
406 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700407 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800408 &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.
409 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
410 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800411 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800412 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800413 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
414 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800415 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
416 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
417 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
418 &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.
419 &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.
420 },
421 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
422 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800423 &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.
424 &quot;A String&quot;,
425 ],
426 &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).
427 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
428 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800429 },
430 ],
431 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800432 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800433 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
434 &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.
435 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800436 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
437 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800438 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
439 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
440 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
441 &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.
442 &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.
443 },
444 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
445 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800446 &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.
447 &quot;A String&quot;,
448 ],
449 &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).
450 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
451 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800452 },
453 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800454 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700455 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800456 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
457 &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.
458 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
459 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
460 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
461 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
462 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
463 },
464 },
465 &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.
466 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
467 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
468 &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.
469 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
470 &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).
471 },
472 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
473 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700474 },
475 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800476 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
477 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800478 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800479 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800480 },
481 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800482 &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.
483 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
484 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800485 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
486 { # A proposal may be associated to several notes.
487 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
488 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
489 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
490 &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.
491 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800492 },
493 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800494 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
495 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
496 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
497 &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.
498 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
499 },
500 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
501 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
502 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
503 { # Contains information on how a buyer or seller can be reached.
504 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
505 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
506 },
507 ],
508 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
509 &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).
510 },
511 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800527 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800528 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800529 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800530 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800531 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800544 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800545 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800546 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800547 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800548 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800574 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
575 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
576 &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.
577 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800578 &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.
579 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
580 &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.
581 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700582 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
583 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800584 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800585 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
586 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800587 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
588 { # A polymorphic targeting value used as part of Shared Targeting.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800589 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800590 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
591 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800592 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
593 &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
594 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
595 &quot;height&quot;: 42, # The height of the creative.
596 &quot;width&quot;: 42, # The width of the creative
597 },
598 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800599 &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).
600 &quot;A String&quot;,
601 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800602 &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.
603 &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
604 &quot;height&quot;: 42, # The height of the creative.
605 &quot;width&quot;: 42, # The width of the creative
606 },
607 },
608 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
609 &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.
610 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
611 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
612 &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.
613 &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.
614 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
615 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
616 &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.
617 },
618 &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.
619 &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.
620 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
621 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
622 &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.
623 },
624 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800625 },
626 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800627 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700628 },
629 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700630 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800631 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800632 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
633 { # A polymorphic targeting value used as part of Shared Targeting.
634 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
635 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
636 &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.
637 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
638 &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
639 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
640 &quot;height&quot;: 42, # The height of the creative.
641 &quot;width&quot;: 42, # The width of the creative
642 },
643 ],
644 &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).
645 &quot;A String&quot;,
646 ],
647 &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.
648 &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
649 &quot;height&quot;: 42, # The height of the creative.
650 &quot;width&quot;: 42, # The width of the creative
651 },
652 },
653 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
654 &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.
655 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
656 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
657 &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.
658 &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.
659 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
660 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
661 &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.
662 },
663 &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.
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 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
667 &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.
668 },
669 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
670 },
671 ],
672 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
673 },
674 },
675 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700676 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800677 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800678 &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.
679 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
680 &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.
681 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
682 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
683 &quot;creativeSpecifications&quot;: [
684 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
685 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
686 { # Represents size of a single ad slot, or a creative.
687 &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`.
688 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
689 &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`.
690 },
691 ],
692 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
693 &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`.
694 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
695 &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`.
696 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800697 },
698 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800699 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800700 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
701 { # Contains information on how a buyer or seller can be reached.
702 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
703 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700704 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800705 ],
706 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
707 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
708 &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.
709 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
710 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800711 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800712 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
713 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
714 &quot;A String&quot;,
715 ],
716 &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.
717 &quot;A String&quot;,
718 ],
719 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800720 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800721 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
722 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800723 &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`.
724 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800725 &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`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800726 },
727 ],
728 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
729 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800730 &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`.
731 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800732 &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`.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800733 },
734 ],
735 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700736 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800737 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700738 &quot;A String&quot;,
739 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800740 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700741 &quot;A String&quot;,
742 ],
743 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800744 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
745 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800746 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800747 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
748 &quot;A String&quot;,
749 ],
750 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
751 &quot;A String&quot;,
752 ],
753 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800754 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800755 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
756 &quot;A String&quot;,
757 ],
758 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
759 &quot;A String&quot;,
760 ],
761 },
762 },
763 &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.
764 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
765 &quot;A String&quot;,
766 ],
767 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
768 &quot;A String&quot;,
769 ],
770 },
771 &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.
772 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
773 &quot;A String&quot;,
774 ],
775 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
776 &quot;A String&quot;,
777 ],
778 },
779 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700780 &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.
781 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
782 &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.
783 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
784 &quot;A String&quot;,
785 ],
786 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
787 &quot;A String&quot;,
788 ],
789 },
790 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800791 &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.
792 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
793 &quot;A String&quot;,
794 ],
795 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
796 &quot;A String&quot;,
797 ],
798 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700799 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700800 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800801 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
802 &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.
803 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
804 &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.
805 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
806 { # Frequency cap.
807 &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.
808 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
809 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800810 },
811 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800812 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
813 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800814 },
815 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800816 &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.
817 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
818 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
819 &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.
820 &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.
821 },
822 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800823 },
824 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
825 &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.
826 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
827 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800828 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
829 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
830 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
831 &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.
832 &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.
833 },
834 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
835 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800836 &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.
837 &quot;A String&quot;,
838 ],
839 &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).
840 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
841 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700842 },
843 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700844 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800845 &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.
846 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
847 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800848 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800849 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800850 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
851 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800852 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
853 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
854 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
855 &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.
856 &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.
857 },
858 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
859 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800860 &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.
861 &quot;A String&quot;,
862 ],
863 &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).
864 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
865 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800866 },
867 ],
868 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800869 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800870 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
871 &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.
872 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800873 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
874 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800875 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
876 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
877 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
878 &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.
879 &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.
880 },
881 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
882 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800883 &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.
884 &quot;A String&quot;,
885 ],
886 &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).
887 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
888 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800889 },
890 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800891 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700892 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800893 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
894 &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.
895 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
896 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
897 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
898 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
899 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
900 },
901 },
902 &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.
903 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
904 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
905 &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.
906 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
907 &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).
908 },
909 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
910 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700911 },
912 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800913 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
914 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800915 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800916 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800917 },
918 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800919 &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.
920 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
921 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800922 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
923 { # A proposal may be associated to several notes.
924 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
925 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
926 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
927 &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.
928 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800929 },
930 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800931 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
932 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
933 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
934 &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.
935 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
936 },
937 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
938 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
939 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
940 { # Contains information on how a buyer or seller can be reached.
941 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
942 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
943 },
944 ],
945 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
946 &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).
947 },
948 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800979 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
980 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
981 &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.
982 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800983 &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.
984 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
985 &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.
986 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700987 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
988 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800989 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800990 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
991 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800992 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
993 { # A polymorphic targeting value used as part of Shared Targeting.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800994 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800995 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
996 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800997 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
998 &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
999 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1000 &quot;height&quot;: 42, # The height of the creative.
1001 &quot;width&quot;: 42, # The width of the creative
1002 },
1003 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001004 &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).
1005 &quot;A String&quot;,
1006 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001007 &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.
1008 &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
1009 &quot;height&quot;: 42, # The height of the creative.
1010 &quot;width&quot;: 42, # The width of the creative
1011 },
1012 },
1013 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1014 &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.
1015 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1016 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1017 &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.
1018 &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.
1019 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1020 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1021 &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.
1022 },
1023 &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.
1024 &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.
1025 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1026 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1027 &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.
1028 },
1029 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001030 },
1031 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001032 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001033 },
1034 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001035 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001036 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001037 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
1038 { # A polymorphic targeting value used as part of Shared Targeting.
1039 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1040 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1041 &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.
1042 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1043 &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
1044 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1045 &quot;height&quot;: 42, # The height of the creative.
1046 &quot;width&quot;: 42, # The width of the creative
1047 },
1048 ],
1049 &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).
1050 &quot;A String&quot;,
1051 ],
1052 &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.
1053 &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
1054 &quot;height&quot;: 42, # The height of the creative.
1055 &quot;width&quot;: 42, # The width of the creative
1056 },
1057 },
1058 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1059 &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.
1060 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1061 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1062 &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.
1063 &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.
1064 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1065 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1066 &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.
1067 },
1068 &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.
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 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1072 &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.
1073 },
1074 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1075 },
1076 ],
1077 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1078 },
1079 },
1080 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001081 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001082 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001083 &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.
1084 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
1085 &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.
1086 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
1087 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1088 &quot;creativeSpecifications&quot;: [
1089 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
1090 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1091 { # Represents size of a single ad slot, or a creative.
1092 &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`.
1093 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1094 &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`.
1095 },
1096 ],
1097 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1098 &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`.
1099 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1100 &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`.
1101 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001102 },
1103 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001104 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001105 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1106 { # Contains information on how a buyer or seller can be reached.
1107 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1108 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001109 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001110 ],
1111 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
1112 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
1113 &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.
1114 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
1115 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001116 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001117 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1118 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
1119 &quot;A String&quot;,
1120 ],
1121 &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.
1122 &quot;A String&quot;,
1123 ],
1124 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001125 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001126 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1127 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001128 &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`.
1129 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001130 &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`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001131 },
1132 ],
1133 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1134 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001135 &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`.
1136 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001137 &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`.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001138 },
1139 ],
1140 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001141 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001142 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001143 &quot;A String&quot;,
1144 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001145 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001146 &quot;A String&quot;,
1147 ],
1148 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001149 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
1150 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001151 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001152 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1153 &quot;A String&quot;,
1154 ],
1155 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1156 &quot;A String&quot;,
1157 ],
1158 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001159 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001160 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1161 &quot;A String&quot;,
1162 ],
1163 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1164 &quot;A String&quot;,
1165 ],
1166 },
1167 },
1168 &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.
1169 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1170 &quot;A String&quot;,
1171 ],
1172 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1173 &quot;A String&quot;,
1174 ],
1175 },
1176 &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.
1177 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1178 &quot;A String&quot;,
1179 ],
1180 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1181 &quot;A String&quot;,
1182 ],
1183 },
1184 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001185 &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.
1186 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
1187 &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.
1188 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
1189 &quot;A String&quot;,
1190 ],
1191 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
1192 &quot;A String&quot;,
1193 ],
1194 },
1195 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001196 &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.
1197 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
1198 &quot;A String&quot;,
1199 ],
1200 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
1201 &quot;A String&quot;,
1202 ],
1203 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001204 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001205 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001206 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
1207 &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.
1208 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
1209 &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.
1210 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
1211 { # Frequency cap.
1212 &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.
1213 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
1214 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001215 },
1216 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001217 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
1218 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001219 },
1220 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001221 &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.
1222 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1223 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1224 &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.
1225 &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.
1226 },
1227 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001228 },
1229 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
1230 &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.
1231 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1232 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001233 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1234 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1235 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1236 &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.
1237 &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.
1238 },
1239 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1240 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001241 &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.
1242 &quot;A String&quot;,
1243 ],
1244 &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).
1245 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1246 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001247 },
1248 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001249 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001250 &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.
1251 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
1252 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001253 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001254 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001255 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
1256 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001257 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1258 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1259 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1260 &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.
1261 &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.
1262 },
1263 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1264 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001265 &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.
1266 &quot;A String&quot;,
1267 ],
1268 &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).
1269 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1270 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001271 },
1272 ],
1273 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001274 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001275 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
1276 &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.
1277 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001278 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1279 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001280 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1281 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1282 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1283 &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.
1284 &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.
1285 },
1286 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1287 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001288 &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.
1289 &quot;A String&quot;,
1290 ],
1291 &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).
1292 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1293 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001294 },
1295 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001296 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001297 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001298 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
1299 &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.
1300 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
1301 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
1302 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
1303 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
1304 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
1305 },
1306 },
1307 &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.
1308 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
1309 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
1310 &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.
1311 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
1312 &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).
1313 },
1314 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
1315 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001316 },
1317 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001318 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
1319 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001320 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001321 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001322 },
1323 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001324 &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.
1325 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1326 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001327 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
1328 { # A proposal may be associated to several notes.
1329 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
1330 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
1331 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
1332 &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.
1333 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001334 },
1335 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001336 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
1337 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
1338 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
1339 &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.
1340 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1341 },
1342 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
1343 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
1344 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
1345 { # Contains information on how a buyer or seller can be reached.
1346 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1347 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1348 },
1349 ],
1350 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
1351 &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).
1352 },
1353 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001354 }</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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001367 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
1368 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
1369 &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.
1370 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001371 &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.
1372 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
1373 &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.
1374 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001375 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
1376 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001377 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001378 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
1379 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001380 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
1381 { # A polymorphic targeting value used as part of Shared Targeting.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001382 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001383 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1384 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001385 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1386 &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
1387 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1388 &quot;height&quot;: 42, # The height of the creative.
1389 &quot;width&quot;: 42, # The width of the creative
1390 },
1391 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001392 &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).
1393 &quot;A String&quot;,
1394 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001395 &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.
1396 &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
1397 &quot;height&quot;: 42, # The height of the creative.
1398 &quot;width&quot;: 42, # The width of the creative
1399 },
1400 },
1401 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1402 &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.
1403 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1404 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1405 &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.
1406 &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.
1407 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1408 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1409 &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.
1410 },
1411 &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.
1412 &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.
1413 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1414 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1415 &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.
1416 },
1417 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001418 },
1419 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001420 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001421 },
1422 },
1423 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001424 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001425 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
1426 { # A polymorphic targeting value used as part of Shared Targeting.
1427 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1428 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1429 &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.
1430 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1431 &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
1432 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1433 &quot;height&quot;: 42, # The height of the creative.
1434 &quot;width&quot;: 42, # The width of the creative
1435 },
1436 ],
1437 &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).
1438 &quot;A String&quot;,
1439 ],
1440 &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.
1441 &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
1442 &quot;height&quot;: 42, # The height of the creative.
1443 &quot;width&quot;: 42, # The width of the creative
1444 },
1445 },
1446 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1447 &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.
1448 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1449 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1450 &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.
1451 &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.
1452 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1453 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1454 &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.
1455 },
1456 &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.
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 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1460 &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.
1461 },
1462 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1463 },
1464 ],
1465 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1466 },
1467 },
1468 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001469 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001470 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001471 &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.
1472 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
1473 &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.
1474 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
1475 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1476 &quot;creativeSpecifications&quot;: [
1477 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
1478 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1479 { # Represents size of a single ad slot, or a creative.
1480 &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`.
1481 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1482 &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`.
1483 },
1484 ],
1485 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1486 &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`.
1487 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1488 &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`.
1489 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001490 },
1491 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001492 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001493 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1494 { # Contains information on how a buyer or seller can be reached.
1495 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1496 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001497 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001498 ],
1499 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
1500 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
1501 &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.
1502 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
1503 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001504 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001505 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1506 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
1507 &quot;A String&quot;,
1508 ],
1509 &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.
1510 &quot;A String&quot;,
1511 ],
1512 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001513 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001514 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1515 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001516 &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`.
1517 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001518 &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`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001519 },
1520 ],
1521 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1522 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001523 &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`.
1524 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001525 &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`.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001526 },
1527 ],
1528 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001529 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001530 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001531 &quot;A String&quot;,
1532 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001533 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001534 &quot;A String&quot;,
1535 ],
1536 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001537 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
1538 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001539 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001540 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1541 &quot;A String&quot;,
1542 ],
1543 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1544 &quot;A String&quot;,
1545 ],
1546 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001547 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001548 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1549 &quot;A String&quot;,
1550 ],
1551 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1552 &quot;A String&quot;,
1553 ],
1554 },
1555 },
1556 &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.
1557 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1558 &quot;A String&quot;,
1559 ],
1560 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1561 &quot;A String&quot;,
1562 ],
1563 },
1564 &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.
1565 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1566 &quot;A String&quot;,
1567 ],
1568 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1569 &quot;A String&quot;,
1570 ],
1571 },
1572 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001573 &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.
1574 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
1575 &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.
1576 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
1577 &quot;A String&quot;,
1578 ],
1579 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
1580 &quot;A String&quot;,
1581 ],
1582 },
1583 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001584 &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.
1585 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
1586 &quot;A String&quot;,
1587 ],
1588 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
1589 &quot;A String&quot;,
1590 ],
1591 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001592 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001593 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001594 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
1595 &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.
1596 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
1597 &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.
1598 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
1599 { # Frequency cap.
1600 &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.
1601 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
1602 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001603 },
1604 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001605 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
1606 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001607 },
1608 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001609 &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.
1610 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1611 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1612 &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.
1613 &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.
1614 },
1615 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001616 },
1617 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
1618 &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.
1619 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1620 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001621 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1622 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1623 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1624 &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.
1625 &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.
1626 },
1627 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1628 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001629 &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.
1630 &quot;A String&quot;,
1631 ],
1632 &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).
1633 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1634 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001635 },
1636 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001637 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001638 &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.
1639 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
1640 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001641 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001642 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001643 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
1644 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001645 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1646 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1647 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1648 &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.
1649 &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.
1650 },
1651 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1652 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001653 &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.
1654 &quot;A String&quot;,
1655 ],
1656 &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).
1657 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1658 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001659 },
1660 ],
1661 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001662 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001663 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
1664 &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.
1665 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001666 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1667 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001668 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1669 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1670 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1671 &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.
1672 &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.
1673 },
1674 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1675 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001676 &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.
1677 &quot;A String&quot;,
1678 ],
1679 &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).
1680 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1681 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001682 },
1683 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001684 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001685 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001686 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
1687 &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.
1688 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
1689 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
1690 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
1691 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
1692 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
1693 },
1694 },
1695 &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.
1696 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
1697 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
1698 &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.
1699 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
1700 &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).
1701 },
1702 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
1703 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001704 },
1705 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001706 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
1707 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001708 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001709 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001710 },
1711 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001712 &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.
1713 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1714 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001715 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
1716 { # A proposal may be associated to several notes.
1717 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
1718 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
1719 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
1720 &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.
1721 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001722 },
1723 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001724 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
1725 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
1726 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
1727 &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.
1728 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1729 },
1730 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
1731 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
1732 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
1733 { # Contains information on how a buyer or seller can be reached.
1734 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1735 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1736 },
1737 ],
1738 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
1739 &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).
1740 },
1741 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001753 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
1754 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
1755 &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.
1756 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001757 &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.
1758 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
1759 &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.
1760 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001761 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
1762 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001763 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001764 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
1765 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001766 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
1767 { # A polymorphic targeting value used as part of Shared Targeting.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001768 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001769 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1770 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001771 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1772 &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
1773 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1774 &quot;height&quot;: 42, # The height of the creative.
1775 &quot;width&quot;: 42, # The width of the creative
1776 },
1777 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001778 &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).
1779 &quot;A String&quot;,
1780 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001781 &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.
1782 &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
1783 &quot;height&quot;: 42, # The height of the creative.
1784 &quot;width&quot;: 42, # The width of the creative
1785 },
1786 },
1787 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1788 &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.
1789 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1790 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1791 &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.
1792 &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.
1793 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1794 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1795 &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.
1796 },
1797 &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.
1798 &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.
1799 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1800 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1801 &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.
1802 },
1803 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001804 },
1805 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001806 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001807 },
1808 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001809 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001810 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001811 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
1812 { # A polymorphic targeting value used as part of Shared Targeting.
1813 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1814 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1815 &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.
1816 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1817 &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
1818 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1819 &quot;height&quot;: 42, # The height of the creative.
1820 &quot;width&quot;: 42, # The width of the creative
1821 },
1822 ],
1823 &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).
1824 &quot;A String&quot;,
1825 ],
1826 &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.
1827 &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
1828 &quot;height&quot;: 42, # The height of the creative.
1829 &quot;width&quot;: 42, # The width of the creative
1830 },
1831 },
1832 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1833 &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.
1834 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1835 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1836 &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.
1837 &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.
1838 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1839 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1840 &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.
1841 },
1842 &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.
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 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1846 &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.
1847 },
1848 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1849 },
1850 ],
1851 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1852 },
1853 },
1854 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001855 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001856 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001857 &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.
1858 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
1859 &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.
1860 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
1861 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1862 &quot;creativeSpecifications&quot;: [
1863 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
1864 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1865 { # Represents size of a single ad slot, or a creative.
1866 &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`.
1867 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1868 &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`.
1869 },
1870 ],
1871 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1872 &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`.
1873 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1874 &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`.
1875 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001876 },
1877 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001878 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001879 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1880 { # Contains information on how a buyer or seller can be reached.
1881 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1882 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001883 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001884 ],
1885 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
1886 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
1887 &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.
1888 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
1889 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001890 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001891 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1892 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
1893 &quot;A String&quot;,
1894 ],
1895 &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.
1896 &quot;A String&quot;,
1897 ],
1898 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001899 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001900 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1901 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001902 &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`.
1903 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001904 &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`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001905 },
1906 ],
1907 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1908 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001909 &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`.
1910 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001911 &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`.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001912 },
1913 ],
1914 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001915 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001916 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001917 &quot;A String&quot;,
1918 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001919 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001920 &quot;A String&quot;,
1921 ],
1922 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001923 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
1924 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001925 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001926 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1927 &quot;A String&quot;,
1928 ],
1929 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1930 &quot;A String&quot;,
1931 ],
1932 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001933 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001934 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1935 &quot;A String&quot;,
1936 ],
1937 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1938 &quot;A String&quot;,
1939 ],
1940 },
1941 },
1942 &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.
1943 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1944 &quot;A String&quot;,
1945 ],
1946 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1947 &quot;A String&quot;,
1948 ],
1949 },
1950 &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.
1951 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1952 &quot;A String&quot;,
1953 ],
1954 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1955 &quot;A String&quot;,
1956 ],
1957 },
1958 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001959 &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.
1960 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
1961 &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.
1962 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
1963 &quot;A String&quot;,
1964 ],
1965 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
1966 &quot;A String&quot;,
1967 ],
1968 },
1969 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001970 &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.
1971 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
1972 &quot;A String&quot;,
1973 ],
1974 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
1975 &quot;A String&quot;,
1976 ],
1977 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001978 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001979 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001980 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
1981 &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.
1982 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
1983 &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.
1984 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
1985 { # Frequency cap.
1986 &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.
1987 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
1988 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001989 },
1990 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001991 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
1992 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001993 },
1994 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001995 &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.
1996 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1997 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1998 &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.
1999 &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.
2000 },
2001 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002002 },
2003 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
2004 &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.
2005 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2006 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002007 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2008 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2009 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2010 &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.
2011 &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.
2012 },
2013 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2014 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002015 &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.
2016 &quot;A String&quot;,
2017 ],
2018 &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).
2019 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2020 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002021 },
2022 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002023 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002024 &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.
2025 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
2026 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002027 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002028 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002029 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
2030 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002031 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2032 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2033 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2034 &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.
2035 &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.
2036 },
2037 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2038 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002039 &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.
2040 &quot;A String&quot;,
2041 ],
2042 &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).
2043 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2044 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002045 },
2046 ],
2047 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002048 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002049 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2050 &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.
2051 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002052 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2053 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002054 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2055 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2056 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2057 &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.
2058 &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.
2059 },
2060 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2061 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002062 &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.
2063 &quot;A String&quot;,
2064 ],
2065 &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).
2066 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2067 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002068 },
2069 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002070 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002071 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002072 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
2073 &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.
2074 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
2075 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
2076 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
2077 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
2078 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
2079 },
2080 },
2081 &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.
2082 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
2083 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
2084 &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.
2085 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2086 &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).
2087 },
2088 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
2089 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002090 },
2091 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002092 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2093 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002094 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002095 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002096 },
2097 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002098 &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.
2099 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2100 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002101 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2102 { # A proposal may be associated to several notes.
2103 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
2104 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2105 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
2106 &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.
2107 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002108 },
2109 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002110 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
2111 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
2112 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
2113 &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.
2114 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2115 },
2116 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2117 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
2118 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2119 { # Contains information on how a buyer or seller can be reached.
2120 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2121 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2122 },
2123 ],
2124 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2125 &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).
2126 },
2127 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002147 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2148 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
2149 &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.
2150 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002151 &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.
2152 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2153 &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.
2154 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002155 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2156 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002157 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002158 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
2159 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002160 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
2161 { # A polymorphic targeting value used as part of Shared Targeting.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002162 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002163 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2164 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002165 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2166 &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
2167 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2168 &quot;height&quot;: 42, # The height of the creative.
2169 &quot;width&quot;: 42, # The width of the creative
2170 },
2171 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002172 &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).
2173 &quot;A String&quot;,
2174 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002175 &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.
2176 &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
2177 &quot;height&quot;: 42, # The height of the creative.
2178 &quot;width&quot;: 42, # The width of the creative
2179 },
2180 },
2181 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2182 &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.
2183 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2184 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2185 &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.
2186 &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.
2187 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2188 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2189 &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.
2190 },
2191 &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.
2192 &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.
2193 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2194 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2195 &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.
2196 },
2197 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002198 },
2199 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002200 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002201 },
2202 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002203 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002204 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002205 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
2206 { # A polymorphic targeting value used as part of Shared Targeting.
2207 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2208 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2209 &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.
2210 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2211 &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
2212 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2213 &quot;height&quot;: 42, # The height of the creative.
2214 &quot;width&quot;: 42, # The width of the creative
2215 },
2216 ],
2217 &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).
2218 &quot;A String&quot;,
2219 ],
2220 &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.
2221 &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
2222 &quot;height&quot;: 42, # The height of the creative.
2223 &quot;width&quot;: 42, # The width of the creative
2224 },
2225 },
2226 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2227 &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.
2228 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2229 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2230 &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.
2231 &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.
2232 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2233 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2234 &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.
2235 },
2236 &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.
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 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2240 &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.
2241 },
2242 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2243 },
2244 ],
2245 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2246 },
2247 },
2248 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002249 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002250 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002251 &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.
2252 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
2253 &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.
2254 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
2255 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
2256 &quot;creativeSpecifications&quot;: [
2257 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
2258 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
2259 { # Represents size of a single ad slot, or a creative.
2260 &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`.
2261 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2262 &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`.
2263 },
2264 ],
2265 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
2266 &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`.
2267 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2268 &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`.
2269 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002270 },
2271 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002272 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002273 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
2274 { # Contains information on how a buyer or seller can be reached.
2275 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2276 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002277 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002278 ],
2279 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
2280 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
2281 &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.
2282 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
2283 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002284 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002285 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
2286 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
2287 &quot;A String&quot;,
2288 ],
2289 &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.
2290 &quot;A String&quot;,
2291 ],
2292 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002293 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002294 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
2295 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002296 &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`.
2297 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002298 &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`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002299 },
2300 ],
2301 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
2302 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002303 &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`.
2304 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002305 &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`.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002306 },
2307 ],
2308 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002309 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002310 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002311 &quot;A String&quot;,
2312 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002313 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002314 &quot;A String&quot;,
2315 ],
2316 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002317 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
2318 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002319 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002320 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2321 &quot;A String&quot;,
2322 ],
2323 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2324 &quot;A String&quot;,
2325 ],
2326 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002327 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002328 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2329 &quot;A String&quot;,
2330 ],
2331 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2332 &quot;A String&quot;,
2333 ],
2334 },
2335 },
2336 &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.
2337 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2338 &quot;A String&quot;,
2339 ],
2340 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2341 &quot;A String&quot;,
2342 ],
2343 },
2344 &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.
2345 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2346 &quot;A String&quot;,
2347 ],
2348 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2349 &quot;A String&quot;,
2350 ],
2351 },
2352 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002353 &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.
2354 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
2355 &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.
2356 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
2357 &quot;A String&quot;,
2358 ],
2359 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
2360 &quot;A String&quot;,
2361 ],
2362 },
2363 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002364 &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.
2365 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
2366 &quot;A String&quot;,
2367 ],
2368 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
2369 &quot;A String&quot;,
2370 ],
2371 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002372 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002373 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002374 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
2375 &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.
2376 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
2377 &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.
2378 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
2379 { # Frequency cap.
2380 &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.
2381 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
2382 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002383 },
2384 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002385 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
2386 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002387 },
2388 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002389 &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.
2390 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2391 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2392 &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.
2393 &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.
2394 },
2395 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002396 },
2397 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
2398 &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.
2399 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2400 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002401 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2402 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2403 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2404 &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.
2405 &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.
2406 },
2407 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2408 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002409 &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.
2410 &quot;A String&quot;,
2411 ],
2412 &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).
2413 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2414 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002415 },
2416 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002417 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002418 &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.
2419 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
2420 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002421 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002422 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002423 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
2424 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002425 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2426 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2427 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2428 &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.
2429 &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.
2430 },
2431 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2432 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002433 &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.
2434 &quot;A String&quot;,
2435 ],
2436 &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).
2437 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2438 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002439 },
2440 ],
2441 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002442 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002443 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2444 &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.
2445 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002446 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2447 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002448 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2449 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2450 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2451 &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.
2452 &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.
2453 },
2454 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2455 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002456 &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.
2457 &quot;A String&quot;,
2458 ],
2459 &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).
2460 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2461 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002462 },
2463 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002464 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002465 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002466 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
2467 &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.
2468 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
2469 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
2470 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
2471 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
2472 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
2473 },
2474 },
2475 &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.
2476 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
2477 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
2478 &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.
2479 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2480 &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).
2481 },
2482 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
2483 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002484 },
2485 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002486 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2487 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002488 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002489 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002490 },
2491 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002492 &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.
2493 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2494 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002495 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2496 { # A proposal may be associated to several notes.
2497 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
2498 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2499 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
2500 &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.
2501 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002502 },
2503 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002504 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
2505 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
2506 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
2507 &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.
2508 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2509 },
2510 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2511 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
2512 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2513 { # Contains information on how a buyer or seller can be reached.
2514 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2515 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2516 },
2517 ],
2518 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2519 &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).
2520 },
2521 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002522 }</pre>
2523</div>
2524
2525<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002526 <code class="details" id="list">list(accountId, pageToken=None, pageSize=None, filterSyntax=None, filter=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002527 <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)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002531 pageToken: string, The page token as returned from ListProposalsResponse.
2532 pageSize: integer, Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002533 filterSyntax: string, Syntax the filter is written in. Current implementation defaults to PQL but in the future it will be LIST_FILTER.
2534 Allowed values
2535 FILTER_SYNTAX_UNSPECIFIED - A placeholder for an undefined filter syntax.
2536 PQL - PQL query syntax. Visit https://developers.google.com/ad-manager/api/pqlreference for PQL documentation and examples.
2537 LIST_FILTER - API list filtering syntax. Read about syntax and usage at https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002538 filter: string, An optional PQL filter query used to query for proposals. Nested repeated fields, such as proposal.deals.targetingCriterion, cannot be filtered.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002548 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002551 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2552 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
2553 &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.
2554 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002555 &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.
2556 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2557 &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.
2558 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002559 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2560 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002561 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002562 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
2563 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002564 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
2565 { # A polymorphic targeting value used as part of Shared Targeting.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002566 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002567 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2568 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002569 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2570 &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
2571 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2572 &quot;height&quot;: 42, # The height of the creative.
2573 &quot;width&quot;: 42, # The width of the creative
2574 },
2575 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002576 &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).
2577 &quot;A String&quot;,
2578 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002579 &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.
2580 &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
2581 &quot;height&quot;: 42, # The height of the creative.
2582 &quot;width&quot;: 42, # The width of the creative
2583 },
2584 },
2585 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2586 &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.
2587 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2588 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2589 &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.
2590 &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.
2591 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2592 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2593 &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.
2594 },
2595 &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.
2596 &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.
2597 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2598 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2599 &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.
2600 },
2601 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002602 },
2603 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002604 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002605 },
2606 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002607 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002608 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002609 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
2610 { # A polymorphic targeting value used as part of Shared Targeting.
2611 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2612 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2613 &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.
2614 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2615 &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
2616 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2617 &quot;height&quot;: 42, # The height of the creative.
2618 &quot;width&quot;: 42, # The width of the creative
2619 },
2620 ],
2621 &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).
2622 &quot;A String&quot;,
2623 ],
2624 &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.
2625 &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
2626 &quot;height&quot;: 42, # The height of the creative.
2627 &quot;width&quot;: 42, # The width of the creative
2628 },
2629 },
2630 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2631 &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.
2632 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2633 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2634 &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.
2635 &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.
2636 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2637 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2638 &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.
2639 },
2640 &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.
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 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2644 &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.
2645 },
2646 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2647 },
2648 ],
2649 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2650 },
2651 },
2652 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002653 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002654 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002655 &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.
2656 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
2657 &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.
2658 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
2659 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
2660 &quot;creativeSpecifications&quot;: [
2661 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
2662 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
2663 { # Represents size of a single ad slot, or a creative.
2664 &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`.
2665 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2666 &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`.
2667 },
2668 ],
2669 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
2670 &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`.
2671 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2672 &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`.
2673 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002674 },
2675 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002676 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002677 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
2678 { # Contains information on how a buyer or seller can be reached.
2679 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2680 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002681 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002682 ],
2683 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
2684 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
2685 &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.
2686 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
2687 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002688 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002689 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
2690 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
2691 &quot;A String&quot;,
2692 ],
2693 &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.
2694 &quot;A String&quot;,
2695 ],
2696 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002697 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002698 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
2699 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002700 &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`.
2701 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002702 &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`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002703 },
2704 ],
2705 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
2706 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002707 &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`.
2708 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002709 &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`.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002710 },
2711 ],
2712 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002713 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002714 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002715 &quot;A String&quot;,
2716 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002717 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002718 &quot;A String&quot;,
2719 ],
2720 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002721 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
2722 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002723 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002724 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2725 &quot;A String&quot;,
2726 ],
2727 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2728 &quot;A String&quot;,
2729 ],
2730 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002731 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002732 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2733 &quot;A String&quot;,
2734 ],
2735 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2736 &quot;A String&quot;,
2737 ],
2738 },
2739 },
2740 &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.
2741 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2742 &quot;A String&quot;,
2743 ],
2744 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2745 &quot;A String&quot;,
2746 ],
2747 },
2748 &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.
2749 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2750 &quot;A String&quot;,
2751 ],
2752 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2753 &quot;A String&quot;,
2754 ],
2755 },
2756 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002757 &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.
2758 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
2759 &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.
2760 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
2761 &quot;A String&quot;,
2762 ],
2763 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
2764 &quot;A String&quot;,
2765 ],
2766 },
2767 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002768 &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.
2769 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
2770 &quot;A String&quot;,
2771 ],
2772 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
2773 &quot;A String&quot;,
2774 ],
2775 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002776 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002777 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002778 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
2779 &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.
2780 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
2781 &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.
2782 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
2783 { # Frequency cap.
2784 &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.
2785 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
2786 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002787 },
2788 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002789 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
2790 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002791 },
2792 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002793 &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.
2794 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2795 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2796 &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.
2797 &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.
2798 },
2799 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002800 },
2801 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
2802 &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.
2803 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2804 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002805 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2806 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2807 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2808 &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.
2809 &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.
2810 },
2811 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2812 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002813 &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.
2814 &quot;A String&quot;,
2815 ],
2816 &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).
2817 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2818 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002819 },
2820 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002821 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002822 &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.
2823 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
2824 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002825 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002826 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002827 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
2828 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002829 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2830 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2831 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2832 &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.
2833 &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.
2834 },
2835 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2836 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002837 &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.
2838 &quot;A String&quot;,
2839 ],
2840 &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).
2841 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2842 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002843 },
2844 ],
2845 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002846 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002847 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2848 &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.
2849 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002850 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2851 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002852 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2853 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2854 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2855 &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.
2856 &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.
2857 },
2858 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2859 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002860 &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.
2861 &quot;A String&quot;,
2862 ],
2863 &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).
2864 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2865 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002866 },
2867 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002868 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002869 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002870 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
2871 &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.
2872 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
2873 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
2874 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
2875 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
2876 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
2877 },
2878 },
2879 &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.
2880 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
2881 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
2882 &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.
2883 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2884 &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).
2885 },
2886 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
2887 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002888 },
2889 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002890 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2891 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002892 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002893 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002894 },
2895 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002896 &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.
2897 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2898 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002899 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2900 { # A proposal may be associated to several notes.
2901 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
2902 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2903 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
2904 &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.
2905 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002906 },
2907 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002908 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
2909 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
2910 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
2911 &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.
2912 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2913 },
2914 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2915 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
2916 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2917 { # Contains information on how a buyer or seller can be reached.
2918 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2919 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2920 },
2921 ],
2922 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2923 &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).
2924 },
2925 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002968 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2969 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
2970 &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.
2971 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002972 &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.
2973 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2974 &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.
2975 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002976 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2977 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002978 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002979 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
2980 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002981 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
2982 { # A polymorphic targeting value used as part of Shared Targeting.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002983 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002984 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2985 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002986 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2987 &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
2988 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2989 &quot;height&quot;: 42, # The height of the creative.
2990 &quot;width&quot;: 42, # The width of the creative
2991 },
2992 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002993 &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).
2994 &quot;A String&quot;,
2995 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002996 &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.
2997 &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
2998 &quot;height&quot;: 42, # The height of the creative.
2999 &quot;width&quot;: 42, # The width of the creative
3000 },
3001 },
3002 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3003 &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.
3004 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3005 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3006 &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.
3007 &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.
3008 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3009 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3010 &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.
3011 },
3012 &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.
3013 &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.
3014 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3015 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3016 &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.
3017 },
3018 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003019 },
3020 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003021 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003022 },
3023 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003024 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003025 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003026 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
3027 { # A polymorphic targeting value used as part of Shared Targeting.
3028 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3029 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3030 &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.
3031 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3032 &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
3033 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3034 &quot;height&quot;: 42, # The height of the creative.
3035 &quot;width&quot;: 42, # The width of the creative
3036 },
3037 ],
3038 &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).
3039 &quot;A String&quot;,
3040 ],
3041 &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.
3042 &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
3043 &quot;height&quot;: 42, # The height of the creative.
3044 &quot;width&quot;: 42, # The width of the creative
3045 },
3046 },
3047 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3048 &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.
3049 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3050 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3051 &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.
3052 &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.
3053 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3054 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3055 &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.
3056 },
3057 &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.
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 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3061 &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.
3062 },
3063 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3064 },
3065 ],
3066 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3067 },
3068 },
3069 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003070 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003071 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003072 &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.
3073 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
3074 &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.
3075 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
3076 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
3077 &quot;creativeSpecifications&quot;: [
3078 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
3079 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
3080 { # Represents size of a single ad slot, or a creative.
3081 &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`.
3082 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3083 &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`.
3084 },
3085 ],
3086 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
3087 &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`.
3088 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3089 &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`.
3090 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003091 },
3092 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003093 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003094 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3095 { # Contains information on how a buyer or seller can be reached.
3096 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3097 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003098 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003099 ],
3100 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
3101 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
3102 &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.
3103 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
3104 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003105 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003106 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3107 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
3108 &quot;A String&quot;,
3109 ],
3110 &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.
3111 &quot;A String&quot;,
3112 ],
3113 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003114 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003115 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3116 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003117 &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`.
3118 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003119 &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`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003120 },
3121 ],
3122 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3123 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003124 &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`.
3125 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003126 &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`.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003127 },
3128 ],
3129 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003130 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003131 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003132 &quot;A String&quot;,
3133 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003134 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003135 &quot;A String&quot;,
3136 ],
3137 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003138 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
3139 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003140 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003141 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3142 &quot;A String&quot;,
3143 ],
3144 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3145 &quot;A String&quot;,
3146 ],
3147 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003148 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003149 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3150 &quot;A String&quot;,
3151 ],
3152 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3153 &quot;A String&quot;,
3154 ],
3155 },
3156 },
3157 &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.
3158 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3159 &quot;A String&quot;,
3160 ],
3161 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3162 &quot;A String&quot;,
3163 ],
3164 },
3165 &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.
3166 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3167 &quot;A String&quot;,
3168 ],
3169 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3170 &quot;A String&quot;,
3171 ],
3172 },
3173 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003174 &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.
3175 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
3176 &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.
3177 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
3178 &quot;A String&quot;,
3179 ],
3180 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
3181 &quot;A String&quot;,
3182 ],
3183 },
3184 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003185 &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.
3186 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
3187 &quot;A String&quot;,
3188 ],
3189 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
3190 &quot;A String&quot;,
3191 ],
3192 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003193 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003194 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003195 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
3196 &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.
3197 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
3198 &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.
3199 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
3200 { # Frequency cap.
3201 &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.
3202 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
3203 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003204 },
3205 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003206 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
3207 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003208 },
3209 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003210 &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.
3211 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3212 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3213 &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.
3214 &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.
3215 },
3216 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003217 },
3218 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
3219 &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.
3220 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3221 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003222 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3223 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3224 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3225 &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.
3226 &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.
3227 },
3228 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3229 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003230 &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.
3231 &quot;A String&quot;,
3232 ],
3233 &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).
3234 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3235 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003236 },
3237 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003238 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003239 &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.
3240 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
3241 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003242 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003243 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003244 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
3245 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003246 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3247 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3248 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3249 &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.
3250 &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.
3251 },
3252 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3253 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003254 &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.
3255 &quot;A String&quot;,
3256 ],
3257 &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).
3258 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3259 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003260 },
3261 ],
3262 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003263 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003264 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
3265 &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.
3266 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003267 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3268 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003269 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3270 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3271 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3272 &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.
3273 &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.
3274 },
3275 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3276 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003277 &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.
3278 &quot;A String&quot;,
3279 ],
3280 &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).
3281 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3282 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003283 },
3284 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003285 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003286 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003287 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
3288 &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.
3289 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
3290 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
3291 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
3292 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
3293 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
3294 },
3295 },
3296 &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.
3297 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
3298 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
3299 &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.
3300 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
3301 &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).
3302 },
3303 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
3304 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003305 },
3306 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003307 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
3308 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003309 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003310 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003311 },
3312 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003313 &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.
3314 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3315 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003316 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
3317 { # A proposal may be associated to several notes.
3318 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
3319 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
3320 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
3321 &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.
3322 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003323 },
3324 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003325 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
3326 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
3327 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
3328 &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.
3329 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3330 },
3331 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
3332 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
3333 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
3334 { # Contains information on how a buyer or seller can be reached.
3335 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3336 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3337 },
3338 ],
3339 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
3340 &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).
3341 },
3342 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003368 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
3369 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
3370 &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.
3371 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003372 &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.
3373 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
3374 &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.
3375 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003376 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
3377 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003378 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003379 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
3380 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003381 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
3382 { # A polymorphic targeting value used as part of Shared Targeting.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003383 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003384 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3385 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003386 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3387 &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
3388 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3389 &quot;height&quot;: 42, # The height of the creative.
3390 &quot;width&quot;: 42, # The width of the creative
3391 },
3392 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003393 &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).
3394 &quot;A String&quot;,
3395 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003396 &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.
3397 &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
3398 &quot;height&quot;: 42, # The height of the creative.
3399 &quot;width&quot;: 42, # The width of the creative
3400 },
3401 },
3402 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3403 &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.
3404 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3405 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3406 &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.
3407 &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.
3408 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3409 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3410 &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.
3411 },
3412 &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.
3413 &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.
3414 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3415 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3416 &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.
3417 },
3418 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003419 },
3420 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003421 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003422 },
3423 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003424 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003425 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003426 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
3427 { # A polymorphic targeting value used as part of Shared Targeting.
3428 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3429 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3430 &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.
3431 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3432 &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
3433 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3434 &quot;height&quot;: 42, # The height of the creative.
3435 &quot;width&quot;: 42, # The width of the creative
3436 },
3437 ],
3438 &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).
3439 &quot;A String&quot;,
3440 ],
3441 &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.
3442 &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
3443 &quot;height&quot;: 42, # The height of the creative.
3444 &quot;width&quot;: 42, # The width of the creative
3445 },
3446 },
3447 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3448 &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.
3449 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3450 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3451 &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.
3452 &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.
3453 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3454 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3455 &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.
3456 },
3457 &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.
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 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3461 &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.
3462 },
3463 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3464 },
3465 ],
3466 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3467 },
3468 },
3469 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003470 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003471 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003472 &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.
3473 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
3474 &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.
3475 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
3476 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
3477 &quot;creativeSpecifications&quot;: [
3478 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
3479 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
3480 { # Represents size of a single ad slot, or a creative.
3481 &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`.
3482 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3483 &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`.
3484 },
3485 ],
3486 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
3487 &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`.
3488 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3489 &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`.
3490 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003491 },
3492 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003493 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003494 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3495 { # Contains information on how a buyer or seller can be reached.
3496 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3497 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003498 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003499 ],
3500 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
3501 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
3502 &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.
3503 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
3504 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003505 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003506 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3507 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
3508 &quot;A String&quot;,
3509 ],
3510 &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.
3511 &quot;A String&quot;,
3512 ],
3513 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003514 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003515 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3516 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003517 &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`.
3518 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003519 &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`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003520 },
3521 ],
3522 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3523 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003524 &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`.
3525 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003526 &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`.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003527 },
3528 ],
3529 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003530 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003531 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003532 &quot;A String&quot;,
3533 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003534 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003535 &quot;A String&quot;,
3536 ],
3537 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003538 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
3539 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003540 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003541 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3542 &quot;A String&quot;,
3543 ],
3544 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3545 &quot;A String&quot;,
3546 ],
3547 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003548 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003549 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3550 &quot;A String&quot;,
3551 ],
3552 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3553 &quot;A String&quot;,
3554 ],
3555 },
3556 },
3557 &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.
3558 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3559 &quot;A String&quot;,
3560 ],
3561 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3562 &quot;A String&quot;,
3563 ],
3564 },
3565 &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.
3566 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3567 &quot;A String&quot;,
3568 ],
3569 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3570 &quot;A String&quot;,
3571 ],
3572 },
3573 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003574 &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.
3575 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
3576 &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.
3577 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
3578 &quot;A String&quot;,
3579 ],
3580 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
3581 &quot;A String&quot;,
3582 ],
3583 },
3584 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003585 &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.
3586 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
3587 &quot;A String&quot;,
3588 ],
3589 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
3590 &quot;A String&quot;,
3591 ],
3592 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003593 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003594 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003595 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
3596 &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.
3597 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
3598 &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.
3599 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
3600 { # Frequency cap.
3601 &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.
3602 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
3603 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003604 },
3605 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003606 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
3607 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003608 },
3609 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003610 &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.
3611 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3612 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3613 &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.
3614 &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.
3615 },
3616 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003617 },
3618 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
3619 &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.
3620 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3621 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003622 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3623 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3624 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3625 &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.
3626 &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.
3627 },
3628 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3629 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003630 &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.
3631 &quot;A String&quot;,
3632 ],
3633 &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).
3634 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3635 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003636 },
3637 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003638 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003639 &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.
3640 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
3641 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003642 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003643 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003644 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
3645 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003646 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3647 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3648 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3649 &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.
3650 &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.
3651 },
3652 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3653 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003654 &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.
3655 &quot;A String&quot;,
3656 ],
3657 &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).
3658 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3659 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003660 },
3661 ],
3662 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003663 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003664 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
3665 &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.
3666 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003667 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3668 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003669 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3670 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3671 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3672 &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.
3673 &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.
3674 },
3675 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3676 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003677 &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.
3678 &quot;A String&quot;,
3679 ],
3680 &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).
3681 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3682 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003683 },
3684 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003685 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003686 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003687 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
3688 &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.
3689 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
3690 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
3691 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
3692 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
3693 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
3694 },
3695 },
3696 &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.
3697 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
3698 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
3699 &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.
3700 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
3701 &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).
3702 },
3703 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
3704 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003705 },
3706 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003707 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
3708 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003709 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003710 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003711 },
3712 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003713 &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.
3714 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3715 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003716 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
3717 { # A proposal may be associated to several notes.
3718 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
3719 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
3720 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
3721 &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.
3722 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003723 },
3724 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003725 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
3726 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
3727 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
3728 &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.
3729 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3730 },
3731 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
3732 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
3733 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
3734 { # Contains information on how a buyer or seller can be reached.
3735 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3736 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3737 },
3738 ],
3739 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
3740 &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).
3741 },
3742 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003743 }</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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003757 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
3758 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
3759 &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.
3760 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003761 &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.
3762 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
3763 &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.
3764 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003765 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
3766 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003767 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003768 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
3769 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003770 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
3771 { # A polymorphic targeting value used as part of Shared Targeting.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003772 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003773 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3774 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003775 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3776 &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
3777 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3778 &quot;height&quot;: 42, # The height of the creative.
3779 &quot;width&quot;: 42, # The width of the creative
3780 },
3781 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003782 &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).
3783 &quot;A String&quot;,
3784 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003785 &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.
3786 &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
3787 &quot;height&quot;: 42, # The height of the creative.
3788 &quot;width&quot;: 42, # The width of the creative
3789 },
3790 },
3791 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3792 &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.
3793 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3794 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3795 &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.
3796 &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.
3797 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3798 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3799 &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.
3800 },
3801 &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.
3802 &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.
3803 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3804 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3805 &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.
3806 },
3807 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003808 },
3809 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003810 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003811 },
3812 },
3813 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003814 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003815 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
3816 { # A polymorphic targeting value used as part of Shared Targeting.
3817 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3818 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3819 &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.
3820 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3821 &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
3822 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3823 &quot;height&quot;: 42, # The height of the creative.
3824 &quot;width&quot;: 42, # The width of the creative
3825 },
3826 ],
3827 &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).
3828 &quot;A String&quot;,
3829 ],
3830 &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.
3831 &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
3832 &quot;height&quot;: 42, # The height of the creative.
3833 &quot;width&quot;: 42, # The width of the creative
3834 },
3835 },
3836 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3837 &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.
3838 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3839 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3840 &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.
3841 &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.
3842 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3843 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3844 &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.
3845 },
3846 &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.
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 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3850 &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.
3851 },
3852 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3853 },
3854 ],
3855 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3856 },
3857 },
3858 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003859 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003860 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003861 &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.
3862 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
3863 &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.
3864 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
3865 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
3866 &quot;creativeSpecifications&quot;: [
3867 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
3868 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
3869 { # Represents size of a single ad slot, or a creative.
3870 &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`.
3871 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3872 &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`.
3873 },
3874 ],
3875 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
3876 &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`.
3877 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3878 &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`.
3879 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003880 },
3881 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003882 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003883 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3884 { # Contains information on how a buyer or seller can be reached.
3885 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3886 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003887 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003888 ],
3889 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
3890 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
3891 &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.
3892 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
3893 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003894 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003895 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3896 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
3897 &quot;A String&quot;,
3898 ],
3899 &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.
3900 &quot;A String&quot;,
3901 ],
3902 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003903 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003904 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3905 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003906 &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`.
3907 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003908 &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`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003909 },
3910 ],
3911 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3912 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003913 &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`.
3914 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003915 &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`.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003916 },
3917 ],
3918 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003919 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003920 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003921 &quot;A String&quot;,
3922 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003923 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003924 &quot;A String&quot;,
3925 ],
3926 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003927 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
3928 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003929 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003930 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3931 &quot;A String&quot;,
3932 ],
3933 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3934 &quot;A String&quot;,
3935 ],
3936 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003937 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003938 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3939 &quot;A String&quot;,
3940 ],
3941 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3942 &quot;A String&quot;,
3943 ],
3944 },
3945 },
3946 &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.
3947 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3948 &quot;A String&quot;,
3949 ],
3950 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3951 &quot;A String&quot;,
3952 ],
3953 },
3954 &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.
3955 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3956 &quot;A String&quot;,
3957 ],
3958 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3959 &quot;A String&quot;,
3960 ],
3961 },
3962 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003963 &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.
3964 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
3965 &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.
3966 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
3967 &quot;A String&quot;,
3968 ],
3969 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
3970 &quot;A String&quot;,
3971 ],
3972 },
3973 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003974 &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.
3975 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
3976 &quot;A String&quot;,
3977 ],
3978 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
3979 &quot;A String&quot;,
3980 ],
3981 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003982 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003983 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003984 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
3985 &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.
3986 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
3987 &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.
3988 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
3989 { # Frequency cap.
3990 &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.
3991 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
3992 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003993 },
3994 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003995 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
3996 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003997 },
3998 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003999 &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.
4000 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4001 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4002 &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.
4003 &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.
4004 },
4005 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004006 },
4007 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
4008 &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.
4009 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4010 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004011 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4012 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4013 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4014 &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.
4015 &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.
4016 },
4017 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4018 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004019 &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.
4020 &quot;A String&quot;,
4021 ],
4022 &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).
4023 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4024 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004025 },
4026 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004027 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004028 &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.
4029 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
4030 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004031 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004032 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004033 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
4034 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004035 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4036 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4037 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4038 &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.
4039 &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.
4040 },
4041 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4042 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004043 &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.
4044 &quot;A String&quot;,
4045 ],
4046 &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).
4047 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4048 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004049 },
4050 ],
4051 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004052 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004053 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
4054 &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.
4055 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004056 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4057 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004058 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4059 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4060 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4061 &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.
4062 &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.
4063 },
4064 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4065 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004066 &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.
4067 &quot;A String&quot;,
4068 ],
4069 &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).
4070 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4071 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004072 },
4073 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004074 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004075 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004076 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
4077 &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.
4078 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
4079 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
4080 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
4081 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
4082 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
4083 },
4084 },
4085 &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.
4086 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
4087 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
4088 &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.
4089 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
4090 &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).
4091 },
4092 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
4093 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004094 },
4095 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004096 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
4097 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004098 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004099 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004100 },
4101 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004102 &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.
4103 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4104 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004105 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
4106 { # A proposal may be associated to several notes.
4107 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
4108 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
4109 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
4110 &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.
4111 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004112 },
4113 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004114 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
4115 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
4116 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
4117 &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.
4118 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4119 },
4120 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
4121 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
4122 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
4123 { # Contains information on how a buyer or seller can be reached.
4124 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4125 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4126 },
4127 ],
4128 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
4129 &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).
4130 },
4131 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004143 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
4144 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
4145 &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.
4146 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004147 &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.
4148 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
4149 &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.
4150 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004151 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
4152 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004153 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004154 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
4155 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004156 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
4157 { # A polymorphic targeting value used as part of Shared Targeting.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004158 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004159 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
4160 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004161 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4162 &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
4163 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
4164 &quot;height&quot;: 42, # The height of the creative.
4165 &quot;width&quot;: 42, # The width of the creative
4166 },
4167 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004168 &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).
4169 &quot;A String&quot;,
4170 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004171 &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.
4172 &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
4173 &quot;height&quot;: 42, # The height of the creative.
4174 &quot;width&quot;: 42, # The width of the creative
4175 },
4176 },
4177 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4178 &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.
4179 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4180 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
4181 &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.
4182 &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.
4183 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4184 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4185 &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.
4186 },
4187 &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.
4188 &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.
4189 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4190 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4191 &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.
4192 },
4193 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004194 },
4195 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004196 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004197 },
4198 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004199 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004200 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004201 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
4202 { # A polymorphic targeting value used as part of Shared Targeting.
4203 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
4204 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
4205 &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.
4206 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4207 &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
4208 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
4209 &quot;height&quot;: 42, # The height of the creative.
4210 &quot;width&quot;: 42, # The width of the creative
4211 },
4212 ],
4213 &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).
4214 &quot;A String&quot;,
4215 ],
4216 &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.
4217 &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
4218 &quot;height&quot;: 42, # The height of the creative.
4219 &quot;width&quot;: 42, # The width of the creative
4220 },
4221 },
4222 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4223 &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.
4224 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4225 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
4226 &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.
4227 &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.
4228 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4229 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4230 &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.
4231 },
4232 &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.
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 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4236 &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.
4237 },
4238 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
4239 },
4240 ],
4241 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4242 },
4243 },
4244 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004245 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004246 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004247 &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.
4248 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
4249 &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.
4250 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
4251 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
4252 &quot;creativeSpecifications&quot;: [
4253 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
4254 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
4255 { # Represents size of a single ad slot, or a creative.
4256 &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`.
4257 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4258 &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`.
4259 },
4260 ],
4261 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
4262 &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`.
4263 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4264 &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`.
4265 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004266 },
4267 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004268 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004269 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
4270 { # Contains information on how a buyer or seller can be reached.
4271 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4272 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004273 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004274 ],
4275 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
4276 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
4277 &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.
4278 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
4279 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004280 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004281 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
4282 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
4283 &quot;A String&quot;,
4284 ],
4285 &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.
4286 &quot;A String&quot;,
4287 ],
4288 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004289 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004290 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
4291 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004292 &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`.
4293 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004294 &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`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004295 },
4296 ],
4297 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
4298 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004299 &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`.
4300 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004301 &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`.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004302 },
4303 ],
4304 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004305 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004306 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004307 &quot;A String&quot;,
4308 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004309 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004310 &quot;A String&quot;,
4311 ],
4312 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004313 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
4314 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004315 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004316 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4317 &quot;A String&quot;,
4318 ],
4319 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4320 &quot;A String&quot;,
4321 ],
4322 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004323 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004324 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4325 &quot;A String&quot;,
4326 ],
4327 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4328 &quot;A String&quot;,
4329 ],
4330 },
4331 },
4332 &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.
4333 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4334 &quot;A String&quot;,
4335 ],
4336 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4337 &quot;A String&quot;,
4338 ],
4339 },
4340 &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.
4341 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4342 &quot;A String&quot;,
4343 ],
4344 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4345 &quot;A String&quot;,
4346 ],
4347 },
4348 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004349 &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.
4350 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
4351 &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.
4352 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
4353 &quot;A String&quot;,
4354 ],
4355 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
4356 &quot;A String&quot;,
4357 ],
4358 },
4359 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004360 &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.
4361 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
4362 &quot;A String&quot;,
4363 ],
4364 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
4365 &quot;A String&quot;,
4366 ],
4367 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004368 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004369 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004370 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
4371 &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.
4372 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
4373 &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.
4374 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
4375 { # Frequency cap.
4376 &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.
4377 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
4378 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004379 },
4380 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004381 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
4382 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004383 },
4384 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004385 &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.
4386 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4387 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4388 &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.
4389 &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.
4390 },
4391 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004392 },
4393 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
4394 &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.
4395 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4396 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004397 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4398 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4399 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4400 &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.
4401 &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.
4402 },
4403 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4404 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004405 &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.
4406 &quot;A String&quot;,
4407 ],
4408 &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).
4409 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4410 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004411 },
4412 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004413 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004414 &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.
4415 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
4416 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004417 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004418 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004419 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
4420 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004421 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4422 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4423 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4424 &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.
4425 &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.
4426 },
4427 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4428 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004429 &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.
4430 &quot;A String&quot;,
4431 ],
4432 &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).
4433 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4434 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004435 },
4436 ],
4437 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004438 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004439 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
4440 &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.
4441 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004442 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4443 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004444 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4445 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4446 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4447 &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.
4448 &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.
4449 },
4450 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4451 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004452 &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.
4453 &quot;A String&quot;,
4454 ],
4455 &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).
4456 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4457 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004458 },
4459 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004460 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004461 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004462 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
4463 &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.
4464 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
4465 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
4466 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
4467 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
4468 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
4469 },
4470 },
4471 &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.
4472 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
4473 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
4474 &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.
4475 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
4476 &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).
4477 },
4478 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
4479 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004480 },
4481 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004482 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
4483 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004484 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004485 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004486 },
4487 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004488 &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.
4489 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4490 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004491 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
4492 { # A proposal may be associated to several notes.
4493 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
4494 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
4495 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
4496 &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.
4497 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004498 },
4499 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004500 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
4501 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
4502 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
4503 &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.
4504 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4505 },
4506 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
4507 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
4508 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
4509 { # Contains information on how a buyer or seller can be reached.
4510 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4511 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4512 },
4513 ],
4514 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
4515 &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).
4516 },
4517 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004518 }</pre>
4519</div>
4520
4521</body></html>