blob: 181506c26781d56926b9d1b26b60fcf080495d77 [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 Bot0d561ef2020-11-25 07:50:41 -0800137 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
138 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
139 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
140 &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).
141 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700142 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
143 { # A proposal may be associated to several notes.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700144 &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 -0800145 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
146 &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 -0800147 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
148 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700149 },
150 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800151 &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.
152 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
153 &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.
154 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800155 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800156 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
157 &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.
158 &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 -0700159 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
160 { # 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 -0800161 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
162 &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.
163 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700164 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800165 &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.
166 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800167 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800168 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
169 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
170 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800171 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
172 { # 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 Botc2228be2020-11-24 15:48:03 -0800173 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
174 { # A polymorphic targeting value used as part of Shared Targeting.
175 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
176 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
177 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
178 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
179 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
180 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800182 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800183 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800184 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800185 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800186 },
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 &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.
189 &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.
190 &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.
191 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
192 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
193 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800194 },
195 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700196 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800197 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800198 &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 Botc2228be2020-11-24 15:48:03 -0800199 &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
200 &quot;width&quot;: 42, # The width of the creative
201 &quot;height&quot;: 42, # The height of the creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700202 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800203 &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).
204 &quot;A String&quot;,
205 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800206 &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
207 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
208 &quot;width&quot;: 42, # The width of the creative
209 &quot;height&quot;: 42, # The height of the creative.
210 },
211 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800212 &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.
213 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
214 },
215 },
216 ],
217 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
218 { # A polymorphic targeting value used as part of Shared Targeting.
219 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
220 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
221 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
222 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
223 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
224 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
225 &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.
226 &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.
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;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
229 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
230 },
231 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
232 &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.
233 &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.
234 &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.
235 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
236 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
237 },
238 },
239 ],
240 },
241 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
242 &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.
243 &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
244 &quot;width&quot;: 42, # The width of the creative
245 &quot;height&quot;: 42, # The height of the creative.
246 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800247 &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).
248 &quot;A String&quot;,
249 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800250 &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
251 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
252 &quot;width&quot;: 42, # The width of the creative
253 &quot;height&quot;: 42, # The height of the creative.
254 },
255 ],
256 &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.
257 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700258 },
259 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700260 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800261 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700262 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800263 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700264 &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 -0800265 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
266 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
267 { # Contains information on how a buyer or seller can be reached.
268 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
269 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700270 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800271 ],
272 &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.
273 &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.
274 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800275 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800276 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
277 { # Frequency cap.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800278 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800279 &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.
280 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800281 },
282 ],
283 &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 -0800284 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800285 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800286 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800287 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
288 &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.
289 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
290 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
291 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
292 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
293 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700294 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800295 },
296 &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 Botc2228be2020-11-24 15:48:03 -0800297 &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 -0800298 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
299 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800300 &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 -0800301 &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`.
302 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
303 },
304 ],
305 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
306 { # Represents size of a single ad slot, or a creative.
307 &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`.
308 &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`.
309 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800310 },
311 ],
312 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700313 &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 -0800314 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700315 &quot;A String&quot;,
316 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800317 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700318 &quot;A String&quot;,
319 ],
320 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800321 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
322 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
323 &quot;A String&quot;,
324 ],
325 &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.
326 &quot;A String&quot;,
327 ],
328 },
329 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
330 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
331 &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.
332 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
333 &quot;A String&quot;,
334 ],
335 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
336 &quot;A String&quot;,
337 ],
338 },
339 &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.
340 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
341 &quot;A String&quot;,
342 ],
343 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
344 &quot;A String&quot;,
345 ],
346 },
347 },
348 &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.
349 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
350 &quot;A String&quot;,
351 ],
352 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
353 &quot;A String&quot;,
354 ],
355 },
356 &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.
357 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
358 &quot;A String&quot;,
359 ],
360 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
361 &quot;A String&quot;,
362 ],
363 },
364 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700365 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800366 &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.
367 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
368 &quot;A String&quot;,
369 ],
370 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
371 &quot;A String&quot;,
372 ],
373 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700374 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
375 &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.
376 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
377 &quot;A String&quot;,
378 ],
379 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
380 &quot;A String&quot;,
381 ],
382 },
383 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700384 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700385 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800386 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
387 &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).
388 },
389 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
390 &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.
391 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
392 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
393 &quot;creativeSpecifications&quot;: [
394 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
395 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
396 { # Represents size of a single ad slot, or a creative.
397 &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`.
398 &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`.
399 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700400 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800401 ],
402 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
403 &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`.
404 &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`.
405 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700406 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800407 },
408 ],
409 },
410 &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.
411 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
412 &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.
413 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
414 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
415 &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.
416 &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.
417 },
418 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800419 },
420 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800421 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800422 &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.
423 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
424 { # 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 Botc2228be2020-11-24 15:48:03 -0800425 &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).
426 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
427 },
428 &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.
429 &quot;A String&quot;,
430 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800431 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
432 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
433 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
434 &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.
435 &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.
436 },
437 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
438 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700439 },
440 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700441 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800442 &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 Botc2228be2020-11-24 15:48:03 -0800443 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
444 { # 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 Botc2228be2020-11-24 15:48:03 -0800445 &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).
446 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
447 },
448 &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.
449 &quot;A String&quot;,
450 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800451 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
452 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
453 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
454 &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.
455 &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.
456 },
457 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
458 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800459 },
460 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800461 &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 -0800462 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800463 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
464 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
465 { # 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.
466 &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).
467 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
468 },
469 &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.
470 &quot;A String&quot;,
471 ],
472 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
473 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
474 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
475 &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.
476 &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.
477 },
478 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
479 },
480 },
481 ],
482 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
483 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
484 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800485 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800486 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700487 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700488 },
489 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800490 &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.
491 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700492 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800493 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800494 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
495 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800496 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800497 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
498 },
499 ],
500 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
501 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
502 &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.
503 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
504 },
505 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
506 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
507 { # Contains information on how a buyer or seller can be reached.
508 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
509 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800510 },
511 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700512 }</pre>
513</div>
514
515<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700516 <code class="details" id="addNote">addNote(accountId, proposalId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700517 <pre>Create a new note and attach it to the proposal. The note is assigned a unique ID by the server. The proposal revision number will not increase when associated with a new note.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700518
519Args:
520 accountId: string, Account ID of the buyer. (required)
521 proposalId: string, The ID of the proposal to attach the note to. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700522 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700523 The object takes the form of:
524
525{ # Request message for adding a note to a given proposal.
Bu Sun Kim65020912020-05-20 12:08:20 -0700526 &quot;note&quot;: { # A proposal may be associated to several notes. # Details of the note to add.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700527 &quot;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 -0800528 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
529 &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 -0800530 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
531 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700532 },
533 }
534
535 x__xgafv: string, V1 error format.
536 Allowed values
537 1 - v1 error format
538 2 - v2 error format
539
540Returns:
541 An object of the form:
542
543 { # A proposal may be associated to several notes.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700544 &quot;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 -0800545 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
546 &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 -0800547 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
548 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
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 Bot0d561ef2020-11-25 07:50:41 -0800574 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
575 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
576 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
577 &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).
578 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700579 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
580 { # A proposal may be associated to several notes.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700581 &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 -0800582 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
583 &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 -0800584 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
585 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700586 },
587 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800588 &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.
589 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
590 &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.
591 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800592 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800593 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
594 &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.
595 &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 -0700596 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
597 { # 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 -0800598 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
599 &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.
600 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700601 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800602 &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.
603 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800604 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800605 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
606 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
607 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800608 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
609 { # 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 Botc2228be2020-11-24 15:48:03 -0800610 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
611 { # A polymorphic targeting value used as part of Shared Targeting.
612 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
613 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
614 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
615 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
616 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
617 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800619 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800620 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800621 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800622 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800623 },
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 &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.
626 &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.
627 &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.
628 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
629 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
630 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800631 },
632 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700633 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800634 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800635 &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 Botc2228be2020-11-24 15:48:03 -0800636 &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
637 &quot;width&quot;: 42, # The width of the creative
638 &quot;height&quot;: 42, # The height of the creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700639 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800640 &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).
641 &quot;A String&quot;,
642 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800643 &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
644 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
645 &quot;width&quot;: 42, # The width of the creative
646 &quot;height&quot;: 42, # The height of the creative.
647 },
648 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800649 &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.
650 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
651 },
652 },
653 ],
654 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
655 { # A polymorphic targeting value used as part of Shared Targeting.
656 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
657 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
658 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
659 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
660 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
661 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
662 &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.
663 &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.
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;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
666 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
667 },
668 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
669 &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.
670 &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.
671 &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.
672 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
673 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
674 },
675 },
676 ],
677 },
678 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
679 &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.
680 &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
681 &quot;width&quot;: 42, # The width of the creative
682 &quot;height&quot;: 42, # The height of the creative.
683 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800684 &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).
685 &quot;A String&quot;,
686 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800687 &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
688 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
689 &quot;width&quot;: 42, # The width of the creative
690 &quot;height&quot;: 42, # The height of the creative.
691 },
692 ],
693 &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.
694 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700695 },
696 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700697 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800698 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700699 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800700 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700701 &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 -0800702 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
703 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
704 { # Contains information on how a buyer or seller can be reached.
705 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
706 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700707 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800708 ],
709 &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.
710 &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.
711 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800712 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800713 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
714 { # Frequency cap.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800715 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800716 &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.
717 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800718 },
719 ],
720 &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 -0800721 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800722 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800723 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800724 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
725 &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.
726 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
727 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
728 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
729 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
730 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700731 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800732 },
733 &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 Botc2228be2020-11-24 15:48:03 -0800734 &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 -0800735 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
736 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800737 &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 -0800738 &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`.
739 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
740 },
741 ],
742 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
743 { # Represents size of a single ad slot, or a creative.
744 &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`.
745 &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`.
746 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800747 },
748 ],
749 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700750 &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 -0800751 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700752 &quot;A String&quot;,
753 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800754 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700755 &quot;A String&quot;,
756 ],
757 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800758 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
759 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
760 &quot;A String&quot;,
761 ],
762 &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.
763 &quot;A String&quot;,
764 ],
765 },
766 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
767 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
768 &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.
769 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
770 &quot;A String&quot;,
771 ],
772 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
773 &quot;A String&quot;,
774 ],
775 },
776 &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.
777 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
778 &quot;A String&quot;,
779 ],
780 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
781 &quot;A String&quot;,
782 ],
783 },
784 },
785 &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.
786 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
787 &quot;A String&quot;,
788 ],
789 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
790 &quot;A String&quot;,
791 ],
792 },
793 &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.
794 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
795 &quot;A String&quot;,
796 ],
797 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
798 &quot;A String&quot;,
799 ],
800 },
801 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700802 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800803 &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.
804 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
805 &quot;A String&quot;,
806 ],
807 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
808 &quot;A String&quot;,
809 ],
810 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700811 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
812 &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.
813 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
814 &quot;A String&quot;,
815 ],
816 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
817 &quot;A String&quot;,
818 ],
819 },
820 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700821 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700822 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800823 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
824 &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).
825 },
826 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
827 &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.
828 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
829 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
830 &quot;creativeSpecifications&quot;: [
831 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
832 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
833 { # Represents size of a single ad slot, or a creative.
834 &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`.
835 &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`.
836 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700837 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800838 ],
839 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
840 &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`.
841 &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`.
842 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700843 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800844 },
845 ],
846 },
847 &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.
848 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
849 &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.
850 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
851 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
852 &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.
853 &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.
854 },
855 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800856 },
857 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800858 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800859 &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.
860 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
861 { # 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 Botc2228be2020-11-24 15:48:03 -0800862 &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).
863 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
864 },
865 &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.
866 &quot;A String&quot;,
867 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800868 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
869 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
870 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
871 &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.
872 &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.
873 },
874 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
875 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700876 },
877 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700878 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800879 &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 Botc2228be2020-11-24 15:48:03 -0800880 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
881 { # 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 Botc2228be2020-11-24 15:48:03 -0800882 &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).
883 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
884 },
885 &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.
886 &quot;A String&quot;,
887 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800888 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
889 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
890 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
891 &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.
892 &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.
893 },
894 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
895 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800896 },
897 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800898 &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 -0800899 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800900 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
901 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
902 { # 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.
903 &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).
904 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
905 },
906 &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.
907 &quot;A String&quot;,
908 ],
909 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
910 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
911 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
912 &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.
913 &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.
914 },
915 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
916 },
917 },
918 ],
919 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
920 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
921 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800922 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800923 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700924 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700925 },
926 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800927 &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.
928 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700929 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800930 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800931 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
932 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800933 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800934 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
935 },
936 ],
937 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
938 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
939 &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.
940 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
941 },
942 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
943 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
944 { # Contains information on how a buyer or seller can be reached.
945 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
946 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800947 },
948 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700949 }</pre>
950</div>
951
952<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700953 <code class="details" id="close">close()</code>
954 <pre>Close httplib2 connections.</pre>
955</div>
956
957<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700958 <code class="details" id="completeSetup">completeSetup(accountId, proposalId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700959 <pre>Update the given proposal to indicate that setup has been completed. This method is called by the buyer when the line items have been created on their end for a finalized proposal and all the required creatives have been uploaded using the creatives API. This call updates the `is_setup_completed` bit on the proposal and also notifies the seller. The server will advance the revision number of the most recent proposal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700960
961Args:
962 accountId: string, Account ID of the buyer. (required)
963 proposalId: string, The ID of the proposal to mark as setup completed. (required)
964 body: object, The request body.
965 The object takes the form of:
966
Bu Sun Kim65020912020-05-20 12:08:20 -0700967{ # Request message for indicating that the proposal&#x27;s setup step is complete.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700968 }
969
970 x__xgafv: string, V1 error format.
971 Allowed values
972 1 - v1 error format
973 2 - v2 error format
974
975Returns:
976 An object of the form:
977
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700978 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800979 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
980 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
981 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
982 &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).
983 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700984 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
985 { # A proposal may be associated to several notes.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700986 &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 -0800987 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
988 &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 -0800989 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
990 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700991 },
992 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800993 &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.
994 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
995 &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.
996 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800997 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800998 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
999 &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.
1000 &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 -07001001 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
1002 { # 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 -08001003 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
1004 &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.
1005 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001006 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001007 &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.
1008 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001009 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001010 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
1011 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
1012 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001013 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
1014 { # 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 Botc2228be2020-11-24 15:48:03 -08001015 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
1016 { # A polymorphic targeting value used as part of Shared Targeting.
1017 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1018 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1019 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
1020 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1021 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1022 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001024 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001025 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001026 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001027 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001028 },
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 &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.
1031 &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.
1032 &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.
1033 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1034 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1035 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001036 },
1037 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001038 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001039 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001040 &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 Botc2228be2020-11-24 15:48:03 -08001041 &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
1042 &quot;width&quot;: 42, # The width of the creative
1043 &quot;height&quot;: 42, # The height of the creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001044 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001045 &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).
1046 &quot;A String&quot;,
1047 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001048 &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
1049 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1050 &quot;width&quot;: 42, # The width of the creative
1051 &quot;height&quot;: 42, # The height of the creative.
1052 },
1053 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001054 &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.
1055 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1056 },
1057 },
1058 ],
1059 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
1060 { # A polymorphic targeting value used as part of Shared Targeting.
1061 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1062 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1063 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
1064 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1065 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1066 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1067 &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.
1068 &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.
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;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1071 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1072 },
1073 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1074 &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.
1075 &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.
1076 &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.
1077 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1078 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1079 },
1080 },
1081 ],
1082 },
1083 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1084 &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.
1085 &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
1086 &quot;width&quot;: 42, # The width of the creative
1087 &quot;height&quot;: 42, # The height of the creative.
1088 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001089 &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).
1090 &quot;A String&quot;,
1091 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001092 &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
1093 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1094 &quot;width&quot;: 42, # The width of the creative
1095 &quot;height&quot;: 42, # The height of the creative.
1096 },
1097 ],
1098 &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.
1099 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001100 },
1101 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001102 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001103 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001104 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001105 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001106 &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 -08001107 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
1108 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1109 { # Contains information on how a buyer or seller can be reached.
1110 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1111 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001112 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001113 ],
1114 &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.
1115 &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.
1116 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001117 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001118 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
1119 { # Frequency cap.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001120 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001121 &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.
1122 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001123 },
1124 ],
1125 &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 -08001126 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001127 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001128 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001129 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
1130 &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.
1131 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
1132 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
1133 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
1134 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
1135 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001136 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001137 },
1138 &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 Botc2228be2020-11-24 15:48:03 -08001139 &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 -08001140 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1141 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001142 &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 -08001143 &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`.
1144 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1145 },
1146 ],
1147 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1148 { # Represents size of a single ad slot, or a creative.
1149 &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`.
1150 &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`.
1151 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001152 },
1153 ],
1154 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001155 &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 -08001156 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001157 &quot;A String&quot;,
1158 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001159 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001160 &quot;A String&quot;,
1161 ],
1162 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001163 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1164 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
1165 &quot;A String&quot;,
1166 ],
1167 &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.
1168 &quot;A String&quot;,
1169 ],
1170 },
1171 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
1172 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
1173 &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.
1174 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1175 &quot;A String&quot;,
1176 ],
1177 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1178 &quot;A String&quot;,
1179 ],
1180 },
1181 &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.
1182 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1183 &quot;A String&quot;,
1184 ],
1185 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1186 &quot;A String&quot;,
1187 ],
1188 },
1189 },
1190 &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.
1191 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1192 &quot;A String&quot;,
1193 ],
1194 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1195 &quot;A String&quot;,
1196 ],
1197 },
1198 &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.
1199 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1200 &quot;A String&quot;,
1201 ],
1202 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1203 &quot;A String&quot;,
1204 ],
1205 },
1206 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001207 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001208 &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.
1209 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
1210 &quot;A String&quot;,
1211 ],
1212 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
1213 &quot;A String&quot;,
1214 ],
1215 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001216 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
1217 &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.
1218 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
1219 &quot;A String&quot;,
1220 ],
1221 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
1222 &quot;A String&quot;,
1223 ],
1224 },
1225 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001226 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001227 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001228 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
1229 &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).
1230 },
1231 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
1232 &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.
1233 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1234 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
1235 &quot;creativeSpecifications&quot;: [
1236 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
1237 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1238 { # Represents size of a single ad slot, or a creative.
1239 &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`.
1240 &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`.
1241 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001242 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001243 ],
1244 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1245 &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`.
1246 &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`.
1247 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001248 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001249 },
1250 ],
1251 },
1252 &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.
1253 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
1254 &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.
1255 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1256 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1257 &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.
1258 &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.
1259 },
1260 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001261 },
1262 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001263 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001264 &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.
1265 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1266 { # 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 Botc2228be2020-11-24 15:48:03 -08001267 &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).
1268 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1269 },
1270 &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.
1271 &quot;A String&quot;,
1272 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001273 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1274 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1275 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1276 &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.
1277 &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.
1278 },
1279 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1280 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001281 },
1282 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001283 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001284 &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 Botc2228be2020-11-24 15:48:03 -08001285 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
1286 { # 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 Botc2228be2020-11-24 15:48:03 -08001287 &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).
1288 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1289 },
1290 &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.
1291 &quot;A String&quot;,
1292 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001293 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1294 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1295 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1296 &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.
1297 &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.
1298 },
1299 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1300 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001301 },
1302 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001303 &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 -08001304 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001305 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
1306 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1307 { # 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.
1308 &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).
1309 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1310 },
1311 &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.
1312 &quot;A String&quot;,
1313 ],
1314 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1315 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1316 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1317 &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.
1318 &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.
1319 },
1320 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1321 },
1322 },
1323 ],
1324 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
1325 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
1326 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001327 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001328 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001329 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001330 },
1331 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001332 &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.
1333 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001334 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001335 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001336 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
1337 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001338 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001339 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1340 },
1341 ],
1342 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
1343 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
1344 &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.
1345 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1346 },
1347 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
1348 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
1349 { # Contains information on how a buyer or seller can be reached.
1350 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1351 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001352 },
1353 ],
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 Bot0d561ef2020-11-25 07:50:41 -08001367 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
1368 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
1369 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
1370 &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).
1371 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001372 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
1373 { # A proposal may be associated to several notes.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001374 &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 -08001375 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
1376 &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 -08001377 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
1378 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001379 },
1380 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001381 &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.
1382 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
1383 &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.
1384 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001385 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001386 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
1387 &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.
1388 &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 -07001389 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
1390 { # 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 -08001391 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
1392 &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.
1393 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001394 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001395 &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.
1396 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001397 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001398 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
1399 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
1400 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001401 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
1402 { # 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 Botc2228be2020-11-24 15:48:03 -08001403 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
1404 { # A polymorphic targeting value used as part of Shared Targeting.
1405 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1406 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1407 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
1408 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1409 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1410 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001412 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001413 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001414 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001415 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001416 },
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 &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.
1419 &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.
1420 &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.
1421 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1422 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1423 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001424 },
1425 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001426 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001427 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001428 &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 Botc2228be2020-11-24 15:48:03 -08001429 &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
1430 &quot;width&quot;: 42, # The width of the creative
1431 &quot;height&quot;: 42, # The height of the creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001432 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001433 &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).
1434 &quot;A String&quot;,
1435 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001436 &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
1437 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1438 &quot;width&quot;: 42, # The width of the creative
1439 &quot;height&quot;: 42, # The height of the creative.
1440 },
1441 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001442 &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.
1443 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1444 },
1445 },
1446 ],
1447 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
1448 { # A polymorphic targeting value used as part of Shared Targeting.
1449 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1450 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1451 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
1452 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1453 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1454 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1455 &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.
1456 &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.
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;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1459 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1460 },
1461 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1462 &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.
1463 &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.
1464 &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.
1465 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1466 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1467 },
1468 },
1469 ],
1470 },
1471 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1472 &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.
1473 &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
1474 &quot;width&quot;: 42, # The width of the creative
1475 &quot;height&quot;: 42, # The height of the creative.
1476 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001477 &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).
1478 &quot;A String&quot;,
1479 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001480 &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
1481 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1482 &quot;width&quot;: 42, # The width of the creative
1483 &quot;height&quot;: 42, # The height of the creative.
1484 },
1485 ],
1486 &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.
1487 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001488 },
1489 },
1490 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001491 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001492 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001493 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001494 &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 -08001495 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
1496 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1497 { # Contains information on how a buyer or seller can be reached.
1498 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1499 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001500 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001501 ],
1502 &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.
1503 &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.
1504 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001505 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001506 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
1507 { # Frequency cap.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001508 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001509 &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.
1510 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001511 },
1512 ],
1513 &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 -08001514 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001515 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001516 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001517 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
1518 &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.
1519 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
1520 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
1521 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
1522 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
1523 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001524 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001525 },
1526 &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 Botc2228be2020-11-24 15:48:03 -08001527 &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 -08001528 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1529 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001530 &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 -08001531 &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`.
1532 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1533 },
1534 ],
1535 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1536 { # Represents size of a single ad slot, or a creative.
1537 &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`.
1538 &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`.
1539 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001540 },
1541 ],
1542 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001543 &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 -08001544 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001545 &quot;A String&quot;,
1546 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001547 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001548 &quot;A String&quot;,
1549 ],
1550 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001551 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1552 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
1553 &quot;A String&quot;,
1554 ],
1555 &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.
1556 &quot;A String&quot;,
1557 ],
1558 },
1559 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
1560 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
1561 &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.
1562 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1563 &quot;A String&quot;,
1564 ],
1565 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1566 &quot;A String&quot;,
1567 ],
1568 },
1569 &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.
1570 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1571 &quot;A String&quot;,
1572 ],
1573 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1574 &quot;A String&quot;,
1575 ],
1576 },
1577 },
1578 &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.
1579 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1580 &quot;A String&quot;,
1581 ],
1582 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1583 &quot;A String&quot;,
1584 ],
1585 },
1586 &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.
1587 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1588 &quot;A String&quot;,
1589 ],
1590 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1591 &quot;A String&quot;,
1592 ],
1593 },
1594 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001595 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001596 &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.
1597 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
1598 &quot;A String&quot;,
1599 ],
1600 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
1601 &quot;A String&quot;,
1602 ],
1603 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001604 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
1605 &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.
1606 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
1607 &quot;A String&quot;,
1608 ],
1609 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
1610 &quot;A String&quot;,
1611 ],
1612 },
1613 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001614 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001615 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001616 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
1617 &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).
1618 },
1619 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
1620 &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.
1621 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1622 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
1623 &quot;creativeSpecifications&quot;: [
1624 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
1625 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1626 { # Represents size of a single ad slot, or a creative.
1627 &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`.
1628 &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`.
1629 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001630 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001631 ],
1632 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1633 &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`.
1634 &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`.
1635 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001636 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001637 },
1638 ],
1639 },
1640 &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.
1641 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
1642 &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.
1643 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1644 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1645 &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.
1646 &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.
1647 },
1648 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001649 },
1650 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001651 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001652 &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.
1653 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1654 { # 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 Botc2228be2020-11-24 15:48:03 -08001655 &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).
1656 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1657 },
1658 &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.
1659 &quot;A String&quot;,
1660 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001661 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1662 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1663 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1664 &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.
1665 &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.
1666 },
1667 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1668 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001669 },
1670 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001671 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001672 &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 Botc2228be2020-11-24 15:48:03 -08001673 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
1674 { # 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 Botc2228be2020-11-24 15:48:03 -08001675 &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).
1676 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1677 },
1678 &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.
1679 &quot;A String&quot;,
1680 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001681 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1682 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1683 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1684 &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.
1685 &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.
1686 },
1687 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1688 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001689 },
1690 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001691 &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 -08001692 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001693 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
1694 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1695 { # 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.
1696 &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).
1697 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1698 },
1699 &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.
1700 &quot;A String&quot;,
1701 ],
1702 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1703 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1704 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1705 &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.
1706 &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.
1707 },
1708 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1709 },
1710 },
1711 ],
1712 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
1713 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
1714 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001715 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001716 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001717 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001718 },
1719 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001720 &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.
1721 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001722 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001723 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001724 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
1725 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001726 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001727 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1728 },
1729 ],
1730 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
1731 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
1732 &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.
1733 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1734 },
1735 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
1736 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
1737 { # Contains information on how a buyer or seller can be reached.
1738 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1739 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001740 },
1741 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001742}
1743
1744 x__xgafv: string, V1 error format.
1745 Allowed values
1746 1 - v1 error format
1747 2 - v2 error format
1748
1749Returns:
1750 An object of the form:
1751
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001752 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001753 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
1754 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
1755 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
1756 &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).
1757 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001758 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
1759 { # A proposal may be associated to several notes.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001760 &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 -08001761 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
1762 &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 -08001763 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
1764 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001765 },
1766 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001767 &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.
1768 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
1769 &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.
1770 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001771 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001772 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
1773 &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.
1774 &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 -07001775 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
1776 { # 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 -08001777 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
1778 &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.
1779 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001780 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001781 &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.
1782 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001783 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001784 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
1785 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
1786 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001787 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
1788 { # 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 Botc2228be2020-11-24 15:48:03 -08001789 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
1790 { # A polymorphic targeting value used as part of Shared Targeting.
1791 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1792 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1793 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
1794 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1795 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1796 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001798 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001799 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001800 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001801 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001802 },
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 &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.
1805 &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.
1806 &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.
1807 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1808 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1809 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001810 },
1811 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001812 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001813 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001814 &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 Botc2228be2020-11-24 15:48:03 -08001815 &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
1816 &quot;width&quot;: 42, # The width of the creative
1817 &quot;height&quot;: 42, # The height of the creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001818 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001819 &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).
1820 &quot;A String&quot;,
1821 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001822 &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
1823 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1824 &quot;width&quot;: 42, # The width of the creative
1825 &quot;height&quot;: 42, # The height of the creative.
1826 },
1827 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001828 &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.
1829 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1830 },
1831 },
1832 ],
1833 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
1834 { # A polymorphic targeting value used as part of Shared Targeting.
1835 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1836 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1837 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
1838 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1839 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1840 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1841 &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.
1842 &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.
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;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1845 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1846 },
1847 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1848 &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.
1849 &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.
1850 &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.
1851 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1852 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1853 },
1854 },
1855 ],
1856 },
1857 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1858 &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.
1859 &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
1860 &quot;width&quot;: 42, # The width of the creative
1861 &quot;height&quot;: 42, # The height of the creative.
1862 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001863 &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).
1864 &quot;A String&quot;,
1865 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001866 &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
1867 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1868 &quot;width&quot;: 42, # The width of the creative
1869 &quot;height&quot;: 42, # The height of the creative.
1870 },
1871 ],
1872 &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.
1873 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001874 },
1875 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001876 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001877 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001878 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001879 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001880 &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 -08001881 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
1882 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1883 { # Contains information on how a buyer or seller can be reached.
1884 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1885 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001886 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001887 ],
1888 &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.
1889 &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.
1890 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001891 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001892 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
1893 { # Frequency cap.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001894 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001895 &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.
1896 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001897 },
1898 ],
1899 &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 -08001900 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001901 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001902 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001903 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
1904 &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.
1905 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
1906 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
1907 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
1908 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
1909 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001910 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001911 },
1912 &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 Botc2228be2020-11-24 15:48:03 -08001913 &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 -08001914 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1915 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001916 &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 -08001917 &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`.
1918 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1919 },
1920 ],
1921 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1922 { # Represents size of a single ad slot, or a creative.
1923 &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`.
1924 &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`.
1925 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001926 },
1927 ],
1928 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001929 &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 -08001930 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001931 &quot;A String&quot;,
1932 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001933 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001934 &quot;A String&quot;,
1935 ],
1936 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001937 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1938 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
1939 &quot;A String&quot;,
1940 ],
1941 &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.
1942 &quot;A String&quot;,
1943 ],
1944 },
1945 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
1946 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
1947 &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.
1948 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1949 &quot;A String&quot;,
1950 ],
1951 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1952 &quot;A String&quot;,
1953 ],
1954 },
1955 &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.
1956 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1957 &quot;A String&quot;,
1958 ],
1959 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1960 &quot;A String&quot;,
1961 ],
1962 },
1963 },
1964 &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.
1965 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1966 &quot;A String&quot;,
1967 ],
1968 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1969 &quot;A String&quot;,
1970 ],
1971 },
1972 &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.
1973 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1974 &quot;A String&quot;,
1975 ],
1976 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1977 &quot;A String&quot;,
1978 ],
1979 },
1980 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001981 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001982 &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.
1983 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
1984 &quot;A String&quot;,
1985 ],
1986 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
1987 &quot;A String&quot;,
1988 ],
1989 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001990 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
1991 &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.
1992 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
1993 &quot;A String&quot;,
1994 ],
1995 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
1996 &quot;A String&quot;,
1997 ],
1998 },
1999 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002000 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002001 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002002 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2003 &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).
2004 },
2005 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
2006 &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.
2007 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
2008 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
2009 &quot;creativeSpecifications&quot;: [
2010 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
2011 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
2012 { # Represents size of a single ad slot, or a creative.
2013 &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`.
2014 &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`.
2015 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002016 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002017 ],
2018 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
2019 &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`.
2020 &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`.
2021 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002022 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002023 },
2024 ],
2025 },
2026 &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.
2027 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
2028 &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.
2029 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2030 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2031 &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.
2032 &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.
2033 },
2034 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002035 },
2036 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002037 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002038 &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.
2039 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2040 { # 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 Botc2228be2020-11-24 15:48:03 -08002041 &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).
2042 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2043 },
2044 &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.
2045 &quot;A String&quot;,
2046 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002047 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2048 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2049 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2050 &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.
2051 &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.
2052 },
2053 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2054 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002055 },
2056 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002057 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002058 &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 Botc2228be2020-11-24 15:48:03 -08002059 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
2060 { # 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 Botc2228be2020-11-24 15:48:03 -08002061 &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).
2062 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2063 },
2064 &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.
2065 &quot;A String&quot;,
2066 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002067 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2068 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2069 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2070 &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.
2071 &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.
2072 },
2073 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2074 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002075 },
2076 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002077 &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 -08002078 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002079 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
2080 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2081 { # 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.
2082 &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).
2083 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2084 },
2085 &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.
2086 &quot;A String&quot;,
2087 ],
2088 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2089 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2090 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2091 &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.
2092 &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.
2093 },
2094 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2095 },
2096 },
2097 ],
2098 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
2099 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2100 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002101 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002102 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002103 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002104 },
2105 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002106 &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.
2107 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002108 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002109 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002110 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2111 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002112 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002113 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2114 },
2115 ],
2116 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
2117 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
2118 &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.
2119 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2120 },
2121 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2122 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2123 { # Contains information on how a buyer or seller can be reached.
2124 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2125 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002126 },
2127 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002128 }</pre>
2129</div>
2130
2131<div class="method">
2132 <code class="details" id="get">get(accountId, proposalId, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002133 <pre>Gets a proposal given its ID. The proposal is returned at its head revision.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002134
2135Args:
2136 accountId: string, Account ID of the buyer. (required)
2137 proposalId: string, The unique ID of the proposal (required)
2138 x__xgafv: string, V1 error format.
2139 Allowed values
2140 1 - v1 error format
2141 2 - v2 error format
2142
2143Returns:
2144 An object of the form:
2145
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002146 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002147 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
2148 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
2149 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2150 &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).
2151 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002152 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2153 { # A proposal may be associated to several notes.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002154 &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 -08002155 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2156 &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 -08002157 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
2158 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002159 },
2160 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002161 &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.
2162 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2163 &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.
2164 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002165 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002166 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2167 &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.
2168 &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 -07002169 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2170 { # 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 -08002171 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
2172 &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.
2173 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002174 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002175 &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.
2176 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002177 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002178 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
2179 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
2180 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002181 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
2182 { # 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 Botc2228be2020-11-24 15:48:03 -08002183 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
2184 { # A polymorphic targeting value used as part of Shared Targeting.
2185 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2186 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2187 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
2188 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2189 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2190 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002192 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002193 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002194 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002195 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002196 },
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 &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.
2199 &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.
2200 &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.
2201 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2202 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2203 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002204 },
2205 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002206 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002207 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002208 &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 Botc2228be2020-11-24 15:48:03 -08002209 &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
2210 &quot;width&quot;: 42, # The width of the creative
2211 &quot;height&quot;: 42, # The height of the creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002212 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002213 &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).
2214 &quot;A String&quot;,
2215 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002216 &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
2217 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2218 &quot;width&quot;: 42, # The width of the creative
2219 &quot;height&quot;: 42, # The height of the creative.
2220 },
2221 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002222 &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.
2223 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2224 },
2225 },
2226 ],
2227 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
2228 { # A polymorphic targeting value used as part of Shared Targeting.
2229 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2230 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2231 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
2232 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2233 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2234 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2235 &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.
2236 &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.
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;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2239 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2240 },
2241 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2242 &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.
2243 &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.
2244 &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.
2245 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2246 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2247 },
2248 },
2249 ],
2250 },
2251 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2252 &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.
2253 &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
2254 &quot;width&quot;: 42, # The width of the creative
2255 &quot;height&quot;: 42, # The height of the creative.
2256 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002257 &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).
2258 &quot;A String&quot;,
2259 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002260 &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
2261 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2262 &quot;width&quot;: 42, # The width of the creative
2263 &quot;height&quot;: 42, # The height of the creative.
2264 },
2265 ],
2266 &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.
2267 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002268 },
2269 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002270 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002271 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002272 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002273 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002274 &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 -08002275 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
2276 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
2277 { # Contains information on how a buyer or seller can be reached.
2278 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2279 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002280 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002281 ],
2282 &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.
2283 &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.
2284 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002285 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002286 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
2287 { # Frequency cap.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002288 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002289 &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.
2290 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002291 },
2292 ],
2293 &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 -08002294 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002295 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002296 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002297 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
2298 &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.
2299 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
2300 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
2301 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
2302 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
2303 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002304 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002305 },
2306 &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 Botc2228be2020-11-24 15:48:03 -08002307 &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 -08002308 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
2309 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002310 &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 -08002311 &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`.
2312 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2313 },
2314 ],
2315 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
2316 { # Represents size of a single ad slot, or a creative.
2317 &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`.
2318 &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`.
2319 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002320 },
2321 ],
2322 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002323 &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 -08002324 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002325 &quot;A String&quot;,
2326 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002327 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002328 &quot;A String&quot;,
2329 ],
2330 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002331 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
2332 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
2333 &quot;A String&quot;,
2334 ],
2335 &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.
2336 &quot;A String&quot;,
2337 ],
2338 },
2339 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
2340 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
2341 &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.
2342 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2343 &quot;A String&quot;,
2344 ],
2345 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2346 &quot;A String&quot;,
2347 ],
2348 },
2349 &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.
2350 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2351 &quot;A String&quot;,
2352 ],
2353 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2354 &quot;A String&quot;,
2355 ],
2356 },
2357 },
2358 &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.
2359 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2360 &quot;A String&quot;,
2361 ],
2362 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2363 &quot;A String&quot;,
2364 ],
2365 },
2366 &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.
2367 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2368 &quot;A String&quot;,
2369 ],
2370 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2371 &quot;A String&quot;,
2372 ],
2373 },
2374 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002375 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002376 &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.
2377 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
2378 &quot;A String&quot;,
2379 ],
2380 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
2381 &quot;A String&quot;,
2382 ],
2383 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002384 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
2385 &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.
2386 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
2387 &quot;A String&quot;,
2388 ],
2389 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
2390 &quot;A String&quot;,
2391 ],
2392 },
2393 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002394 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002395 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002396 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2397 &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).
2398 },
2399 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
2400 &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.
2401 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
2402 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
2403 &quot;creativeSpecifications&quot;: [
2404 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
2405 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
2406 { # Represents size of a single ad slot, or a creative.
2407 &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`.
2408 &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`.
2409 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002410 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002411 ],
2412 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
2413 &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`.
2414 &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`.
2415 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002416 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002417 },
2418 ],
2419 },
2420 &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.
2421 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
2422 &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.
2423 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2424 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2425 &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.
2426 &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.
2427 },
2428 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002429 },
2430 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002431 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002432 &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.
2433 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2434 { # 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 Botc2228be2020-11-24 15:48:03 -08002435 &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).
2436 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2437 },
2438 &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.
2439 &quot;A String&quot;,
2440 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002441 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2442 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2443 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2444 &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.
2445 &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.
2446 },
2447 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2448 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002449 },
2450 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002451 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002452 &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 Botc2228be2020-11-24 15:48:03 -08002453 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
2454 { # 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 Botc2228be2020-11-24 15:48:03 -08002455 &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).
2456 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2457 },
2458 &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.
2459 &quot;A String&quot;,
2460 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002461 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2462 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2463 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2464 &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.
2465 &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.
2466 },
2467 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2468 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002469 },
2470 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002471 &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 -08002472 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002473 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
2474 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2475 { # 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.
2476 &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).
2477 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2478 },
2479 &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.
2480 &quot;A String&quot;,
2481 ],
2482 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2483 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2484 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2485 &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.
2486 &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.
2487 },
2488 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2489 },
2490 },
2491 ],
2492 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
2493 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2494 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002495 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002496 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002497 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002498 },
2499 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002500 &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.
2501 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002502 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002503 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002504 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2505 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002506 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002507 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2508 },
2509 ],
2510 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
2511 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
2512 &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.
2513 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2514 },
2515 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2516 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2517 { # Contains information on how a buyer or seller can be reached.
2518 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2519 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002520 },
2521 ],
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 Bot0d561ef2020-11-25 07:50:41 -08002551 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
2552 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
2553 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2554 &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).
2555 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002556 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2557 { # A proposal may be associated to several notes.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002558 &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 -08002559 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2560 &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 -08002561 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
2562 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002563 },
2564 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002565 &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.
2566 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2567 &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.
2568 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002569 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002570 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2571 &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.
2572 &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 -07002573 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2574 { # 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 -08002575 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
2576 &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.
2577 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002578 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002579 &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.
2580 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002581 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002582 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
2583 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
2584 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002585 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
2586 { # 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 Botc2228be2020-11-24 15:48:03 -08002587 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
2588 { # A polymorphic targeting value used as part of Shared Targeting.
2589 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2590 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2591 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
2592 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2593 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2594 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002596 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002597 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002598 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002599 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002600 },
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 &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.
2603 &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.
2604 &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.
2605 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2606 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2607 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002608 },
2609 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002610 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002611 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002612 &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 Botc2228be2020-11-24 15:48:03 -08002613 &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
2614 &quot;width&quot;: 42, # The width of the creative
2615 &quot;height&quot;: 42, # The height of the creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002616 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002617 &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).
2618 &quot;A String&quot;,
2619 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002620 &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
2621 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2622 &quot;width&quot;: 42, # The width of the creative
2623 &quot;height&quot;: 42, # The height of the creative.
2624 },
2625 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002626 &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.
2627 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2628 },
2629 },
2630 ],
2631 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
2632 { # A polymorphic targeting value used as part of Shared Targeting.
2633 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2634 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2635 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
2636 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2637 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2638 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2639 &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.
2640 &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.
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;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2643 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2644 },
2645 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2646 &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.
2647 &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.
2648 &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.
2649 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2650 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2651 },
2652 },
2653 ],
2654 },
2655 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2656 &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.
2657 &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
2658 &quot;width&quot;: 42, # The width of the creative
2659 &quot;height&quot;: 42, # The height of the creative.
2660 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002661 &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).
2662 &quot;A String&quot;,
2663 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002664 &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
2665 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2666 &quot;width&quot;: 42, # The width of the creative
2667 &quot;height&quot;: 42, # The height of the creative.
2668 },
2669 ],
2670 &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.
2671 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002672 },
2673 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002674 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002675 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002676 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002677 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002678 &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 -08002679 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
2680 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
2681 { # Contains information on how a buyer or seller can be reached.
2682 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2683 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002684 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002685 ],
2686 &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.
2687 &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.
2688 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002689 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002690 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
2691 { # Frequency cap.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002692 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002693 &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.
2694 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002695 },
2696 ],
2697 &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 -08002698 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002699 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002700 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002701 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
2702 &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.
2703 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
2704 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
2705 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
2706 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
2707 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002708 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002709 },
2710 &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 Botc2228be2020-11-24 15:48:03 -08002711 &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 -08002712 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
2713 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002714 &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 -08002715 &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`.
2716 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2717 },
2718 ],
2719 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
2720 { # Represents size of a single ad slot, or a creative.
2721 &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`.
2722 &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`.
2723 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002724 },
2725 ],
2726 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002727 &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 -08002728 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002729 &quot;A String&quot;,
2730 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002731 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002732 &quot;A String&quot;,
2733 ],
2734 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002735 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
2736 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
2737 &quot;A String&quot;,
2738 ],
2739 &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.
2740 &quot;A String&quot;,
2741 ],
2742 },
2743 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
2744 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
2745 &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.
2746 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2747 &quot;A String&quot;,
2748 ],
2749 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2750 &quot;A String&quot;,
2751 ],
2752 },
2753 &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.
2754 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2755 &quot;A String&quot;,
2756 ],
2757 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2758 &quot;A String&quot;,
2759 ],
2760 },
2761 },
2762 &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.
2763 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2764 &quot;A String&quot;,
2765 ],
2766 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2767 &quot;A String&quot;,
2768 ],
2769 },
2770 &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.
2771 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2772 &quot;A String&quot;,
2773 ],
2774 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2775 &quot;A String&quot;,
2776 ],
2777 },
2778 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002779 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002780 &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.
2781 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
2782 &quot;A String&quot;,
2783 ],
2784 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
2785 &quot;A String&quot;,
2786 ],
2787 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002788 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
2789 &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.
2790 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
2791 &quot;A String&quot;,
2792 ],
2793 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
2794 &quot;A String&quot;,
2795 ],
2796 },
2797 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002798 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002799 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002800 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2801 &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).
2802 },
2803 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
2804 &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.
2805 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
2806 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
2807 &quot;creativeSpecifications&quot;: [
2808 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
2809 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
2810 { # Represents size of a single ad slot, or a creative.
2811 &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`.
2812 &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`.
2813 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002814 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002815 ],
2816 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
2817 &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`.
2818 &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`.
2819 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002820 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002821 },
2822 ],
2823 },
2824 &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.
2825 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
2826 &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.
2827 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2828 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2829 &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.
2830 &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.
2831 },
2832 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002833 },
2834 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002835 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002836 &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.
2837 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2838 { # 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 Botc2228be2020-11-24 15:48:03 -08002839 &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).
2840 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2841 },
2842 &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.
2843 &quot;A String&quot;,
2844 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002845 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2846 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2847 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2848 &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.
2849 &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.
2850 },
2851 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2852 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002853 },
2854 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002855 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002856 &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 Botc2228be2020-11-24 15:48:03 -08002857 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
2858 { # 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 Botc2228be2020-11-24 15:48:03 -08002859 &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).
2860 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2861 },
2862 &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.
2863 &quot;A String&quot;,
2864 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002865 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2866 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2867 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2868 &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.
2869 &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.
2870 },
2871 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2872 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002873 },
2874 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002875 &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 -08002876 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002877 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
2878 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2879 { # 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.
2880 &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).
2881 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2882 },
2883 &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.
2884 &quot;A String&quot;,
2885 ],
2886 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2887 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2888 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2889 &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.
2890 &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.
2891 },
2892 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2893 },
2894 },
2895 ],
2896 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
2897 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2898 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002899 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002900 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002901 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002902 },
2903 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002904 &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.
2905 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002906 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002907 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002908 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2909 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002910 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002911 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2912 },
2913 ],
2914 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
2915 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
2916 &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.
2917 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2918 },
2919 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2920 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2921 { # Contains information on how a buyer or seller can be reached.
2922 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2923 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002924 },
2925 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002926 },
2927 ],
2928 }</pre>
2929</div>
2930
2931<div class="method">
2932 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
2933 <pre>Retrieves the next page of results.
2934
2935Args:
2936 previous_request: The request for the previous page. (required)
2937 previous_response: The response from the request for the previous page. (required)
2938
2939Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07002940 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002941 page. Returns None if there are no more items in the collection.
2942 </pre>
2943</div>
2944
2945<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002946 <code class="details" id="pause">pause(accountId, proposalId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002947 <pre>Update the given proposal to pause serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all deals in the proposal. It is a no-op to pause an already-paused proposal. It is an error to call PauseProposal for a proposal that is not finalized or renegotiating.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002948
2949Args:
2950 accountId: string, Account ID of the buyer. (required)
2951 proposalId: string, The ID of the proposal to pause. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002952 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002953 The object takes the form of:
2954
2955{ # Request message to pause serving for an already-finalized proposal.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002956 &quot;reason&quot;: &quot;A String&quot;, # The reason why the proposal is being paused. This human readable message will be displayed in the seller&#x27;s UI. (Max length: 1000 unicode code units.)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002957 }
2958
2959 x__xgafv: string, V1 error format.
2960 Allowed values
2961 1 - v1 error format
2962 2 - v2 error format
2963
2964Returns:
2965 An object of the form:
2966
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002967 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002968 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
2969 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
2970 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2971 &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).
2972 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002973 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2974 { # A proposal may be associated to several notes.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002975 &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 -08002976 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2977 &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 -08002978 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
2979 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002980 },
2981 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002982 &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.
2983 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2984 &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.
2985 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002986 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002987 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2988 &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.
2989 &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 -07002990 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2991 { # 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 -08002992 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
2993 &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.
2994 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002995 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002996 &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.
2997 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002998 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002999 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
3000 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
3001 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003002 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
3003 { # 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 Botc2228be2020-11-24 15:48:03 -08003004 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
3005 { # A polymorphic targeting value used as part of Shared Targeting.
3006 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3007 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3008 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
3009 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3010 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3011 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003013 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003014 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003015 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003016 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003017 },
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 &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.
3020 &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.
3021 &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.
3022 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3023 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3024 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003025 },
3026 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003027 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003028 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003029 &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 Botc2228be2020-11-24 15:48:03 -08003030 &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
3031 &quot;width&quot;: 42, # The width of the creative
3032 &quot;height&quot;: 42, # The height of the creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003033 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003034 &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).
3035 &quot;A String&quot;,
3036 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003037 &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
3038 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3039 &quot;width&quot;: 42, # The width of the creative
3040 &quot;height&quot;: 42, # The height of the creative.
3041 },
3042 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003043 &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.
3044 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3045 },
3046 },
3047 ],
3048 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
3049 { # A polymorphic targeting value used as part of Shared Targeting.
3050 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3051 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3052 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
3053 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3054 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3055 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3056 &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.
3057 &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.
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;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3060 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3061 },
3062 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3063 &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.
3064 &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.
3065 &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.
3066 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3067 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3068 },
3069 },
3070 ],
3071 },
3072 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3073 &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.
3074 &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
3075 &quot;width&quot;: 42, # The width of the creative
3076 &quot;height&quot;: 42, # The height of the creative.
3077 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003078 &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).
3079 &quot;A String&quot;,
3080 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003081 &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
3082 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3083 &quot;width&quot;: 42, # The width of the creative
3084 &quot;height&quot;: 42, # The height of the creative.
3085 },
3086 ],
3087 &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.
3088 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003089 },
3090 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003091 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003092 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003093 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003094 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003095 &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 -08003096 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
3097 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3098 { # Contains information on how a buyer or seller can be reached.
3099 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3100 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003101 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003102 ],
3103 &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.
3104 &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.
3105 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003106 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003107 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
3108 { # Frequency cap.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003109 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003110 &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.
3111 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003112 },
3113 ],
3114 &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 -08003115 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003116 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003117 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003118 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
3119 &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.
3120 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
3121 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
3122 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
3123 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
3124 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003125 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003126 },
3127 &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 Botc2228be2020-11-24 15:48:03 -08003128 &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 -08003129 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3130 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003131 &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 -08003132 &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`.
3133 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3134 },
3135 ],
3136 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3137 { # Represents size of a single ad slot, or a creative.
3138 &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`.
3139 &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`.
3140 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003141 },
3142 ],
3143 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003144 &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 -08003145 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003146 &quot;A String&quot;,
3147 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003148 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003149 &quot;A String&quot;,
3150 ],
3151 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003152 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3153 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
3154 &quot;A String&quot;,
3155 ],
3156 &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.
3157 &quot;A String&quot;,
3158 ],
3159 },
3160 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
3161 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
3162 &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.
3163 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3164 &quot;A String&quot;,
3165 ],
3166 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3167 &quot;A String&quot;,
3168 ],
3169 },
3170 &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.
3171 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3172 &quot;A String&quot;,
3173 ],
3174 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3175 &quot;A String&quot;,
3176 ],
3177 },
3178 },
3179 &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.
3180 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3181 &quot;A String&quot;,
3182 ],
3183 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3184 &quot;A String&quot;,
3185 ],
3186 },
3187 &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.
3188 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3189 &quot;A String&quot;,
3190 ],
3191 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3192 &quot;A String&quot;,
3193 ],
3194 },
3195 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003196 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003197 &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.
3198 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
3199 &quot;A String&quot;,
3200 ],
3201 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
3202 &quot;A String&quot;,
3203 ],
3204 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003205 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
3206 &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.
3207 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
3208 &quot;A String&quot;,
3209 ],
3210 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
3211 &quot;A String&quot;,
3212 ],
3213 },
3214 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003215 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003216 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003217 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
3218 &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).
3219 },
3220 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
3221 &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.
3222 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
3223 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
3224 &quot;creativeSpecifications&quot;: [
3225 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
3226 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
3227 { # Represents size of a single ad slot, or a creative.
3228 &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`.
3229 &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`.
3230 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003231 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003232 ],
3233 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
3234 &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`.
3235 &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`.
3236 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003237 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003238 },
3239 ],
3240 },
3241 &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.
3242 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
3243 &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.
3244 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3245 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3246 &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.
3247 &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.
3248 },
3249 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003250 },
3251 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003252 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003253 &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.
3254 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3255 { # 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 Botc2228be2020-11-24 15:48:03 -08003256 &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).
3257 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3258 },
3259 &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.
3260 &quot;A String&quot;,
3261 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003262 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3263 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3264 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3265 &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.
3266 &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.
3267 },
3268 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3269 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003270 },
3271 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003272 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003273 &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 Botc2228be2020-11-24 15:48:03 -08003274 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
3275 { # 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 Botc2228be2020-11-24 15:48:03 -08003276 &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).
3277 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3278 },
3279 &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.
3280 &quot;A String&quot;,
3281 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003282 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3283 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3284 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3285 &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.
3286 &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.
3287 },
3288 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3289 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003290 },
3291 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003292 &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 -08003293 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003294 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
3295 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3296 { # 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.
3297 &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).
3298 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3299 },
3300 &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.
3301 &quot;A String&quot;,
3302 ],
3303 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3304 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3305 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3306 &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.
3307 &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.
3308 },
3309 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3310 },
3311 },
3312 ],
3313 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
3314 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
3315 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003316 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003317 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003318 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003319 },
3320 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003321 &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.
3322 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003323 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003324 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003325 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
3326 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003327 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003328 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3329 },
3330 ],
3331 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
3332 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
3333 &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.
3334 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3335 },
3336 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
3337 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
3338 { # Contains information on how a buyer or seller can be reached.
3339 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3340 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003341 },
3342 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003343 }</pre>
3344</div>
3345
3346<div class="method">
3347 <code class="details" id="resume">resume(accountId, proposalId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003348 <pre>Update the given proposal to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all deals in the proposal. Note that if the `has_seller_paused` bit is also set, serving will not resume until the seller also resumes. It is a no-op to resume an already-running proposal. It is an error to call ResumeProposal for a proposal that is not finalized or renegotiating.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003349
3350Args:
3351 accountId: string, Account ID of the buyer. (required)
3352 proposalId: string, The ID of the proposal to resume. (required)
3353 body: object, The request body.
3354 The object takes the form of:
3355
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003356{ # Request message to resume (unpause) serving for an already-finalized proposal.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003357 }
3358
3359 x__xgafv: string, V1 error format.
3360 Allowed values
3361 1 - v1 error format
3362 2 - v2 error format
3363
3364Returns:
3365 An object of the form:
3366
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003367 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003368 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
3369 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
3370 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
3371 &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).
3372 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003373 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
3374 { # A proposal may be associated to several notes.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003375 &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 -08003376 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
3377 &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 -08003378 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
3379 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003380 },
3381 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003382 &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.
3383 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
3384 &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.
3385 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003386 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003387 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
3388 &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.
3389 &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 -07003390 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
3391 { # 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 -08003392 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
3393 &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.
3394 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003395 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003396 &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.
3397 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003398 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003399 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
3400 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
3401 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003402 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
3403 { # 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 Botc2228be2020-11-24 15:48:03 -08003404 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
3405 { # A polymorphic targeting value used as part of Shared Targeting.
3406 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3407 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3408 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
3409 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3410 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3411 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003413 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003414 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003415 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003416 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003417 },
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 &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.
3420 &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.
3421 &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.
3422 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3423 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3424 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003425 },
3426 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003427 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003428 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003429 &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 Botc2228be2020-11-24 15:48:03 -08003430 &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
3431 &quot;width&quot;: 42, # The width of the creative
3432 &quot;height&quot;: 42, # The height of the creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003433 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003434 &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).
3435 &quot;A String&quot;,
3436 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003437 &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
3438 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3439 &quot;width&quot;: 42, # The width of the creative
3440 &quot;height&quot;: 42, # The height of the creative.
3441 },
3442 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003443 &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.
3444 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3445 },
3446 },
3447 ],
3448 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
3449 { # A polymorphic targeting value used as part of Shared Targeting.
3450 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3451 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3452 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
3453 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3454 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3455 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3456 &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.
3457 &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.
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;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3460 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3461 },
3462 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3463 &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.
3464 &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.
3465 &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.
3466 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3467 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3468 },
3469 },
3470 ],
3471 },
3472 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3473 &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.
3474 &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
3475 &quot;width&quot;: 42, # The width of the creative
3476 &quot;height&quot;: 42, # The height of the creative.
3477 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003478 &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).
3479 &quot;A String&quot;,
3480 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003481 &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
3482 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3483 &quot;width&quot;: 42, # The width of the creative
3484 &quot;height&quot;: 42, # The height of the creative.
3485 },
3486 ],
3487 &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.
3488 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003489 },
3490 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003491 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003492 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003493 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003494 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003495 &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 -08003496 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
3497 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3498 { # Contains information on how a buyer or seller can be reached.
3499 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3500 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003501 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003502 ],
3503 &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.
3504 &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.
3505 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003506 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003507 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
3508 { # Frequency cap.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003509 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003510 &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.
3511 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003512 },
3513 ],
3514 &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 -08003515 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003516 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003517 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003518 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
3519 &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.
3520 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
3521 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
3522 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
3523 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
3524 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003525 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003526 },
3527 &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 Botc2228be2020-11-24 15:48:03 -08003528 &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 -08003529 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3530 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003531 &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 -08003532 &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`.
3533 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3534 },
3535 ],
3536 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3537 { # Represents size of a single ad slot, or a creative.
3538 &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`.
3539 &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`.
3540 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003541 },
3542 ],
3543 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003544 &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 -08003545 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003546 &quot;A String&quot;,
3547 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003548 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003549 &quot;A String&quot;,
3550 ],
3551 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003552 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3553 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
3554 &quot;A String&quot;,
3555 ],
3556 &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.
3557 &quot;A String&quot;,
3558 ],
3559 },
3560 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
3561 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
3562 &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.
3563 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3564 &quot;A String&quot;,
3565 ],
3566 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3567 &quot;A String&quot;,
3568 ],
3569 },
3570 &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.
3571 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3572 &quot;A String&quot;,
3573 ],
3574 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3575 &quot;A String&quot;,
3576 ],
3577 },
3578 },
3579 &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.
3580 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3581 &quot;A String&quot;,
3582 ],
3583 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3584 &quot;A String&quot;,
3585 ],
3586 },
3587 &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.
3588 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3589 &quot;A String&quot;,
3590 ],
3591 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3592 &quot;A String&quot;,
3593 ],
3594 },
3595 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003596 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003597 &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.
3598 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
3599 &quot;A String&quot;,
3600 ],
3601 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
3602 &quot;A String&quot;,
3603 ],
3604 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003605 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
3606 &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.
3607 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
3608 &quot;A String&quot;,
3609 ],
3610 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
3611 &quot;A String&quot;,
3612 ],
3613 },
3614 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003615 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003616 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003617 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
3618 &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).
3619 },
3620 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
3621 &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.
3622 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
3623 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
3624 &quot;creativeSpecifications&quot;: [
3625 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
3626 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
3627 { # Represents size of a single ad slot, or a creative.
3628 &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`.
3629 &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`.
3630 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003631 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003632 ],
3633 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
3634 &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`.
3635 &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`.
3636 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003637 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003638 },
3639 ],
3640 },
3641 &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.
3642 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
3643 &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.
3644 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3645 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3646 &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.
3647 &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.
3648 },
3649 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003650 },
3651 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003652 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003653 &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.
3654 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3655 { # 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 Botc2228be2020-11-24 15:48:03 -08003656 &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).
3657 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3658 },
3659 &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.
3660 &quot;A String&quot;,
3661 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003662 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3663 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3664 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3665 &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.
3666 &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.
3667 },
3668 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3669 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003670 },
3671 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003672 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003673 &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 Botc2228be2020-11-24 15:48:03 -08003674 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
3675 { # 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 Botc2228be2020-11-24 15:48:03 -08003676 &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).
3677 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3678 },
3679 &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.
3680 &quot;A String&quot;,
3681 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003682 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3683 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3684 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3685 &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.
3686 &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.
3687 },
3688 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3689 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003690 },
3691 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003692 &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 -08003693 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003694 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
3695 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3696 { # 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.
3697 &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).
3698 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3699 },
3700 &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.
3701 &quot;A String&quot;,
3702 ],
3703 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3704 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3705 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3706 &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.
3707 &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.
3708 },
3709 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3710 },
3711 },
3712 ],
3713 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
3714 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
3715 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003716 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003717 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003718 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003719 },
3720 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003721 &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.
3722 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003723 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003724 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003725 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
3726 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003727 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003728 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3729 },
3730 ],
3731 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
3732 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
3733 &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.
3734 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3735 },
3736 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
3737 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
3738 { # Contains information on how a buyer or seller can be reached.
3739 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3740 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003741 },
3742 ],
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 Bot0d561ef2020-11-25 07:50:41 -08003757 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
3758 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
3759 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
3760 &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).
3761 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003762 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
3763 { # A proposal may be associated to several notes.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003764 &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 -08003765 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
3766 &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 -08003767 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
3768 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003769 },
3770 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003771 &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.
3772 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
3773 &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.
3774 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003775 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003776 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
3777 &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.
3778 &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 -07003779 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
3780 { # 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 -08003781 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
3782 &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.
3783 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003784 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003785 &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.
3786 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003787 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003788 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
3789 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
3790 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003791 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
3792 { # 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 Botc2228be2020-11-24 15:48:03 -08003793 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
3794 { # A polymorphic targeting value used as part of Shared Targeting.
3795 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3796 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3797 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
3798 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3799 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3800 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003802 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003803 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003804 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003805 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003806 },
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 &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.
3809 &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.
3810 &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.
3811 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3812 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3813 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003814 },
3815 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003816 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003817 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003818 &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 Botc2228be2020-11-24 15:48:03 -08003819 &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
3820 &quot;width&quot;: 42, # The width of the creative
3821 &quot;height&quot;: 42, # The height of the creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003822 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003823 &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).
3824 &quot;A String&quot;,
3825 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003826 &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
3827 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3828 &quot;width&quot;: 42, # The width of the creative
3829 &quot;height&quot;: 42, # The height of the creative.
3830 },
3831 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003832 &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.
3833 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3834 },
3835 },
3836 ],
3837 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
3838 { # A polymorphic targeting value used as part of Shared Targeting.
3839 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3840 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3841 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
3842 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3843 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3844 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3845 &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.
3846 &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.
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;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3849 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3850 },
3851 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3852 &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.
3853 &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.
3854 &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.
3855 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3856 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3857 },
3858 },
3859 ],
3860 },
3861 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3862 &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.
3863 &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
3864 &quot;width&quot;: 42, # The width of the creative
3865 &quot;height&quot;: 42, # The height of the creative.
3866 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003867 &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).
3868 &quot;A String&quot;,
3869 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003870 &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
3871 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3872 &quot;width&quot;: 42, # The width of the creative
3873 &quot;height&quot;: 42, # The height of the creative.
3874 },
3875 ],
3876 &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.
3877 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003878 },
3879 },
3880 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003881 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003882 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003883 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003884 &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 -08003885 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
3886 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3887 { # Contains information on how a buyer or seller can be reached.
3888 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3889 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003890 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003891 ],
3892 &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.
3893 &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.
3894 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003895 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003896 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
3897 { # Frequency cap.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003898 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003899 &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.
3900 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003901 },
3902 ],
3903 &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 -08003904 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003905 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003906 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003907 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
3908 &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.
3909 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
3910 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
3911 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
3912 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
3913 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003914 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003915 },
3916 &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 Botc2228be2020-11-24 15:48:03 -08003917 &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 -08003918 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3919 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003920 &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 -08003921 &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`.
3922 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3923 },
3924 ],
3925 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3926 { # Represents size of a single ad slot, or a creative.
3927 &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`.
3928 &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`.
3929 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003930 },
3931 ],
3932 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003933 &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 -08003934 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003935 &quot;A String&quot;,
3936 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003937 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003938 &quot;A String&quot;,
3939 ],
3940 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003941 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3942 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
3943 &quot;A String&quot;,
3944 ],
3945 &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.
3946 &quot;A String&quot;,
3947 ],
3948 },
3949 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
3950 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
3951 &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.
3952 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3953 &quot;A String&quot;,
3954 ],
3955 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3956 &quot;A String&quot;,
3957 ],
3958 },
3959 &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.
3960 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3961 &quot;A String&quot;,
3962 ],
3963 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3964 &quot;A String&quot;,
3965 ],
3966 },
3967 },
3968 &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.
3969 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3970 &quot;A String&quot;,
3971 ],
3972 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3973 &quot;A String&quot;,
3974 ],
3975 },
3976 &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.
3977 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3978 &quot;A String&quot;,
3979 ],
3980 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3981 &quot;A String&quot;,
3982 ],
3983 },
3984 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003985 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003986 &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.
3987 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
3988 &quot;A String&quot;,
3989 ],
3990 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
3991 &quot;A String&quot;,
3992 ],
3993 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003994 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
3995 &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.
3996 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
3997 &quot;A String&quot;,
3998 ],
3999 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
4000 &quot;A String&quot;,
4001 ],
4002 },
4003 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004004 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004005 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004006 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
4007 &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).
4008 },
4009 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
4010 &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.
4011 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
4012 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
4013 &quot;creativeSpecifications&quot;: [
4014 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
4015 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
4016 { # Represents size of a single ad slot, or a creative.
4017 &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`.
4018 &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`.
4019 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004020 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004021 ],
4022 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
4023 &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`.
4024 &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`.
4025 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004026 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004027 },
4028 ],
4029 },
4030 &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.
4031 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
4032 &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.
4033 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4034 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4035 &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.
4036 &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.
4037 },
4038 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004039 },
4040 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004041 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004042 &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.
4043 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4044 { # 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 Botc2228be2020-11-24 15:48:03 -08004045 &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).
4046 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4047 },
4048 &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.
4049 &quot;A String&quot;,
4050 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004051 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4052 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4053 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4054 &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.
4055 &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.
4056 },
4057 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4058 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004059 },
4060 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004061 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004062 &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 Botc2228be2020-11-24 15:48:03 -08004063 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
4064 { # 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 Botc2228be2020-11-24 15:48:03 -08004065 &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).
4066 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4067 },
4068 &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.
4069 &quot;A String&quot;,
4070 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004071 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4072 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4073 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4074 &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.
4075 &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.
4076 },
4077 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4078 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004079 },
4080 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004081 &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 -08004082 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004083 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
4084 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4085 { # 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.
4086 &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).
4087 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4088 },
4089 &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.
4090 &quot;A String&quot;,
4091 ],
4092 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4093 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4094 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4095 &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.
4096 &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.
4097 },
4098 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4099 },
4100 },
4101 ],
4102 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
4103 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
4104 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004105 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004106 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004107 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004108 },
4109 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004110 &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.
4111 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004112 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004113 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004114 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
4115 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004116 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004117 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4118 },
4119 ],
4120 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
4121 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
4122 &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.
4123 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4124 },
4125 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
4126 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
4127 { # Contains information on how a buyer or seller can be reached.
4128 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4129 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004130 },
4131 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004132}
4133
4134 x__xgafv: string, V1 error format.
4135 Allowed values
4136 1 - v1 error format
4137 2 - v2 error format
4138
4139Returns:
4140 An object of the form:
4141
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004142 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004143 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
4144 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
4145 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
4146 &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).
4147 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004148 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
4149 { # A proposal may be associated to several notes.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004150 &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 -08004151 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
4152 &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 -08004153 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
4154 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004155 },
4156 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004157 &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.
4158 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
4159 &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.
4160 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004161 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004162 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
4163 &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.
4164 &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 -07004165 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
4166 { # 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 -08004167 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
4168 &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.
4169 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004170 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004171 &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.
4172 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004173 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004174 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
4175 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
4176 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004177 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
4178 { # 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 Botc2228be2020-11-24 15:48:03 -08004179 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
4180 { # A polymorphic targeting value used as part of Shared Targeting.
4181 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4182 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
4183 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
4184 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4185 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4186 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004188 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004189 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004190 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004191 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004192 },
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 &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.
4195 &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.
4196 &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.
4197 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4198 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4199 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004200 },
4201 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004202 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004203 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004204 &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 Botc2228be2020-11-24 15:48:03 -08004205 &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
4206 &quot;width&quot;: 42, # The width of the creative
4207 &quot;height&quot;: 42, # The height of the creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004208 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004209 &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).
4210 &quot;A String&quot;,
4211 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004212 &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
4213 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
4214 &quot;width&quot;: 42, # The width of the creative
4215 &quot;height&quot;: 42, # The height of the creative.
4216 },
4217 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004218 &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.
4219 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4220 },
4221 },
4222 ],
4223 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
4224 { # A polymorphic targeting value used as part of Shared Targeting.
4225 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4226 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
4227 &quot;dayPartTargetingValue&quot;: { # Specifies the day part targeting criteria. # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. The definition of this targeting is derived from the structure used by Ad Manager.
4228 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4229 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4230 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
4231 &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.
4232 &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.
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;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4235 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4236 },
4237 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
4238 &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.
4239 &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.
4240 &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.
4241 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4242 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4243 },
4244 },
4245 ],
4246 },
4247 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
4248 &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.
4249 &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
4250 &quot;width&quot;: 42, # The width of the creative
4251 &quot;height&quot;: 42, # The height of the creative.
4252 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004253 &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).
4254 &quot;A String&quot;,
4255 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004256 &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
4257 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
4258 &quot;width&quot;: 42, # The width of the creative
4259 &quot;height&quot;: 42, # The height of the creative.
4260 },
4261 ],
4262 &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.
4263 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004264 },
4265 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004266 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004267 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004268 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004269 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004270 &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 -08004271 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
4272 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
4273 { # Contains information on how a buyer or seller can be reached.
4274 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4275 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004276 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004277 ],
4278 &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.
4279 &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.
4280 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004281 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004282 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
4283 { # Frequency cap.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004284 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004285 &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.
4286 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004287 },
4288 ],
4289 &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 -08004290 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004291 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004292 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004293 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
4294 &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.
4295 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
4296 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
4297 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
4298 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
4299 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004300 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004301 },
4302 &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 Botc2228be2020-11-24 15:48:03 -08004303 &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 -08004304 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
4305 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004306 &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 -08004307 &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`.
4308 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4309 },
4310 ],
4311 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
4312 { # Represents size of a single ad slot, or a creative.
4313 &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`.
4314 &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`.
4315 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004316 },
4317 ],
4318 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004319 &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 -08004320 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004321 &quot;A String&quot;,
4322 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004323 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004324 &quot;A String&quot;,
4325 ],
4326 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004327 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
4328 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
4329 &quot;A String&quot;,
4330 ],
4331 &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.
4332 &quot;A String&quot;,
4333 ],
4334 },
4335 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
4336 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
4337 &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.
4338 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4339 &quot;A String&quot;,
4340 ],
4341 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4342 &quot;A String&quot;,
4343 ],
4344 },
4345 &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.
4346 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4347 &quot;A String&quot;,
4348 ],
4349 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4350 &quot;A String&quot;,
4351 ],
4352 },
4353 },
4354 &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.
4355 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4356 &quot;A String&quot;,
4357 ],
4358 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4359 &quot;A String&quot;,
4360 ],
4361 },
4362 &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.
4363 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4364 &quot;A String&quot;,
4365 ],
4366 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4367 &quot;A String&quot;,
4368 ],
4369 },
4370 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004371 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004372 &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.
4373 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
4374 &quot;A String&quot;,
4375 ],
4376 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
4377 &quot;A String&quot;,
4378 ],
4379 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004380 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
4381 &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.
4382 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
4383 &quot;A String&quot;,
4384 ],
4385 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
4386 &quot;A String&quot;,
4387 ],
4388 },
4389 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004390 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004391 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004392 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
4393 &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).
4394 },
4395 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
4396 &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.
4397 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
4398 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
4399 &quot;creativeSpecifications&quot;: [
4400 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
4401 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
4402 { # Represents size of a single ad slot, or a creative.
4403 &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`.
4404 &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`.
4405 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004406 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004407 ],
4408 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
4409 &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`.
4410 &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`.
4411 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004412 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004413 },
4414 ],
4415 },
4416 &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.
4417 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
4418 &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.
4419 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4420 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4421 &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.
4422 &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.
4423 },
4424 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004425 },
4426 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004427 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004428 &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.
4429 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4430 { # 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 Botc2228be2020-11-24 15:48:03 -08004431 &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).
4432 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4433 },
4434 &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.
4435 &quot;A String&quot;,
4436 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004437 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4438 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4439 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4440 &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.
4441 &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.
4442 },
4443 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4444 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004445 },
4446 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004447 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004448 &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 Botc2228be2020-11-24 15:48:03 -08004449 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
4450 { # 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 Botc2228be2020-11-24 15:48:03 -08004451 &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).
4452 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4453 },
4454 &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.
4455 &quot;A String&quot;,
4456 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004457 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4458 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4459 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4460 &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.
4461 &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.
4462 },
4463 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4464 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004465 },
4466 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004467 &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 -08004468 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004469 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
4470 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4471 { # 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.
4472 &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).
4473 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4474 },
4475 &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.
4476 &quot;A String&quot;,
4477 ],
4478 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4479 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4480 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4481 &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.
4482 &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.
4483 },
4484 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4485 },
4486 },
4487 ],
4488 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
4489 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
4490 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004491 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004492 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004493 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004494 },
4495 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004496 &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.
4497 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004498 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004499 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004500 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
4501 { # Contains information on how a buyer or seller can be reached.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004502 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004503 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4504 },
4505 ],
4506 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
4507 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
4508 &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.
4509 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4510 },
4511 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
4512 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
4513 { # Contains information on how a buyer or seller can be reached.
4514 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4515 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004516 },
4517 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004518 }</pre>
4519</div>
4520
4521</body></html>