blob: 3d9802773940b111fbb25231741200971bd98c0f [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<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="doubleclickbidmanager_v1.html">DoubleClick Bid Manager API</a> . <a href="doubleclickbidmanager_v1.queries.html">queries</a></h1>
76<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="#createquery">createquery(body=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Creates a query.</p>
83<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070084 <code><a href="#deletequery">deletequery(queryId, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Deletes a stored query as well as the associated stored reports.</p>
86<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070087 <code><a href="#getquery">getquery(queryId, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Retrieves a stored query.</p>
89<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070090 <code><a href="#listqueries">listqueries(x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040091<p class="firstline">Retrieves stored queries.</p>
92<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070093 <code><a href="#runquery">runquery(queryId, body=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040094<p class="firstline">Runs a stored query to generate a report.</p>
95<h3>Method Details</h3>
96<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070097 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99</div>
100
101<div class="method">
102 <code class="details" id="createquery">createquery(body=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400103 <pre>Creates a query.
104
105Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700106 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400107 The object takes the form of:
108
109{ # Represents a query.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700110 &quot;reportDataEndTimeMs&quot;: &quot;A String&quot;, # The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700111 &quot;queryId&quot;: &quot;A String&quot;, # Query ID.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700112 &quot;metadata&quot;: { # Query metadata. # Query metadata.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700113 &quot;sendNotification&quot;: True or False, # Whether to send an email notification when a report is ready. Default to false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700114 &quot;latestReportRunTimeMs&quot;: &quot;A String&quot;, # The time when the latest report started to run.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700115 &quot;googleDrivePathForLatestReport&quot;: &quot;A String&quot;, # The path in Google Drive for the latest report.
116 &quot;dataRange&quot;: &quot;A String&quot;, # Range of report data.
117 &quot;title&quot;: &quot;A String&quot;, # Query title. It is used to name the reports generated from this query.
118 &quot;running&quot;: True or False, # Whether the latest report is currently running.
119 &quot;format&quot;: &quot;A String&quot;, # Format of the generated report.
120 &quot;googleCloudStoragePathForLatestReport&quot;: &quot;A String&quot;, # The path to the location in Google Cloud Storage where the latest report is stored.
121 &quot;locale&quot;: &quot;A String&quot;, # Locale of the generated reports. Valid values are cs CZECH de GERMAN en ENGLISH es SPANISH fr FRENCH it ITALIAN ja JAPANESE ko KOREAN pl POLISH pt-BR BRAZILIAN_PORTUGUESE ru RUSSIAN tr TURKISH uk UKRAINIAN zh-CN CHINA_CHINESE zh-TW TAIWAN_CHINESE An locale string not in the list above will generate reports in English.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700122 &quot;shareEmailAddress&quot;: [ # List of email addresses which are sent email notifications when the report is finished. Separate from sendNotification.
123 &quot;A String&quot;,
124 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700125 &quot;reportCount&quot;: 42, # Number of reports that have been generated for the query.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700126 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700127 &quot;reportDataStartTimeMs&quot;: &quot;A String&quot;, # The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise.
128 &quot;timezoneCode&quot;: &quot;A String&quot;, # Canonical timezone code for report data time. Defaults to America/New_York.
129 &quot;schedule&quot;: { # Information on how frequently and when to run a query. # Information on how often and when to run a query.
130 &quot;nextRunMinuteOfDay&quot;: 42, # Time of day at which a new report will be generated, represented as minutes past midnight. Range is 0 to 1439. Only applies to scheduled reports.
131 &quot;nextRunTimezoneCode&quot;: &quot;A String&quot;, # Canonical timezone code for report generation time. Defaults to America/New_York.
132 &quot;endTimeMs&quot;: &quot;A String&quot;, # Datetime to periodically run the query until.
133 &quot;frequency&quot;: &quot;A String&quot;, # How often the query is run.
134 },
135 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;doubleclickbidmanager#query&quot;.
136 &quot;params&quot;: { # Parameters of a query or report. # Query parameters.
137 &quot;filters&quot;: [ # Filters used to match traffic data in your report.
138 { # Filter used to match traffic data in your report.
139 &quot;value&quot;: &quot;A String&quot;, # Filter value.
140 &quot;type&quot;: &quot;A String&quot;, # Filter type.
141 },
142 ],
143 &quot;type&quot;: &quot;A String&quot;, # Report type.
144 &quot;groupBys&quot;: [ # Data is grouped by the filters listed in this field.
145 &quot;A String&quot;,
146 ],
147 &quot;includeInviteData&quot;: True or False, # Deprecated. This field is no longer in use.
148 &quot;metrics&quot;: [ # Metrics to include as columns in your report.
149 &quot;A String&quot;,
150 ],
151 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700152}
153
154 x__xgafv: string, V1 error format.
155 Allowed values
156 1 - v1 error format
157 2 - v2 error format
158
159Returns:
160 An object of the form:
161
162 { # Represents a query.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700163 &quot;reportDataEndTimeMs&quot;: &quot;A String&quot;, # The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700164 &quot;queryId&quot;: &quot;A String&quot;, # Query ID.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700165 &quot;metadata&quot;: { # Query metadata. # Query metadata.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700166 &quot;sendNotification&quot;: True or False, # Whether to send an email notification when a report is ready. Default to false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700167 &quot;latestReportRunTimeMs&quot;: &quot;A String&quot;, # The time when the latest report started to run.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700168 &quot;googleDrivePathForLatestReport&quot;: &quot;A String&quot;, # The path in Google Drive for the latest report.
169 &quot;dataRange&quot;: &quot;A String&quot;, # Range of report data.
170 &quot;title&quot;: &quot;A String&quot;, # Query title. It is used to name the reports generated from this query.
171 &quot;running&quot;: True or False, # Whether the latest report is currently running.
172 &quot;format&quot;: &quot;A String&quot;, # Format of the generated report.
173 &quot;googleCloudStoragePathForLatestReport&quot;: &quot;A String&quot;, # The path to the location in Google Cloud Storage where the latest report is stored.
174 &quot;locale&quot;: &quot;A String&quot;, # Locale of the generated reports. Valid values are cs CZECH de GERMAN en ENGLISH es SPANISH fr FRENCH it ITALIAN ja JAPANESE ko KOREAN pl POLISH pt-BR BRAZILIAN_PORTUGUESE ru RUSSIAN tr TURKISH uk UKRAINIAN zh-CN CHINA_CHINESE zh-TW TAIWAN_CHINESE An locale string not in the list above will generate reports in English.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700175 &quot;shareEmailAddress&quot;: [ # List of email addresses which are sent email notifications when the report is finished. Separate from sendNotification.
176 &quot;A String&quot;,
177 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700178 &quot;reportCount&quot;: 42, # Number of reports that have been generated for the query.
Bu Sun Kim65020912020-05-20 12:08:20 -0700179 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700180 &quot;reportDataStartTimeMs&quot;: &quot;A String&quot;, # The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise.
181 &quot;timezoneCode&quot;: &quot;A String&quot;, # Canonical timezone code for report data time. Defaults to America/New_York.
182 &quot;schedule&quot;: { # Information on how frequently and when to run a query. # Information on how often and when to run a query.
183 &quot;nextRunMinuteOfDay&quot;: 42, # Time of day at which a new report will be generated, represented as minutes past midnight. Range is 0 to 1439. Only applies to scheduled reports.
184 &quot;nextRunTimezoneCode&quot;: &quot;A String&quot;, # Canonical timezone code for report generation time. Defaults to America/New_York.
185 &quot;endTimeMs&quot;: &quot;A String&quot;, # Datetime to periodically run the query until.
186 &quot;frequency&quot;: &quot;A String&quot;, # How often the query is run.
187 },
188 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;doubleclickbidmanager#query&quot;.
189 &quot;params&quot;: { # Parameters of a query or report. # Query parameters.
190 &quot;filters&quot;: [ # Filters used to match traffic data in your report.
191 { # Filter used to match traffic data in your report.
192 &quot;value&quot;: &quot;A String&quot;, # Filter value.
193 &quot;type&quot;: &quot;A String&quot;, # Filter type.
194 },
195 ],
196 &quot;type&quot;: &quot;A String&quot;, # Report type.
197 &quot;groupBys&quot;: [ # Data is grouped by the filters listed in this field.
198 &quot;A String&quot;,
199 ],
200 &quot;includeInviteData&quot;: True or False, # Deprecated. This field is no longer in use.
201 &quot;metrics&quot;: [ # Metrics to include as columns in your report.
202 &quot;A String&quot;,
203 ],
204 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700205 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400206</div>
207
208<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700209 <code class="details" id="deletequery">deletequery(queryId, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400210 <pre>Deletes a stored query as well as the associated stored reports.
211
212Args:
213 queryId: string, Query ID to delete. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700214 x__xgafv: string, V1 error format.
215 Allowed values
216 1 - v1 error format
217 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400218</pre>
219</div>
220
221<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700222 <code class="details" id="getquery">getquery(queryId, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400223 <pre>Retrieves a stored query.
224
225Args:
226 queryId: string, Query ID to retrieve. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700227 x__xgafv: string, V1 error format.
228 Allowed values
229 1 - v1 error format
230 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400231
232Returns:
233 An object of the form:
234
235 { # Represents a query.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700236 &quot;reportDataEndTimeMs&quot;: &quot;A String&quot;, # The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700237 &quot;queryId&quot;: &quot;A String&quot;, # Query ID.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700238 &quot;metadata&quot;: { # Query metadata. # Query metadata.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700239 &quot;sendNotification&quot;: True or False, # Whether to send an email notification when a report is ready. Default to false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700240 &quot;latestReportRunTimeMs&quot;: &quot;A String&quot;, # The time when the latest report started to run.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700241 &quot;googleDrivePathForLatestReport&quot;: &quot;A String&quot;, # The path in Google Drive for the latest report.
242 &quot;dataRange&quot;: &quot;A String&quot;, # Range of report data.
243 &quot;title&quot;: &quot;A String&quot;, # Query title. It is used to name the reports generated from this query.
244 &quot;running&quot;: True or False, # Whether the latest report is currently running.
245 &quot;format&quot;: &quot;A String&quot;, # Format of the generated report.
246 &quot;googleCloudStoragePathForLatestReport&quot;: &quot;A String&quot;, # The path to the location in Google Cloud Storage where the latest report is stored.
247 &quot;locale&quot;: &quot;A String&quot;, # Locale of the generated reports. Valid values are cs CZECH de GERMAN en ENGLISH es SPANISH fr FRENCH it ITALIAN ja JAPANESE ko KOREAN pl POLISH pt-BR BRAZILIAN_PORTUGUESE ru RUSSIAN tr TURKISH uk UKRAINIAN zh-CN CHINA_CHINESE zh-TW TAIWAN_CHINESE An locale string not in the list above will generate reports in English.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700248 &quot;shareEmailAddress&quot;: [ # List of email addresses which are sent email notifications when the report is finished. Separate from sendNotification.
249 &quot;A String&quot;,
250 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700251 &quot;reportCount&quot;: 42, # Number of reports that have been generated for the query.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700252 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700253 &quot;reportDataStartTimeMs&quot;: &quot;A String&quot;, # The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise.
254 &quot;timezoneCode&quot;: &quot;A String&quot;, # Canonical timezone code for report data time. Defaults to America/New_York.
255 &quot;schedule&quot;: { # Information on how frequently and when to run a query. # Information on how often and when to run a query.
256 &quot;nextRunMinuteOfDay&quot;: 42, # Time of day at which a new report will be generated, represented as minutes past midnight. Range is 0 to 1439. Only applies to scheduled reports.
257 &quot;nextRunTimezoneCode&quot;: &quot;A String&quot;, # Canonical timezone code for report generation time. Defaults to America/New_York.
258 &quot;endTimeMs&quot;: &quot;A String&quot;, # Datetime to periodically run the query until.
259 &quot;frequency&quot;: &quot;A String&quot;, # How often the query is run.
260 },
261 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;doubleclickbidmanager#query&quot;.
262 &quot;params&quot;: { # Parameters of a query or report. # Query parameters.
263 &quot;filters&quot;: [ # Filters used to match traffic data in your report.
264 { # Filter used to match traffic data in your report.
265 &quot;value&quot;: &quot;A String&quot;, # Filter value.
266 &quot;type&quot;: &quot;A String&quot;, # Filter type.
267 },
268 ],
269 &quot;type&quot;: &quot;A String&quot;, # Report type.
270 &quot;groupBys&quot;: [ # Data is grouped by the filters listed in this field.
271 &quot;A String&quot;,
272 ],
273 &quot;includeInviteData&quot;: True or False, # Deprecated. This field is no longer in use.
274 &quot;metrics&quot;: [ # Metrics to include as columns in your report.
275 &quot;A String&quot;,
276 ],
277 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700278 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400279</div>
280
281<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700282 <code class="details" id="listqueries">listqueries(x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400283 <pre>Retrieves stored queries.
284
285Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700286 x__xgafv: string, V1 error format.
287 Allowed values
288 1 - v1 error format
289 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400290
291Returns:
292 An object of the form:
293
294 { # List queries response.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700295 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;doubleclickbidmanager#listQueriesResponse&quot;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700296 &quot;queries&quot;: [ # Retrieved queries.
John Asmuth614db982014-04-24 15:46:26 -0400297 { # Represents a query.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700298 &quot;reportDataEndTimeMs&quot;: &quot;A String&quot;, # The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700299 &quot;queryId&quot;: &quot;A String&quot;, # Query ID.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700300 &quot;metadata&quot;: { # Query metadata. # Query metadata.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700301 &quot;sendNotification&quot;: True or False, # Whether to send an email notification when a report is ready. Default to false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700302 &quot;latestReportRunTimeMs&quot;: &quot;A String&quot;, # The time when the latest report started to run.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700303 &quot;googleDrivePathForLatestReport&quot;: &quot;A String&quot;, # The path in Google Drive for the latest report.
304 &quot;dataRange&quot;: &quot;A String&quot;, # Range of report data.
305 &quot;title&quot;: &quot;A String&quot;, # Query title. It is used to name the reports generated from this query.
306 &quot;running&quot;: True or False, # Whether the latest report is currently running.
307 &quot;format&quot;: &quot;A String&quot;, # Format of the generated report.
308 &quot;googleCloudStoragePathForLatestReport&quot;: &quot;A String&quot;, # The path to the location in Google Cloud Storage where the latest report is stored.
309 &quot;locale&quot;: &quot;A String&quot;, # Locale of the generated reports. Valid values are cs CZECH de GERMAN en ENGLISH es SPANISH fr FRENCH it ITALIAN ja JAPANESE ko KOREAN pl POLISH pt-BR BRAZILIAN_PORTUGUESE ru RUSSIAN tr TURKISH uk UKRAINIAN zh-CN CHINA_CHINESE zh-TW TAIWAN_CHINESE An locale string not in the list above will generate reports in English.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700310 &quot;shareEmailAddress&quot;: [ # List of email addresses which are sent email notifications when the report is finished. Separate from sendNotification.
311 &quot;A String&quot;,
312 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700313 &quot;reportCount&quot;: 42, # Number of reports that have been generated for the query.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700314 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700315 &quot;reportDataStartTimeMs&quot;: &quot;A String&quot;, # The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise.
316 &quot;timezoneCode&quot;: &quot;A String&quot;, # Canonical timezone code for report data time. Defaults to America/New_York.
317 &quot;schedule&quot;: { # Information on how frequently and when to run a query. # Information on how often and when to run a query.
318 &quot;nextRunMinuteOfDay&quot;: 42, # Time of day at which a new report will be generated, represented as minutes past midnight. Range is 0 to 1439. Only applies to scheduled reports.
319 &quot;nextRunTimezoneCode&quot;: &quot;A String&quot;, # Canonical timezone code for report generation time. Defaults to America/New_York.
320 &quot;endTimeMs&quot;: &quot;A String&quot;, # Datetime to periodically run the query until.
321 &quot;frequency&quot;: &quot;A String&quot;, # How often the query is run.
322 },
323 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;doubleclickbidmanager#query&quot;.
324 &quot;params&quot;: { # Parameters of a query or report. # Query parameters.
325 &quot;filters&quot;: [ # Filters used to match traffic data in your report.
326 { # Filter used to match traffic data in your report.
327 &quot;value&quot;: &quot;A String&quot;, # Filter value.
328 &quot;type&quot;: &quot;A String&quot;, # Filter type.
329 },
330 ],
331 &quot;type&quot;: &quot;A String&quot;, # Report type.
332 &quot;groupBys&quot;: [ # Data is grouped by the filters listed in this field.
333 &quot;A String&quot;,
334 ],
335 &quot;includeInviteData&quot;: True or False, # Deprecated. This field is no longer in use.
336 &quot;metrics&quot;: [ # Metrics to include as columns in your report.
337 &quot;A String&quot;,
338 ],
339 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700340 },
John Asmuth614db982014-04-24 15:46:26 -0400341 ],
342 }</pre>
343</div>
344
345<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700346 <code class="details" id="runquery">runquery(queryId, body=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400347 <pre>Runs a stored query to generate a report.
348
349Args:
350 queryId: string, Query ID to run. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700351 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400352 The object takes the form of:
353
354{ # Request to run a stored query to generate a report.
Bu Sun Kim65020912020-05-20 12:08:20 -0700355 &quot;timezoneCode&quot;: &quot;A String&quot;, # Canonical timezone code for report data time. Defaults to America/New_York.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700356 &quot;reportDataStartTimeMs&quot;: &quot;A String&quot;, # The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if dataRange is CUSTOM_DATES and ignored otherwise.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700357 &quot;dataRange&quot;: &quot;A String&quot;, # Report data range used to generate the report.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700358 &quot;reportDataEndTimeMs&quot;: &quot;A String&quot;, # The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if dataRange is CUSTOM_DATES and ignored otherwise.
John Asmuth614db982014-04-24 15:46:26 -0400359 }
360
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700361 x__xgafv: string, V1 error format.
362 Allowed values
363 1 - v1 error format
364 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400365</pre>
366</div>
367
368</body></html>