PageRenderTime 63ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/src/Google/Service/AdExchangeSeller.php

https://github.com/leogaggl/pluspress
PHP | 1996 lines | 1400 code | 224 blank | 372 comment | 0 complexity | 86f6d9e59e8ea5de1e181092ec319bec 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 AdExchangeSeller (v1.1).
  19. *
  20. * <p>
  21. * Gives Ad Exchange seller users access to their inventory and the ability to generate reports
  22. * </p>
  23. *
  24. * <p>
  25. * For more information about this service, see the API
  26. * <a href="https://developers.google.com/ad-exchange/seller-rest/" target="_blank">Documentation</a>
  27. * </p>
  28. *
  29. * @author Google, Inc.
  30. */
  31. class Google_Service_AdExchangeSeller extends Google_Service
  32. {
  33. /** View and manage your Ad Exchange data. */
  34. const ADEXCHANGE_SELLER = "https://www.googleapis.com/auth/adexchange.seller";
  35. /** View your Ad Exchange data. */
  36. const ADEXCHANGE_SELLER_READONLY = "https://www.googleapis.com/auth/adexchange.seller.readonly";
  37. public $accounts;
  38. public $adclients;
  39. public $adunits;
  40. public $adunits_customchannels;
  41. public $alerts;
  42. public $customchannels;
  43. public $customchannels_adunits;
  44. public $metadata_dimensions;
  45. public $metadata_metrics;
  46. public $preferreddeals;
  47. public $reports;
  48. public $reports_saved;
  49. public $urlchannels;
  50. /**
  51. * Constructs the internal representation of the AdExchangeSeller service.
  52. *
  53. * @param Google_Client $client
  54. */
  55. public function __construct(Google_Client $client)
  56. {
  57. parent::__construct($client);
  58. $this->servicePath = 'adexchangeseller/v1.1/';
  59. $this->version = 'v1.1';
  60. $this->serviceName = 'adexchangeseller';
  61. $this->accounts = new Google_Service_AdExchangeSeller_Accounts_Resource(
  62. $this,
  63. $this->serviceName,
  64. 'accounts',
  65. array(
  66. 'methods' => array(
  67. 'get' => array(
  68. 'path' => 'accounts/{accountId}',
  69. 'httpMethod' => 'GET',
  70. 'parameters' => array(
  71. 'accountId' => array(
  72. 'location' => 'path',
  73. 'type' => 'string',
  74. 'required' => true,
  75. ),
  76. ),
  77. ),
  78. )
  79. )
  80. );
  81. $this->adclients = new Google_Service_AdExchangeSeller_Adclients_Resource(
  82. $this,
  83. $this->serviceName,
  84. 'adclients',
  85. array(
  86. 'methods' => array(
  87. 'list' => array(
  88. 'path' => 'adclients',
  89. 'httpMethod' => 'GET',
  90. 'parameters' => array(
  91. 'pageToken' => array(
  92. 'location' => 'query',
  93. 'type' => 'string',
  94. ),
  95. 'maxResults' => array(
  96. 'location' => 'query',
  97. 'type' => 'integer',
  98. ),
  99. ),
  100. ),
  101. )
  102. )
  103. );
  104. $this->adunits = new Google_Service_AdExchangeSeller_Adunits_Resource(
  105. $this,
  106. $this->serviceName,
  107. 'adunits',
  108. array(
  109. 'methods' => array(
  110. 'get' => array(
  111. 'path' => 'adclients/{adClientId}/adunits/{adUnitId}',
  112. 'httpMethod' => 'GET',
  113. 'parameters' => array(
  114. 'adClientId' => array(
  115. 'location' => 'path',
  116. 'type' => 'string',
  117. 'required' => true,
  118. ),
  119. 'adUnitId' => array(
  120. 'location' => 'path',
  121. 'type' => 'string',
  122. 'required' => true,
  123. ),
  124. ),
  125. ),'list' => array(
  126. 'path' => 'adclients/{adClientId}/adunits',
  127. 'httpMethod' => 'GET',
  128. 'parameters' => array(
  129. 'adClientId' => array(
  130. 'location' => 'path',
  131. 'type' => 'string',
  132. 'required' => true,
  133. ),
  134. 'includeInactive' => array(
  135. 'location' => 'query',
  136. 'type' => 'boolean',
  137. ),
  138. 'pageToken' => array(
  139. 'location' => 'query',
  140. 'type' => 'string',
  141. ),
  142. 'maxResults' => array(
  143. 'location' => 'query',
  144. 'type' => 'integer',
  145. ),
  146. ),
  147. ),
  148. )
  149. )
  150. );
  151. $this->adunits_customchannels = new Google_Service_AdExchangeSeller_AdunitsCustomchannels_Resource(
  152. $this,
  153. $this->serviceName,
  154. 'customchannels',
  155. array(
  156. 'methods' => array(
  157. 'list' => array(
  158. 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels',
  159. 'httpMethod' => 'GET',
  160. 'parameters' => array(
  161. 'adClientId' => array(
  162. 'location' => 'path',
  163. 'type' => 'string',
  164. 'required' => true,
  165. ),
  166. 'adUnitId' => array(
  167. 'location' => 'path',
  168. 'type' => 'string',
  169. 'required' => true,
  170. ),
  171. 'pageToken' => array(
  172. 'location' => 'query',
  173. 'type' => 'string',
  174. ),
  175. 'maxResults' => array(
  176. 'location' => 'query',
  177. 'type' => 'integer',
  178. ),
  179. ),
  180. ),
  181. )
  182. )
  183. );
  184. $this->alerts = new Google_Service_AdExchangeSeller_Alerts_Resource(
  185. $this,
  186. $this->serviceName,
  187. 'alerts',
  188. array(
  189. 'methods' => array(
  190. 'list' => array(
  191. 'path' => 'alerts',
  192. 'httpMethod' => 'GET',
  193. 'parameters' => array(
  194. 'locale' => array(
  195. 'location' => 'query',
  196. 'type' => 'string',
  197. ),
  198. ),
  199. ),
  200. )
  201. )
  202. );
  203. $this->customchannels = new Google_Service_AdExchangeSeller_Customchannels_Resource(
  204. $this,
  205. $this->serviceName,
  206. 'customchannels',
  207. array(
  208. 'methods' => array(
  209. 'get' => array(
  210. 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}',
  211. 'httpMethod' => 'GET',
  212. 'parameters' => array(
  213. 'adClientId' => array(
  214. 'location' => 'path',
  215. 'type' => 'string',
  216. 'required' => true,
  217. ),
  218. 'customChannelId' => array(
  219. 'location' => 'path',
  220. 'type' => 'string',
  221. 'required' => true,
  222. ),
  223. ),
  224. ),'list' => array(
  225. 'path' => 'adclients/{adClientId}/customchannels',
  226. 'httpMethod' => 'GET',
  227. 'parameters' => array(
  228. 'adClientId' => array(
  229. 'location' => 'path',
  230. 'type' => 'string',
  231. 'required' => true,
  232. ),
  233. 'pageToken' => array(
  234. 'location' => 'query',
  235. 'type' => 'string',
  236. ),
  237. 'maxResults' => array(
  238. 'location' => 'query',
  239. 'type' => 'integer',
  240. ),
  241. ),
  242. ),
  243. )
  244. )
  245. );
  246. $this->customchannels_adunits = new Google_Service_AdExchangeSeller_CustomchannelsAdunits_Resource(
  247. $this,
  248. $this->serviceName,
  249. 'adunits',
  250. array(
  251. 'methods' => array(
  252. 'list' => array(
  253. 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits',
  254. 'httpMethod' => 'GET',
  255. 'parameters' => array(
  256. 'adClientId' => array(
  257. 'location' => 'path',
  258. 'type' => 'string',
  259. 'required' => true,
  260. ),
  261. 'customChannelId' => array(
  262. 'location' => 'path',
  263. 'type' => 'string',
  264. 'required' => true,
  265. ),
  266. 'includeInactive' => array(
  267. 'location' => 'query',
  268. 'type' => 'boolean',
  269. ),
  270. 'pageToken' => array(
  271. 'location' => 'query',
  272. 'type' => 'string',
  273. ),
  274. 'maxResults' => array(
  275. 'location' => 'query',
  276. 'type' => 'integer',
  277. ),
  278. ),
  279. ),
  280. )
  281. )
  282. );
  283. $this->metadata_dimensions = new Google_Service_AdExchangeSeller_MetadataDimensions_Resource(
  284. $this,
  285. $this->serviceName,
  286. 'dimensions',
  287. array(
  288. 'methods' => array(
  289. 'list' => array(
  290. 'path' => 'metadata/dimensions',
  291. 'httpMethod' => 'GET',
  292. 'parameters' => array(),
  293. ),
  294. )
  295. )
  296. );
  297. $this->metadata_metrics = new Google_Service_AdExchangeSeller_MetadataMetrics_Resource(
  298. $this,
  299. $this->serviceName,
  300. 'metrics',
  301. array(
  302. 'methods' => array(
  303. 'list' => array(
  304. 'path' => 'metadata/metrics',
  305. 'httpMethod' => 'GET',
  306. 'parameters' => array(),
  307. ),
  308. )
  309. )
  310. );
  311. $this->preferreddeals = new Google_Service_AdExchangeSeller_Preferreddeals_Resource(
  312. $this,
  313. $this->serviceName,
  314. 'preferreddeals',
  315. array(
  316. 'methods' => array(
  317. 'get' => array(
  318. 'path' => 'preferreddeals/{dealId}',
  319. 'httpMethod' => 'GET',
  320. 'parameters' => array(
  321. 'dealId' => array(
  322. 'location' => 'path',
  323. 'type' => 'string',
  324. 'required' => true,
  325. ),
  326. ),
  327. ),'list' => array(
  328. 'path' => 'preferreddeals',
  329. 'httpMethod' => 'GET',
  330. 'parameters' => array(),
  331. ),
  332. )
  333. )
  334. );
  335. $this->reports = new Google_Service_AdExchangeSeller_Reports_Resource(
  336. $this,
  337. $this->serviceName,
  338. 'reports',
  339. array(
  340. 'methods' => array(
  341. 'generate' => array(
  342. 'path' => 'reports',
  343. 'httpMethod' => 'GET',
  344. 'parameters' => array(
  345. 'startDate' => array(
  346. 'location' => 'query',
  347. 'type' => 'string',
  348. 'required' => true,
  349. ),
  350. 'endDate' => array(
  351. 'location' => 'query',
  352. 'type' => 'string',
  353. 'required' => true,
  354. ),
  355. 'sort' => array(
  356. 'location' => 'query',
  357. 'type' => 'string',
  358. 'repeated' => true,
  359. ),
  360. 'locale' => array(
  361. 'location' => 'query',
  362. 'type' => 'string',
  363. ),
  364. 'metric' => array(
  365. 'location' => 'query',
  366. 'type' => 'string',
  367. 'repeated' => true,
  368. ),
  369. 'maxResults' => array(
  370. 'location' => 'query',
  371. 'type' => 'integer',
  372. ),
  373. 'filter' => array(
  374. 'location' => 'query',
  375. 'type' => 'string',
  376. 'repeated' => true,
  377. ),
  378. 'startIndex' => array(
  379. 'location' => 'query',
  380. 'type' => 'integer',
  381. ),
  382. 'dimension' => array(
  383. 'location' => 'query',
  384. 'type' => 'string',
  385. 'repeated' => true,
  386. ),
  387. ),
  388. ),
  389. )
  390. )
  391. );
  392. $this->reports_saved = new Google_Service_AdExchangeSeller_ReportsSaved_Resource(
  393. $this,
  394. $this->serviceName,
  395. 'saved',
  396. array(
  397. 'methods' => array(
  398. 'generate' => array(
  399. 'path' => 'reports/{savedReportId}',
  400. 'httpMethod' => 'GET',
  401. 'parameters' => array(
  402. 'savedReportId' => array(
  403. 'location' => 'path',
  404. 'type' => 'string',
  405. 'required' => true,
  406. ),
  407. 'locale' => array(
  408. 'location' => 'query',
  409. 'type' => 'string',
  410. ),
  411. 'startIndex' => array(
  412. 'location' => 'query',
  413. 'type' => 'integer',
  414. ),
  415. 'maxResults' => array(
  416. 'location' => 'query',
  417. 'type' => 'integer',
  418. ),
  419. ),
  420. ),'list' => array(
  421. 'path' => 'reports/saved',
  422. 'httpMethod' => 'GET',
  423. 'parameters' => array(
  424. 'pageToken' => array(
  425. 'location' => 'query',
  426. 'type' => 'string',
  427. ),
  428. 'maxResults' => array(
  429. 'location' => 'query',
  430. 'type' => 'integer',
  431. ),
  432. ),
  433. ),
  434. )
  435. )
  436. );
  437. $this->urlchannels = new Google_Service_AdExchangeSeller_Urlchannels_Resource(
  438. $this,
  439. $this->serviceName,
  440. 'urlchannels',
  441. array(
  442. 'methods' => array(
  443. 'list' => array(
  444. 'path' => 'adclients/{adClientId}/urlchannels',
  445. 'httpMethod' => 'GET',
  446. 'parameters' => array(
  447. 'adClientId' => array(
  448. 'location' => 'path',
  449. 'type' => 'string',
  450. 'required' => true,
  451. ),
  452. 'pageToken' => array(
  453. 'location' => 'query',
  454. 'type' => 'string',
  455. ),
  456. 'maxResults' => array(
  457. 'location' => 'query',
  458. 'type' => 'integer',
  459. ),
  460. ),
  461. ),
  462. )
  463. )
  464. );
  465. }
  466. }
  467. /**
  468. * The "accounts" collection of methods.
  469. * Typical usage is:
  470. * <code>
  471. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  472. * $accounts = $adexchangesellerService->accounts;
  473. * </code>
  474. */
  475. class Google_Service_AdExchangeSeller_Accounts_Resource extends Google_Service_Resource
  476. {
  477. /**
  478. * Get information about the selected Ad Exchange account. (accounts.get)
  479. *
  480. * @param string $accountId
  481. * Account to get information about. Tip: 'myaccount' is a valid ID.
  482. * @param array $optParams Optional parameters.
  483. * @return Google_Service_AdExchangeSeller_Account
  484. */
  485. public function get($accountId, $optParams = array())
  486. {
  487. $params = array('accountId' => $accountId);
  488. $params = array_merge($params, $optParams);
  489. return $this->call('get', array($params), "Google_Service_AdExchangeSeller_Account");
  490. }
  491. }
  492. /**
  493. * The "adclients" collection of methods.
  494. * Typical usage is:
  495. * <code>
  496. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  497. * $adclients = $adexchangesellerService->adclients;
  498. * </code>
  499. */
  500. class Google_Service_AdExchangeSeller_Adclients_Resource extends Google_Service_Resource
  501. {
  502. /**
  503. * List all ad clients in this Ad Exchange account. (adclients.listAdclients)
  504. *
  505. * @param array $optParams Optional parameters.
  506. *
  507. * @opt_param string pageToken
  508. * A continuation token, used to page through ad clients. To retrieve the next page, set this
  509. * parameter to the value of "nextPageToken" from the previous response.
  510. * @opt_param string maxResults
  511. * The maximum number of ad clients to include in the response, used for paging.
  512. * @return Google_Service_AdExchangeSeller_AdClients
  513. */
  514. public function listAdclients($optParams = array())
  515. {
  516. $params = array();
  517. $params = array_merge($params, $optParams);
  518. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdClients");
  519. }
  520. }
  521. /**
  522. * The "adunits" collection of methods.
  523. * Typical usage is:
  524. * <code>
  525. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  526. * $adunits = $adexchangesellerService->adunits;
  527. * </code>
  528. */
  529. class Google_Service_AdExchangeSeller_Adunits_Resource extends Google_Service_Resource
  530. {
  531. /**
  532. * Gets the specified ad unit in the specified ad client. (adunits.get)
  533. *
  534. * @param string $adClientId
  535. * Ad client for which to get the ad unit.
  536. * @param string $adUnitId
  537. * Ad unit to retrieve.
  538. * @param array $optParams Optional parameters.
  539. * @return Google_Service_AdExchangeSeller_AdUnit
  540. */
  541. public function get($adClientId, $adUnitId, $optParams = array())
  542. {
  543. $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
  544. $params = array_merge($params, $optParams);
  545. return $this->call('get', array($params), "Google_Service_AdExchangeSeller_AdUnit");
  546. }
  547. /**
  548. * List all ad units in the specified ad client for this Ad Exchange account.
  549. * (adunits.listAdunits)
  550. *
  551. * @param string $adClientId
  552. * Ad client for which to list ad units.
  553. * @param array $optParams Optional parameters.
  554. *
  555. * @opt_param bool includeInactive
  556. * Whether to include inactive ad units. Default: true.
  557. * @opt_param string pageToken
  558. * A continuation token, used to page through ad units. To retrieve the next page, set this
  559. * parameter to the value of "nextPageToken" from the previous response.
  560. * @opt_param string maxResults
  561. * The maximum number of ad units to include in the response, used for paging.
  562. * @return Google_Service_AdExchangeSeller_AdUnits
  563. */
  564. public function listAdunits($adClientId, $optParams = array())
  565. {
  566. $params = array('adClientId' => $adClientId);
  567. $params = array_merge($params, $optParams);
  568. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdUnits");
  569. }
  570. }
  571. /**
  572. * The "customchannels" collection of methods.
  573. * Typical usage is:
  574. * <code>
  575. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  576. * $customchannels = $adexchangesellerService->customchannels;
  577. * </code>
  578. */
  579. class Google_Service_AdExchangeSeller_AdunitsCustomchannels_Resource extends Google_Service_Resource
  580. {
  581. /**
  582. * List all custom channels which the specified ad unit belongs to.
  583. * (customchannels.listAdunitsCustomchannels)
  584. *
  585. * @param string $adClientId
  586. * Ad client which contains the ad unit.
  587. * @param string $adUnitId
  588. * Ad unit for which to list custom channels.
  589. * @param array $optParams Optional parameters.
  590. *
  591. * @opt_param string pageToken
  592. * A continuation token, used to page through custom channels. To retrieve the next page, set this
  593. * parameter to the value of "nextPageToken" from the previous response.
  594. * @opt_param string maxResults
  595. * The maximum number of custom channels to include in the response, used for paging.
  596. * @return Google_Service_AdExchangeSeller_CustomChannels
  597. */
  598. public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array())
  599. {
  600. $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
  601. $params = array_merge($params, $optParams);
  602. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_CustomChannels");
  603. }
  604. }
  605. /**
  606. * The "alerts" collection of methods.
  607. * Typical usage is:
  608. * <code>
  609. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  610. * $alerts = $adexchangesellerService->alerts;
  611. * </code>
  612. */
  613. class Google_Service_AdExchangeSeller_Alerts_Resource extends Google_Service_Resource
  614. {
  615. /**
  616. * List the alerts for this Ad Exchange account. (alerts.listAlerts)
  617. *
  618. * @param array $optParams Optional parameters.
  619. *
  620. * @opt_param string locale
  621. * The locale to use for translating alert messages. The account locale will be used if this is not
  622. * supplied. The AdSense default (English) will be used if the supplied locale is invalid or
  623. * unsupported.
  624. * @return Google_Service_AdExchangeSeller_Alerts
  625. */
  626. public function listAlerts($optParams = array())
  627. {
  628. $params = array();
  629. $params = array_merge($params, $optParams);
  630. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Alerts");
  631. }
  632. }
  633. /**
  634. * The "customchannels" collection of methods.
  635. * Typical usage is:
  636. * <code>
  637. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  638. * $customchannels = $adexchangesellerService->customchannels;
  639. * </code>
  640. */
  641. class Google_Service_AdExchangeSeller_Customchannels_Resource extends Google_Service_Resource
  642. {
  643. /**
  644. * Get the specified custom channel from the specified ad client.
  645. * (customchannels.get)
  646. *
  647. * @param string $adClientId
  648. * Ad client which contains the custom channel.
  649. * @param string $customChannelId
  650. * Custom channel to retrieve.
  651. * @param array $optParams Optional parameters.
  652. * @return Google_Service_AdExchangeSeller_CustomChannel
  653. */
  654. public function get($adClientId, $customChannelId, $optParams = array())
  655. {
  656. $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
  657. $params = array_merge($params, $optParams);
  658. return $this->call('get', array($params), "Google_Service_AdExchangeSeller_CustomChannel");
  659. }
  660. /**
  661. * List all custom channels in the specified ad client for this Ad Exchange
  662. * account. (customchannels.listCustomchannels)
  663. *
  664. * @param string $adClientId
  665. * Ad client for which to list custom channels.
  666. * @param array $optParams Optional parameters.
  667. *
  668. * @opt_param string pageToken
  669. * A continuation token, used to page through custom channels. To retrieve the next page, set this
  670. * parameter to the value of "nextPageToken" from the previous response.
  671. * @opt_param string maxResults
  672. * The maximum number of custom channels to include in the response, used for paging.
  673. * @return Google_Service_AdExchangeSeller_CustomChannels
  674. */
  675. public function listCustomchannels($adClientId, $optParams = array())
  676. {
  677. $params = array('adClientId' => $adClientId);
  678. $params = array_merge($params, $optParams);
  679. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_CustomChannels");
  680. }
  681. }
  682. /**
  683. * The "adunits" collection of methods.
  684. * Typical usage is:
  685. * <code>
  686. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  687. * $adunits = $adexchangesellerService->adunits;
  688. * </code>
  689. */
  690. class Google_Service_AdExchangeSeller_CustomchannelsAdunits_Resource extends Google_Service_Resource
  691. {
  692. /**
  693. * List all ad units in the specified custom channel.
  694. * (adunits.listCustomchannelsAdunits)
  695. *
  696. * @param string $adClientId
  697. * Ad client which contains the custom channel.
  698. * @param string $customChannelId
  699. * Custom channel for which to list ad units.
  700. * @param array $optParams Optional parameters.
  701. *
  702. * @opt_param bool includeInactive
  703. * Whether to include inactive ad units. Default: true.
  704. * @opt_param string pageToken
  705. * A continuation token, used to page through ad units. To retrieve the next page, set this
  706. * parameter to the value of "nextPageToken" from the previous response.
  707. * @opt_param string maxResults
  708. * The maximum number of ad units to include in the response, used for paging.
  709. * @return Google_Service_AdExchangeSeller_AdUnits
  710. */
  711. public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array())
  712. {
  713. $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
  714. $params = array_merge($params, $optParams);
  715. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdUnits");
  716. }
  717. }
  718. /**
  719. * The "metadata" collection of methods.
  720. * Typical usage is:
  721. * <code>
  722. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  723. * $metadata = $adexchangesellerService->metadata;
  724. * </code>
  725. */
  726. class Google_Service_AdExchangeSeller_Metadata_Resource extends Google_Service_Resource
  727. {
  728. }
  729. /**
  730. * The "dimensions" collection of methods.
  731. * Typical usage is:
  732. * <code>
  733. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  734. * $dimensions = $adexchangesellerService->dimensions;
  735. * </code>
  736. */
  737. class Google_Service_AdExchangeSeller_MetadataDimensions_Resource extends Google_Service_Resource
  738. {
  739. /**
  740. * List the metadata for the dimensions available to this AdExchange account.
  741. * (dimensions.listMetadataDimensions)
  742. *
  743. * @param array $optParams Optional parameters.
  744. * @return Google_Service_AdExchangeSeller_Metadata
  745. */
  746. public function listMetadataDimensions($optParams = array())
  747. {
  748. $params = array();
  749. $params = array_merge($params, $optParams);
  750. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata");
  751. }
  752. }
  753. /**
  754. * The "metrics" collection of methods.
  755. * Typical usage is:
  756. * <code>
  757. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  758. * $metrics = $adexchangesellerService->metrics;
  759. * </code>
  760. */
  761. class Google_Service_AdExchangeSeller_MetadataMetrics_Resource extends Google_Service_Resource
  762. {
  763. /**
  764. * List the metadata for the metrics available to this AdExchange account.
  765. * (metrics.listMetadataMetrics)
  766. *
  767. * @param array $optParams Optional parameters.
  768. * @return Google_Service_AdExchangeSeller_Metadata
  769. */
  770. public function listMetadataMetrics($optParams = array())
  771. {
  772. $params = array();
  773. $params = array_merge($params, $optParams);
  774. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata");
  775. }
  776. }
  777. /**
  778. * The "preferreddeals" collection of methods.
  779. * Typical usage is:
  780. * <code>
  781. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  782. * $preferreddeals = $adexchangesellerService->preferreddeals;
  783. * </code>
  784. */
  785. class Google_Service_AdExchangeSeller_Preferreddeals_Resource extends Google_Service_Resource
  786. {
  787. /**
  788. * Get information about the selected Ad Exchange Preferred Deal.
  789. * (preferreddeals.get)
  790. *
  791. * @param string $dealId
  792. * Preferred deal to get information about.
  793. * @param array $optParams Optional parameters.
  794. * @return Google_Service_AdExchangeSeller_PreferredDeal
  795. */
  796. public function get($dealId, $optParams = array())
  797. {
  798. $params = array('dealId' => $dealId);
  799. $params = array_merge($params, $optParams);
  800. return $this->call('get', array($params), "Google_Service_AdExchangeSeller_PreferredDeal");
  801. }
  802. /**
  803. * List the preferred deals for this Ad Exchange account.
  804. * (preferreddeals.listPreferreddeals)
  805. *
  806. * @param array $optParams Optional parameters.
  807. * @return Google_Service_AdExchangeSeller_PreferredDeals
  808. */
  809. public function listPreferreddeals($optParams = array())
  810. {
  811. $params = array();
  812. $params = array_merge($params, $optParams);
  813. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_PreferredDeals");
  814. }
  815. }
  816. /**
  817. * The "reports" collection of methods.
  818. * Typical usage is:
  819. * <code>
  820. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  821. * $reports = $adexchangesellerService->reports;
  822. * </code>
  823. */
  824. class Google_Service_AdExchangeSeller_Reports_Resource extends Google_Service_Resource
  825. {
  826. /**
  827. * Generate an Ad Exchange report based on the report request sent in the query
  828. * parameters. Returns the result as JSON; to retrieve output in CSV format
  829. * specify "alt=csv" as a query parameter. (reports.generate)
  830. *
  831. * @param string $startDate
  832. * Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
  833. * @param string $endDate
  834. * End of the date range to report on in "YYYY-MM-DD" format, inclusive.
  835. * @param array $optParams Optional parameters.
  836. *
  837. * @opt_param string sort
  838. * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+"
  839. * to sort ascending or "-" to sort descending. If no prefix is specified, the column is sorted
  840. * ascending.
  841. * @opt_param string locale
  842. * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
  843. * not specified.
  844. * @opt_param string metric
  845. * Numeric columns to include in the report.
  846. * @opt_param string maxResults
  847. * The maximum number of rows of report data to return.
  848. * @opt_param string filter
  849. * Filters to be run on the report.
  850. * @opt_param string startIndex
  851. * Index of the first row of report data to return.
  852. * @opt_param string dimension
  853. * Dimensions to base the report on.
  854. * @return Google_Service_AdExchangeSeller_Report
  855. */
  856. public function generate($startDate, $endDate, $optParams = array())
  857. {
  858. $params = array('startDate' => $startDate, 'endDate' => $endDate);
  859. $params = array_merge($params, $optParams);
  860. return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report");
  861. }
  862. }
  863. /**
  864. * The "saved" collection of methods.
  865. * Typical usage is:
  866. * <code>
  867. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  868. * $saved = $adexchangesellerService->saved;
  869. * </code>
  870. */
  871. class Google_Service_AdExchangeSeller_ReportsSaved_Resource extends Google_Service_Resource
  872. {
  873. /**
  874. * Generate an Ad Exchange report based on the saved report ID sent in the query
  875. * parameters. (saved.generate)
  876. *
  877. * @param string $savedReportId
  878. * The saved report to retrieve.
  879. * @param array $optParams Optional parameters.
  880. *
  881. * @opt_param string locale
  882. * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
  883. * not specified.
  884. * @opt_param int startIndex
  885. * Index of the first row of report data to return.
  886. * @opt_param int maxResults
  887. * The maximum number of rows of report data to return.
  888. * @return Google_Service_AdExchangeSeller_Report
  889. */
  890. public function generate($savedReportId, $optParams = array())
  891. {
  892. $params = array('savedReportId' => $savedReportId);
  893. $params = array_merge($params, $optParams);
  894. return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report");
  895. }
  896. /**
  897. * List all saved reports in this Ad Exchange account. (saved.listReportsSaved)
  898. *
  899. * @param array $optParams Optional parameters.
  900. *
  901. * @opt_param string pageToken
  902. * A continuation token, used to page through saved reports. To retrieve the next page, set this
  903. * parameter to the value of "nextPageToken" from the previous response.
  904. * @opt_param int maxResults
  905. * The maximum number of saved reports to include in the response, used for paging.
  906. * @return Google_Service_AdExchangeSeller_SavedReports
  907. */
  908. public function listReportsSaved($optParams = array())
  909. {
  910. $params = array();
  911. $params = array_merge($params, $optParams);
  912. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_SavedReports");
  913. }
  914. }
  915. /**
  916. * The "urlchannels" collection of methods.
  917. * Typical usage is:
  918. * <code>
  919. * $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
  920. * $urlchannels = $adexchangesellerService->urlchannels;
  921. * </code>
  922. */
  923. class Google_Service_AdExchangeSeller_Urlchannels_Resource extends Google_Service_Resource
  924. {
  925. /**
  926. * List all URL channels in the specified ad client for this Ad Exchange
  927. * account. (urlchannels.listUrlchannels)
  928. *
  929. * @param string $adClientId
  930. * Ad client for which to list URL channels.
  931. * @param array $optParams Optional parameters.
  932. *
  933. * @opt_param string pageToken
  934. * A continuation token, used to page through URL channels. To retrieve the next page, set this
  935. * parameter to the value of "nextPageToken" from the previous response.
  936. * @opt_param string maxResults
  937. * The maximum number of URL channels to include in the response, used for paging.
  938. * @return Google_Service_AdExchangeSeller_UrlChannels
  939. */
  940. public function listUrlchannels($adClientId, $optParams = array())
  941. {
  942. $params = array('adClientId' => $adClientId);
  943. $params = array_merge($params, $optParams);
  944. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_UrlChannels");
  945. }
  946. }
  947. class Google_Service_AdExchangeSeller_Account extends Google_Model
  948. {
  949. public $id;
  950. public $kind;
  951. public $name;
  952. public function setId($id)
  953. {
  954. $this->id = $id;
  955. }
  956. public function getId()
  957. {
  958. return $this->id;
  959. }
  960. public function setKind($kind)
  961. {
  962. $this->kind = $kind;
  963. }
  964. public function getKind()
  965. {
  966. return $this->kind;
  967. }
  968. public function setName($name)
  969. {
  970. $this->name = $name;
  971. }
  972. public function getName()
  973. {
  974. return $this->name;
  975. }
  976. }
  977. class Google_Service_AdExchangeSeller_AdClient extends Google_Model
  978. {
  979. public $arcOptIn;
  980. public $id;
  981. public $kind;
  982. public $productCode;
  983. public $supportsReporting;
  984. public function setArcOptIn($arcOptIn)
  985. {
  986. $this->arcOptIn = $arcOptIn;
  987. }
  988. public function getArcOptIn()
  989. {
  990. return $this->arcOptIn;
  991. }
  992. public function setId($id)
  993. {
  994. $this->id = $id;
  995. }
  996. public function getId()
  997. {
  998. return $this->id;
  999. }
  1000. public function setKind($kind)
  1001. {
  1002. $this->kind = $kind;
  1003. }
  1004. public function getKind()
  1005. {
  1006. return $this->kind;
  1007. }
  1008. public function setProductCode($productCode)
  1009. {
  1010. $this->productCode = $productCode;
  1011. }
  1012. public function getProductCode()
  1013. {
  1014. return $this->productCode;
  1015. }
  1016. public function setSupportsReporting($supportsReporting)
  1017. {
  1018. $this->supportsReporting = $supportsReporting;
  1019. }
  1020. public function getSupportsReporting()
  1021. {
  1022. return $this->supportsReporting;
  1023. }
  1024. }
  1025. class Google_Service_AdExchangeSeller_AdClients extends Google_Collection
  1026. {
  1027. public $etag;
  1028. protected $itemsType = 'Google_Service_AdExchangeSeller_AdClient';
  1029. protected $itemsDataType = 'array';
  1030. public $kind;
  1031. public $nextPageToken;
  1032. public function setEtag($etag)
  1033. {
  1034. $this->etag = $etag;
  1035. }
  1036. public function getEtag()
  1037. {
  1038. return $this->etag;
  1039. }
  1040. public function setItems($items)
  1041. {
  1042. $this->items = $items;
  1043. }
  1044. public function getItems()
  1045. {
  1046. return $this->items;
  1047. }
  1048. public function setKind($kind)
  1049. {
  1050. $this->kind = $kind;
  1051. }
  1052. public function getKind()
  1053. {
  1054. return $this->kind;
  1055. }
  1056. public function setNextPageToken($nextPageToken)
  1057. {
  1058. $this->nextPageToken = $nextPageToken;
  1059. }
  1060. public function getNextPageToken()
  1061. {
  1062. return $this->nextPageToken;
  1063. }
  1064. }
  1065. class Google_Service_AdExchangeSeller_AdUnit extends Google_Model
  1066. {
  1067. public $code;
  1068. public $id;
  1069. public $kind;
  1070. public $name;
  1071. public $status;
  1072. public function setCode($code)
  1073. {
  1074. $this->code = $code;
  1075. }
  1076. public function getCode()
  1077. {
  1078. return $this->code;
  1079. }
  1080. public function setId($id)
  1081. {
  1082. $this->id = $id;
  1083. }
  1084. public function getId()
  1085. {
  1086. return $this->id;
  1087. }
  1088. public function setKind($kind)
  1089. {
  1090. $this->kind = $kind;
  1091. }
  1092. public function getKind()
  1093. {
  1094. return $this->kind;
  1095. }
  1096. public function setName($name)
  1097. {
  1098. $this->name = $name;
  1099. }
  1100. public function getName()
  1101. {
  1102. return $this->name;
  1103. }
  1104. public function setStatus($status)
  1105. {
  1106. $this->status = $status;
  1107. }
  1108. public function getStatus()
  1109. {
  1110. return $this->status;
  1111. }
  1112. }
  1113. class Google_Service_AdExchangeSeller_AdUnits extends Google_Collection
  1114. {
  1115. public $etag;
  1116. protected $itemsType = 'Google_Service_AdExchangeSeller_AdUnit';
  1117. protected $itemsDataType = 'array';
  1118. public $kind;
  1119. public $nextPageToken;
  1120. public function setEtag($etag)
  1121. {
  1122. $this->etag = $etag;
  1123. }
  1124. public function getEtag()
  1125. {
  1126. return $this->etag;
  1127. }
  1128. public function setItems($items)
  1129. {
  1130. $this->items = $items;
  1131. }
  1132. public function getItems()
  1133. {
  1134. return $this->items;
  1135. }
  1136. public function setKind($kind)
  1137. {
  1138. $this->kind = $kind;
  1139. }
  1140. public function getKind()
  1141. {
  1142. return $this->kind;
  1143. }
  1144. public function setNextPageToken($nextPageToken)
  1145. {
  1146. $this->nextPageToken = $nextPageToken;
  1147. }
  1148. public function getNextPageToken()
  1149. {
  1150. return $this->nextPageToken;
  1151. }
  1152. }
  1153. class Google_Service_AdExchangeSeller_Alert extends Google_Model
  1154. {
  1155. public $id;
  1156. public $kind;
  1157. public $message;
  1158. public $severity;
  1159. public $type;
  1160. public function setId($id)
  1161. {
  1162. $this->id = $id;
  1163. }
  1164. public function getId()
  1165. {
  1166. return $this->id;
  1167. }
  1168. public function setKind($kind)
  1169. {
  1170. $this->kind = $kind;
  1171. }
  1172. public function getKind()
  1173. {
  1174. return $this->kind;
  1175. }
  1176. public function setMessage($message)
  1177. {
  1178. $this->message = $message;
  1179. }
  1180. public function getMessage()
  1181. {
  1182. return $this->message;
  1183. }
  1184. public function setSeverity($severity)
  1185. {
  1186. $this->severity = $severity;
  1187. }
  1188. public function getSeverity()
  1189. {
  1190. return $this->severity;
  1191. }
  1192. public function setType($type)
  1193. {
  1194. $this->type = $type;
  1195. }
  1196. public function getType()
  1197. {
  1198. return $this->type;
  1199. }
  1200. }
  1201. class Google_Service_AdExchangeSeller_Alerts extends Google_Collection
  1202. {
  1203. protected $itemsType = 'Google_Service_AdExchangeSeller_Alert';
  1204. protected $itemsDataType = 'array';
  1205. public $kind;
  1206. public function setItems($items)
  1207. {
  1208. $this->items = $items;
  1209. }
  1210. public function getItems()
  1211. {
  1212. return $this->items;
  1213. }
  1214. public function setKind($kind)
  1215. {
  1216. $this->kind = $kind;
  1217. }
  1218. public function getKind()
  1219. {
  1220. return $this->kind;
  1221. }
  1222. }
  1223. class Google_Service_AdExchangeSeller_CustomChannel extends Google_Model
  1224. {
  1225. public $code;
  1226. public $id;
  1227. public $kind;
  1228. public $name;
  1229. protected $targetingInfoType = 'Google_Service_AdExchangeSeller_CustomChannelTargetingInfo';
  1230. protected $targetingInfoDataType = '';
  1231. public function setCode($code)
  1232. {
  1233. $this->code = $code;
  1234. }
  1235. public function getCode()
  1236. {
  1237. return $this->code;
  1238. }
  1239. public function setId($id)
  1240. {
  1241. $this->id = $id;
  1242. }
  1243. public function getId()
  1244. {
  1245. return $this->id;
  1246. }
  1247. public function setKind($kind)
  1248. {
  1249. $this->kind = $kind;
  1250. }
  1251. public function getKind()
  1252. {
  1253. return $this->kind;
  1254. }
  1255. public function setName($name)
  1256. {
  1257. $this->name = $name;
  1258. }
  1259. public function getName()
  1260. {
  1261. return $this->name;
  1262. }
  1263. public function setTargetingInfo(Google_Service_AdExchangeSeller_CustomChannelTargetingInfo $targetingInfo)
  1264. {
  1265. $this->targetingInfo = $targetingInfo;
  1266. }
  1267. public function getTargetingInfo()
  1268. {
  1269. return $this->targetingInfo;
  1270. }
  1271. }
  1272. class Google_Service_AdExchangeSeller_CustomChannelTargetingInfo extends Google_Model
  1273. {
  1274. public $adsAppearOn;
  1275. public $description;
  1276. public $location;
  1277. public $siteLanguage;
  1278. public function setAdsAppearOn($adsAppearOn)
  1279. {
  1280. $this->adsAppearOn = $adsAppearOn;
  1281. }
  1282. public function getAdsAppearOn()
  1283. {
  1284. return $this->adsAppearOn;
  1285. }
  1286. public function setDescription($description)
  1287. {
  1288. $this->description = $description;
  1289. }
  1290. public function getDescription()
  1291. {
  1292. return $this->description;
  1293. }
  1294. public function setLocation($location)
  1295. {
  1296. $this->location = $location;
  1297. }
  1298. public function getLocation()
  1299. {
  1300. return $this->location;
  1301. }
  1302. public function setSiteLanguage($siteLanguage)
  1303. {
  1304. $this->siteLanguage = $siteLanguage;
  1305. }
  1306. public function getSiteLanguage()
  1307. {
  1308. return $this->siteLanguage;
  1309. }
  1310. }
  1311. class Google_Service_AdExchangeSeller_CustomChannels extends Google_Collection
  1312. {
  1313. public $etag;
  1314. protected $itemsType = 'Google_Service_AdExchangeSeller_CustomChannel';
  1315. protected $itemsDataType = 'array';
  1316. public $kind;
  1317. public $nextPageToken;
  1318. public function setEtag($etag)
  1319. {
  1320. $this->etag = $etag;
  1321. }
  1322. public function getEtag()
  1323. {
  1324. return $this->etag;
  1325. }
  1326. public function setItems($items)
  1327. {
  1328. $this->items = $items;
  1329. }
  1330. public function getItems()
  1331. {
  1332. return $this->items;
  1333. }
  1334. public function setKind($kind)
  1335. {
  1336. $this->kind = $kind;
  1337. }
  1338. public function getKind()
  1339. {
  1340. return $this->kind;
  1341. }
  1342. public function setNextPageToken($nextPageToken)
  1343. {
  1344. $this->nextPageToken = $nextPageToken;
  1345. }
  1346. public function getNextPageToken()
  1347. {
  1348. return $this->nextPageToken;
  1349. }
  1350. }
  1351. class Google_Service_AdExchangeSeller_Metadata extends Google_Collection
  1352. {
  1353. protected $itemsType = 'Google_Service_AdExchangeSeller_ReportingMetadataEntry';
  1354. protected $itemsDataType = 'array';
  1355. public $kind;
  1356. public function setItems($items)
  1357. {
  1358. $this->items = $items;
  1359. }
  1360. public function getItems()
  1361. {
  1362. return $this->items;
  1363. }
  1364. public function setKind($kind)
  1365. {
  1366. $this->kind = $kind;
  1367. }
  1368. public function getKind()
  1369. {
  1370. return $this->kind;
  1371. }
  1372. }
  1373. class Google_Service_AdExchangeSeller_PreferredDeal extends Google_Model
  1374. {
  1375. public $advertiserName;
  1376. public $buyerNetworkName;
  1377. public $currencyCode;
  1378. public $endTime;
  1379. public $fixedCpm;
  1380. public $id;
  1381. public $kind;
  1382. public $startTime;
  1383. public function setAdvertiserName($advertiserName)
  1384. {
  1385. $this->advertiserName = $advertiserName;
  1386. }
  1387. public function getAdvertiserName()
  1388. {
  1389. return $this->advertiserName;
  1390. }
  1391. public function setBuyerNetworkName($buyerNetworkName)
  1392. {
  1393. $this->buyerNetworkName = $buyerNetworkName;
  1394. }
  1395. public function getBuyerNetworkName()
  1396. {
  1397. return $this->buyerNetworkName;
  1398. }
  1399. public function setCurrencyCode($currencyCode)
  1400. {
  1401. $this->currencyCode = $currencyCode;
  1402. }
  1403. public function getCurrencyCode()
  1404. {
  1405. return $this->currencyCode;
  1406. }
  1407. public function setEndTime($endTime)
  1408. {
  1409. $this->endTime = $endTime;
  1410. }
  1411. public function getEndTime()
  1412. {
  1413. return $this->endTime;
  1414. }
  1415. public function setFixedCpm($fixedCpm)
  1416. {
  1417. $this->fixedCpm = $fixedCpm;
  1418. }
  1419. public function getFixedCpm()
  1420. {
  1421. return $this->fixedCpm;
  1422. }
  1423. public function setId($id)
  1424. {
  1425. $this->id = $id;
  1426. }
  1427. public function getId()
  1428. {
  1429. return $this->id;
  1430. }
  1431. public function setKind($kind)
  1432. {
  1433. $this->kind = $kind;
  1434. }
  1435. public function getKind()
  1436. {
  1437. return $this->kind;
  1438. }
  1439. public function setStartTime($startTime)
  1440. {
  1441. $this->startTime = $startTime;
  1442. }
  1443. public function getStartTime()
  1444. {
  1445. return $this->startTime;
  1446. }
  1447. }
  1448. class Google_Service_AdExchangeSeller_PreferredDeals extends Google_Collection
  1449. {
  1450. protected $itemsType = 'Google_Service_AdExchangeSeller_PreferredDeal';
  1451. protected $itemsDataType = 'array';
  1452. public $kind;
  1453. public function setItems($items)
  1454. {
  1455. $this->items = $items;
  1456. }
  1457. public function getItems()
  1458. {
  1459. return $this->items;
  1460. }
  1461. public function setKind($kind)
  1462. {
  1463. $this->kind = $kind;
  1464. }
  1465. public function getKind()
  1466. {
  1467. return $this->kind;
  1468. }
  1469. }
  1470. class Google_Service_AdExchangeSeller_Report extends Google_Collection
  1471. {
  1472. public $averages;
  1473. protected $headersType = 'Google_Service_AdExchangeSeller_ReportHeaders';
  1474. protected $headersDataType = 'array';
  1475. public $kind;
  1476. public $rows;
  1477. public $totalMatchedRows;
  1478. public $totals;
  1479. public $warnings;
  1480. public function setAverages($averages)
  1481. {
  1482. $this->averages = $averages;
  1483. }
  1484. public function getAverages()
  1485. {
  1486. return $this->averages;
  1487. }
  1488. public function setHeaders($headers)
  1489. {
  1490. $this->headers = $headers;
  1491. }
  1492. public function getHeaders()
  1493. {
  1494. return $this->headers;
  1495. }
  1496. public function setKind($kind)
  1497. {
  1498. $this->kind = $kind;
  1499. }
  1500. public function getKind()
  1501. {
  1502. return $this->kind;
  1503. }
  1504. public function setRows($rows)
  1505. {
  1506. $this->rows = $rows;
  1507. }
  1508. public function getRows()
  1509. {
  1510. return $this->rows;
  1511. }
  1512. public function setTotalMatchedRows($totalMatchedRows)
  1513. {
  1514. $this->totalMatchedRows = $totalMatchedRows;
  1515. }
  1516. public function getTotalMatchedRows()
  1517. {
  1518. return $this->totalMatchedRows;
  1519. }
  1520. public function setTotals($totals)
  1521. {
  1522. $this->totals = $totals;
  1523. }
  1524. public function getTotals()
  1525. {
  1526. return $this->totals;
  1527. }
  1528. public function setWarnings($warnings)
  1529. {
  1530. $this->warnings = $warnings;
  1531. }
  1532. public function getWarnings()
  1533. {
  1534. return $this->warnings;
  1535. }
  1536. }
  1537. class Google_Service_AdExchangeSeller_ReportHeaders extends Google_Model
  1538. {
  1539. public $currency;
  1540. public $name;
  1541. public $type;
  1542. public function setCurrency($currency)
  1543. {
  1544. $this->currency = $currency;
  1545. }
  1546. public function getCurrency()
  1547. {
  1548. return $this->currency;
  1549. }
  1550. public function setName($name)
  1551. {
  1552. $this->name = $name;
  1553. }
  1554. public function getName()
  1555. {
  1556. return $this->name;
  1557. }
  1558. public function setType($type)
  1559. {
  1560. $this->type = $type;
  1561. }
  1562. public function getType()
  1563. {
  1564. return $this->type;
  1565. }
  1566. }
  1567. class Google_Service_AdExchangeSeller_ReportingMetadataEntry extends Google_Collection
  1568. {
  1569. public $compatibleDimensions;
  1570. public $compatibleMetrics;
  1571. public $id;
  1572. public $kind;
  1573. public $requiredDimensions;
  1574. public $requiredMetrics;
  1575. public $supportedProducts;
  1576. public function setCompatibleDimensions($compatibleDimensions)
  1577. {
  1578. $this->compatibleDimensions = $compatibleDimensions;
  1579. }
  1580. public function getCompatibleDimensions()
  1581. {
  1582. return $this->compatibleDimensions;
  1583. }
  1584. public function setCompatibleMetrics($compatibleMetrics)
  1585. {
  1586. $this->compatibleMetrics = $compatibleMetrics;
  1587. }
  1588. public function getCompatibleMetrics()
  1589. {
  1590. return $this->compatibleMetrics;
  1591. }
  1592. public function setId($id)
  1593. {
  1594. $this->id = $id;
  1595. }
  1596. public function getId()
  1597. {
  1598. return $this->id;
  1599. }
  1600. public function setKind($kind)
  1601. {
  1602. $this->kind = $kind;
  1603. }
  1604. public function getKind()
  1605. {
  1606. return $this->kind;
  1607. }
  1608. public function setRequiredDimensions($requiredDimensions)
  1609. {
  1610. $this->requiredDimensions = $requiredDimensions;
  1611. }
  1612. public function getRequiredDimensions()
  1613. {
  1614. return $this->requiredDimensions;
  1615. }
  1616. public function setRequiredMetrics($requiredMetrics)
  1617. {
  1618. $this->requiredMetrics = $requiredMetrics;
  1619. }
  1620. public function getRequiredMetrics()
  1621. {
  1622. return $this->requiredMetrics;
  1623. }
  1624. public function setSupportedProducts($supportedProducts)
  1625. {
  1626. $this->supportedProducts = $supportedProducts;
  1627. }
  1628. public function getSupportedProducts()
  1629. {
  1630. return $this->supportedProducts;
  1631. }
  1632. }
  1633. class Google_Service_AdExchangeSeller_SavedReport extends Google_Model
  1634. {
  1635. public $id;
  1636. public $kind;
  1637. public $name;
  1638. public function setId($id)
  1639. {
  1640. $this->id = $id;
  1641. }
  1642. public function getId()
  1643. {
  1644. return $this->id;
  1645. }
  1646. public function setKind($kind)
  1647. {
  1648. $this->kind = $kind;
  1649. }
  1650. public function getKind()
  1651. {
  1652. return $this->kind;
  1653. }
  1654. public function setName($name)
  1655. {
  1656. $this->name = $name;
  1657. }
  1658. public function getName()
  1659. {
  1660. return $this->name;
  1661. }
  1662. }
  1663. class Google_Service_AdExchangeSeller_SavedReports extends Google_Collection
  1664. {
  1665. public $etag;
  1666. protected $itemsType = 'Google_Service_AdExchangeSeller_SavedReport';
  1667. protected $itemsDataType = 'array';
  1668. public $kind;
  1669. public $nextPageToken;
  1670. public function setEtag($etag)
  1671. {
  1672. $this->etag = $etag;
  1673. }
  1674. public function getEtag()
  1675. {
  1676. return $this->etag;
  1677. }
  1678. public function setItems($items)
  1679. {
  1680. $this->items = $items;
  1681. }
  1682. public function getItems()
  1683. {
  1684. return $this->items;
  1685. }
  1686. public function setKind($kind)
  1687. {
  1688. $this->kind = $kind;
  1689. }
  1690. public function getKind()
  1691. {
  1692. return $this->kind;
  1693. }
  1694. public function setNextPageToken($nextPageToken)
  1695. {
  1696. $this->nextPageToken = $nextPageToken;
  1697. }
  1698. public function getNextPageToken()
  1699. {
  1700. return $this->nextPageToken;
  1701. }
  1702. }
  1703. class Google_Service_AdExchangeSeller_UrlChannel extends Google_Model
  1704. {
  1705. public $id;
  1706. public $kind;
  1707. public $urlPattern;
  1708. public function setId($id)
  1709. {
  1710. $this->id = $id;
  1711. }
  1712. public function getId()
  1713. {
  1714. return $this->id;
  1715. }
  1716. public function setKind($kind)
  1717. {
  1718. $this->kind = $kind;
  1719. }
  1720. public function getKind()
  1721. {
  1722. return $this->kind;
  1723. }
  1724. public function setUrlPattern($urlPattern)
  1725. {
  1726. $this->urlPattern = $urlPattern;
  1727. }
  1728. public function getUrlPattern()
  1729. {
  1730. return $this->urlPattern;
  1731. }
  1732. }
  1733. class Google_Service_AdExchangeSeller_UrlChannels extends Google_Collection
  1734. {
  1735. public $etag;
  1736. protected $itemsType = 'Google_Service_AdExchangeSeller_UrlChannel';
  1737. protected $itemsDataType = 'array';
  1738. public $kind;
  1739. public $nextPageToken;
  1740. public function setEtag($etag)
  1741. {
  1742. $this->etag = $etag;
  1743. }
  1744. public function getEtag()
  1745. {
  1746. return $this->etag;
  1747. }
  1748. public function setItems($items)
  1749. {
  1750. $this->items = $items;
  1751. }
  1752. public function getItems()
  1753. {
  1754. return $this->items;
  1755. }
  1756. public function setKind($kind)
  1757. {
  1758. $this->kind = $kind;
  1759. }
  1760. public function getKind()
  1761. {
  1762. return $this->kind;
  1763. }
  1764. public function setNextPageToken($nextPageToken)
  1765. {
  1766. $this->nextPageToken = $nextPageToken;
  1767. }
  1768. public function getNextPageToken()
  1769. {
  1770. return $this->nextPageToken;
  1771. }
  1772. }