Debian Codegraph @

docs/dyn/doubleclickbidmanager_v2.queries.reports.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="doubleclickbidmanager_v2.html">DoubleClick Bid Manager API</a> . <a href="doubleclickbidmanager_v2.queries.html">queries</a> . <a href="doubleclickbidmanager_v2.queries.reports.html">reports</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <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(queryId, reportId, x__xgafv=None)</a></code></p>
82 <p class="firstline">Retrieves a report.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(queryId, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Lists reports generated by the provided query.</p>
86 <p class="toc_element">
87 <code><a href="#list_next">list_next()</a></code></p>
88 <p class="firstline">Retrieves the next page of results.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <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(queryId, reportId, x__xgafv=None)</code>
97 <pre>Retrieves a report.
98
99 Args:
100 queryId: string, Required. The ID of the query that generated the report. (required)
101 reportId: string, Required. The ID of the query to retrieve. (required)
102 x__xgafv: string, V1 error format.
103 Allowed values
104 1 - v1 error format
105 2 - v2 error format
106
107 Returns:
108 An object of the form:
109
110 { # A single report generated by its parent report.
111 &quot;key&quot;: { # Identifying information of a report. # The key information identifying the report.
112 &quot;queryId&quot;: &quot;A String&quot;, # Output only. The unique ID of the query that generated the report.
113 &quot;reportId&quot;: &quot;A String&quot;, # Output only. The unique ID of the report.
114 },
115 &quot;metadata&quot;: { # The metadata of a report. # The metadata of the report.
116 &quot;googleCloudStoragePath&quot;: &quot;A String&quot;, # Output only. The location of the generated report file in Google Cloud Storage. This field will be absent if status.state is not `DONE`.
117 &quot;reportDataEndDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The end date of the report data date range.
118 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
119 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
120 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
121 },
122 &quot;reportDataStartDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The start date of the report data date range.
123 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
124 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
125 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
126 },
127 &quot;status&quot;: { # The status of a report. # The status of the report.
128 &quot;finishTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when report generation finished successfully or in failure. This field will not be set unless state is `DONE` or `FAILED`.
129 &quot;format&quot;: &quot;A String&quot;, # The format of the generated report file.
130 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the report generation.
131 },
132 },
133 &quot;params&quot;: { # Parameters of a generated report. # The parameters of the report.
134 &quot;filters&quot;: [ # Filters to limit the scope of reported data.
135 { # Represents a single filter rule.
136 &quot;type&quot;: &quot;A String&quot;, # The type of value to filter by. Defined by a [Filter](/bid-manager/reference/rest/v2/filters-metrics#filters) value.
137 &quot;value&quot;: &quot;A String&quot;, # The identifying value to filter by, such as a relevant resource ID.
138 },
139 ],
140 &quot;groupBys&quot;: [ # Dimensions by which to segment and group the data. Defined by [Filter](/bid-manager/reference/rest/v2/filters-metrics#filters) values.
141 &quot;A String&quot;,
142 ],
143 &quot;metrics&quot;: [ # Metrics to define the data populating the report. Defined by [Metric](/bid-manager/reference/rest/v2/filters-metrics#metrics) values.
144 &quot;A String&quot;,
145 ],
146 &quot;options&quot;: { # Report parameter options. # Additional report parameter options.
147 &quot;includeOnlyTargetedUserLists&quot;: True or False, # Whether to include data for audience lists specifically targeted by filtered line items or insertion orders. Requires the use of `FILTER_INSERTION_ORDER` or `FILTER_LINE_ITEM` filters.
148 },
149 &quot;type&quot;: &quot;A String&quot;, # The type of the report. The type of the report determines the dimesions, filters, and metrics that can be used.
150 },
151 }</pre>
152 </div>
153
154 <div class="method">
155 <code class="details" id="list">list(queryId, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
156 <pre>Lists reports generated by the provided query.
157
158 Args:
159 queryId: string, Required. The ID of the query that generated the reports. (required)
160 orderBy: string, Field to sort the list by. Accepts the following values: * `key.reportId` (default) The default sorting order is ascending. To specify descending order for a field, add the suffix `desc` to the field name. For example, `key.reportId desc`.
161 pageSize: integer, Maximum number of results per page. Must be between `1` and `100`. Defaults to `100` if unspecified.
162 pageToken: string, A token identifying which page of results the server should return. Typically, this is the value of nextPageToken returned from the previous call to the `queries.reports.list` method. If unspecified, the first page of results is returned.
163 x__xgafv: string, V1 error format.
164 Allowed values
165 1 - v1 error format
166 2 - v2 error format
167
168 Returns:
169 An object of the form:
170
171 {
172 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `queries.reports.list` method to retrieve the next page of results.
173 &quot;reports&quot;: [ # The list of reports. This field will be absent if empty.
174 { # A single report generated by its parent report.
175 &quot;key&quot;: { # Identifying information of a report. # The key information identifying the report.
176 &quot;queryId&quot;: &quot;A String&quot;, # Output only. The unique ID of the query that generated the report.
177 &quot;reportId&quot;: &quot;A String&quot;, # Output only. The unique ID of the report.
178 },
179 &quot;metadata&quot;: { # The metadata of a report. # The metadata of the report.
180 &quot;googleCloudStoragePath&quot;: &quot;A String&quot;, # Output only. The location of the generated report file in Google Cloud Storage. This field will be absent if status.state is not `DONE`.
181 &quot;reportDataEndDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The end date of the report data date range.
182 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
183 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
184 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
185 },
186 &quot;reportDataStartDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The start date of the report data date range.
187 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
188 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
189 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
190 },
191 &quot;status&quot;: { # The status of a report. # The status of the report.
192 &quot;finishTime&quot;: &quot;A String&quot;, # Output only. The timestamp of when report generation finished successfully or in failure. This field will not be set unless state is `DONE` or `FAILED`.
193 &quot;format&quot;: &quot;A String&quot;, # The format of the generated report file.
194 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the report generation.
195 },
196 },
197 &quot;params&quot;: { # Parameters of a generated report. # The parameters of the report.
198 &quot;filters&quot;: [ # Filters to limit the scope of reported data.
199 { # Represents a single filter rule.
200 &quot;type&quot;: &quot;A String&quot;, # The type of value to filter by. Defined by a [Filter](/bid-manager/reference/rest/v2/filters-metrics#filters) value.
201 &quot;value&quot;: &quot;A String&quot;, # The identifying value to filter by, such as a relevant resource ID.
202 },
203 ],
204 &quot;groupBys&quot;: [ # Dimensions by which to segment and group the data. Defined by [Filter](/bid-manager/reference/rest/v2/filters-metrics#filters) values.
205 &quot;A String&quot;,
206 ],
207 &quot;metrics&quot;: [ # Metrics to define the data populating the report. Defined by [Metric](/bid-manager/reference/rest/v2/filters-metrics#metrics) values.
208 &quot;A String&quot;,
209 ],
210 &quot;options&quot;: { # Report parameter options. # Additional report parameter options.
211 &quot;includeOnlyTargetedUserLists&quot;: True or False, # Whether to include data for audience lists specifically targeted by filtered line items or insertion orders. Requires the use of `FILTER_INSERTION_ORDER` or `FILTER_LINE_ITEM` filters.
212 },
213 &quot;type&quot;: &quot;A String&quot;, # The type of the report. The type of the report determines the dimesions, filters, and metrics that can be used.
214 },
215 },
216 ],
217 }</pre>
218 </div>
219
220 <div class="method">
221 <code class="details" id="list_next">list_next()</code>
222 <pre>Retrieves the next page of results.
223
224 Args:
225 previous_request: The request for the previous page. (required)
226 previous_response: The response from the request for the previous page. (required)
227
228 Returns:
229 A request object that you can call &#x27;execute()&#x27; on to request the next
230 page. Returns None if there are no more items in the collection.
231 </pre>
232 </div>
233
234 </body></html>