1<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="doubleclicksearch_v2.html">DoubleClick Search API</a> . <a href="doubleclicksearch_v2.reports.html">reports</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#generate">generate(body)</a></code></p> 79<p class="firstline">Generates and returns a report immediately.</p> 80<p class="toc_element"> 81 <code><a href="#get">get(reportId)</a></code></p> 82<p class="firstline">Polls for the status of a report request.</p> 83<p class="toc_element"> 84 <code><a href="#getFile">getFile(reportId, reportFragment)</a></code></p> 85<p class="firstline">Downloads a report file encoded in UTF-8.</p> 86<p class="toc_element"> 87 <code><a href="#getFile_media">getFile_media(reportId, reportFragment)</a></code></p> 88<p class="firstline">Downloads a report file encoded in UTF-8.</p> 89<p class="toc_element"> 90 <code><a href="#request">request(body)</a></code></p> 91<p class="firstline">Inserts a report request into the reporting system.</p> 92<h3>Method Details</h3> 93<div class="method"> 94 <code class="details" id="generate">generate(body)</code> 95 <pre>Generates and returns a report immediately. 96 97Args: 98 body: object, The request body. (required) 99 The object takes the form of: 100 101{ # A request object used to create a DoubleClick Search report. 102 "orderBy": [ # Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows. 103 # The maximum number of orderings per request is 300. 104 { 105 "column": { # A request object used to create a DoubleClick Search report. # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column. 106 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 107 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 108 # - "sold": returns metrics only for products that were sold 109 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 110 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 111 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 112 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 113 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 114 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 115 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 116 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 117 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 118 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 119 }, 120 "sortOrder": "A String", # The sort direction, which is either ascending or descending. 121 }, 122 ], 123 "reportScope": { # The reportScope is a set of IDs that are used to determine which subset of entities will be returned in the report. The full lineage of IDs from the lowest scoped level desired up through agency is required. 124 "adGroupId": "A String", # DS ad group ID. 125 "agencyId": "A String", # DS agency ID. 126 "engineAccountId": "A String", # DS engine account ID. 127 "campaignId": "A String", # DS campaign ID. 128 "advertiserId": "A String", # DS advertiser ID. 129 "keywordId": "A String", # DS keyword ID. 130 "adId": "A String", # DS ad ID. 131 }, 132 "maxRowsPerFile": 42, # Asynchronous report only. The maximum number of rows per report file. A large report is split into many files based on this field. Acceptable values are 1000000 to 100000000, inclusive. 133 "statisticsCurrency": "A String", # Specifies the currency in which monetary will be returned. Possible values are: usd, agency (valid if the report is scoped to agency or lower), advertiser (valid if the report is scoped to * advertiser or lower), or account (valid if the report is scoped to engine account or lower). 134 "timeRange": { # If metrics are requested in a report, this argument will be used to restrict the metrics to a specific time range. 135 "changedMetricsSinceTimestamp": "A String", # Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z. See additional references on how changed metrics reports work. 136 "endDate": "A String", # Inclusive date in YYYY-MM-DD format. 137 "changedAttributesSinceTimestamp": "A String", # Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z. See additional references on how changed attribute reports work. 138 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. 139 }, 140 "startRow": 0, # Synchronous report only. Zero-based index of the first row to return. Acceptable values are 0 to 50000, inclusive. Defaults to 0. 141 "rowCount": 10000, # Synchronous report only. The maximum number of rows to return; additional rows are dropped. Acceptable values are 0 to 10000, inclusive. Defaults to 10000. 142 "reportType": "A String", # Determines the type of rows that are returned in the report. For example, if you specify reportType: keyword, each row in the report will contain data about a keyword. See the Types of Reports reference for the columns that are available for each type. 143 "verifySingleTimeZone": false, # If true, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to false. 144 "filters": [ # A list of filters to be applied to the report. 145 # The maximum number of filters per request is 300. 146 { 147 "column": { # A request object used to create a DoubleClick Search report. # Column to perform the filter on. This can be a DoubleClick Search column or a saved column. 148 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 149 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 150 # - "sold": returns metrics only for products that were sold 151 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 152 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 153 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 154 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 155 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 156 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 157 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 158 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 159 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 160 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 161 }, 162 "operator": "A String", # Operator to use in the filter. See the filter reference for a list of available operators. 163 "values": [ # A list of values to filter the column value against. 164 # The maximum number of filter values per request is 300. 165 "", 166 ], 167 }, 168 ], 169 "downloadFormat": "A String", # Format that the report should be returned in. Currently csv or tsv is supported. 170 "includeDeletedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. Deprecated, please use includeRemovedEntities instead. 171 "columns": [ # The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set in the same stanza. 172 # The maximum number of columns per request is 300. 173 { # A request object used to create a DoubleClick Search report. 174 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 175 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 176 # - "sold": returns metrics only for products that were sold 177 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 178 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 179 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 180 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 181 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 182 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 183 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 184 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 185 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 186 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 187 }, 188 ], 189 "includeRemovedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. 190 } 191 192 193Returns: 194 An object of the form: 195 196 { # A DoubleClick Search report. This object contains the report request, some report metadata such as currency code, and the generated report rows or report files. 197 "files": [ # Asynchronous report only. Contains a list of generated report files once the report has succesfully completed. 198 { 199 "url": "A String", # Use this url to download the report file. 200 "byteCount": "A String", # The size of this report file in bytes. 201 }, 202 ], 203 "kind": "doubleclicksearch#report", # Identifies this as a Report resource. Value: the fixed string doubleclicksearch#report. 204 "rows": [ # Synchronous report only. Generated report rows. 205 { # A row in a DoubleClick Search report. 206 "a_key": "", # Indicates the columns that are represented in this row. That is, each key corresponds to a column with a non-empty cell in this row. 207 }, 208 ], 209 "request": { # A request object used to create a DoubleClick Search report. # The request that created the report. Optional fields not specified in the original request are filled with default values. 210 "orderBy": [ # Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows. 211 # The maximum number of orderings per request is 300. 212 { 213 "column": { # A request object used to create a DoubleClick Search report. # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column. 214 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 215 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 216 # - "sold": returns metrics only for products that were sold 217 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 218 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 219 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 220 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 221 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 222 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 223 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 224 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 225 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 226 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 227 }, 228 "sortOrder": "A String", # The sort direction, which is either ascending or descending. 229 }, 230 ], 231 "reportScope": { # The reportScope is a set of IDs that are used to determine which subset of entities will be returned in the report. The full lineage of IDs from the lowest scoped level desired up through agency is required. 232 "adGroupId": "A String", # DS ad group ID. 233 "agencyId": "A String", # DS agency ID. 234 "engineAccountId": "A String", # DS engine account ID. 235 "campaignId": "A String", # DS campaign ID. 236 "advertiserId": "A String", # DS advertiser ID. 237 "keywordId": "A String", # DS keyword ID. 238 "adId": "A String", # DS ad ID. 239 }, 240 "maxRowsPerFile": 42, # Asynchronous report only. The maximum number of rows per report file. A large report is split into many files based on this field. Acceptable values are 1000000 to 100000000, inclusive. 241 "statisticsCurrency": "A String", # Specifies the currency in which monetary will be returned. Possible values are: usd, agency (valid if the report is scoped to agency or lower), advertiser (valid if the report is scoped to * advertiser or lower), or account (valid if the report is scoped to engine account or lower). 242 "timeRange": { # If metrics are requested in a report, this argument will be used to restrict the metrics to a specific time range. 243 "changedMetricsSinceTimestamp": "A String", # Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z. See additional references on how changed metrics reports work. 244 "endDate": "A String", # Inclusive date in YYYY-MM-DD format. 245 "changedAttributesSinceTimestamp": "A String", # Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z. See additional references on how changed attribute reports work. 246 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. 247 }, 248 "startRow": 0, # Synchronous report only. Zero-based index of the first row to return. Acceptable values are 0 to 50000, inclusive. Defaults to 0. 249 "rowCount": 10000, # Synchronous report only. The maximum number of rows to return; additional rows are dropped. Acceptable values are 0 to 10000, inclusive. Defaults to 10000. 250 "reportType": "A String", # Determines the type of rows that are returned in the report. For example, if you specify reportType: keyword, each row in the report will contain data about a keyword. See the Types of Reports reference for the columns that are available for each type. 251 "verifySingleTimeZone": false, # If true, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to false. 252 "filters": [ # A list of filters to be applied to the report. 253 # The maximum number of filters per request is 300. 254 { 255 "column": { # A request object used to create a DoubleClick Search report. # Column to perform the filter on. This can be a DoubleClick Search column or a saved column. 256 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 257 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 258 # - "sold": returns metrics only for products that were sold 259 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 260 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 261 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 262 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 263 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 264 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 265 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 266 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 267 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 268 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 269 }, 270 "operator": "A String", # Operator to use in the filter. See the filter reference for a list of available operators. 271 "values": [ # A list of values to filter the column value against. 272 # The maximum number of filter values per request is 300. 273 "", 274 ], 275 }, 276 ], 277 "downloadFormat": "A String", # Format that the report should be returned in. Currently csv or tsv is supported. 278 "includeDeletedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. Deprecated, please use includeRemovedEntities instead. 279 "columns": [ # The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set in the same stanza. 280 # The maximum number of columns per request is 300. 281 { # A request object used to create a DoubleClick Search report. 282 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 283 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 284 # - "sold": returns metrics only for products that were sold 285 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 286 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 287 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 288 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 289 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 290 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 291 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 292 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 293 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 294 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 295 }, 296 ], 297 "includeRemovedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. 298 }, 299 "isReportReady": True or False, # Asynchronous report only. True if and only if the report has completed successfully and the report files are ready to be downloaded. 300 "rowCount": 42, # The number of report rows generated by the report, not including headers. 301 "statisticsTimeZone": "A String", # If all statistics of the report are sourced from the same time zone, this would be it. Otherwise the field is unset. 302 "statisticsCurrencyCode": "A String", # The currency code of all monetary values produced in the report, including values that are set by users (e.g., keyword bid settings) and metrics (e.g., cost and revenue). The currency code of a report is determined by the statisticsCurrency field of the report request. 303 "id": "A String", # Asynchronous report only. Id of the report. 304 }</pre> 305</div> 306 307<div class="method"> 308 <code class="details" id="get">get(reportId)</code> 309 <pre>Polls for the status of a report request. 310 311Args: 312 reportId: string, ID of the report request being polled. (required) 313 314Returns: 315 An object of the form: 316 317 { # A DoubleClick Search report. This object contains the report request, some report metadata such as currency code, and the generated report rows or report files. 318 "files": [ # Asynchronous report only. Contains a list of generated report files once the report has succesfully completed. 319 { 320 "url": "A String", # Use this url to download the report file. 321 "byteCount": "A String", # The size of this report file in bytes. 322 }, 323 ], 324 "kind": "doubleclicksearch#report", # Identifies this as a Report resource. Value: the fixed string doubleclicksearch#report. 325 "rows": [ # Synchronous report only. Generated report rows. 326 { # A row in a DoubleClick Search report. 327 "a_key": "", # Indicates the columns that are represented in this row. That is, each key corresponds to a column with a non-empty cell in this row. 328 }, 329 ], 330 "request": { # A request object used to create a DoubleClick Search report. # The request that created the report. Optional fields not specified in the original request are filled with default values. 331 "orderBy": [ # Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows. 332 # The maximum number of orderings per request is 300. 333 { 334 "column": { # A request object used to create a DoubleClick Search report. # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column. 335 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 336 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 337 # - "sold": returns metrics only for products that were sold 338 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 339 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 340 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 341 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 342 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 343 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 344 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 345 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 346 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 347 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 348 }, 349 "sortOrder": "A String", # The sort direction, which is either ascending or descending. 350 }, 351 ], 352 "reportScope": { # The reportScope is a set of IDs that are used to determine which subset of entities will be returned in the report. The full lineage of IDs from the lowest scoped level desired up through agency is required. 353 "adGroupId": "A String", # DS ad group ID. 354 "agencyId": "A String", # DS agency ID. 355 "engineAccountId": "A String", # DS engine account ID. 356 "campaignId": "A String", # DS campaign ID. 357 "advertiserId": "A String", # DS advertiser ID. 358 "keywordId": "A String", # DS keyword ID. 359 "adId": "A String", # DS ad ID. 360 }, 361 "maxRowsPerFile": 42, # Asynchronous report only. The maximum number of rows per report file. A large report is split into many files based on this field. Acceptable values are 1000000 to 100000000, inclusive. 362 "statisticsCurrency": "A String", # Specifies the currency in which monetary will be returned. Possible values are: usd, agency (valid if the report is scoped to agency or lower), advertiser (valid if the report is scoped to * advertiser or lower), or account (valid if the report is scoped to engine account or lower). 363 "timeRange": { # If metrics are requested in a report, this argument will be used to restrict the metrics to a specific time range. 364 "changedMetricsSinceTimestamp": "A String", # Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z. See additional references on how changed metrics reports work. 365 "endDate": "A String", # Inclusive date in YYYY-MM-DD format. 366 "changedAttributesSinceTimestamp": "A String", # Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z. See additional references on how changed attribute reports work. 367 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. 368 }, 369 "startRow": 0, # Synchronous report only. Zero-based index of the first row to return. Acceptable values are 0 to 50000, inclusive. Defaults to 0. 370 "rowCount": 10000, # Synchronous report only. The maximum number of rows to return; additional rows are dropped. Acceptable values are 0 to 10000, inclusive. Defaults to 10000. 371 "reportType": "A String", # Determines the type of rows that are returned in the report. For example, if you specify reportType: keyword, each row in the report will contain data about a keyword. See the Types of Reports reference for the columns that are available for each type. 372 "verifySingleTimeZone": false, # If true, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to false. 373 "filters": [ # A list of filters to be applied to the report. 374 # The maximum number of filters per request is 300. 375 { 376 "column": { # A request object used to create a DoubleClick Search report. # Column to perform the filter on. This can be a DoubleClick Search column or a saved column. 377 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 378 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 379 # - "sold": returns metrics only for products that were sold 380 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 381 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 382 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 383 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 384 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 385 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 386 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 387 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 388 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 389 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 390 }, 391 "operator": "A String", # Operator to use in the filter. See the filter reference for a list of available operators. 392 "values": [ # A list of values to filter the column value against. 393 # The maximum number of filter values per request is 300. 394 "", 395 ], 396 }, 397 ], 398 "downloadFormat": "A String", # Format that the report should be returned in. Currently csv or tsv is supported. 399 "includeDeletedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. Deprecated, please use includeRemovedEntities instead. 400 "columns": [ # The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set in the same stanza. 401 # The maximum number of columns per request is 300. 402 { # A request object used to create a DoubleClick Search report. 403 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 404 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 405 # - "sold": returns metrics only for products that were sold 406 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 407 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 408 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 409 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 410 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 411 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 412 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 413 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 414 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 415 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 416 }, 417 ], 418 "includeRemovedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. 419 }, 420 "isReportReady": True or False, # Asynchronous report only. True if and only if the report has completed successfully and the report files are ready to be downloaded. 421 "rowCount": 42, # The number of report rows generated by the report, not including headers. 422 "statisticsTimeZone": "A String", # If all statistics of the report are sourced from the same time zone, this would be it. Otherwise the field is unset. 423 "statisticsCurrencyCode": "A String", # The currency code of all monetary values produced in the report, including values that are set by users (e.g., keyword bid settings) and metrics (e.g., cost and revenue). The currency code of a report is determined by the statisticsCurrency field of the report request. 424 "id": "A String", # Asynchronous report only. Id of the report. 425 }</pre> 426</div> 427 428<div class="method"> 429 <code class="details" id="getFile">getFile(reportId, reportFragment)</code> 430 <pre>Downloads a report file encoded in UTF-8. 431 432Args: 433 reportId: string, ID of the report. (required) 434 reportFragment: integer, The index of the report fragment to download. (required) 435</pre> 436</div> 437 438<div class="method"> 439 <code class="details" id="getFile_media">getFile_media(reportId, reportFragment)</code> 440 <pre>Downloads a report file encoded in UTF-8. 441 442Args: 443 reportId: string, ID of the report. (required) 444 reportFragment: integer, The index of the report fragment to download. (required) 445</pre> 446</div> 447 448<div class="method"> 449 <code class="details" id="request">request(body)</code> 450 <pre>Inserts a report request into the reporting system. 451 452Args: 453 body: object, The request body. (required) 454 The object takes the form of: 455 456{ # A request object used to create a DoubleClick Search report. 457 "orderBy": [ # Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows. 458 # The maximum number of orderings per request is 300. 459 { 460 "column": { # A request object used to create a DoubleClick Search report. # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column. 461 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 462 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 463 # - "sold": returns metrics only for products that were sold 464 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 465 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 466 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 467 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 468 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 469 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 470 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 471 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 472 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 473 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 474 }, 475 "sortOrder": "A String", # The sort direction, which is either ascending or descending. 476 }, 477 ], 478 "reportScope": { # The reportScope is a set of IDs that are used to determine which subset of entities will be returned in the report. The full lineage of IDs from the lowest scoped level desired up through agency is required. 479 "adGroupId": "A String", # DS ad group ID. 480 "agencyId": "A String", # DS agency ID. 481 "engineAccountId": "A String", # DS engine account ID. 482 "campaignId": "A String", # DS campaign ID. 483 "advertiserId": "A String", # DS advertiser ID. 484 "keywordId": "A String", # DS keyword ID. 485 "adId": "A String", # DS ad ID. 486 }, 487 "maxRowsPerFile": 42, # Asynchronous report only. The maximum number of rows per report file. A large report is split into many files based on this field. Acceptable values are 1000000 to 100000000, inclusive. 488 "statisticsCurrency": "A String", # Specifies the currency in which monetary will be returned. Possible values are: usd, agency (valid if the report is scoped to agency or lower), advertiser (valid if the report is scoped to * advertiser or lower), or account (valid if the report is scoped to engine account or lower). 489 "timeRange": { # If metrics are requested in a report, this argument will be used to restrict the metrics to a specific time range. 490 "changedMetricsSinceTimestamp": "A String", # Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z. See additional references on how changed metrics reports work. 491 "endDate": "A String", # Inclusive date in YYYY-MM-DD format. 492 "changedAttributesSinceTimestamp": "A String", # Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z. See additional references on how changed attribute reports work. 493 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. 494 }, 495 "startRow": 0, # Synchronous report only. Zero-based index of the first row to return. Acceptable values are 0 to 50000, inclusive. Defaults to 0. 496 "rowCount": 10000, # Synchronous report only. The maximum number of rows to return; additional rows are dropped. Acceptable values are 0 to 10000, inclusive. Defaults to 10000. 497 "reportType": "A String", # Determines the type of rows that are returned in the report. For example, if you specify reportType: keyword, each row in the report will contain data about a keyword. See the Types of Reports reference for the columns that are available for each type. 498 "verifySingleTimeZone": false, # If true, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to false. 499 "filters": [ # A list of filters to be applied to the report. 500 # The maximum number of filters per request is 300. 501 { 502 "column": { # A request object used to create a DoubleClick Search report. # Column to perform the filter on. This can be a DoubleClick Search column or a saved column. 503 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 504 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 505 # - "sold": returns metrics only for products that were sold 506 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 507 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 508 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 509 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 510 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 511 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 512 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 513 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 514 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 515 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 516 }, 517 "operator": "A String", # Operator to use in the filter. See the filter reference for a list of available operators. 518 "values": [ # A list of values to filter the column value against. 519 # The maximum number of filter values per request is 300. 520 "", 521 ], 522 }, 523 ], 524 "downloadFormat": "A String", # Format that the report should be returned in. Currently csv or tsv is supported. 525 "includeDeletedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. Deprecated, please use includeRemovedEntities instead. 526 "columns": [ # The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set in the same stanza. 527 # The maximum number of columns per request is 300. 528 { # A request object used to create a DoubleClick Search report. 529 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 530 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 531 # - "sold": returns metrics only for products that were sold 532 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 533 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 534 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 535 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 536 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 537 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 538 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 539 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 540 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 541 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 542 }, 543 ], 544 "includeRemovedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. 545 } 546 547 548Returns: 549 An object of the form: 550 551 { # A DoubleClick Search report. This object contains the report request, some report metadata such as currency code, and the generated report rows or report files. 552 "files": [ # Asynchronous report only. Contains a list of generated report files once the report has succesfully completed. 553 { 554 "url": "A String", # Use this url to download the report file. 555 "byteCount": "A String", # The size of this report file in bytes. 556 }, 557 ], 558 "kind": "doubleclicksearch#report", # Identifies this as a Report resource. Value: the fixed string doubleclicksearch#report. 559 "rows": [ # Synchronous report only. Generated report rows. 560 { # A row in a DoubleClick Search report. 561 "a_key": "", # Indicates the columns that are represented in this row. That is, each key corresponds to a column with a non-empty cell in this row. 562 }, 563 ], 564 "request": { # A request object used to create a DoubleClick Search report. # The request that created the report. Optional fields not specified in the original request are filled with default values. 565 "orderBy": [ # Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows. 566 # The maximum number of orderings per request is 300. 567 { 568 "column": { # A request object used to create a DoubleClick Search report. # Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column. 569 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 570 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 571 # - "sold": returns metrics only for products that were sold 572 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 573 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 574 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 575 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 576 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 577 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 578 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 579 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 580 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 581 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 582 }, 583 "sortOrder": "A String", # The sort direction, which is either ascending or descending. 584 }, 585 ], 586 "reportScope": { # The reportScope is a set of IDs that are used to determine which subset of entities will be returned in the report. The full lineage of IDs from the lowest scoped level desired up through agency is required. 587 "adGroupId": "A String", # DS ad group ID. 588 "agencyId": "A String", # DS agency ID. 589 "engineAccountId": "A String", # DS engine account ID. 590 "campaignId": "A String", # DS campaign ID. 591 "advertiserId": "A String", # DS advertiser ID. 592 "keywordId": "A String", # DS keyword ID. 593 "adId": "A String", # DS ad ID. 594 }, 595 "maxRowsPerFile": 42, # Asynchronous report only. The maximum number of rows per report file. A large report is split into many files based on this field. Acceptable values are 1000000 to 100000000, inclusive. 596 "statisticsCurrency": "A String", # Specifies the currency in which monetary will be returned. Possible values are: usd, agency (valid if the report is scoped to agency or lower), advertiser (valid if the report is scoped to * advertiser or lower), or account (valid if the report is scoped to engine account or lower). 597 "timeRange": { # If metrics are requested in a report, this argument will be used to restrict the metrics to a specific time range. 598 "changedMetricsSinceTimestamp": "A String", # Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z. See additional references on how changed metrics reports work. 599 "endDate": "A String", # Inclusive date in YYYY-MM-DD format. 600 "changedAttributesSinceTimestamp": "A String", # Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z. See additional references on how changed attribute reports work. 601 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. 602 }, 603 "startRow": 0, # Synchronous report only. Zero-based index of the first row to return. Acceptable values are 0 to 50000, inclusive. Defaults to 0. 604 "rowCount": 10000, # Synchronous report only. The maximum number of rows to return; additional rows are dropped. Acceptable values are 0 to 10000, inclusive. Defaults to 10000. 605 "reportType": "A String", # Determines the type of rows that are returned in the report. For example, if you specify reportType: keyword, each row in the report will contain data about a keyword. See the Types of Reports reference for the columns that are available for each type. 606 "verifySingleTimeZone": false, # If true, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to false. 607 "filters": [ # A list of filters to be applied to the report. 608 # The maximum number of filters per request is 300. 609 { 610 "column": { # A request object used to create a DoubleClick Search report. # Column to perform the filter on. This can be a DoubleClick Search column or a saved column. 611 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 612 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 613 # - "sold": returns metrics only for products that were sold 614 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 615 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 616 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 617 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 618 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 619 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 620 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 621 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 622 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 623 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 624 }, 625 "operator": "A String", # Operator to use in the filter. See the filter reference for a list of available operators. 626 "values": [ # A list of values to filter the column value against. 627 # The maximum number of filter values per request is 300. 628 "", 629 ], 630 }, 631 ], 632 "downloadFormat": "A String", # Format that the report should be returned in. Currently csv or tsv is supported. 633 "includeDeletedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. Deprecated, please use includeRemovedEntities instead. 634 "columns": [ # The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set in the same stanza. 635 # The maximum number of columns per request is 300. 636 { # A request object used to create a DoubleClick Search report. 637 "groupByColumn": false, # Synchronous report only. Set to true to group by this column. Defaults to false. 638 "productReportPerspective": "A String", # Returns metrics only for a specific type of product activity. Accepted values are: 639 # - "sold": returns metrics only for products that were sold 640 # - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold 641 "endDate": "A String", # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with startDate. 642 "savedColumnName": "A String", # Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI. 643 "customDimensionName": "A String", # Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. 644 # If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report. 645 "startDate": "A String", # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with endDate. 646 "headerText": "A String", # Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name. 647 "columnName": "A String", # Name of a DoubleClick Search column to include in the report. 648 "platformSource": "A String", # The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". 649 "customMetricName": "A String", # Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. 650 }, 651 ], 652 "includeRemovedEntities": false, # Determines if removed entities should be included in the report. Defaults to false. 653 }, 654 "isReportReady": True or False, # Asynchronous report only. True if and only if the report has completed successfully and the report files are ready to be downloaded. 655 "rowCount": 42, # The number of report rows generated by the report, not including headers. 656 "statisticsTimeZone": "A String", # If all statistics of the report are sourced from the same time zone, this would be it. Otherwise the field is unset. 657 "statisticsCurrencyCode": "A String", # The currency code of all monetary values produced in the report, including values that are set by users (e.g., keyword bid settings) and metrics (e.g., cost and revenue). The currency code of a report is determined by the statisticsCurrency field of the report request. 658 "id": "A String", # Asynchronous report only. Id of the report. 659 }</pre> 660</div> 661 662</body></html>