blob: fac1f39fecdc4e889a4ee91e874c26c664200dd5 [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -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
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070075<h1><a href="dfareporting_v3_4.html">Campaign Manager 360 API</a> . <a href="dfareporting_v3_4.orders.html">orders</a></h1>
Bu Sun Kim65020912020-05-20 12:08:20 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81 <code><a href="#get">get(profileId, projectId, id, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070082<p class="firstline">Gets one order by ID.</p>
83<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070084 <code><a href="#list">list(profileId, projectId, maxResults=None, sortField=None, sortOrder=None, searchString=None, ids=None, pageToken=None, siteId=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070085<p class="firstline">Retrieves a list of orders, possibly filtered. This method supports paging.</p>
86<p class="toc_element">
87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<h3>Method Details</h3>
90<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070091 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93</div>
94
95<div class="method">
96 <code class="details" id="get">get(profileId, projectId, id, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -070097 <pre>Gets one order by ID.
98
99Args:
100 profileId: string, User profile ID associated with this request. (required)
101 projectId: string, Project ID for orders. (required)
102 id: string, Order ID. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700103 x__xgafv: string, V1 error format.
104 Allowed values
105 1 - v1 error format
106 2 - v2 error format
Bu Sun Kim65020912020-05-20 12:08:20 -0700107
108Returns:
109 An object of the form:
110
111 { # Describes properties of a Planning order.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700112 &quot;planningTermId&quot;: &quot;A String&quot;, # ID of the terms and conditions template used in this order.
Bu Sun Kim65020912020-05-20 12:08:20 -0700113 &quot;buyerInvoiceId&quot;: &quot;A String&quot;, # Buyer invoice ID associated with this order.
Bu Sun Kim65020912020-05-20 12:08:20 -0700114 &quot;termsAndConditions&quot;: &quot;A String&quot;, # Terms and conditions of this order.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700115 &quot;projectId&quot;: &quot;A String&quot;, # Project ID of this order.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700116 &quot;siteId&quot;: [ # Site IDs this order is associated with.
117 &quot;A String&quot;,
118 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700119 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this order.
120 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
121 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700122 &quot;approverUserProfileIds&quot;: [ # IDs for users that have to approve documents created for this order.
123 &quot;A String&quot;,
124 ],
125 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#order&quot;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700126 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this order.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700127 &quot;buyerOrganizationName&quot;: &quot;A String&quot;, # Name of the buyer organization.
128 &quot;name&quot;: &quot;A String&quot;, # Name of this order.
129 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this order.
130 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this order.
131 &quot;sellerOrganizationName&quot;: &quot;A String&quot;, # Name of the seller organization.
132 &quot;contacts&quot;: [ # Contacts for this order.
133 { # Contact of an order.
134 &quot;contactName&quot;: &quot;A String&quot;, # Name of this contact.
135 &quot;contactType&quot;: &quot;A String&quot;, # Type of this contact.
136 &quot;signatureUserProfileId&quot;: &quot;A String&quot;, # ID of the user profile containing the signature that will be embedded into order documents.
137 &quot;contactInfo&quot;: &quot;A String&quot;, # Free-form information about this contact. It could be any information related to this contact in addition to type, title, name, and signature user profile ID.
138 &quot;contactTitle&quot;: &quot;A String&quot;, # Title of this contact.
139 },
140 ],
141 &quot;id&quot;: &quot;A String&quot;, # ID of this order. This is a read-only, auto-generated field.
142 &quot;sellerOrderId&quot;: &quot;A String&quot;, # Seller order ID associated with this order.
143 &quot;comments&quot;: &quot;A String&quot;, # Comments in this order.
144 &quot;notes&quot;: &quot;A String&quot;, # Notes of this order.
145 &quot;siteNames&quot;: [ # Free-form site names this order is associated with.
146 &quot;A String&quot;,
147 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700148 }</pre>
149</div>
150
151<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700152 <code class="details" id="list">list(profileId, projectId, maxResults=None, sortField=None, sortOrder=None, searchString=None, ids=None, pageToken=None, siteId=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700153 <pre>Retrieves a list of orders, possibly filtered. This method supports paging.
154
155Args:
156 profileId: string, User profile ID associated with this request. (required)
157 projectId: string, Project ID for orders. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700158 maxResults: integer, Maximum number of results to return.
Bu Sun Kim65020912020-05-20 12:08:20 -0700159 sortField: string, Field by which to sort the list.
160 Allowed values
161 ID -
162 NAME -
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700163 sortOrder: string, Order of sorted results.
164 Allowed values
165 ASCENDING -
166 DESCENDING -
167 searchString: string, Allows searching for orders by name or ID. Wildcards (*) are allowed. For example, &quot;order*2015&quot; will return orders with names like &quot;order June 2015&quot;, &quot;order April 2015&quot;, or simply &quot;order 2015&quot;. Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of &quot;order&quot; will match orders with name &quot;my order&quot;, &quot;order 2015&quot;, or simply &quot;order&quot;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700168 ids: string, Select only orders with these IDs. (repeated)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700169 pageToken: string, Value of the nextPageToken from the previous result page.
170 siteId: string, Select only orders that are associated with these site IDs. (repeated)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700171 x__xgafv: string, V1 error format.
Bu Sun Kim65020912020-05-20 12:08:20 -0700172 Allowed values
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700173 1 - v1 error format
174 2 - v2 error format
Bu Sun Kim65020912020-05-20 12:08:20 -0700175
176Returns:
177 An object of the form:
178
179 { # Order List Response
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700180 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#ordersListResponse&quot;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700181 &quot;orders&quot;: [ # Order collection.
182 { # Describes properties of a Planning order.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700183 &quot;planningTermId&quot;: &quot;A String&quot;, # ID of the terms and conditions template used in this order.
Bu Sun Kim65020912020-05-20 12:08:20 -0700184 &quot;buyerInvoiceId&quot;: &quot;A String&quot;, # Buyer invoice ID associated with this order.
Bu Sun Kim65020912020-05-20 12:08:20 -0700185 &quot;termsAndConditions&quot;: &quot;A String&quot;, # Terms and conditions of this order.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700186 &quot;projectId&quot;: &quot;A String&quot;, # Project ID of this order.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700187 &quot;siteId&quot;: [ # Site IDs this order is associated with.
188 &quot;A String&quot;,
189 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700190 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this order.
191 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
192 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700193 &quot;approverUserProfileIds&quot;: [ # IDs for users that have to approve documents created for this order.
194 &quot;A String&quot;,
195 ],
196 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#order&quot;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700197 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this order.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700198 &quot;buyerOrganizationName&quot;: &quot;A String&quot;, # Name of the buyer organization.
199 &quot;name&quot;: &quot;A String&quot;, # Name of this order.
200 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this order.
201 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this order.
202 &quot;sellerOrganizationName&quot;: &quot;A String&quot;, # Name of the seller organization.
203 &quot;contacts&quot;: [ # Contacts for this order.
204 { # Contact of an order.
205 &quot;contactName&quot;: &quot;A String&quot;, # Name of this contact.
206 &quot;contactType&quot;: &quot;A String&quot;, # Type of this contact.
207 &quot;signatureUserProfileId&quot;: &quot;A String&quot;, # ID of the user profile containing the signature that will be embedded into order documents.
208 &quot;contactInfo&quot;: &quot;A String&quot;, # Free-form information about this contact. It could be any information related to this contact in addition to type, title, name, and signature user profile ID.
209 &quot;contactTitle&quot;: &quot;A String&quot;, # Title of this contact.
210 },
211 ],
212 &quot;id&quot;: &quot;A String&quot;, # ID of this order. This is a read-only, auto-generated field.
213 &quot;sellerOrderId&quot;: &quot;A String&quot;, # Seller order ID associated with this order.
214 &quot;comments&quot;: &quot;A String&quot;, # Comments in this order.
215 &quot;notes&quot;: &quot;A String&quot;, # Notes of this order.
216 &quot;siteNames&quot;: [ # Free-form site names this order is associated with.
217 &quot;A String&quot;,
218 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700219 },
220 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700221 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to be used for the next list operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700222 }</pre>
223</div>
224
225<div class="method">
226 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
227 <pre>Retrieves the next page of results.
228
229Args:
230 previous_request: The request for the previous page. (required)
231 previous_response: The response from the request for the previous page. (required)
232
233Returns:
234 A request object that you can call &#x27;execute()&#x27; on to request the next
235 page. Returns None if there are no more items in the collection.
236 </pre>
237</div>
238
239</body></html>