blob: c862c9147bbdd66cc98c4167e172cfa1b3214c47 [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 Botcc94ec82021-01-15 07:10:04 -080099 <code><a href="#list">list(accountId, filter=None, filterSyntax=None, pageSize=None, pageToken=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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800125 &quot;proposalRevision&quot;: &quot;A String&quot;, # The last known client revision number of the proposal.
126}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700127
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 Botcc94ec82021-01-15 07:10:04 -0800137 &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.
138 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
139 },
140 &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.
141 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
142 },
143 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
144 { # Contains information on how a buyer or seller can be reached.
145 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
146 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800147 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800148 ],
149 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
150 &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).
151 },
152 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
153 { # 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.
154 &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.
155 &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.
156 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
157 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800158 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800159 &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.
160 &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.
161 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
162 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
163 &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.
164 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
165 &quot;creativeSpecifications&quot;: [
166 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
167 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
168 { # Represents size of a single ad slot, or a creative.
169 &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`.
170 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
171 &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 Botb6971b02020-11-26 17:16:03 -0800172 },
173 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800174 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
175 &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`.
176 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
177 &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`.
178 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700179 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800180 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800181 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
182 },
183 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
184 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
185 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
186 &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.
187 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
188 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
189 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
190 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
191 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
192 },
193 },
194 &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.
195 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
196 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
197 &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.
198 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
199 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
200 &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.
201 &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.
202 },
203 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
204 },
205 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
206 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
207 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
208 { # 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.
209 &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.
210 &quot;A String&quot;,
211 ],
212 &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).
213 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
214 },
215 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
216 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
217 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
218 &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.
219 &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.
220 },
221 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
222 },
223 },
224 ],
225 &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.
226 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
227 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
228 },
229 &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.
230 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
231 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
232 { # 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.
233 &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.
234 &quot;A String&quot;,
235 ],
236 &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).
237 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
238 },
239 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
240 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
241 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
242 &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.
243 &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.
244 },
245 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
246 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800247 },
248 ],
249 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800250 &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.
251 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
252 { # 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.
253 &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.
254 &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800255 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800256 &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).
257 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
258 },
259 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
260 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
261 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
262 &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.
263 &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.
264 },
265 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
266 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800267 },
268 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800269 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800270 &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.
271 },
272 &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.
273 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
274 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
275 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
276 { # Frequency cap.
277 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
278 &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.
279 &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 Bot0bf565c2020-12-09 08:56:03 -0800280 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800281 ],
282 },
283 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
284 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
285 &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.
286 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
287 &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.
288 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
289 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
290 { # Contains information on how a buyer or seller can be reached.
291 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
292 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800293 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800294 ],
295 &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.
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.
297 &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.
298 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
299 &quot;A String&quot;,
300 ],
301 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
302 &quot;A String&quot;,
303 ],
304 },
305 &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.
306 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
307 { # Represents size of a single ad slot, or a creative.
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.
310 &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 Bot0bf565c2020-12-09 08:56:03 -0800311 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800312 ],
313 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
314 { # Represents size of a single ad slot, or a creative.
315 &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`.
316 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
317 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700318 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800319 ],
320 },
321 &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.
322 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
323 &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.
324 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800325 &quot;A String&quot;,
326 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800327 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800328 &quot;A String&quot;,
329 ],
330 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700331 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800332 &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.
333 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800334 &quot;A String&quot;,
335 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800336 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
337 &quot;A String&quot;,
338 ],
339 },
340 },
341 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
342 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800343 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
344 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700345 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800346 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800347 &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800348 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800349 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800350 &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.
351 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
352 &quot;A String&quot;,
353 ],
354 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
355 &quot;A String&quot;,
356 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800357 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800358 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
359 &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.
360 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
361 &quot;A String&quot;,
362 ],
363 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
364 &quot;A String&quot;,
365 ],
366 },
367 &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.
368 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
369 &quot;A String&quot;,
370 ],
371 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
372 &quot;A String&quot;,
373 ],
374 },
375 },
376 },
377 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
378 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
379 &quot;A String&quot;,
380 ],
381 &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.
382 &quot;A String&quot;,
383 ],
384 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700385 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800386 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
387 { # 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.
388 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
389 { # A polymorphic targeting value used as part of Shared Targeting.
390 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
391 &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).
392 &quot;A String&quot;,
393 ],
394 &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
395 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
396 &quot;height&quot;: 42, # The height of the creative.
397 &quot;width&quot;: 42, # The width of the creative
398 },
399 ],
400 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
401 &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.
402 &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
403 &quot;height&quot;: 42, # The height of the creative.
404 &quot;width&quot;: 42, # The width of the creative
405 },
406 &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.
407 },
408 &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.
409 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
410 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
411 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
412 &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.
413 &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.
414 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
415 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
416 &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.
417 },
418 &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.
419 &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.
420 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
421 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
422 &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.
423 },
424 },
425 ],
426 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
427 },
428 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
429 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
430 },
431 ],
432 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
433 { # A polymorphic targeting value used as part of Shared Targeting.
434 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
435 &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).
436 &quot;A String&quot;,
437 ],
438 &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
439 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
440 &quot;height&quot;: 42, # The height of the creative.
441 &quot;width&quot;: 42, # The width of the creative
442 },
443 ],
444 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
445 &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.
446 &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
447 &quot;height&quot;: 42, # The height of the creative.
448 &quot;width&quot;: 42, # The width of the creative
449 },
450 &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.
451 },
452 &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.
453 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
454 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
455 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
456 &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.
457 &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.
458 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
459 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
460 &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.
461 },
462 &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.
463 &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.
464 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
465 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
466 &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.
467 },
468 },
469 ],
470 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
471 },
472 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
473 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
474 },
475 ],
476 &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.
477 },
478 ],
479 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
480 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
481 },
482 ],
483 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
484 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
485 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
486 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
487 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
488 { # A proposal may be associated to several notes.
489 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
490 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
491 &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.
492 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
493 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
494 },
495 ],
496 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
497 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
498 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
499 &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.
500 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
501 &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.
502 &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.
503 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
504 },
505 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
506 { # Contains information on how a buyer or seller can be reached.
507 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
508 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
509 },
510 ],
511 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
512}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700513</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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800526 &quot;note&quot;: { # A proposal may be associated to several notes. # Details of the note to add.
527 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
528 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
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.
530 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
531 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
532 },
533}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700534
535 x__xgafv: string, V1 error format.
536 Allowed values
537 1 - v1 error format
538 2 - v2 error format
539
540Returns:
541 An object of the form:
542
543 { # A proposal may be associated to several notes.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800544 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
545 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
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.
547 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
548 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
549}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700550</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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800563}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700564
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 Botcc94ec82021-01-15 07:10:04 -0800574 &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.
575 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
576 },
577 &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.
578 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
579 },
580 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
581 { # Contains information on how a buyer or seller can be reached.
582 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
583 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800584 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800585 ],
586 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
587 &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).
588 },
589 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
590 { # 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.
591 &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.
592 &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.
593 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
594 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800595 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800596 &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.
597 &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.
598 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
599 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
600 &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.
601 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
602 &quot;creativeSpecifications&quot;: [
603 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
604 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
605 { # Represents size of a single ad slot, or a creative.
606 &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`.
607 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
608 &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 Botb6971b02020-11-26 17:16:03 -0800609 },
610 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800611 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
612 &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`.
613 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
614 &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`.
615 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700616 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800617 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800618 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
619 },
620 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
621 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
622 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
623 &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.
624 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
625 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
626 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
627 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
628 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
629 },
630 },
631 &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.
632 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
633 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
634 &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.
635 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
636 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
637 &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.
638 &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.
639 },
640 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
641 },
642 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
643 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
644 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
645 { # 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.
646 &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.
647 &quot;A String&quot;,
648 ],
649 &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).
650 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
651 },
652 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
653 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
654 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
655 &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.
656 &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.
657 },
658 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
659 },
660 },
661 ],
662 &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.
663 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
664 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
665 },
666 &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.
667 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
668 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
669 { # 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.
670 &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.
671 &quot;A String&quot;,
672 ],
673 &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).
674 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
675 },
676 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
677 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
678 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
679 &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.
680 &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.
681 },
682 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
683 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800684 },
685 ],
686 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800687 &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.
688 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
689 { # 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.
690 &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.
691 &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800692 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800693 &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).
694 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
695 },
696 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
697 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
698 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
699 &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.
700 &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.
701 },
702 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
703 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800704 },
705 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800706 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800707 &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.
708 },
709 &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.
710 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
711 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
712 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
713 { # Frequency cap.
714 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
715 &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.
716 &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 Bot0bf565c2020-12-09 08:56:03 -0800717 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800718 ],
719 },
720 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
721 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
722 &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.
723 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
724 &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.
725 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
726 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
727 { # Contains information on how a buyer or seller can be reached.
728 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
729 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800730 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800731 ],
732 &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.
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.
734 &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.
735 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
736 &quot;A String&quot;,
737 ],
738 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
739 &quot;A String&quot;,
740 ],
741 },
742 &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.
743 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
744 { # Represents size of a single ad slot, or a creative.
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.
747 &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 Bot0bf565c2020-12-09 08:56:03 -0800748 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800749 ],
750 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
751 { # Represents size of a single ad slot, or a creative.
752 &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`.
753 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
754 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700755 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800756 ],
757 },
758 &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.
759 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
760 &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.
761 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800762 &quot;A String&quot;,
763 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800764 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800765 &quot;A String&quot;,
766 ],
767 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700768 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800769 &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.
770 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800771 &quot;A String&quot;,
772 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800773 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
774 &quot;A String&quot;,
775 ],
776 },
777 },
778 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
779 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800780 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
781 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700782 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800783 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800784 &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800785 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800786 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800787 &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.
788 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
789 &quot;A String&quot;,
790 ],
791 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
792 &quot;A String&quot;,
793 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800794 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800795 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
796 &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.
797 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
798 &quot;A String&quot;,
799 ],
800 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
801 &quot;A String&quot;,
802 ],
803 },
804 &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.
805 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
806 &quot;A String&quot;,
807 ],
808 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
809 &quot;A String&quot;,
810 ],
811 },
812 },
813 },
814 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
815 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
816 &quot;A String&quot;,
817 ],
818 &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.
819 &quot;A String&quot;,
820 ],
821 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700822 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800823 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
824 { # 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.
825 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
826 { # A polymorphic targeting value used as part of Shared Targeting.
827 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
828 &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).
829 &quot;A String&quot;,
830 ],
831 &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
832 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
833 &quot;height&quot;: 42, # The height of the creative.
834 &quot;width&quot;: 42, # The width of the creative
835 },
836 ],
837 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
838 &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.
839 &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
840 &quot;height&quot;: 42, # The height of the creative.
841 &quot;width&quot;: 42, # The width of the creative
842 },
843 &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.
844 },
845 &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.
846 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
847 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
848 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
849 &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.
850 &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.
851 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
852 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
853 &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.
854 },
855 &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.
856 &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.
857 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
858 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
859 &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.
860 },
861 },
862 ],
863 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
864 },
865 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
866 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
867 },
868 ],
869 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
870 { # A polymorphic targeting value used as part of Shared Targeting.
871 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
872 &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).
873 &quot;A String&quot;,
874 ],
875 &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
876 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
877 &quot;height&quot;: 42, # The height of the creative.
878 &quot;width&quot;: 42, # The width of the creative
879 },
880 ],
881 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
882 &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.
883 &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
884 &quot;height&quot;: 42, # The height of the creative.
885 &quot;width&quot;: 42, # The width of the creative
886 },
887 &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.
888 },
889 &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.
890 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
891 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
892 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
893 &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.
894 &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.
895 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
896 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
897 &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.
898 },
899 &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.
900 &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.
901 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
902 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
903 &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.
904 },
905 },
906 ],
907 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
908 },
909 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
910 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
911 },
912 ],
913 &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.
914 },
915 ],
916 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
917 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
918 },
919 ],
920 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
921 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
922 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
923 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
924 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
925 { # A proposal may be associated to several notes.
926 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
927 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
928 &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.
929 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
930 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
931 },
932 ],
933 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
934 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
935 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
936 &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.
937 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
938 &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.
939 &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.
940 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
941 },
942 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
943 { # Contains information on how a buyer or seller can be reached.
944 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
945 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
946 },
947 ],
948 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
949}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700950</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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800968}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700969
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 Botcc94ec82021-01-15 07:10:04 -0800979 &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.
980 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
981 },
982 &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.
983 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
984 },
985 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
986 { # Contains information on how a buyer or seller can be reached.
987 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
988 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800989 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800990 ],
991 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
992 &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).
993 },
994 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
995 { # 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.
996 &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.
997 &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.
998 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
999 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001000 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001001 &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.
1002 &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.
1003 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
1004 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
1005 &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.
1006 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
1007 &quot;creativeSpecifications&quot;: [
1008 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
1009 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1010 { # Represents size of a single ad slot, or a creative.
1011 &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`.
1012 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1013 &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 Botb6971b02020-11-26 17:16:03 -08001014 },
1015 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001016 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1017 &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`.
1018 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1019 &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`.
1020 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001021 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001022 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001023 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1024 },
1025 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
1026 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
1027 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
1028 &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.
1029 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
1030 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
1031 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
1032 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
1033 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
1034 },
1035 },
1036 &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.
1037 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
1038 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
1039 &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.
1040 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1041 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1042 &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.
1043 &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.
1044 },
1045 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1046 },
1047 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
1048 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
1049 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1050 { # 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.
1051 &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.
1052 &quot;A String&quot;,
1053 ],
1054 &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).
1055 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1056 },
1057 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1058 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1059 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1060 &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.
1061 &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.
1062 },
1063 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1064 },
1065 },
1066 ],
1067 &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.
1068 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
1069 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
1070 },
1071 &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.
1072 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
1073 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
1074 { # 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.
1075 &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.
1076 &quot;A String&quot;,
1077 ],
1078 &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).
1079 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1080 },
1081 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1082 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1083 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1084 &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.
1085 &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.
1086 },
1087 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1088 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001089 },
1090 ],
1091 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001092 &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.
1093 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1094 { # 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.
1095 &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.
1096 &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001097 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001098 &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).
1099 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1100 },
1101 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1102 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1103 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1104 &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.
1105 &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.
1106 },
1107 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1108 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001109 },
1110 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001111 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001112 &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.
1113 },
1114 &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.
1115 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
1116 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
1117 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
1118 { # Frequency cap.
1119 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
1120 &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.
1121 &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 Bot0bf565c2020-12-09 08:56:03 -08001122 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001123 ],
1124 },
1125 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
1126 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
1127 &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.
1128 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
1129 &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.
1130 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
1131 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1132 { # Contains information on how a buyer or seller can be reached.
1133 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1134 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001135 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001136 ],
1137 &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.
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.
1139 &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.
1140 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1141 &quot;A String&quot;,
1142 ],
1143 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1144 &quot;A String&quot;,
1145 ],
1146 },
1147 &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.
1148 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1149 { # Represents size of a single ad slot, or a creative.
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.
1152 &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 Bot0bf565c2020-12-09 08:56:03 -08001153 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001154 ],
1155 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1156 { # Represents size of a single ad slot, or a creative.
1157 &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`.
1158 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1159 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001160 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001161 ],
1162 },
1163 &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.
1164 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
1165 &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.
1166 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001167 &quot;A String&quot;,
1168 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001169 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001170 &quot;A String&quot;,
1171 ],
1172 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001173 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001174 &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.
1175 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001176 &quot;A String&quot;,
1177 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001178 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
1179 &quot;A String&quot;,
1180 ],
1181 },
1182 },
1183 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
1184 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001185 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1186 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001187 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001188 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001189 &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001190 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001191 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001192 &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.
1193 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1194 &quot;A String&quot;,
1195 ],
1196 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1197 &quot;A String&quot;,
1198 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001199 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001200 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
1201 &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.
1202 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1203 &quot;A String&quot;,
1204 ],
1205 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1206 &quot;A String&quot;,
1207 ],
1208 },
1209 &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.
1210 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1211 &quot;A String&quot;,
1212 ],
1213 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1214 &quot;A String&quot;,
1215 ],
1216 },
1217 },
1218 },
1219 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1220 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
1221 &quot;A String&quot;,
1222 ],
1223 &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.
1224 &quot;A String&quot;,
1225 ],
1226 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001227 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001228 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
1229 { # 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.
1230 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
1231 { # A polymorphic targeting value used as part of Shared Targeting.
1232 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1233 &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).
1234 &quot;A String&quot;,
1235 ],
1236 &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
1237 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1238 &quot;height&quot;: 42, # The height of the creative.
1239 &quot;width&quot;: 42, # The width of the creative
1240 },
1241 ],
1242 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1243 &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.
1244 &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
1245 &quot;height&quot;: 42, # The height of the creative.
1246 &quot;width&quot;: 42, # The width of the creative
1247 },
1248 &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.
1249 },
1250 &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.
1251 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1252 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1253 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1254 &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.
1255 &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.
1256 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1257 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1258 &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.
1259 },
1260 &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.
1261 &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.
1262 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1263 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1264 &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.
1265 },
1266 },
1267 ],
1268 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1269 },
1270 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1271 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1272 },
1273 ],
1274 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
1275 { # A polymorphic targeting value used as part of Shared Targeting.
1276 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1277 &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).
1278 &quot;A String&quot;,
1279 ],
1280 &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
1281 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1282 &quot;height&quot;: 42, # The height of the creative.
1283 &quot;width&quot;: 42, # The width of the creative
1284 },
1285 ],
1286 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1287 &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.
1288 &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
1289 &quot;height&quot;: 42, # The height of the creative.
1290 &quot;width&quot;: 42, # The width of the creative
1291 },
1292 &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.
1293 },
1294 &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.
1295 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1296 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1297 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1298 &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.
1299 &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.
1300 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1301 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1302 &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.
1303 },
1304 &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.
1305 &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.
1306 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1307 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1308 &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.
1309 },
1310 },
1311 ],
1312 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1313 },
1314 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1315 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1316 },
1317 ],
1318 &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.
1319 },
1320 ],
1321 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
1322 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
1323 },
1324 ],
1325 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
1326 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
1327 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
1328 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
1329 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
1330 { # A proposal may be associated to several notes.
1331 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
1332 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
1333 &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.
1334 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
1335 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
1336 },
1337 ],
1338 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
1339 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
1340 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
1341 &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.
1342 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
1343 &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.
1344 &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.
1345 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
1346 },
1347 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
1348 { # Contains information on how a buyer or seller can be reached.
1349 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1350 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1351 },
1352 ],
1353 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
1354}</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001355</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 Bot0bf565c2020-12-09 08:56:03 -08001367 &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.
1368 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1369 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001370 &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.
1371 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1372 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001373 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
1374 { # Contains information on how a buyer or seller can be reached.
1375 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1376 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1377 },
1378 ],
1379 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
1380 &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).
1381 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001382 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
1383 { # 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 Botcc94ec82021-01-15 07:10:04 -08001384 &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.
1385 &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.
1386 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
1387 &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).
1388 },
1389 &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.
1390 &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.
1391 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
1392 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
1393 &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.
1394 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
1395 &quot;creativeSpecifications&quot;: [
1396 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
1397 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1398 { # Represents size of a single ad slot, or a creative.
1399 &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`.
1400 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1401 &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`.
1402 },
1403 ],
1404 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1405 &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`.
1406 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1407 &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`.
1408 },
1409 },
1410 ],
1411 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1412 },
1413 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
1414 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001415 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
1416 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001417 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001418 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
1419 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
1420 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
1421 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001422 },
1423 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001424 &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.
1425 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
1426 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
1427 &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.
1428 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1429 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1430 &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.
1431 &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.
1432 },
1433 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001434 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001435 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
1436 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
1437 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1438 { # 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.
1439 &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.
1440 &quot;A String&quot;,
1441 ],
1442 &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).
1443 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1444 },
1445 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1446 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1447 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1448 &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.
1449 &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.
1450 },
1451 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1452 },
1453 },
1454 ],
1455 &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.
1456 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
1457 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
1458 },
1459 &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.
1460 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
1461 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
1462 { # 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.
1463 &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.
1464 &quot;A String&quot;,
1465 ],
1466 &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).
1467 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1468 },
1469 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1470 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1471 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1472 &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.
1473 &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.
1474 },
1475 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1476 },
1477 },
1478 ],
1479 },
1480 &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.
1481 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1482 { # 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.
1483 &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.
1484 &quot;A String&quot;,
1485 ],
1486 &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).
1487 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1488 },
1489 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1490 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1491 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1492 &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.
1493 &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.
1494 },
1495 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1496 },
1497 },
1498 ],
1499 },
1500 &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.
1501 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001502 &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.
1503 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
1504 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
1505 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
1506 { # Frequency cap.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001507 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
1508 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001509 &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 Bot0bf565c2020-12-09 08:56:03 -08001510 },
1511 ],
1512 },
1513 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001514 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
1515 &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.
1516 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
1517 &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.
1518 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
1519 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1520 { # Contains information on how a buyer or seller can be reached.
1521 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1522 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
1523 },
1524 ],
1525 &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.
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.
1527 &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.
1528 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1529 &quot;A String&quot;,
1530 ],
1531 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1532 &quot;A String&quot;,
1533 ],
1534 },
1535 &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.
1536 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1537 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001538 &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`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001539 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001540 &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`.
1541 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001542 ],
1543 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1544 { # Represents size of a single ad slot, or a creative.
1545 &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`.
1546 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1547 &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 Bot0bf565c2020-12-09 08:56:03 -08001548 },
1549 ],
1550 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001551 &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.
1552 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
1553 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001554 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
1555 &quot;A String&quot;,
1556 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001557 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
1558 &quot;A String&quot;,
1559 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001560 },
1561 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001562 &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.
1563 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
1564 &quot;A String&quot;,
1565 ],
1566 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
1567 &quot;A String&quot;,
1568 ],
1569 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001570 },
1571 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
1572 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001573 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1574 &quot;A String&quot;,
1575 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001576 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001577 &quot;A String&quot;,
1578 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001579 },
1580 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001581 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1582 &quot;A String&quot;,
1583 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001584 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1585 &quot;A String&quot;,
1586 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001587 },
1588 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001589 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001590 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1591 &quot;A String&quot;,
1592 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001593 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1594 &quot;A String&quot;,
1595 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001596 },
1597 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001598 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1599 &quot;A String&quot;,
1600 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001601 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1602 &quot;A String&quot;,
1603 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001604 },
1605 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001606 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001607 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1608 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
1609 &quot;A String&quot;,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001610 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001611 &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.
1612 &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001613 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001614 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001615 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001616 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
1617 { # 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.
1618 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
1619 { # A polymorphic targeting value used as part of Shared Targeting.
1620 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1621 &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).
1622 &quot;A String&quot;,
1623 ],
1624 &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
1625 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1626 &quot;height&quot;: 42, # The height of the creative.
1627 &quot;width&quot;: 42, # The width of the creative
1628 },
1629 ],
1630 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1631 &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.
1632 &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
1633 &quot;height&quot;: 42, # The height of the creative.
1634 &quot;width&quot;: 42, # The width of the creative
1635 },
1636 &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.
1637 },
1638 &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.
1639 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1640 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1641 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1642 &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.
1643 &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.
1644 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1645 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1646 &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.
1647 },
1648 &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.
1649 &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.
1650 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1651 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1652 &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.
1653 },
1654 },
1655 ],
1656 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1657 },
1658 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1659 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1660 },
1661 ],
1662 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
1663 { # A polymorphic targeting value used as part of Shared Targeting.
1664 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
1665 &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).
1666 &quot;A String&quot;,
1667 ],
1668 &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
1669 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
1670 &quot;height&quot;: 42, # The height of the creative.
1671 &quot;width&quot;: 42, # The width of the creative
1672 },
1673 ],
1674 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
1675 &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.
1676 &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
1677 &quot;height&quot;: 42, # The height of the creative.
1678 &quot;width&quot;: 42, # The width of the creative
1679 },
1680 &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.
1681 },
1682 &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.
1683 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
1684 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
1685 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
1686 &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.
1687 &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.
1688 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1689 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1690 &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.
1691 },
1692 &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.
1693 &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.
1694 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
1695 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1696 &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.
1697 },
1698 },
1699 ],
1700 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
1701 },
1702 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
1703 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
1704 },
1705 ],
1706 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001707 },
1708 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001709 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001710 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001711 },
1712 ],
1713 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
1714 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
1715 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
1716 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
1717 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
1718 { # A proposal may be associated to several notes.
1719 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
1720 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
1721 &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.
1722 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
1723 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
1724 },
1725 ],
1726 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
1727 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
1728 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
1729 &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.
1730 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
1731 &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.
1732 &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.
1733 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
1734 },
1735 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
1736 { # Contains information on how a buyer or seller can be reached.
1737 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1738 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001739 },
1740 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001741 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
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 Botcc94ec82021-01-15 07:10:04 -08001753 &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.
1754 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1755 },
1756 &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.
1757 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1758 },
1759 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
1760 { # Contains information on how a buyer or seller can be reached.
1761 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1762 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001763 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001764 ],
1765 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
1766 &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).
1767 },
1768 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
1769 { # 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.
1770 &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.
1771 &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.
1772 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
1773 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001774 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001775 &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.
1776 &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.
1777 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
1778 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
1779 &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.
1780 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
1781 &quot;creativeSpecifications&quot;: [
1782 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
1783 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
1784 { # Represents size of a single ad slot, or a creative.
1785 &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`.
1786 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1787 &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 Botb6971b02020-11-26 17:16:03 -08001788 },
1789 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001790 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
1791 &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`.
1792 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1793 &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`.
1794 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001795 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001796 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001797 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
1798 },
1799 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
1800 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
1801 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
1802 &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.
1803 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
1804 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
1805 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
1806 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
1807 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
1808 },
1809 },
1810 &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.
1811 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
1812 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
1813 &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.
1814 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1815 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1816 &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.
1817 &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.
1818 },
1819 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1820 },
1821 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
1822 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
1823 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1824 { # 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.
1825 &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.
1826 &quot;A String&quot;,
1827 ],
1828 &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).
1829 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1830 },
1831 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1832 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1833 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1834 &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.
1835 &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.
1836 },
1837 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1838 },
1839 },
1840 ],
1841 &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.
1842 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
1843 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
1844 },
1845 &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.
1846 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
1847 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
1848 { # 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.
1849 &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.
1850 &quot;A String&quot;,
1851 ],
1852 &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).
1853 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1854 },
1855 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1856 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1857 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1858 &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.
1859 &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.
1860 },
1861 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1862 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001863 },
1864 ],
1865 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001866 &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.
1867 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
1868 { # 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.
1869 &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.
1870 &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001871 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001872 &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).
1873 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
1874 },
1875 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
1876 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
1877 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
1878 &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.
1879 &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.
1880 },
1881 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
1882 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001883 },
1884 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001885 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001886 &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.
1887 },
1888 &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.
1889 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
1890 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
1891 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
1892 { # Frequency cap.
1893 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
1894 &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.
1895 &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 Bot0bf565c2020-12-09 08:56:03 -08001896 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001897 ],
1898 },
1899 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
1900 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
1901 &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.
1902 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
1903 &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.
1904 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
1905 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
1906 { # Contains information on how a buyer or seller can be reached.
1907 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
1908 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001909 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001910 ],
1911 &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.
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.
1913 &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.
1914 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1915 &quot;A String&quot;,
1916 ],
1917 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1918 &quot;A String&quot;,
1919 ],
1920 },
1921 &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.
1922 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
1923 { # Represents size of a single ad slot, or a creative.
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.
1926 &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 Bot0bf565c2020-12-09 08:56:03 -08001927 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001928 ],
1929 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
1930 { # Represents size of a single ad slot, or a creative.
1931 &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`.
1932 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
1933 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001934 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001935 ],
1936 },
1937 &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.
1938 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
1939 &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.
1940 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001941 &quot;A String&quot;,
1942 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001943 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001944 &quot;A String&quot;,
1945 ],
1946 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001947 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001948 &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.
1949 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001950 &quot;A String&quot;,
1951 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001952 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
1953 &quot;A String&quot;,
1954 ],
1955 },
1956 },
1957 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
1958 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001959 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1960 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001961 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001962 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001963 &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001964 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001965 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001966 &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.
1967 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1968 &quot;A String&quot;,
1969 ],
1970 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1971 &quot;A String&quot;,
1972 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001973 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001974 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
1975 &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.
1976 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1977 &quot;A String&quot;,
1978 ],
1979 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1980 &quot;A String&quot;,
1981 ],
1982 },
1983 &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.
1984 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
1985 &quot;A String&quot;,
1986 ],
1987 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
1988 &quot;A String&quot;,
1989 ],
1990 },
1991 },
1992 },
1993 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
1994 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
1995 &quot;A String&quot;,
1996 ],
1997 &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.
1998 &quot;A String&quot;,
1999 ],
2000 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002001 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002002 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
2003 { # 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.
2004 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
2005 { # A polymorphic targeting value used as part of Shared Targeting.
2006 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2007 &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).
2008 &quot;A String&quot;,
2009 ],
2010 &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
2011 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2012 &quot;height&quot;: 42, # The height of the creative.
2013 &quot;width&quot;: 42, # The width of the creative
2014 },
2015 ],
2016 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2017 &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.
2018 &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
2019 &quot;height&quot;: 42, # The height of the creative.
2020 &quot;width&quot;: 42, # The width of the creative
2021 },
2022 &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.
2023 },
2024 &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.
2025 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2026 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2027 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2028 &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.
2029 &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.
2030 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2031 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2032 &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.
2033 },
2034 &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.
2035 &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.
2036 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2037 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2038 &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.
2039 },
2040 },
2041 ],
2042 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2043 },
2044 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2045 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2046 },
2047 ],
2048 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
2049 { # A polymorphic targeting value used as part of Shared Targeting.
2050 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2051 &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).
2052 &quot;A String&quot;,
2053 ],
2054 &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
2055 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2056 &quot;height&quot;: 42, # The height of the creative.
2057 &quot;width&quot;: 42, # The width of the creative
2058 },
2059 ],
2060 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2061 &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.
2062 &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
2063 &quot;height&quot;: 42, # The height of the creative.
2064 &quot;width&quot;: 42, # The width of the creative
2065 },
2066 &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.
2067 },
2068 &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.
2069 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2070 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2071 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2072 &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.
2073 &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.
2074 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2075 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2076 &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.
2077 },
2078 &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.
2079 &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.
2080 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2081 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2082 &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.
2083 },
2084 },
2085 ],
2086 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2087 },
2088 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2089 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2090 },
2091 ],
2092 &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.
2093 },
2094 ],
2095 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
2096 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
2097 },
2098 ],
2099 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
2100 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2101 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
2102 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
2103 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2104 { # A proposal may be associated to several notes.
2105 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
2106 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
2107 &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.
2108 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
2109 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2110 },
2111 ],
2112 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
2113 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
2114 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
2115 &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.
2116 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2117 &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.
2118 &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.
2119 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2120 },
2121 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2122 { # Contains information on how a buyer or seller can be reached.
2123 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2124 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2125 },
2126 ],
2127 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
2128}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002129</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 Botcc94ec82021-01-15 07:10:04 -08002147 &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.
2148 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2149 },
2150 &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.
2151 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2152 },
2153 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2154 { # Contains information on how a buyer or seller can be reached.
2155 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2156 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002157 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002158 ],
2159 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2160 &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).
2161 },
2162 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2163 { # 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.
2164 &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.
2165 &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.
2166 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2167 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002168 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002169 &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.
2170 &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.
2171 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
2172 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
2173 &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.
2174 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
2175 &quot;creativeSpecifications&quot;: [
2176 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
2177 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
2178 { # Represents size of a single ad slot, or a creative.
2179 &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`.
2180 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2181 &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 Botb6971b02020-11-26 17:16:03 -08002182 },
2183 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002184 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
2185 &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`.
2186 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2187 &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`.
2188 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002189 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002190 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002191 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
2192 },
2193 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
2194 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
2195 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
2196 &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.
2197 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
2198 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
2199 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
2200 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
2201 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
2202 },
2203 },
2204 &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.
2205 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
2206 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
2207 &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.
2208 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2209 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2210 &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.
2211 &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.
2212 },
2213 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2214 },
2215 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
2216 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
2217 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2218 { # 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.
2219 &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.
2220 &quot;A String&quot;,
2221 ],
2222 &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).
2223 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2224 },
2225 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2226 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2227 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2228 &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.
2229 &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.
2230 },
2231 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2232 },
2233 },
2234 ],
2235 &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.
2236 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2237 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
2238 },
2239 &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.
2240 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
2241 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
2242 { # 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.
2243 &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.
2244 &quot;A String&quot;,
2245 ],
2246 &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).
2247 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2248 },
2249 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2250 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2251 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2252 &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.
2253 &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.
2254 },
2255 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2256 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002257 },
2258 ],
2259 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002260 &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.
2261 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2262 { # 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.
2263 &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.
2264 &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002265 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002266 &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).
2267 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2268 },
2269 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2270 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2271 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2272 &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.
2273 &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.
2274 },
2275 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2276 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002277 },
2278 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002279 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002280 &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.
2281 },
2282 &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.
2283 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
2284 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
2285 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
2286 { # Frequency cap.
2287 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
2288 &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.
2289 &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 Bot0bf565c2020-12-09 08:56:03 -08002290 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002291 ],
2292 },
2293 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
2294 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
2295 &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.
2296 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
2297 &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.
2298 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
2299 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
2300 { # Contains information on how a buyer or seller can be reached.
2301 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2302 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002303 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002304 ],
2305 &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.
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.
2307 &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.
2308 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2309 &quot;A String&quot;,
2310 ],
2311 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2312 &quot;A String&quot;,
2313 ],
2314 },
2315 &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.
2316 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
2317 { # Represents size of a single ad slot, or a creative.
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.
2320 &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 Bot0bf565c2020-12-09 08:56:03 -08002321 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002322 ],
2323 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
2324 { # Represents size of a single ad slot, or a creative.
2325 &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`.
2326 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2327 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002328 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002329 ],
2330 },
2331 &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.
2332 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
2333 &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.
2334 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002335 &quot;A String&quot;,
2336 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002337 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002338 &quot;A String&quot;,
2339 ],
2340 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002341 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002342 &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.
2343 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002344 &quot;A String&quot;,
2345 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002346 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
2347 &quot;A String&quot;,
2348 ],
2349 },
2350 },
2351 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
2352 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002353 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2354 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002355 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002356 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002357 &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002358 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002359 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002360 &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.
2361 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2362 &quot;A String&quot;,
2363 ],
2364 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2365 &quot;A String&quot;,
2366 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002367 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002368 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
2369 &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.
2370 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2371 &quot;A String&quot;,
2372 ],
2373 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2374 &quot;A String&quot;,
2375 ],
2376 },
2377 &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.
2378 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2379 &quot;A String&quot;,
2380 ],
2381 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2382 &quot;A String&quot;,
2383 ],
2384 },
2385 },
2386 },
2387 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
2388 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
2389 &quot;A String&quot;,
2390 ],
2391 &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.
2392 &quot;A String&quot;,
2393 ],
2394 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002395 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002396 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
2397 { # 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.
2398 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
2399 { # A polymorphic targeting value used as part of Shared Targeting.
2400 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2401 &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).
2402 &quot;A String&quot;,
2403 ],
2404 &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
2405 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2406 &quot;height&quot;: 42, # The height of the creative.
2407 &quot;width&quot;: 42, # The width of the creative
2408 },
2409 ],
2410 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2411 &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.
2412 &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
2413 &quot;height&quot;: 42, # The height of the creative.
2414 &quot;width&quot;: 42, # The width of the creative
2415 },
2416 &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.
2417 },
2418 &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.
2419 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2420 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2421 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2422 &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.
2423 &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.
2424 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2425 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2426 &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.
2427 },
2428 &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.
2429 &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.
2430 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2431 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2432 &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.
2433 },
2434 },
2435 ],
2436 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2437 },
2438 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2439 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2440 },
2441 ],
2442 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
2443 { # A polymorphic targeting value used as part of Shared Targeting.
2444 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2445 &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).
2446 &quot;A String&quot;,
2447 ],
2448 &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
2449 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2450 &quot;height&quot;: 42, # The height of the creative.
2451 &quot;width&quot;: 42, # The width of the creative
2452 },
2453 ],
2454 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2455 &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.
2456 &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
2457 &quot;height&quot;: 42, # The height of the creative.
2458 &quot;width&quot;: 42, # The width of the creative
2459 },
2460 &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.
2461 },
2462 &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.
2463 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2464 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2465 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2466 &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.
2467 &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.
2468 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2469 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2470 &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.
2471 },
2472 &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.
2473 &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.
2474 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2475 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2476 &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.
2477 },
2478 },
2479 ],
2480 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2481 },
2482 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2483 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2484 },
2485 ],
2486 &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.
2487 },
2488 ],
2489 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
2490 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
2491 },
2492 ],
2493 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
2494 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2495 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
2496 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
2497 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2498 { # A proposal may be associated to several notes.
2499 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
2500 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
2501 &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.
2502 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
2503 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2504 },
2505 ],
2506 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
2507 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
2508 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
2509 &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.
2510 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2511 &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.
2512 &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.
2513 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
2514 },
2515 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2516 { # Contains information on how a buyer or seller can be reached.
2517 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2518 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2519 },
2520 ],
2521 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
2522}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002523</div>
2524
2525<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002526 <code class="details" id="list">list(accountId, filter=None, filterSyntax=None, pageSize=None, pageToken=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 Bot0bf565c2020-12-09 08:56:03 -08002531 filter: string, An optional PQL filter query used to query for proposals. Nested repeated fields, such as proposal.deals.targetingCriterion, cannot be filtered.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002532 filterSyntax: string, Syntax the filter is written in. Current implementation defaults to PQL but in the future it will be LIST_FILTER.
2533 Allowed values
2534 FILTER_SYNTAX_UNSPECIFIED - A placeholder for an undefined filter syntax.
2535 PQL - PQL query syntax. Visit https://developers.google.com/ad-manager/api/pqlreference for PQL documentation and examples.
2536 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 Botcc94ec82021-01-15 07:10:04 -08002537 pageSize: integer, Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.
2538 pageToken: string, The page token as returned from ListProposalsResponse.
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 Botcc94ec82021-01-15 07:10:04 -08002548 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results.
2549 &quot;proposals&quot;: [ # The list of proposals.
2550 { # Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources. Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API. Fields are updatable unless noted otherwise.
2551 &quot;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.
2552 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2553 },
2554 &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.
2555 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2556 },
2557 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2558 { # Contains information on how a buyer or seller can be reached.
2559 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2560 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002561 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002562 ],
2563 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2564 &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).
2565 },
2566 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2567 { # 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.
2568 &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.
2569 &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.
2570 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2571 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002572 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002573 &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.
2574 &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.
2575 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
2576 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
2577 &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.
2578 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
2579 &quot;creativeSpecifications&quot;: [
2580 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
2581 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
2582 { # Represents size of a single ad slot, or a creative.
2583 &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`.
2584 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2585 &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 Botb6971b02020-11-26 17:16:03 -08002586 },
2587 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002588 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
2589 &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`.
2590 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2591 &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`.
2592 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002593 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002594 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002595 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
2596 },
2597 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
2598 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
2599 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
2600 &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.
2601 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
2602 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
2603 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
2604 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
2605 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
2606 },
2607 },
2608 &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.
2609 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
2610 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
2611 &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.
2612 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2613 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2614 &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.
2615 &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.
2616 },
2617 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2618 },
2619 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
2620 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
2621 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2622 { # 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.
2623 &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.
2624 &quot;A String&quot;,
2625 ],
2626 &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).
2627 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2628 },
2629 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2630 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2631 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2632 &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.
2633 &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.
2634 },
2635 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2636 },
2637 },
2638 ],
2639 &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.
2640 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
2641 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
2642 },
2643 &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.
2644 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
2645 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
2646 { # 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.
2647 &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.
2648 &quot;A String&quot;,
2649 ],
2650 &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).
2651 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2652 },
2653 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2654 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2655 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2656 &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.
2657 &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.
2658 },
2659 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2660 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002661 },
2662 ],
2663 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002664 &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.
2665 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
2666 { # 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.
2667 &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.
2668 &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002669 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002670 &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).
2671 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2672 },
2673 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
2674 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
2675 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
2676 &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.
2677 &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.
2678 },
2679 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
2680 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002681 },
2682 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002683 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002684 &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.
2685 },
2686 &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.
2687 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
2688 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
2689 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
2690 { # Frequency cap.
2691 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
2692 &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.
2693 &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 Bot0bf565c2020-12-09 08:56:03 -08002694 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002695 ],
2696 },
2697 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
2698 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
2699 &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.
2700 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
2701 &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.
2702 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
2703 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
2704 { # Contains information on how a buyer or seller can be reached.
2705 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2706 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002707 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002708 ],
2709 &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.
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.
2711 &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.
2712 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2713 &quot;A String&quot;,
2714 ],
2715 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2716 &quot;A String&quot;,
2717 ],
2718 },
2719 &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.
2720 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
2721 { # Represents size of a single ad slot, or a creative.
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.
2724 &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 Bot0bf565c2020-12-09 08:56:03 -08002725 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002726 ],
2727 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
2728 { # Represents size of a single ad slot, or a creative.
2729 &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`.
2730 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
2731 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002732 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002733 ],
2734 },
2735 &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.
2736 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
2737 &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.
2738 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002739 &quot;A String&quot;,
2740 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002741 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002742 &quot;A String&quot;,
2743 ],
2744 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002745 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002746 &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.
2747 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002748 &quot;A String&quot;,
2749 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002750 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
2751 &quot;A String&quot;,
2752 ],
2753 },
2754 },
2755 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
2756 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002757 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2758 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002759 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002760 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002761 &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002762 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002763 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002764 &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.
2765 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2766 &quot;A String&quot;,
2767 ],
2768 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2769 &quot;A String&quot;,
2770 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002771 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002772 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
2773 &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.
2774 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2775 &quot;A String&quot;,
2776 ],
2777 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2778 &quot;A String&quot;,
2779 ],
2780 },
2781 &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.
2782 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
2783 &quot;A String&quot;,
2784 ],
2785 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
2786 &quot;A String&quot;,
2787 ],
2788 },
2789 },
2790 },
2791 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
2792 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
2793 &quot;A String&quot;,
2794 ],
2795 &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.
2796 &quot;A String&quot;,
2797 ],
2798 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002799 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002800 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
2801 { # 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.
2802 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
2803 { # A polymorphic targeting value used as part of Shared Targeting.
2804 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2805 &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).
2806 &quot;A String&quot;,
2807 ],
2808 &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
2809 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2810 &quot;height&quot;: 42, # The height of the creative.
2811 &quot;width&quot;: 42, # The width of the creative
2812 },
2813 ],
2814 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2815 &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.
2816 &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
2817 &quot;height&quot;: 42, # The height of the creative.
2818 &quot;width&quot;: 42, # The width of the creative
2819 },
2820 &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.
2821 },
2822 &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.
2823 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2824 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2825 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2826 &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.
2827 &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.
2828 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2829 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2830 &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.
2831 },
2832 &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.
2833 &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.
2834 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2835 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2836 &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.
2837 },
2838 },
2839 ],
2840 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2841 },
2842 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2843 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2844 },
2845 ],
2846 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
2847 { # A polymorphic targeting value used as part of Shared Targeting.
2848 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
2849 &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).
2850 &quot;A String&quot;,
2851 ],
2852 &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
2853 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
2854 &quot;height&quot;: 42, # The height of the creative.
2855 &quot;width&quot;: 42, # The width of the creative
2856 },
2857 ],
2858 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
2859 &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.
2860 &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
2861 &quot;height&quot;: 42, # The height of the creative.
2862 &quot;width&quot;: 42, # The width of the creative
2863 },
2864 &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.
2865 },
2866 &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.
2867 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
2868 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
2869 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
2870 &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.
2871 &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.
2872 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2873 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2874 &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.
2875 },
2876 &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.
2877 &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.
2878 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
2879 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2880 &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.
2881 },
2882 },
2883 ],
2884 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
2885 },
2886 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
2887 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
2888 },
2889 ],
2890 &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.
2891 },
2892 ],
2893 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
2894 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
2895 },
2896 ],
2897 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
2898 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
2899 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
2900 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
2901 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
2902 { # A proposal may be associated to several notes.
2903 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
2904 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
2905 &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.
2906 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
2907 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
2908 },
2909 ],
2910 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
2911 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
2912 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
2913 &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.
2914 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
2915 &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.
2916 &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.
2917 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002918 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002919 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
2920 { # Contains information on how a buyer or seller can be reached.
2921 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2922 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
2923 },
2924 ],
2925 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
2926 },
2927 ],
2928}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002929</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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002956 &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.)
2957}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002958
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 Botcc94ec82021-01-15 07:10:04 -08002968 &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.
2969 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2970 },
2971 &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.
2972 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
2973 },
2974 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
2975 { # Contains information on how a buyer or seller can be reached.
2976 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
2977 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002978 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002979 ],
2980 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
2981 &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).
2982 },
2983 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
2984 { # 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.
2985 &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.
2986 &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.
2987 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
2988 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002989 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002990 &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.
2991 &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.
2992 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
2993 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
2994 &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.
2995 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
2996 &quot;creativeSpecifications&quot;: [
2997 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
2998 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
2999 { # Represents size of a single ad slot, or a creative.
3000 &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`.
3001 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3002 &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 Botb6971b02020-11-26 17:16:03 -08003003 },
3004 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003005 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
3006 &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`.
3007 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3008 &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`.
3009 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003010 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003011 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003012 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
3013 },
3014 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
3015 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
3016 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
3017 &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.
3018 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
3019 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
3020 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
3021 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
3022 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
3023 },
3024 },
3025 &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.
3026 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
3027 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
3028 &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.
3029 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3030 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3031 &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.
3032 &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.
3033 },
3034 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3035 },
3036 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
3037 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
3038 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3039 { # 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.
3040 &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.
3041 &quot;A String&quot;,
3042 ],
3043 &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).
3044 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3045 },
3046 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3047 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3048 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3049 &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.
3050 &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.
3051 },
3052 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3053 },
3054 },
3055 ],
3056 &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.
3057 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
3058 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
3059 },
3060 &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.
3061 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
3062 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
3063 { # 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.
3064 &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.
3065 &quot;A String&quot;,
3066 ],
3067 &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).
3068 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3069 },
3070 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3071 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3072 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3073 &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.
3074 &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.
3075 },
3076 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3077 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003078 },
3079 ],
3080 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003081 &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.
3082 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3083 { # 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.
3084 &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.
3085 &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003086 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003087 &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).
3088 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3089 },
3090 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3091 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3092 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3093 &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.
3094 &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.
3095 },
3096 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3097 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003098 },
3099 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003100 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003101 &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.
3102 },
3103 &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.
3104 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
3105 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
3106 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
3107 { # Frequency cap.
3108 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
3109 &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.
3110 &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 Bot0bf565c2020-12-09 08:56:03 -08003111 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003112 ],
3113 },
3114 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
3115 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
3116 &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.
3117 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
3118 &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.
3119 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
3120 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3121 { # Contains information on how a buyer or seller can be reached.
3122 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3123 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003124 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003125 ],
3126 &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.
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.
3128 &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.
3129 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3130 &quot;A String&quot;,
3131 ],
3132 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3133 &quot;A String&quot;,
3134 ],
3135 },
3136 &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.
3137 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3138 { # Represents size of a single ad slot, or a creative.
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.
3141 &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 Bot0bf565c2020-12-09 08:56:03 -08003142 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003143 ],
3144 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3145 { # Represents size of a single ad slot, or a creative.
3146 &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`.
3147 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3148 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003149 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003150 ],
3151 },
3152 &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.
3153 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
3154 &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.
3155 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003156 &quot;A String&quot;,
3157 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003158 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003159 &quot;A String&quot;,
3160 ],
3161 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003162 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003163 &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.
3164 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003165 &quot;A String&quot;,
3166 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003167 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
3168 &quot;A String&quot;,
3169 ],
3170 },
3171 },
3172 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
3173 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003174 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3175 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003176 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003177 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003178 &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003179 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003180 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003181 &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.
3182 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3183 &quot;A String&quot;,
3184 ],
3185 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3186 &quot;A String&quot;,
3187 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003188 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003189 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
3190 &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.
3191 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3192 &quot;A String&quot;,
3193 ],
3194 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3195 &quot;A String&quot;,
3196 ],
3197 },
3198 &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.
3199 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3200 &quot;A String&quot;,
3201 ],
3202 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3203 &quot;A String&quot;,
3204 ],
3205 },
3206 },
3207 },
3208 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3209 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
3210 &quot;A String&quot;,
3211 ],
3212 &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.
3213 &quot;A String&quot;,
3214 ],
3215 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003216 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003217 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
3218 { # 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.
3219 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
3220 { # A polymorphic targeting value used as part of Shared Targeting.
3221 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3222 &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).
3223 &quot;A String&quot;,
3224 ],
3225 &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
3226 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3227 &quot;height&quot;: 42, # The height of the creative.
3228 &quot;width&quot;: 42, # The width of the creative
3229 },
3230 ],
3231 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3232 &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.
3233 &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
3234 &quot;height&quot;: 42, # The height of the creative.
3235 &quot;width&quot;: 42, # The width of the creative
3236 },
3237 &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.
3238 },
3239 &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.
3240 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3241 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3242 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3243 &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.
3244 &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.
3245 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3246 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3247 &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.
3248 },
3249 &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.
3250 &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.
3251 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3252 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3253 &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.
3254 },
3255 },
3256 ],
3257 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3258 },
3259 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3260 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3261 },
3262 ],
3263 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
3264 { # A polymorphic targeting value used as part of Shared Targeting.
3265 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3266 &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).
3267 &quot;A String&quot;,
3268 ],
3269 &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
3270 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3271 &quot;height&quot;: 42, # The height of the creative.
3272 &quot;width&quot;: 42, # The width of the creative
3273 },
3274 ],
3275 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3276 &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.
3277 &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
3278 &quot;height&quot;: 42, # The height of the creative.
3279 &quot;width&quot;: 42, # The width of the creative
3280 },
3281 &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.
3282 },
3283 &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.
3284 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3285 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3286 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3287 &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.
3288 &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.
3289 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3290 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3291 &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.
3292 },
3293 &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.
3294 &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.
3295 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3296 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3297 &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.
3298 },
3299 },
3300 ],
3301 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3302 },
3303 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3304 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3305 },
3306 ],
3307 &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.
3308 },
3309 ],
3310 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
3311 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
3312 },
3313 ],
3314 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
3315 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
3316 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
3317 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
3318 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
3319 { # A proposal may be associated to several notes.
3320 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
3321 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
3322 &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.
3323 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
3324 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
3325 },
3326 ],
3327 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
3328 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
3329 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
3330 &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.
3331 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
3332 &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.
3333 &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.
3334 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
3335 },
3336 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
3337 { # Contains information on how a buyer or seller can be reached.
3338 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3339 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3340 },
3341 ],
3342 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
3343}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003344</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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003357}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003358
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 Botcc94ec82021-01-15 07:10:04 -08003368 &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.
3369 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3370 },
3371 &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.
3372 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3373 },
3374 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
3375 { # Contains information on how a buyer or seller can be reached.
3376 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3377 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003378 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003379 ],
3380 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
3381 &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).
3382 },
3383 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
3384 { # 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.
3385 &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.
3386 &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.
3387 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
3388 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003389 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003390 &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.
3391 &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.
3392 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
3393 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
3394 &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.
3395 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
3396 &quot;creativeSpecifications&quot;: [
3397 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
3398 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
3399 { # Represents size of a single ad slot, or a creative.
3400 &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`.
3401 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3402 &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 Botb6971b02020-11-26 17:16:03 -08003403 },
3404 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003405 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
3406 &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`.
3407 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3408 &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`.
3409 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003410 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003411 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003412 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
3413 },
3414 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
3415 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
3416 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
3417 &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.
3418 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
3419 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
3420 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
3421 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
3422 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
3423 },
3424 },
3425 &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.
3426 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
3427 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
3428 &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.
3429 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3430 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3431 &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.
3432 &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.
3433 },
3434 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3435 },
3436 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
3437 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
3438 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3439 { # 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.
3440 &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.
3441 &quot;A String&quot;,
3442 ],
3443 &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).
3444 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3445 },
3446 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3447 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3448 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3449 &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.
3450 &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.
3451 },
3452 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3453 },
3454 },
3455 ],
3456 &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.
3457 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
3458 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
3459 },
3460 &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.
3461 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
3462 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
3463 { # 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.
3464 &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.
3465 &quot;A String&quot;,
3466 ],
3467 &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).
3468 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3469 },
3470 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3471 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3472 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3473 &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.
3474 &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.
3475 },
3476 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3477 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003478 },
3479 ],
3480 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003481 &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.
3482 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3483 { # 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.
3484 &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.
3485 &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003486 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003487 &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).
3488 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3489 },
3490 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3491 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3492 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3493 &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.
3494 &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.
3495 },
3496 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3497 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003498 },
3499 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003500 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003501 &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.
3502 },
3503 &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.
3504 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
3505 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
3506 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
3507 { # Frequency cap.
3508 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
3509 &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.
3510 &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 Bot0bf565c2020-12-09 08:56:03 -08003511 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003512 ],
3513 },
3514 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
3515 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
3516 &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.
3517 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
3518 &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.
3519 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
3520 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3521 { # Contains information on how a buyer or seller can be reached.
3522 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3523 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003524 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003525 ],
3526 &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.
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.
3528 &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.
3529 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3530 &quot;A String&quot;,
3531 ],
3532 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3533 &quot;A String&quot;,
3534 ],
3535 },
3536 &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.
3537 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3538 { # Represents size of a single ad slot, or a creative.
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.
3541 &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 Bot0bf565c2020-12-09 08:56:03 -08003542 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003543 ],
3544 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3545 { # Represents size of a single ad slot, or a creative.
3546 &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`.
3547 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3548 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003549 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003550 ],
3551 },
3552 &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.
3553 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
3554 &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.
3555 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003556 &quot;A String&quot;,
3557 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003558 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003559 &quot;A String&quot;,
3560 ],
3561 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003562 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003563 &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.
3564 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003565 &quot;A String&quot;,
3566 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003567 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
3568 &quot;A String&quot;,
3569 ],
3570 },
3571 },
3572 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
3573 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003574 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3575 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003576 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003577 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003578 &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003579 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003580 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003581 &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.
3582 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3583 &quot;A String&quot;,
3584 ],
3585 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3586 &quot;A String&quot;,
3587 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003588 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003589 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
3590 &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.
3591 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3592 &quot;A String&quot;,
3593 ],
3594 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3595 &quot;A String&quot;,
3596 ],
3597 },
3598 &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.
3599 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3600 &quot;A String&quot;,
3601 ],
3602 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3603 &quot;A String&quot;,
3604 ],
3605 },
3606 },
3607 },
3608 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3609 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
3610 &quot;A String&quot;,
3611 ],
3612 &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.
3613 &quot;A String&quot;,
3614 ],
3615 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003616 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003617 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
3618 { # 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.
3619 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
3620 { # A polymorphic targeting value used as part of Shared Targeting.
3621 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3622 &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).
3623 &quot;A String&quot;,
3624 ],
3625 &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
3626 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3627 &quot;height&quot;: 42, # The height of the creative.
3628 &quot;width&quot;: 42, # The width of the creative
3629 },
3630 ],
3631 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3632 &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.
3633 &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
3634 &quot;height&quot;: 42, # The height of the creative.
3635 &quot;width&quot;: 42, # The width of the creative
3636 },
3637 &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.
3638 },
3639 &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.
3640 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3641 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3642 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3643 &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.
3644 &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.
3645 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3646 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3647 &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.
3648 },
3649 &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.
3650 &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.
3651 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3652 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3653 &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.
3654 },
3655 },
3656 ],
3657 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3658 },
3659 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3660 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3661 },
3662 ],
3663 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
3664 { # A polymorphic targeting value used as part of Shared Targeting.
3665 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
3666 &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).
3667 &quot;A String&quot;,
3668 ],
3669 &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
3670 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
3671 &quot;height&quot;: 42, # The height of the creative.
3672 &quot;width&quot;: 42, # The width of the creative
3673 },
3674 ],
3675 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
3676 &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.
3677 &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
3678 &quot;height&quot;: 42, # The height of the creative.
3679 &quot;width&quot;: 42, # The width of the creative
3680 },
3681 &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.
3682 },
3683 &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.
3684 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
3685 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
3686 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
3687 &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.
3688 &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.
3689 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3690 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3691 &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.
3692 },
3693 &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.
3694 &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.
3695 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
3696 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
3697 &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.
3698 },
3699 },
3700 ],
3701 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
3702 },
3703 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
3704 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
3705 },
3706 ],
3707 &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.
3708 },
3709 ],
3710 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
3711 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
3712 },
3713 ],
3714 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
3715 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
3716 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
3717 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
3718 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
3719 { # A proposal may be associated to several notes.
3720 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
3721 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
3722 &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.
3723 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
3724 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
3725 },
3726 ],
3727 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
3728 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
3729 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
3730 &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.
3731 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
3732 &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.
3733 &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.
3734 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
3735 },
3736 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
3737 { # Contains information on how a buyer or seller can be reached.
3738 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3739 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3740 },
3741 ],
3742 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
3743}</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003744</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 Bot0bf565c2020-12-09 08:56:03 -08003757 &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.
3758 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3759 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003760 &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.
3761 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3762 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003763 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
3764 { # Contains information on how a buyer or seller can be reached.
3765 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3766 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3767 },
3768 ],
3769 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
3770 &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).
3771 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003772 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
3773 { # 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 Botcc94ec82021-01-15 07:10:04 -08003774 &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.
3775 &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.
3776 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
3777 &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).
3778 },
3779 &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.
3780 &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.
3781 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
3782 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
3783 &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.
3784 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
3785 &quot;creativeSpecifications&quot;: [
3786 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
3787 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
3788 { # Represents size of a single ad slot, or a creative.
3789 &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`.
3790 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3791 &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`.
3792 },
3793 ],
3794 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
3795 &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`.
3796 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3797 &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`.
3798 },
3799 },
3800 ],
3801 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
3802 },
3803 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
3804 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003805 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
3806 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003807 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003808 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
3809 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
3810 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
3811 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003812 },
3813 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003814 &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.
3815 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
3816 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
3817 &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.
3818 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3819 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3820 &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.
3821 &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.
3822 },
3823 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003824 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003825 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
3826 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
3827 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3828 { # 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.
3829 &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.
3830 &quot;A String&quot;,
3831 ],
3832 &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).
3833 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3834 },
3835 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3836 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3837 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3838 &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.
3839 &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.
3840 },
3841 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3842 },
3843 },
3844 ],
3845 &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.
3846 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
3847 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
3848 },
3849 &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.
3850 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
3851 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
3852 { # 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.
3853 &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.
3854 &quot;A String&quot;,
3855 ],
3856 &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).
3857 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3858 },
3859 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3860 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3861 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3862 &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.
3863 &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.
3864 },
3865 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3866 },
3867 },
3868 ],
3869 },
3870 &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.
3871 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
3872 { # 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.
3873 &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.
3874 &quot;A String&quot;,
3875 ],
3876 &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).
3877 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
3878 },
3879 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
3880 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
3881 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
3882 &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.
3883 &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.
3884 },
3885 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
3886 },
3887 },
3888 ],
3889 },
3890 &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.
3891 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003892 &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.
3893 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
3894 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
3895 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
3896 { # Frequency cap.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003897 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
3898 &quot;numTimeUnits&quot;: 42, # The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003899 &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 Bot0bf565c2020-12-09 08:56:03 -08003900 },
3901 ],
3902 },
3903 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003904 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
3905 &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.
3906 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
3907 &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.
3908 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
3909 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
3910 { # Contains information on how a buyer or seller can be reached.
3911 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
3912 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
3913 },
3914 ],
3915 &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.
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.
3917 &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.
3918 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3919 &quot;A String&quot;,
3920 ],
3921 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3922 &quot;A String&quot;,
3923 ],
3924 },
3925 &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.
3926 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
3927 { # Represents size of a single ad slot, or a creative.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003928 &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`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003929 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003930 &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`.
3931 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003932 ],
3933 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
3934 { # Represents size of a single ad slot, or a creative.
3935 &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`.
3936 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
3937 &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 Bot0bf565c2020-12-09 08:56:03 -08003938 },
3939 ],
3940 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003941 &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.
3942 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
3943 &quot;firstPartyTargeting&quot;: { # Represents a list of targeted and excluded mobile application IDs that publishers own. Mobile application IDs are from App Store and Google Play Store. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded. # Publisher owned apps to be targeted or excluded by the publisher to display the ads in.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003944 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
3945 &quot;A String&quot;,
3946 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003947 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
3948 &quot;A String&quot;,
3949 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003950 },
3951 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003952 &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.
3953 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
3954 &quot;A String&quot;,
3955 ],
3956 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
3957 &quot;A String&quot;,
3958 ],
3959 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003960 },
3961 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
3962 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003963 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3964 &quot;A String&quot;,
3965 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003966 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003967 &quot;A String&quot;,
3968 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003969 },
3970 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003971 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3972 &quot;A String&quot;,
3973 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003974 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3975 &quot;A String&quot;,
3976 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003977 },
3978 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003979 &quot;operatingSystemCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating systems to be included/excluded.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003980 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3981 &quot;A String&quot;,
3982 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003983 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3984 &quot;A String&quot;,
3985 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003986 },
3987 &quot;operatingSystemVersionCriteria&quot;: { # Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. # IDs of operating system versions to be included/excluded.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003988 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
3989 &quot;A String&quot;,
3990 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003991 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
3992 &quot;A String&quot;,
3993 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003994 },
3995 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003996 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003997 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
3998 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
3999 &quot;A String&quot;,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004000 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08004001 &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.
4002 &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004003 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004004 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004005 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004006 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
4007 { # 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.
4008 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
4009 { # A polymorphic targeting value used as part of Shared Targeting.
4010 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
4011 &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).
4012 &quot;A String&quot;,
4013 ],
4014 &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
4015 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
4016 &quot;height&quot;: 42, # The height of the creative.
4017 &quot;width&quot;: 42, # The width of the creative
4018 },
4019 ],
4020 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4021 &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.
4022 &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
4023 &quot;height&quot;: 42, # The height of the creative.
4024 &quot;width&quot;: 42, # The width of the creative
4025 },
4026 &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.
4027 },
4028 &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.
4029 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4030 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
4031 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
4032 &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.
4033 &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.
4034 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4035 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4036 &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.
4037 },
4038 &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.
4039 &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.
4040 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4041 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4042 &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.
4043 },
4044 },
4045 ],
4046 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4047 },
4048 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4049 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
4050 },
4051 ],
4052 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
4053 { # A polymorphic targeting value used as part of Shared Targeting.
4054 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
4055 &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).
4056 &quot;A String&quot;,
4057 ],
4058 &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
4059 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
4060 &quot;height&quot;: 42, # The height of the creative.
4061 &quot;width&quot;: 42, # The width of the creative
4062 },
4063 ],
4064 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4065 &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.
4066 &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
4067 &quot;height&quot;: 42, # The height of the creative.
4068 &quot;width&quot;: 42, # The width of the creative
4069 },
4070 &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.
4071 },
4072 &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.
4073 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4074 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
4075 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
4076 &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.
4077 &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.
4078 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4079 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4080 &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.
4081 },
4082 &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.
4083 &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.
4084 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4085 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4086 &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.
4087 },
4088 },
4089 ],
4090 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4091 },
4092 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4093 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
4094 },
4095 ],
4096 &quot;key&quot;: &quot;A String&quot;, # The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08004097 },
4098 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004099 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08004100 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004101 },
4102 ],
4103 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
4104 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
4105 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
4106 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
4107 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
4108 { # A proposal may be associated to several notes.
4109 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
4110 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
4111 &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.
4112 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
4113 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
4114 },
4115 ],
4116 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
4117 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
4118 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
4119 &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.
4120 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
4121 &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.
4122 &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.
4123 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
4124 },
4125 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
4126 { # Contains information on how a buyer or seller can be reached.
4127 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4128 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004129 },
4130 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08004131 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
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 Botcc94ec82021-01-15 07:10:04 -08004143 &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.
4144 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4145 },
4146 &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.
4147 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4148 },
4149 &quot;buyerContacts&quot;: [ # Contact information for the buyer.
4150 { # Contains information on how a buyer or seller can be reached.
4151 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4152 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004153 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004154 ],
4155 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Private data for buyer. (hidden from seller).
4156 &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).
4157 },
4158 &quot;deals&quot;: [ # The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.
4159 { # 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.
4160 &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.
4161 &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.
4162 &quot;buyerPrivateData&quot;: { # Buyers are allowed to store certain types of private data in a proposal/deal. # Buyer private data (hidden from seller).
4163 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08004164 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004165 &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.
4166 &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.
4167 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the deal creation.
4168 &quot;creativePreApprovalPolicy&quot;: &quot;A String&quot;, # Output only. Specifies the creative pre-approval policy.
4169 &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.
4170 &quot;creativeFormat&quot;: &quot;A String&quot;, # The format of the environment that the creatives will be displayed in.
4171 &quot;creativeSpecifications&quot;: [
4172 { # Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.
4173 &quot;creativeCompanionSizes&quot;: [ # Companion sizes may be filled in only when this is a video creative.
4174 { # Represents size of a single ad slot, or a creative.
4175 &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`.
4176 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4177 &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 Botb6971b02020-11-26 17:16:03 -08004178 },
4179 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004180 &quot;creativeSize&quot;: { # Represents size of a single ad slot, or a creative. # The size of the creative.
4181 &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`.
4182 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4183 &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`.
4184 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07004185 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004186 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004187 &quot;skippableAdType&quot;: &quot;A String&quot;, # Skippable video ads allow viewers to skip ads after 5 seconds.
4188 },
4189 &quot;creativeSafeFrameCompatibility&quot;: &quot;A String&quot;, # Output only. Specifies whether the creative is safeFrame compatible.
4190 &quot;dealId&quot;: &quot;A String&quot;, # Output only. A unique deal ID for the deal (server-assigned).
4191 &quot;dealServingMetadata&quot;: { # Message captures metadata about the serving status of a deal. # Output only. Metadata about the serving status of this deal.
4192 &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.
4193 &quot;buyerPauseReason&quot;: &quot;A String&quot;, # The buyer&#x27;s reason for pausing, if the buyer paused the deal.
4194 &quot;firstPausedBy&quot;: &quot;A String&quot;, # The role of the person who first paused this deal.
4195 &quot;hasBuyerPaused&quot;: True or False, # True, if the buyer has paused the deal unilaterally.
4196 &quot;hasSellerPaused&quot;: True or False, # True, if the seller has paused the deal unilaterally.
4197 &quot;sellerPauseReason&quot;: &quot;A String&quot;, # The seller&#x27;s reason for pausing, if the seller paused the deal.
4198 },
4199 },
4200 &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.
4201 &quot;brandingType&quot;: &quot;A String&quot;, # Visibility of the URL in bid requests. (default: BRANDED)
4202 &quot;description&quot;: &quot;A String&quot;, # Publisher provided description for the terms.
4203 &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.
4204 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4205 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4206 &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.
4207 &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.
4208 },
4209 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4210 },
4211 &quot;estimatedImpressionsPerDay&quot;: &quot;A String&quot;, # Non-binding estimate of the impressions served per day. Can be set by buyer or seller.
4212 &quot;guaranteedFixedPriceTerms&quot;: { # Terms for Programmatic Guaranteed Deals. # The terms for guaranteed fixed price deals.
4213 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4214 { # 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.
4215 &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.
4216 &quot;A String&quot;,
4217 ],
4218 &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).
4219 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4220 },
4221 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4222 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4223 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4224 &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.
4225 &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.
4226 },
4227 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4228 },
4229 },
4230 ],
4231 &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.
4232 &quot;guaranteedLooks&quot;: &quot;A String&quot;, # Count of guaranteed looks. Required for deal, optional for product.
4233 &quot;minimumDailyLooks&quot;: &quot;A String&quot;, # Daily minimum looks for CPD deal types.
4234 },
4235 &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.
4236 &quot;autoOptimizePrivateAuction&quot;: True or False, # True if open auction buyers are allowed to compete with invited buyers in this private auction.
4237 &quot;reservePricesPerBuyer&quot;: [ # Reserve price for the specified buyer.
4238 { # 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.
4239 &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.
4240 &quot;A String&quot;,
4241 ],
4242 &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).
4243 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4244 },
4245 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4246 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4247 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4248 &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.
4249 &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.
4250 },
4251 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4252 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08004253 },
4254 ],
4255 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004256 &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.
4257 &quot;fixedPrices&quot;: [ # Fixed price for the specified buyer.
4258 { # 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.
4259 &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.
4260 &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004261 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004262 &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).
4263 &quot;accountId&quot;: &quot;A String&quot;, # Authorized Buyers account ID of the buyer.
4264 },
4265 &quot;price&quot;: { # Represents a price and a pricing type for a product / deal. # The specified price.
4266 &quot;amount&quot;: { # Represents an amount of money with its currency type. # The actual price with currency specified.
4267 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
4268 &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.
4269 &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.
4270 },
4271 &quot;pricingType&quot;: &quot;A String&quot;, # The pricing type for the deal/product. (default: CPM)
4272 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004273 },
4274 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004275 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004276 &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.
4277 },
4278 &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.
4279 &quot;creativeBlockingLevel&quot;: &quot;A String&quot;, # Output only. Specified the creative blocking levels to be applied.
4280 &quot;deliveryRateType&quot;: &quot;A String&quot;, # Output only. Specifies how the impression delivery will be paced.
4281 &quot;frequencyCaps&quot;: [ # Output only. Specifies any frequency caps.
4282 { # Frequency cap.
4283 &quot;maxImpressions&quot;: 42, # The maximum number of impressions that can be served to a user within the specified time period.
4284 &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.
4285 &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 Bot0bf565c2020-12-09 08:56:03 -08004286 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004287 ],
4288 },
4289 &quot;description&quot;: &quot;A String&quot;, # Description for the deal terms.
4290 &quot;displayName&quot;: &quot;A String&quot;, # The name of the deal.
4291 &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.
4292 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this deal.
4293 &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.
4294 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. ID of the proposal that this deal is part of.
4295 &quot;sellerContacts&quot;: [ # Output only. Seller contact information for the deal.
4296 { # Contains information on how a buyer or seller can be reached.
4297 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4298 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08004299 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004300 ],
4301 &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.
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.
4303 &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.
4304 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4305 &quot;A String&quot;,
4306 ],
4307 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4308 &quot;A String&quot;,
4309 ],
4310 },
4311 &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.
4312 &quot;excludedInventorySizes&quot;: [ # A list of inventory sizes to be excluded.
4313 { # Represents size of a single ad slot, or a creative.
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.
4316 &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 Bot0bf565c2020-12-09 08:56:03 -08004317 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004318 ],
4319 &quot;targetedInventorySizes&quot;: [ # A list of inventory sizes to be included.
4320 { # Represents size of a single ad slot, or a creative.
4321 &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`.
4322 &quot;sizeType&quot;: &quot;A String&quot;, # The size type of the ad slot.
4323 &quot;width&quot;: &quot;A String&quot;, # The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004324 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004325 ],
4326 },
4327 &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.
4328 &quot;mobileApplicationTargeting&quot;: { # Mobile application targeting settings. # Mobile application targeting information in a deal. This doesn&#x27;t apply to Auction Packages.
4329 &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.
4330 &quot;excludedAppIds&quot;: [ # A list of application IDs to be excluded.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004331 &quot;A String&quot;,
4332 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004333 &quot;targetedAppIds&quot;: [ # A list of application IDs to be included.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08004334 &quot;A String&quot;,
4335 ],
4336 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004337 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004338 &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.
4339 &quot;excludedUrls&quot;: [ # A list of URLs to be excluded.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08004340 &quot;A String&quot;,
4341 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004342 &quot;targetedUrls&quot;: [ # A list of URLs to be included.
4343 &quot;A String&quot;,
4344 ],
4345 },
4346 },
4347 &quot;technologyTargeting&quot;: { # Represents targeting about various types of technology. # Technology targeting information, e.g., operating system, device category.
4348 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08004349 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4350 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07004351 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004352 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08004353 &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08004354 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08004355 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004356 &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.
4357 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4358 &quot;A String&quot;,
4359 ],
4360 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4361 &quot;A String&quot;,
4362 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08004363 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004364 &quot;operatingSystemTargeting&quot;: { # Represents targeting information for operating systems. # Operating system related targeting information.
4365 &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.
4366 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4367 &quot;A String&quot;,
4368 ],
4369 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4370 &quot;A String&quot;,
4371 ],
4372 },
4373 &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.
4374 &quot;excludedCriteriaIds&quot;: [ # A list of numeric IDs to be excluded.
4375 &quot;A String&quot;,
4376 ],
4377 &quot;targetedCriteriaIds&quot;: [ # A list of numeric IDs to be included.
4378 &quot;A String&quot;,
4379 ],
4380 },
4381 },
4382 },
4383 &quot;videoTargeting&quot;: { # Represents targeting information about video. # Video targeting information.
4384 &quot;excludedPositionTypes&quot;: [ # A list of video positions to be excluded. Position types can either be included or excluded (XOR).
4385 &quot;A String&quot;,
4386 ],
4387 &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.
4388 &quot;A String&quot;,
4389 ],
4390 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07004391 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08004392 &quot;targetingCriterion&quot;: [ # The shared targeting visible to buyers and sellers. Each shared targeting entity is AND&#x27;d together.
4393 { # 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.
4394 &quot;exclusions&quot;: [ # The list of values to exclude from targeting. Each value is AND&#x27;d together.
4395 { # A polymorphic targeting value used as part of Shared Targeting.
4396 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
4397 &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).
4398 &quot;A String&quot;,
4399 ],
4400 &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
4401 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
4402 &quot;height&quot;: 42, # The height of the creative.
4403 &quot;width&quot;: 42, # The width of the creative
4404 },
4405 ],
4406 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4407 &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.
4408 &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
4409 &quot;height&quot;: 42, # The height of the creative.
4410 &quot;width&quot;: 42, # The width of the creative
4411 },
4412 &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.
4413 },
4414 &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.
4415 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4416 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
4417 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
4418 &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.
4419 &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.
4420 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4421 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4422 &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.
4423 },
4424 &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.
4425 &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.
4426 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4427 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4428 &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.
4429 },
4430 },
4431 ],
4432 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4433 },
4434 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4435 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
4436 },
4437 ],
4438 &quot;inclusions&quot;: [ # The list of value to include as part of the targeting. Each value is OR&#x27;d together.
4439 { # A polymorphic targeting value used as part of Shared Targeting.
4440 &quot;creativeSizeValue&quot;: { # Specifies the size of the creative. # The creative size value to include/exclude. Filled in when key = GOOG_CREATIVE_SIZE
4441 &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).
4442 &quot;A String&quot;,
4443 ],
4444 &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
4445 { # Message depicting the size of the creative. The units of width and height depend on the type of the targeting.
4446 &quot;height&quot;: 42, # The height of the creative.
4447 &quot;width&quot;: 42, # The width of the creative
4448 },
4449 ],
4450 &quot;creativeSizeType&quot;: &quot;A String&quot;, # The creative size type.
4451 &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.
4452 &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
4453 &quot;height&quot;: 42, # The height of the creative.
4454 &quot;width&quot;: 42, # The width of the creative
4455 },
4456 &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.
4457 },
4458 &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.
4459 &quot;dayParts&quot;: [ # A list of day part targeting criterion.
4460 { # Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.
4461 &quot;dayOfWeek&quot;: &quot;A String&quot;, # The day of the week to target. If unspecified, applicable to all days.
4462 &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.
4463 &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.
4464 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4465 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4466 &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.
4467 },
4468 &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.
4469 &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.
4470 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
4471 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4472 &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.
4473 },
4474 },
4475 ],
4476 &quot;timeZoneType&quot;: &quot;A String&quot;, # The timezone to use for interpreting the day part targeting.
4477 },
4478 &quot;longValue&quot;: &quot;A String&quot;, # The long value to include/exclude.
4479 &quot;stringValue&quot;: &quot;A String&quot;, # The string value to include/exclude.
4480 },
4481 ],
4482 &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.
4483 },
4484 ],
4485 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the deal was last updated.
4486 &quot;webPropertyCode&quot;: &quot;A String&quot;, # The web property code for the seller copied over from the product.
4487 },
4488 ],
4489 &quot;displayName&quot;: &quot;A String&quot;, # The name for the proposal.
4490 &quot;isRenegotiating&quot;: True or False, # Output only. True if the proposal is being renegotiated.
4491 &quot;isSetupComplete&quot;: True or False, # Output only. True, if the buyside inventory setup is complete for this proposal.
4492 &quot;lastUpdaterOrCommentorRole&quot;: &quot;A String&quot;, # Output only. The role of the last user that either updated the proposal or left a comment.
4493 &quot;notes&quot;: [ # Output only. The notes associated with this proposal.
4494 { # A proposal may be associated to several notes.
4495 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when this note was created.
4496 &quot;creatorRole&quot;: &quot;A String&quot;, # Output only. The role of the person (buyer/seller) creating the note.
4497 &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.
4498 &quot;noteId&quot;: &quot;A String&quot;, # Output only. The unique ID for the note.
4499 &quot;proposalRevision&quot;: &quot;A String&quot;, # Output only. The revision number of the proposal when the note is created.
4500 },
4501 ],
4502 &quot;originatorRole&quot;: &quot;A String&quot;, # Output only. Indicates whether the buyer/seller created the proposal.
4503 &quot;privateAuctionId&quot;: &quot;A String&quot;, # Output only. Private auction ID if this proposal is a private auction proposal.
4504 &quot;proposalId&quot;: &quot;A String&quot;, # Output only. The unique ID of the proposal.
4505 &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.
4506 &quot;proposalState&quot;: &quot;A String&quot;, # Output only. The current state of the proposal.
4507 &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.
4508 &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.
4509 &quot;subAccountId&quot;: &quot;A String&quot;, # Optional sub-account ID for the seller.
4510 },
4511 &quot;sellerContacts&quot;: [ # Output only. Contact information for the seller.
4512 { # Contains information on how a buyer or seller can be reached.
4513 &quot;email&quot;: &quot;A String&quot;, # Email address for the contact.
4514 &quot;name&quot;: &quot;A String&quot;, # The name of the contact.
4515 },
4516 ],
4517 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the proposal was last revised.
4518}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004519</div>
4520
4521</body></html>