| 1 |
<?php |
| 2 |
/* |
| 3 |
* Copyright 2010 Google Inc. |
| 4 |
* |
| 5 |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 6 |
* use this file except in compliance with the License. You may obtain a copy of |
| 7 |
* the License at |
| 8 |
* |
| 9 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 10 |
* |
| 11 |
* Unless required by applicable law or agreed to in writing, software |
| 12 |
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 13 |
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 14 |
* License for the specific language governing permissions and limitations under |
| 15 |
* the License. |
| 16 |
*/ |
| 17 |
|
| 18 |
/** |
| 19 |
* Service definition for DoubleClickBidManager (v1). |
| 20 |
* |
| 21 |
* <p> |
| 22 |
* API for viewing and managing your reports in DoubleClick Bid Manager. |
| 23 |
* </p> |
| 24 |
* |
| 25 |
* <p> |
| 26 |
* For more information about this service, see the API |
| 27 |
* <a href="https://developers.google.com/bid-manager/" target="_blank">Documentation</a> |
| 28 |
* </p> |
| 29 |
* |
| 30 |
* @author Google, Inc. |
| 31 |
*/ |
| 32 |
class Google_Service_DoubleClickBidManager extends Google_Service |
| 33 |
{ |
| 34 |
|
| 35 |
|
| 36 |
public $lineitems; |
| 37 |
public $queries; |
| 38 |
public $reports; |
| 39 |
|
| 40 |
|
| 41 |
/** |
| 42 |
* Constructs the internal representation of the DoubleClickBidManager |
| 43 |
* service. |
| 44 |
* |
| 45 |
* @param Google_Client $client |
| 46 |
*/ |
| 47 |
public function __construct(Google_Client $client) |
| 48 |
{ |
| 49 |
parent::__construct($client); |
| 50 |
$this->servicePath = 'doubleclickbidmanager/v1/'; |
| 51 |
$this->version = 'v1'; |
| 52 |
$this->serviceName = 'doubleclickbidmanager'; |
| 53 |
|
| 54 |
$this->lineitems = new Google_Service_DoubleClickBidManager_Lineitems_Resource( |
| 55 |
$this, |
| 56 |
$this->serviceName, |
| 57 |
'lineitems', |
| 58 |
array( |
| 59 |
'methods' => array( |
| 60 |
'downloadlineitems' => array( |
| 61 |
'path' => 'lineitems/downloadlineitems', |
| 62 |
'httpMethod' => 'POST', |
| 63 |
'parameters' => array(), |
| 64 |
),'uploadlineitems' => array( |
| 65 |
'path' => 'lineitems/uploadlineitems', |
| 66 |
'httpMethod' => 'POST', |
| 67 |
'parameters' => array(), |
| 68 |
), |
| 69 |
) |
| 70 |
) |
| 71 |
); |
| 72 |
$this->queries = new Google_Service_DoubleClickBidManager_Queries_Resource( |
| 73 |
$this, |
| 74 |
$this->serviceName, |
| 75 |
'queries', |
| 76 |
array( |
| 77 |
'methods' => array( |
| 78 |
'createquery' => array( |
| 79 |
'path' => 'query', |
| 80 |
'httpMethod' => 'POST', |
| 81 |
'parameters' => array(), |
| 82 |
),'deletequery' => array( |
| 83 |
'path' => 'query/{queryId}', |
| 84 |
'httpMethod' => 'DELETE', |
| 85 |
'parameters' => array( |
| 86 |
'queryId' => array( |
| 87 |
'location' => 'path', |
| 88 |
'type' => 'string', |
| 89 |
'required' => true, |
| 90 |
), |
| 91 |
), |
| 92 |
),'getquery' => array( |
| 93 |
'path' => 'query/{queryId}', |
| 94 |
'httpMethod' => 'GET', |
| 95 |
'parameters' => array( |
| 96 |
'queryId' => array( |
| 97 |
'location' => 'path', |
| 98 |
'type' => 'string', |
| 99 |
'required' => true, |
| 100 |
), |
| 101 |
), |
| 102 |
),'listqueries' => array( |
| 103 |
'path' => 'queries', |
| 104 |
'httpMethod' => 'GET', |
| 105 |
'parameters' => array(), |
| 106 |
),'runquery' => array( |
| 107 |
'path' => 'query/{queryId}', |
| 108 |
'httpMethod' => 'POST', |
| 109 |
'parameters' => array( |
| 110 |
'queryId' => array( |
| 111 |
'location' => 'path', |
| 112 |
'type' => 'string', |
| 113 |
'required' => true, |
| 114 |
), |
| 115 |
), |
| 116 |
), |
| 117 |
) |
| 118 |
) |
| 119 |
); |
| 120 |
$this->reports = new Google_Service_DoubleClickBidManager_Reports_Resource( |
| 121 |
$this, |
| 122 |
$this->serviceName, |
| 123 |
'reports', |
| 124 |
array( |
| 125 |
'methods' => array( |
| 126 |
'listreports' => array( |
| 127 |
'path' => 'queries/{queryId}/reports', |
| 128 |
'httpMethod' => 'GET', |
| 129 |
'parameters' => array( |
| 130 |
'queryId' => array( |
| 131 |
'location' => 'path', |
| 132 |
'type' => 'string', |
| 133 |
'required' => true, |
| 134 |
), |
| 135 |
), |
| 136 |
), |
| 137 |
) |
| 138 |
) |
| 139 |
); |
| 140 |
} |
| 141 |
} |
| 142 |
|
| 143 |
|
| 144 |
/** |
| 145 |
* The "lineitems" collection of methods. |
| 146 |
* Typical usage is: |
| 147 |
* <code> |
| 148 |
* $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...); |
| 149 |
* $lineitems = $doubleclickbidmanagerService->lineitems; |
| 150 |
* </code> |
| 151 |
*/ |
| 152 |
class Google_Service_DoubleClickBidManager_Lineitems_Resource extends Google_Service_Resource |
| 153 |
{ |
| 154 |
|
| 155 |
/** |
| 156 |
* Retrieves line items in CSV format. (lineitems.downloadlineitems) |
| 157 |
* |
| 158 |
* @param Google_DownloadLineItemsRequest $postBody |
| 159 |
* @param array $optParams Optional parameters. |
| 160 |
* @return Google_Service_DoubleClickBidManager_DownloadLineItemsResponse |
| 161 |
*/ |
| 162 |
public function downloadlineitems(Google_Service_DoubleClickBidManager_DownloadLineItemsRequest $postBody, $optParams = array()) |
| 163 |
{ |
| 164 |
$params = array('postBody' => $postBody); |
| 165 |
$params = array_merge($params, $optParams); |
| 166 |
return $this->call('downloadlineitems', array($params), "Google_Service_DoubleClickBidManager_DownloadLineItemsResponse"); |
| 167 |
} |
| 168 |
/** |
| 169 |
* Uploads line items in CSV format. (lineitems.uploadlineitems) |
| 170 |
* |
| 171 |
* @param Google_UploadLineItemsRequest $postBody |
| 172 |
* @param array $optParams Optional parameters. |
| 173 |
* @return Google_Service_DoubleClickBidManager_UploadLineItemsResponse |
| 174 |
*/ |
| 175 |
public function uploadlineitems(Google_Service_DoubleClickBidManager_UploadLineItemsRequest $postBody, $optParams = array()) |
| 176 |
{ |
| 177 |
$params = array('postBody' => $postBody); |
| 178 |
$params = array_merge($params, $optParams); |
| 179 |
return $this->call('uploadlineitems', array($params), "Google_Service_DoubleClickBidManager_UploadLineItemsResponse"); |
| 180 |
} |
| 181 |
} |
| 182 |
|
| 183 |
/** |
| 184 |
* The "queries" collection of methods. |
| 185 |
* Typical usage is: |
| 186 |
* <code> |
| 187 |
* $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...); |
| 188 |
* $queries = $doubleclickbidmanagerService->queries; |
| 189 |
* </code> |
| 190 |
*/ |
| 191 |
class Google_Service_DoubleClickBidManager_Queries_Resource extends Google_Service_Resource |
| 192 |
{ |
| 193 |
|
| 194 |
/** |
| 195 |
* Creates a query. (queries.createquery) |
| 196 |
* |
| 197 |
* @param Google_Query $postBody |
| 198 |
* @param array $optParams Optional parameters. |
| 199 |
* @return Google_Service_DoubleClickBidManager_Query |
| 200 |
*/ |
| 201 |
public function createquery(Google_Service_DoubleClickBidManager_Query $postBody, $optParams = array()) |
| 202 |
{ |
| 203 |
$params = array('postBody' => $postBody); |
| 204 |
$params = array_merge($params, $optParams); |
| 205 |
return $this->call('createquery', array($params), "Google_Service_DoubleClickBidManager_Query"); |
| 206 |
} |
| 207 |
/** |
| 208 |
* Deletes a stored query as well as the associated stored reports. |
| 209 |
* (queries.deletequery) |
| 210 |
* |
| 211 |
* @param string $queryId |
| 212 |
* Query ID to delete. |
| 213 |
* @param array $optParams Optional parameters. |
| 214 |
*/ |
| 215 |
public function deletequery($queryId, $optParams = array()) |
| 216 |
{ |
| 217 |
$params = array('queryId' => $queryId); |
| 218 |
$params = array_merge($params, $optParams); |
| 219 |
return $this->call('deletequery', array($params)); |
| 220 |
} |
| 221 |
/** |
| 222 |
* Retrieves a stored query. (queries.getquery) |
| 223 |
* |
| 224 |
* @param string $queryId |
| 225 |
* Query ID to retrieve. |
| 226 |
* @param array $optParams Optional parameters. |
| 227 |
* @return Google_Service_DoubleClickBidManager_Query |
| 228 |
*/ |
| 229 |
public function getquery($queryId, $optParams = array()) |
| 230 |
{ |
| 231 |
$params = array('queryId' => $queryId); |
| 232 |
$params = array_merge($params, $optParams); |
| 233 |
return $this->call('getquery', array($params), "Google_Service_DoubleClickBidManager_Query"); |
| 234 |
} |
| 235 |
/** |
| 236 |
* Retrieves stored queries. (queries.listqueries) |
| 237 |
* |
| 238 |
* @param array $optParams Optional parameters. |
| 239 |
* @return Google_Service_DoubleClickBidManager_ListQueriesResponse |
| 240 |
*/ |
| 241 |
public function listqueries($optParams = array()) |
| 242 |
{ |
| 243 |
$params = array(); |
| 244 |
$params = array_merge($params, $optParams); |
| 245 |
return $this->call('listqueries', array($params), "Google_Service_DoubleClickBidManager_ListQueriesResponse"); |
| 246 |
} |
| 247 |
/** |
| 248 |
* Runs a stored query to generate a report. (queries.runquery) |
| 249 |
* |
| 250 |
* @param string $queryId |
| 251 |
* Query ID to run. |
| 252 |
* @param Google_RunQueryRequest $postBody |
| 253 |
* @param array $optParams Optional parameters. |
| 254 |
*/ |
| 255 |
public function runquery($queryId, Google_Service_DoubleClickBidManager_RunQueryRequest $postBody, $optParams = array()) |
| 256 |
{ |
| 257 |
$params = array('queryId' => $queryId, 'postBody' => $postBody); |
| 258 |
$params = array_merge($params, $optParams); |
| 259 |
return $this->call('runquery', array($params)); |
| 260 |
} |
| 261 |
} |
| 262 |
|
| 263 |
/** |
| 264 |
* The "reports" collection of methods. |
| 265 |
* Typical usage is: |
| 266 |
* <code> |
| 267 |
* $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...); |
| 268 |
* $reports = $doubleclickbidmanagerService->reports; |
| 269 |
* </code> |
| 270 |
*/ |
| 271 |
class Google_Service_DoubleClickBidManager_Reports_Resource extends Google_Service_Resource |
| 272 |
{ |
| 273 |
|
| 274 |
/** |
| 275 |
* Retrieves stored reports. (reports.listreports) |
| 276 |
* |
| 277 |
* @param string $queryId |
| 278 |
* Query ID with which the reports are associated. |
| 279 |
* @param array $optParams Optional parameters. |
| 280 |
* @return Google_Service_DoubleClickBidManager_ListReportsResponse |
| 281 |
*/ |
| 282 |
public function listreports($queryId, $optParams = array()) |
| 283 |
{ |
| 284 |
$params = array('queryId' => $queryId); |
| 285 |
$params = array_merge($params, $optParams); |
| 286 |
return $this->call('listreports', array($params), "Google_Service_DoubleClickBidManager_ListReportsResponse"); |
| 287 |
} |
| 288 |
} |
| 289 |
|
| 290 |
|
| 291 |
|
| 292 |
|
| 293 |
class Google_Service_DoubleClickBidManager_DownloadLineItemsRequest extends Google_Collection |
| 294 |
{ |
| 295 |
public $filterIds; |
| 296 |
public $filterType; |
| 297 |
public $format; |
| 298 |
|
| 299 |
public function setFilterIds($filterIds) |
| 300 |
{ |
| 301 |
$this->filterIds = $filterIds; |
| 302 |
} |
| 303 |
|
| 304 |
public function getFilterIds() |
| 305 |
{ |
| 306 |
return $this->filterIds; |
| 307 |
} |
| 308 |
|
| 309 |
public function setFilterType($filterType) |
| 310 |
{ |
| 311 |
$this->filterType = $filterType; |
| 312 |
} |
| 313 |
|
| 314 |
public function getFilterType() |
| 315 |
{ |
| 316 |
return $this->filterType; |
| 317 |
} |
| 318 |
|
| 319 |
public function setFormat($format) |
| 320 |
{ |
| 321 |
$this->format = $format; |
| 322 |
} |
| 323 |
|
| 324 |
public function getFormat() |
| 325 |
{ |
| 326 |
return $this->format; |
| 327 |
} |
| 328 |
} |
| 329 |
|
| 330 |
class Google_Service_DoubleClickBidManager_DownloadLineItemsResponse extends Google_Model |
| 331 |
{ |
| 332 |
public $lineItems; |
| 333 |
|
| 334 |
public function setLineItems($lineItems) |
| 335 |
{ |
| 336 |
$this->lineItems = $lineItems; |
| 337 |
} |
| 338 |
|
| 339 |
public function getLineItems() |
| 340 |
{ |
| 341 |
return $this->lineItems; |
| 342 |
} |
| 343 |
} |
| 344 |
|
| 345 |
class Google_Service_DoubleClickBidManager_FilterPair extends Google_Model |
| 346 |
{ |
| 347 |
public $type; |
| 348 |
public $value; |
| 349 |
|
| 350 |
public function setType($type) |
| 351 |
{ |
| 352 |
$this->type = $type; |
| 353 |
} |
| 354 |
|
| 355 |
public function getType() |
| 356 |
{ |
| 357 |
return $this->type; |
| 358 |
} |
| 359 |
|
| 360 |
public function setValue($value) |
| 361 |
{ |
| 362 |
$this->value = $value; |
| 363 |
} |
| 364 |
|
| 365 |
public function getValue() |
| 366 |
{ |
| 367 |
return $this->value; |
| 368 |
} |
| 369 |
} |
| 370 |
|
| 371 |
class Google_Service_DoubleClickBidManager_ListQueriesResponse extends Google_Collection |
| 372 |
{ |
| 373 |
public $kind; |
| 374 |
protected $queriesType = 'Google_Service_DoubleClickBidManager_Query'; |
| 375 |
protected $queriesDataType = 'array'; |
| 376 |
|
| 377 |
public function setKind($kind) |
| 378 |
{ |
| 379 |
$this->kind = $kind; |
| 380 |
} |
| 381 |
|
| 382 |
public function getKind() |
| 383 |
{ |
| 384 |
return $this->kind; |
| 385 |
} |
| 386 |
|
| 387 |
public function setQueries($queries) |
| 388 |
{ |
| 389 |
$this->queries = $queries; |
| 390 |
} |
| 391 |
|
| 392 |
public function getQueries() |
| 393 |
{ |
| 394 |
return $this->queries; |
| 395 |
} |
| 396 |
} |
| 397 |
|
| 398 |
class Google_Service_DoubleClickBidManager_ListReportsResponse extends Google_Collection |
| 399 |
{ |
| 400 |
public $kind; |
| 401 |
protected $reportsType = 'Google_Service_DoubleClickBidManager_Report'; |
| 402 |
protected $reportsDataType = 'array'; |
| 403 |
|
| 404 |
public function setKind($kind) |
| 405 |
{ |
| 406 |
$this->kind = $kind; |
| 407 |
} |
| 408 |
|
| 409 |
public function getKind() |
| 410 |
{ |
| 411 |
return $this->kind; |
| 412 |
} |
| 413 |
|
| 414 |
public function setReports($reports) |
| 415 |
{ |
| 416 |
$this->reports = $reports; |
| 417 |
} |
| 418 |
|
| 419 |
public function getReports() |
| 420 |
{ |
| 421 |
return $this->reports; |
| 422 |
} |
| 423 |
} |
| 424 |
|
| 425 |
class Google_Service_DoubleClickBidManager_Parameters extends Google_Collection |
| 426 |
{ |
| 427 |
protected $filtersType = 'Google_Service_DoubleClickBidManager_FilterPair'; |
| 428 |
protected $filtersDataType = 'array'; |
| 429 |
public $groupBys; |
| 430 |
public $includeInviteData; |
| 431 |
public $metrics; |
| 432 |
public $type; |
| 433 |
|
| 434 |
public function setFilters($filters) |
| 435 |
{ |
| 436 |
$this->filters = $filters; |
| 437 |
} |
| 438 |
|
| 439 |
public function getFilters() |
| 440 |
{ |
| 441 |
return $this->filters; |
| 442 |
} |
| 443 |
|
| 444 |
public function setGroupBys($groupBys) |
| 445 |
{ |
| 446 |
$this->groupBys = $groupBys; |
| 447 |
} |
| 448 |
|
| 449 |
public function getGroupBys() |
| 450 |
{ |
| 451 |
return $this->groupBys; |
| 452 |
} |
| 453 |
|
| 454 |
public function setIncludeInviteData($includeInviteData) |
| 455 |
{ |
| 456 |
$this->includeInviteData = $includeInviteData; |
| 457 |
} |
| 458 |
|
| 459 |
public function getIncludeInviteData() |
| 460 |
{ |
| 461 |
return $this->includeInviteData; |
| 462 |
} |
| 463 |
|
| 464 |
public function setMetrics($metrics) |
| 465 |
{ |
| 466 |
$this->metrics = $metrics; |
| 467 |
} |
| 468 |
|
| 469 |
public function getMetrics() |
| 470 |
{ |
| 471 |
return $this->metrics; |
| 472 |
} |
| 473 |
|
| 474 |
public function setType($type) |
| 475 |
{ |
| 476 |
$this->type = $type; |
| 477 |
} |
| 478 |
|
| 479 |
public function getType() |
| 480 |
{ |
| 481 |
return $this->type; |
| 482 |
} |
| 483 |
} |
| 484 |
|
| 485 |
class Google_Service_DoubleClickBidManager_Query extends Google_Model |
| 486 |
{ |
| 487 |
public $kind; |
| 488 |
protected $metadataType = 'Google_Service_DoubleClickBidManager_QueryMetadata'; |
| 489 |
protected $metadataDataType = ''; |
| 490 |
protected $paramsType = 'Google_Service_DoubleClickBidManager_Parameters'; |
| 491 |
protected $paramsDataType = ''; |
| 492 |
public $queryId; |
| 493 |
public $reportDataEndTimeMs; |
| 494 |
public $reportDataStartTimeMs; |
| 495 |
protected $scheduleType = 'Google_Service_DoubleClickBidManager_QuerySchedule'; |
| 496 |
protected $scheduleDataType = ''; |
| 497 |
public $timezoneCode; |
| 498 |
|
| 499 |
public function setKind($kind) |
| 500 |
{ |
| 501 |
$this->kind = $kind; |
| 502 |
} |
| 503 |
|
| 504 |
public function getKind() |
| 505 |
{ |
| 506 |
return $this->kind; |
| 507 |
} |
| 508 |
|
| 509 |
public function setMetadata(Google_Service_DoubleClickBidManager_QueryMetadata $metadata) |
| 510 |
{ |
| 511 |
$this->metadata = $metadata; |
| 512 |
} |
| 513 |
|
| 514 |
public function getMetadata() |
| 515 |
{ |
| 516 |
return $this->metadata; |
| 517 |
} |
| 518 |
|
| 519 |
public function setParams(Google_Service_DoubleClickBidManager_Parameters $params) |
| 520 |
{ |
| 521 |
$this->params = $params; |
| 522 |
} |
| 523 |
|
| 524 |
public function getParams() |
| 525 |
{ |
| 526 |
return $this->params; |
| 527 |
} |
| 528 |
|
| 529 |
public function setQueryId($queryId) |
| 530 |
{ |
| 531 |
$this->queryId = $queryId; |
| 532 |
} |
| 533 |
|
| 534 |
public function getQueryId() |
| 535 |
{ |
| 536 |
return $this->queryId; |
| 537 |
} |
| 538 |
|
| 539 |
public function setReportDataEndTimeMs($reportDataEndTimeMs) |
| 540 |
{ |
| 541 |
$this->reportDataEndTimeMs = $reportDataEndTimeMs; |
| 542 |
} |
| 543 |
|
| 544 |
public function getReportDataEndTimeMs() |
| 545 |
{ |
| 546 |
return $this->reportDataEndTimeMs; |
| 547 |
} |
| 548 |
|
| 549 |
public function setReportDataStartTimeMs($reportDataStartTimeMs) |
| 550 |
{ |
| 551 |
$this->reportDataStartTimeMs = $reportDataStartTimeMs; |
| 552 |
} |
| 553 |
|
| 554 |
public function getReportDataStartTimeMs() |
| 555 |
{ |
| 556 |
return $this->reportDataStartTimeMs; |
| 557 |
} |
| 558 |
|
| 559 |
public function setSchedule(Google_Service_DoubleClickBidManager_QuerySchedule $schedule) |
| 560 |
{ |
| 561 |
$this->schedule = $schedule; |
| 562 |
} |
| 563 |
|
| 564 |
public function getSchedule() |
| 565 |
{ |
| 566 |
return $this->schedule; |
| 567 |
} |
| 568 |
|
| 569 |
public function setTimezoneCode($timezoneCode) |
| 570 |
{ |
| 571 |
$this->timezoneCode = $timezoneCode; |
| 572 |
} |
| 573 |
|
| 574 |
public function getTimezoneCode() |
| 575 |
{ |
| 576 |
return $this->timezoneCode; |
| 577 |
} |
| 578 |
} |
| 579 |
|
| 580 |
class Google_Service_DoubleClickBidManager_QueryMetadata extends Google_Collection |
| 581 |
{ |
| 582 |
public $dataRange; |
| 583 |
public $format; |
| 584 |
public $googleCloudStoragePathForLatestReport; |
| 585 |
public $googleDrivePathForLatestReport; |
| 586 |
public $latestReportRunTimeMs; |
| 587 |
public $reportCount; |
| 588 |
public $running; |
| 589 |
public $sendNotification; |
| 590 |
public $shareEmailAddress; |
| 591 |
public $title; |
| 592 |
|
| 593 |
public function setDataRange($dataRange) |
| 594 |
{ |
| 595 |
$this->dataRange = $dataRange; |
| 596 |
} |
| 597 |
|
| 598 |
public function getDataRange() |
| 599 |
{ |
| 600 |
return $this->dataRange; |
| 601 |
} |
| 602 |
|
| 603 |
public function setFormat($format) |
| 604 |
{ |
| 605 |
$this->format = $format; |
| 606 |
} |
| 607 |
|
| 608 |
public function getFormat() |
| 609 |
{ |
| 610 |
return $this->format; |
| 611 |
} |
| 612 |
|
| 613 |
public function setGoogleCloudStoragePathForLatestReport($googleCloudStoragePathForLatestReport) |
| 614 |
{ |
| 615 |
$this->googleCloudStoragePathForLatestReport = $googleCloudStoragePathForLatestReport; |
| 616 |
} |
| 617 |
|
| 618 |
public function getGoogleCloudStoragePathForLatestReport() |
| 619 |
{ |
| 620 |
return $this->googleCloudStoragePathForLatestReport; |
| 621 |
} |
| 622 |
|
| 623 |
public function setGoogleDrivePathForLatestReport($googleDrivePathForLatestReport) |
| 624 |
{ |
| 625 |
$this->googleDrivePathForLatestReport = $googleDrivePathForLatestReport; |
| 626 |
} |
| 627 |
|
| 628 |
public function getGoogleDrivePathForLatestReport() |
| 629 |
{ |
| 630 |
return $this->googleDrivePathForLatestReport; |
| 631 |
} |
| 632 |
|
| 633 |
public function setLatestReportRunTimeMs($latestReportRunTimeMs) |
| 634 |
{ |
| 635 |
$this->latestReportRunTimeMs = $latestReportRunTimeMs; |
| 636 |
} |
| 637 |
|
| 638 |
public function getLatestReportRunTimeMs() |
| 639 |
{ |
| 640 |
return $this->latestReportRunTimeMs; |
| 641 |
} |
| 642 |
|
| 643 |
public function setReportCount($reportCount) |
| 644 |
{ |
| 645 |
$this->reportCount = $reportCount; |
| 646 |
} |
| 647 |
|
| 648 |
public function getReportCount() |
| 649 |
{ |
| 650 |
return $this->reportCount; |
| 651 |
} |
| 652 |
|
| 653 |
public function setRunning($running) |
| 654 |
{ |
| 655 |
$this->running = $running; |
| 656 |
} |
| 657 |
|
| 658 |
public function getRunning() |
| 659 |
{ |
| 660 |
return $this->running; |
| 661 |
} |
| 662 |
|
| 663 |
public function setSendNotification($sendNotification) |
| 664 |
{ |
| 665 |
$this->sendNotification = $sendNotification; |
| 666 |
} |
| 667 |
|
| 668 |
public function getSendNotification() |
| 669 |
{ |
| 670 |
return $this->sendNotification; |
| 671 |
} |
| 672 |
|
| 673 |
public function setShareEmailAddress($shareEmailAddress) |
| 674 |
{ |
| 675 |
$this->shareEmailAddress = $shareEmailAddress; |
| 676 |
} |
| 677 |
|
| 678 |
public function getShareEmailAddress() |
| 679 |
{ |
| 680 |
return $this->shareEmailAddress; |
| 681 |
} |
| 682 |
|
| 683 |
public function setTitle($title) |
| 684 |
{ |
| 685 |
$this->title = $title; |
| 686 |
} |
| 687 |
|
| 688 |
public function getTitle() |
| 689 |
{ |
| 690 |
return $this->title; |
| 691 |
} |
| 692 |
} |
| 693 |
|
| 694 |
class Google_Service_DoubleClickBidManager_QuerySchedule extends Google_Model |
| 695 |
{ |
| 696 |
public $endTimeMs; |
| 697 |
public $frequency; |
| 698 |
public $nextRunMinuteOfDay; |
| 699 |
public $nextRunTimezoneCode; |
| 700 |
|
| 701 |
public function setEndTimeMs($endTimeMs) |
| 702 |
{ |
| 703 |
$this->endTimeMs = $endTimeMs; |
| 704 |
} |
| 705 |
|
| 706 |
public function getEndTimeMs() |
| 707 |
{ |
| 708 |
return $this->endTimeMs; |
| 709 |
} |
| 710 |
|
| 711 |
public function setFrequency($frequency) |
| 712 |
{ |
| 713 |
$this->frequency = $frequency; |
| 714 |
} |
| 715 |
|
| 716 |
public function getFrequency() |
| 717 |
{ |
| 718 |
return $this->frequency; |
| 719 |
} |
| 720 |
|
| 721 |
public function setNextRunMinuteOfDay($nextRunMinuteOfDay) |
| 722 |
{ |
| 723 |
$this->nextRunMinuteOfDay = $nextRunMinuteOfDay; |
| 724 |
} |
| 725 |
|
| 726 |
public function getNextRunMinuteOfDay() |
| 727 |
{ |
| 728 |
return $this->nextRunMinuteOfDay; |
| 729 |
} |
| 730 |
|
| 731 |
public function setNextRunTimezoneCode($nextRunTimezoneCode) |
| 732 |
{ |
| 733 |
$this->nextRunTimezoneCode = $nextRunTimezoneCode; |
| 734 |
} |
| 735 |
|
| 736 |
public function getNextRunTimezoneCode() |
| 737 |
{ |
| 738 |
return $this->nextRunTimezoneCode; |
| 739 |
} |
| 740 |
} |
| 741 |
|
| 742 |
class Google_Service_DoubleClickBidManager_Report extends Google_Model |
| 743 |
{ |
| 744 |
protected $keyType = 'Google_Service_DoubleClickBidManager_ReportKey'; |
| 745 |
protected $keyDataType = ''; |
| 746 |
protected $metadataType = 'Google_Service_DoubleClickBidManager_ReportMetadata'; |
| 747 |
protected $metadataDataType = ''; |
| 748 |
protected $paramsType = 'Google_Service_DoubleClickBidManager_Parameters'; |
| 749 |
protected $paramsDataType = ''; |
| 750 |
|
| 751 |
public function setKey(Google_Service_DoubleClickBidManager_ReportKey $key) |
| 752 |
{ |
| 753 |
$this->key = $key; |
| 754 |
} |
| 755 |
|
| 756 |
public function getKey() |
| 757 |
{ |
| 758 |
return $this->key; |
| 759 |
} |
| 760 |
|
| 761 |
public function setMetadata(Google_Service_DoubleClickBidManager_ReportMetadata $metadata) |
| 762 |
{ |
| 763 |
$this->metadata = $metadata; |
| 764 |
} |
| 765 |
|
| 766 |
public function getMetadata() |
| 767 |
{ |
| 768 |
return $this->metadata; |
| 769 |
} |
| 770 |
|
| 771 |
public function setParams(Google_Service_DoubleClickBidManager_Parameters $params) |
| 772 |
{ |
| 773 |
$this->params = $params; |
| 774 |
} |
| 775 |
|
| 776 |
public function getParams() |
| 777 |
{ |
| 778 |
return $this->params; |
| 779 |
} |
| 780 |
} |
| 781 |
|
| 782 |
class Google_Service_DoubleClickBidManager_ReportFailure extends Google_Model |
| 783 |
{ |
| 784 |
public $errorCode; |
| 785 |
|
| 786 |
public function setErrorCode($errorCode) |
| 787 |
{ |
| 788 |
$this->errorCode = $errorCode; |
| 789 |
} |
| 790 |
|
| 791 |
public function getErrorCode() |
| 792 |
{ |
| 793 |
return $this->errorCode; |
| 794 |
} |
| 795 |
} |
| 796 |
|
| 797 |
class Google_Service_DoubleClickBidManager_ReportKey extends Google_Model |
| 798 |
{ |
| 799 |
public $queryId; |
| 800 |
public $reportId; |
| 801 |
|
| 802 |
public function setQueryId($queryId) |
| 803 |
{ |
| 804 |
$this->queryId = $queryId; |
| 805 |
} |
| 806 |
|
| 807 |
public function getQueryId() |
| 808 |
{ |
| 809 |
return $this->queryId; |
| 810 |
} |
| 811 |
|
| 812 |
public function setReportId($reportId) |
| 813 |
{ |
| 814 |
$this->reportId = $reportId; |
| 815 |
} |
| 816 |
|
| 817 |
public function getReportId() |
| 818 |
{ |
| 819 |
return $this->reportId; |
| 820 |
} |
| 821 |
} |
| 822 |
|
| 823 |
class Google_Service_DoubleClickBidManager_ReportMetadata extends Google_Model |
| 824 |
{ |
| 825 |
public $googleCloudStoragePath; |
| 826 |
public $reportDataEndTimeMs; |
| 827 |
public $reportDataStartTimeMs; |
| 828 |
protected $statusType = 'Google_Service_DoubleClickBidManager_ReportStatus'; |
| 829 |
protected $statusDataType = ''; |
| 830 |
|
| 831 |
public function setGoogleCloudStoragePath($googleCloudStoragePath) |
| 832 |
{ |
| 833 |
$this->googleCloudStoragePath = $googleCloudStoragePath; |
| 834 |
} |
| 835 |
|
| 836 |
public function getGoogleCloudStoragePath() |
| 837 |
{ |
| 838 |
return $this->googleCloudStoragePath; |
| 839 |
} |
| 840 |
|
| 841 |
public function setReportDataEndTimeMs($reportDataEndTimeMs) |
| 842 |
{ |
| 843 |
$this->reportDataEndTimeMs = $reportDataEndTimeMs; |
| 844 |
} |
| 845 |
|
| 846 |
public function getReportDataEndTimeMs() |
| 847 |
{ |
| 848 |
return $this->reportDataEndTimeMs; |
| 849 |
} |
| 850 |
|
| 851 |
public function setReportDataStartTimeMs($reportDataStartTimeMs) |
| 852 |
{ |
| 853 |
$this->reportDataStartTimeMs = $reportDataStartTimeMs; |
| 854 |
} |
| 855 |
|
| 856 |
public function getReportDataStartTimeMs() |
| 857 |
{ |
| 858 |
return $this->reportDataStartTimeMs; |
| 859 |
} |
| 860 |
|
| 861 |
public function setStatus(Google_Service_DoubleClickBidManager_ReportStatus $status) |
| 862 |
{ |
| 863 |
$this->status = $status; |
| 864 |
} |
| 865 |
|
| 866 |
public function getStatus() |
| 867 |
{ |
| 868 |
return $this->status; |
| 869 |
} |
| 870 |
} |
| 871 |
|
| 872 |
class Google_Service_DoubleClickBidManager_ReportStatus extends Google_Model |
| 873 |
{ |
| 874 |
protected $failureType = 'Google_Service_DoubleClickBidManager_ReportFailure'; |
| 875 |
protected $failureDataType = ''; |
| 876 |
public $finishTimeMs; |
| 877 |
public $format; |
| 878 |
public $state; |
| 879 |
|
| 880 |
public function setFailure(Google_Service_DoubleClickBidManager_ReportFailure $failure) |
| 881 |
{ |
| 882 |
$this->failure = $failure; |
| 883 |
} |
| 884 |
|
| 885 |
public function getFailure() |
| 886 |
{ |
| 887 |
return $this->failure; |
| 888 |
} |
| 889 |
|
| 890 |
public function setFinishTimeMs($finishTimeMs) |
| 891 |
{ |
| 892 |
$this->finishTimeMs = $finishTimeMs; |
| 893 |
} |
| 894 |
|
| 895 |
public function getFinishTimeMs() |
| 896 |
{ |
| 897 |
return $this->finishTimeMs; |
| 898 |
} |
| 899 |
|
| 900 |
public function setFormat($format) |
| 901 |
{ |
| 902 |
$this->format = $format; |
| 903 |
} |
| 904 |
|
| 905 |
public function getFormat() |
| 906 |
{ |
| 907 |
return $this->format; |
| 908 |
} |
| 909 |
|
| 910 |
public function setState($state) |
| 911 |
{ |
| 912 |
$this->state = $state; |
| 913 |
} |
| 914 |
|
| 915 |
public function getState() |
| 916 |
{ |
| 917 |
return $this->state; |
| 918 |
} |
| 919 |
} |
| 920 |
|
| 921 |
class Google_Service_DoubleClickBidManager_RowStatus extends Google_Collection |
| 922 |
{ |
| 923 |
public $changed; |
| 924 |
public $entityId; |
| 925 |
public $entityName; |
| 926 |
public $errors; |
| 927 |
public $persisted; |
| 928 |
public $rowNumber; |
| 929 |
|
| 930 |
public function setChanged($changed) |
| 931 |
{ |
| 932 |
$this->changed = $changed; |
| 933 |
} |
| 934 |
|
| 935 |
public function getChanged() |
| 936 |
{ |
| 937 |
return $this->changed; |
| 938 |
} |
| 939 |
|
| 940 |
public function setEntityId($entityId) |
| 941 |
{ |
| 942 |
$this->entityId = $entityId; |
| 943 |
} |
| 944 |
|
| 945 |
public function getEntityId() |
| 946 |
{ |
| 947 |
return $this->entityId; |
| 948 |
} |
| 949 |
|
| 950 |
public function setEntityName($entityName) |
| 951 |
{ |
| 952 |
$this->entityName = $entityName; |
| 953 |
} |
| 954 |
|
| 955 |
public function getEntityName() |
| 956 |
{ |
| 957 |
return $this->entityName; |
| 958 |
} |
| 959 |
|
| 960 |
public function setErrors($errors) |
| 961 |
{ |
| 962 |
$this->errors = $errors; |
| 963 |
} |
| 964 |
|
| 965 |
public function getErrors() |
| 966 |
{ |
| 967 |
return $this->errors; |
| 968 |
} |
| 969 |
|
| 970 |
public function setPersisted($persisted) |
| 971 |
{ |
| 972 |
$this->persisted = $persisted; |
| 973 |
} |
| 974 |
|
| 975 |
public function getPersisted() |
| 976 |
{ |
| 977 |
return $this->persisted; |
| 978 |
} |
| 979 |
|
| 980 |
public function setRowNumber($rowNumber) |
| 981 |
{ |
| 982 |
$this->rowNumber = $rowNumber; |
| 983 |
} |
| 984 |
|
| 985 |
public function getRowNumber() |
| 986 |
{ |
| 987 |
return $this->rowNumber; |
| 988 |
} |
| 989 |
} |
| 990 |
|
| 991 |
class Google_Service_DoubleClickBidManager_RunQueryRequest extends Google_Model |
| 992 |
{ |
| 993 |
public $dataRange; |
| 994 |
public $reportDataEndTimeMs; |
| 995 |
public $reportDataStartTimeMs; |
| 996 |
public $timezoneCode; |
| 997 |
|
| 998 |
public function setDataRange($dataRange) |
| 999 |
{ |
| 1000 |
$this->dataRange = $dataRange; |
| 1001 |
} |
| 1002 |
|
| 1003 |
public function getDataRange() |
| 1004 |
{ |
| 1005 |
return $this->dataRange; |
| 1006 |
} |
| 1007 |
|
| 1008 |
public function setReportDataEndTimeMs($reportDataEndTimeMs) |
| 1009 |
{ |
| 1010 |
$this->reportDataEndTimeMs = $reportDataEndTimeMs; |
| 1011 |
} |
| 1012 |
|
| 1013 |
public function getReportDataEndTimeMs() |
| 1014 |
{ |
| 1015 |
return $this->reportDataEndTimeMs; |
| 1016 |
} |
| 1017 |
|
| 1018 |
public function setReportDataStartTimeMs($reportDataStartTimeMs) |
| 1019 |
{ |
| 1020 |
$this->reportDataStartTimeMs = $reportDataStartTimeMs; |
| 1021 |
} |
| 1022 |
|
| 1023 |
public function getReportDataStartTimeMs() |
| 1024 |
{ |
| 1025 |
return $this->reportDataStartTimeMs; |
| 1026 |
} |
| 1027 |
|
| 1028 |
public function setTimezoneCode($timezoneCode) |
| 1029 |
{ |
| 1030 |
$this->timezoneCode = $timezoneCode; |
| 1031 |
} |
| 1032 |
|
| 1033 |
public function getTimezoneCode() |
| 1034 |
{ |
| 1035 |
return $this->timezoneCode; |
| 1036 |
} |
| 1037 |
} |
| 1038 |
|
| 1039 |
class Google_Service_DoubleClickBidManager_UploadLineItemsRequest extends Google_Model |
| 1040 |
{ |
| 1041 |
public $dryRun; |
| 1042 |
public $format; |
| 1043 |
public $lineItems; |
| 1044 |
|
| 1045 |
public function setDryRun($dryRun) |
| 1046 |
{ |
| 1047 |
$this->dryRun = $dryRun; |
| 1048 |
} |
| 1049 |
|
| 1050 |
public function getDryRun() |
| 1051 |
{ |
| 1052 |
return $this->dryRun; |
| 1053 |
} |
| 1054 |
|
| 1055 |
public function setFormat($format) |
| 1056 |
{ |
| 1057 |
$this->format = $format; |
| 1058 |
} |
| 1059 |
|
| 1060 |
public function getFormat() |
| 1061 |
{ |
| 1062 |
return $this->format; |
| 1063 |
} |
| 1064 |
|
| 1065 |
public function setLineItems($lineItems) |
| 1066 |
{ |
| 1067 |
$this->lineItems = $lineItems; |
| 1068 |
} |
| 1069 |
|
| 1070 |
public function getLineItems() |
| 1071 |
{ |
| 1072 |
return $this->lineItems; |
| 1073 |
} |
| 1074 |
} |
| 1075 |
|
| 1076 |
class Google_Service_DoubleClickBidManager_UploadLineItemsResponse extends Google_Model |
| 1077 |
{ |
| 1078 |
protected $uploadStatusType = 'Google_Service_DoubleClickBidManager_UploadStatus'; |
| 1079 |
protected $uploadStatusDataType = ''; |
| 1080 |
|
| 1081 |
public function setUploadStatus(Google_Service_DoubleClickBidManager_UploadStatus $uploadStatus) |
| 1082 |
{ |
| 1083 |
$this->uploadStatus = $uploadStatus; |
| 1084 |
} |
| 1085 |
|
| 1086 |
public function getUploadStatus() |
| 1087 |
{ |
| 1088 |
return $this->uploadStatus; |
| 1089 |
} |
| 1090 |
} |
| 1091 |
|
| 1092 |
class Google_Service_DoubleClickBidManager_UploadStatus extends Google_Collection |
| 1093 |
{ |
| 1094 |
public $errors; |
| 1095 |
protected $rowStatusType = 'Google_Service_DoubleClickBidManager_RowStatus'; |
| 1096 |
protected $rowStatusDataType = 'array'; |
| 1097 |
|
| 1098 |
public function setErrors($errors) |
| 1099 |
{ |
| 1100 |
$this->errors = $errors; |
| 1101 |
} |
| 1102 |
|
| 1103 |
public function getErrors() |
| 1104 |
{ |
| 1105 |
return $this->errors; |
| 1106 |
} |
| 1107 |
|
| 1108 |
public function setRowStatus($rowStatus) |
| 1109 |
{ |
| 1110 |
$this->rowStatus = $rowStatus; |
| 1111 |
} |
| 1112 |
|
| 1113 |
public function getRowStatus() |
| 1114 |
{ |
| 1115 |
return $this->rowStatus; |
| 1116 |
} |
| 1117 |
} |
| 1118 |
|