PageRenderTime 42ms CodeModel.GetById 13ms RepoModel.GetById 1ms app.codeStats 0ms

/src/Google/Service/DoubleClickBidManager.php

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