| OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 | 2 |
| 3 library googleapis.doubleclicksearch.v2; | 3 library googleapis.doubleclicksearch.v2; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:collection' as collection; | 6 import 'dart:collection' as collection; |
| 7 import 'dart:async' as async; | 7 import 'dart:async' as async; |
| 8 import 'dart:convert' as convert; | 8 import 'dart:convert' as convert; |
| 9 | 9 |
| 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 11 import 'package:http/http.dart' as http; | 11 import 'package:http/http.dart' as http; |
| 12 | 12 |
| 13 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 13 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
| 14 ApiRequestError, DetailedApiRequestError, Media, UploadOptions, | 14 ApiRequestError, DetailedApiRequestError, Media, UploadOptions, |
| 15 ResumableUploadOptions, DownloadOptions, PartialDownloadOptions, | 15 ResumableUploadOptions, DownloadOptions, PartialDownloadOptions, |
| 16 ByteRange; | 16 ByteRange; |
| 17 | 17 |
| 18 const core.String USER_AGENT = 'dart-api-client doubleclicksearch/v2'; | 18 const core.String USER_AGENT = 'dart-api-client doubleclicksearch/v2'; |
| 19 | 19 |
| 20 /** | 20 /** |
| 21 * Report and modify your advertising data in DoubleClick Search (for example, | 21 * Reports and modifies your advertising data in DoubleClick Search (for |
| 22 * campaigns, ad groups, keywords, and conversions). | 22 * example, campaigns, ad groups, keywords, and conversions). |
| 23 */ | 23 */ |
| 24 class DoubleclicksearchApi { | 24 class DoubleclicksearchApi { |
| 25 /** View and manage your advertising data in DoubleClick Search */ | 25 /** View and manage your advertising data in DoubleClick Search */ |
| 26 static const DoubleclicksearchScope = "https://www.googleapis.com/auth/doublec
licksearch"; | 26 static const DoubleclicksearchScope = "https://www.googleapis.com/auth/doublec
licksearch"; |
| 27 | 27 |
| 28 | 28 |
| 29 final commons.ApiRequester _requester; | 29 final commons.ApiRequester _requester; |
| 30 | 30 |
| 31 ConversionResourceApi get conversion => new ConversionResourceApi(_requester); | 31 ConversionResourceApi get conversion => new ConversionResourceApi(_requester); |
| 32 ReportsResourceApi get reports => new ReportsResourceApi(_requester); | 32 ReportsResourceApi get reports => new ReportsResourceApi(_requester); |
| (...skipping 1859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1892 } | 1892 } |
| 1893 | 1893 |
| 1894 core.Map toJson() { | 1894 core.Map toJson() { |
| 1895 var _json = new core.Map(); | 1895 var _json = new core.Map(); |
| 1896 if (availabilities != null) { | 1896 if (availabilities != null) { |
| 1897 _json["availabilities"] = availabilities.map((value) => (value).toJson()).
toList(); | 1897 _json["availabilities"] = availabilities.map((value) => (value).toJson()).
toList(); |
| 1898 } | 1898 } |
| 1899 return _json; | 1899 return _json; |
| 1900 } | 1900 } |
| 1901 } | 1901 } |
| OLD | NEW |