PageRenderTime 58ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 1ms

/config/google-api-php-bng/src/Google/Service/AdExchangeBuyer.php

https://github.com/SimpleStudiosDevelopment/oa2019_old_website
PHP | 1856 lines | 1374 code | 243 blank | 239 comment | 0 complexity | b062d0a524b1d09c896339fec680fa97 MD5 | raw file
Possible License(s): Apache-2.0
  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 AdExchangeBuyer (v1.3).
  19. *
  20. * <p>
  21. * Lets you manage your Ad Exchange Buyer account.
  22. * </p>
  23. *
  24. * <p>
  25. * For more information about this service, see the API
  26. * <a href="https://developers.google.com/ad-exchange/buyer-rest" target="_blank">Documentation</a>
  27. * </p>
  28. *
  29. * @author Google, Inc.
  30. */
  31. class Google_Service_AdExchangeBuyer extends Google_Service
  32. {
  33. /** Manage your Ad Exchange buyer account configuration. */
  34. const ADEXCHANGE_BUYER = "https://www.googleapis.com/auth/adexchange.buyer";
  35. public $accounts;
  36. public $creatives;
  37. public $directDeals;
  38. public $performanceReport;
  39. public $pretargetingConfig;
  40. /**
  41. * Constructs the internal representation of the AdExchangeBuyer service.
  42. *
  43. * @param Google_Client $client
  44. */
  45. public function __construct(Google_Client $client)
  46. {
  47. parent::__construct($client);
  48. $this->servicePath = 'adexchangebuyer/v1.3/';
  49. $this->version = 'v1.3';
  50. $this->serviceName = 'adexchangebuyer';
  51. $this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource(
  52. $this,
  53. $this->serviceName,
  54. 'accounts',
  55. array(
  56. 'methods' => array(
  57. 'get' => array(
  58. 'path' => 'accounts/{id}',
  59. 'httpMethod' => 'GET',
  60. 'parameters' => array(
  61. 'id' => array(
  62. 'location' => 'path',
  63. 'type' => 'integer',
  64. 'required' => true,
  65. ),
  66. ),
  67. ),'list' => array(
  68. 'path' => 'accounts',
  69. 'httpMethod' => 'GET',
  70. 'parameters' => array(),
  71. ),'patch' => array(
  72. 'path' => 'accounts/{id}',
  73. 'httpMethod' => 'PATCH',
  74. 'parameters' => array(
  75. 'id' => array(
  76. 'location' => 'path',
  77. 'type' => 'integer',
  78. 'required' => true,
  79. ),
  80. ),
  81. ),'update' => array(
  82. 'path' => 'accounts/{id}',
  83. 'httpMethod' => 'PUT',
  84. 'parameters' => array(
  85. 'id' => array(
  86. 'location' => 'path',
  87. 'type' => 'integer',
  88. 'required' => true,
  89. ),
  90. ),
  91. ),
  92. )
  93. )
  94. );
  95. $this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource(
  96. $this,
  97. $this->serviceName,
  98. 'creatives',
  99. array(
  100. 'methods' => array(
  101. 'get' => array(
  102. 'path' => 'creatives/{accountId}/{buyerCreativeId}',
  103. 'httpMethod' => 'GET',
  104. 'parameters' => array(
  105. 'accountId' => array(
  106. 'location' => 'path',
  107. 'type' => 'integer',
  108. 'required' => true,
  109. ),
  110. 'buyerCreativeId' => array(
  111. 'location' => 'path',
  112. 'type' => 'string',
  113. 'required' => true,
  114. ),
  115. ),
  116. ),'insert' => array(
  117. 'path' => 'creatives',
  118. 'httpMethod' => 'POST',
  119. 'parameters' => array(),
  120. ),'list' => array(
  121. 'path' => 'creatives',
  122. 'httpMethod' => 'GET',
  123. 'parameters' => array(
  124. 'statusFilter' => array(
  125. 'location' => 'query',
  126. 'type' => 'string',
  127. ),
  128. 'pageToken' => array(
  129. 'location' => 'query',
  130. 'type' => 'string',
  131. ),
  132. 'maxResults' => array(
  133. 'location' => 'query',
  134. 'type' => 'integer',
  135. ),
  136. 'buyerCreativeId' => array(
  137. 'location' => 'query',
  138. 'type' => 'string',
  139. 'repeated' => true,
  140. ),
  141. 'accountId' => array(
  142. 'location' => 'query',
  143. 'type' => 'integer',
  144. 'repeated' => true,
  145. ),
  146. ),
  147. ),
  148. )
  149. )
  150. );
  151. $this->directDeals = new Google_Service_AdExchangeBuyer_DirectDeals_Resource(
  152. $this,
  153. $this->serviceName,
  154. 'directDeals',
  155. array(
  156. 'methods' => array(
  157. 'get' => array(
  158. 'path' => 'directdeals/{id}',
  159. 'httpMethod' => 'GET',
  160. 'parameters' => array(
  161. 'id' => array(
  162. 'location' => 'path',
  163. 'type' => 'string',
  164. 'required' => true,
  165. ),
  166. ),
  167. ),'list' => array(
  168. 'path' => 'directdeals',
  169. 'httpMethod' => 'GET',
  170. 'parameters' => array(),
  171. ),
  172. )
  173. )
  174. );
  175. $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource(
  176. $this,
  177. $this->serviceName,
  178. 'performanceReport',
  179. array(
  180. 'methods' => array(
  181. 'list' => array(
  182. 'path' => 'performancereport',
  183. 'httpMethod' => 'GET',
  184. 'parameters' => array(
  185. 'accountId' => array(
  186. 'location' => 'query',
  187. 'type' => 'string',
  188. 'required' => true,
  189. ),
  190. 'endDateTime' => array(
  191. 'location' => 'query',
  192. 'type' => 'string',
  193. 'required' => true,
  194. ),
  195. 'startDateTime' => array(
  196. 'location' => 'query',
  197. 'type' => 'string',
  198. 'required' => true,
  199. ),
  200. 'pageToken' => array(
  201. 'location' => 'query',
  202. 'type' => 'string',
  203. ),
  204. 'maxResults' => array(
  205. 'location' => 'query',
  206. 'type' => 'integer',
  207. ),
  208. ),
  209. ),
  210. )
  211. )
  212. );
  213. $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_PretargetingConfig_Resource(
  214. $this,
  215. $this->serviceName,
  216. 'pretargetingConfig',
  217. array(
  218. 'methods' => array(
  219. 'delete' => array(
  220. 'path' => 'pretargetingconfigs/{accountId}/{configId}',
  221. 'httpMethod' => 'DELETE',
  222. 'parameters' => array(
  223. 'accountId' => array(
  224. 'location' => 'path',
  225. 'type' => 'string',
  226. 'required' => true,
  227. ),
  228. 'configId' => array(
  229. 'location' => 'path',
  230. 'type' => 'string',
  231. 'required' => true,
  232. ),
  233. ),
  234. ),'get' => array(
  235. 'path' => 'pretargetingconfigs/{accountId}/{configId}',
  236. 'httpMethod' => 'GET',
  237. 'parameters' => array(
  238. 'accountId' => array(
  239. 'location' => 'path',
  240. 'type' => 'string',
  241. 'required' => true,
  242. ),
  243. 'configId' => array(
  244. 'location' => 'path',
  245. 'type' => 'string',
  246. 'required' => true,
  247. ),
  248. ),
  249. ),'insert' => array(
  250. 'path' => 'pretargetingconfigs/{accountId}',
  251. 'httpMethod' => 'POST',
  252. 'parameters' => array(
  253. 'accountId' => array(
  254. 'location' => 'path',
  255. 'type' => 'string',
  256. 'required' => true,
  257. ),
  258. ),
  259. ),'list' => array(
  260. 'path' => 'pretargetingconfigs/{accountId}',
  261. 'httpMethod' => 'GET',
  262. 'parameters' => array(
  263. 'accountId' => array(
  264. 'location' => 'path',
  265. 'type' => 'string',
  266. 'required' => true,
  267. ),
  268. ),
  269. ),'patch' => array(
  270. 'path' => 'pretargetingconfigs/{accountId}/{configId}',
  271. 'httpMethod' => 'PATCH',
  272. 'parameters' => array(
  273. 'accountId' => array(
  274. 'location' => 'path',
  275. 'type' => 'string',
  276. 'required' => true,
  277. ),
  278. 'configId' => array(
  279. 'location' => 'path',
  280. 'type' => 'string',
  281. 'required' => true,
  282. ),
  283. ),
  284. ),'update' => array(
  285. 'path' => 'pretargetingconfigs/{accountId}/{configId}',
  286. 'httpMethod' => 'PUT',
  287. 'parameters' => array(
  288. 'accountId' => array(
  289. 'location' => 'path',
  290. 'type' => 'string',
  291. 'required' => true,
  292. ),
  293. 'configId' => array(
  294. 'location' => 'path',
  295. 'type' => 'string',
  296. 'required' => true,
  297. ),
  298. ),
  299. ),
  300. )
  301. )
  302. );
  303. }
  304. }
  305. /**
  306. * The "accounts" collection of methods.
  307. * Typical usage is:
  308. * <code>
  309. * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
  310. * $accounts = $adexchangebuyerService->accounts;
  311. * </code>
  312. */
  313. class Google_Service_AdExchangeBuyer_Accounts_Resource extends Google_Service_Resource
  314. {
  315. /**
  316. * Gets one account by ID. (accounts.get)
  317. *
  318. * @param int $id
  319. * The account id
  320. * @param array $optParams Optional parameters.
  321. * @return Google_Service_AdExchangeBuyer_Account
  322. */
  323. public function get($id, $optParams = array())
  324. {
  325. $params = array('id' => $id);
  326. $params = array_merge($params, $optParams);
  327. return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Account");
  328. }
  329. /**
  330. * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
  331. *
  332. * @param array $optParams Optional parameters.
  333. * @return Google_Service_AdExchangeBuyer_AccountsList
  334. */
  335. public function listAccounts($optParams = array())
  336. {
  337. $params = array();
  338. $params = array_merge($params, $optParams);
  339. return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_AccountsList");
  340. }
  341. /**
  342. * Updates an existing account. This method supports patch semantics.
  343. * (accounts.patch)
  344. *
  345. * @param int $id
  346. * The account id
  347. * @param Google_Account $postBody
  348. * @param array $optParams Optional parameters.
  349. * @return Google_Service_AdExchangeBuyer_Account
  350. */
  351. public function patch($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
  352. {
  353. $params = array('id' => $id, 'postBody' => $postBody);
  354. $params = array_merge($params, $optParams);
  355. return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Account");
  356. }
  357. /**
  358. * Updates an existing account. (accounts.update)
  359. *
  360. * @param int $id
  361. * The account id
  362. * @param Google_Account $postBody
  363. * @param array $optParams Optional parameters.
  364. * @return Google_Service_AdExchangeBuyer_Account
  365. */
  366. public function update($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
  367. {
  368. $params = array('id' => $id, 'postBody' => $postBody);
  369. $params = array_merge($params, $optParams);
  370. return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Account");
  371. }
  372. }
  373. /**
  374. * The "creatives" collection of methods.
  375. * Typical usage is:
  376. * <code>
  377. * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
  378. * $creatives = $adexchangebuyerService->creatives;
  379. * </code>
  380. */
  381. class Google_Service_AdExchangeBuyer_Creatives_Resource extends Google_Service_Resource
  382. {
  383. /**
  384. * Gets the status for a single creative. A creative will be available 30-40
  385. * minutes after submission. (creatives.get)
  386. *
  387. * @param int $accountId
  388. * The id for the account that will serve this creative.
  389. * @param string $buyerCreativeId
  390. * The buyer-specific id for this creative.
  391. * @param array $optParams Optional parameters.
  392. * @return Google_Service_AdExchangeBuyer_Creative
  393. */
  394. public function get($accountId, $buyerCreativeId, $optParams = array())
  395. {
  396. $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
  397. $params = array_merge($params, $optParams);
  398. return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Creative");
  399. }
  400. /**
  401. * Submit a new creative. (creatives.insert)
  402. *
  403. * @param Google_Creative $postBody
  404. * @param array $optParams Optional parameters.
  405. * @return Google_Service_AdExchangeBuyer_Creative
  406. */
  407. public function insert(Google_Service_AdExchangeBuyer_Creative $postBody, $optParams = array())
  408. {
  409. $params = array('postBody' => $postBody);
  410. $params = array_merge($params, $optParams);
  411. return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_Creative");
  412. }
  413. /**
  414. * Retrieves a list of the authenticated user's active creatives. A creative
  415. * will be available 30-40 minutes after submission. (creatives.listCreatives)
  416. *
  417. * @param array $optParams Optional parameters.
  418. *
  419. * @opt_param string statusFilter
  420. * When specified, only creatives having the given status are returned.
  421. * @opt_param string pageToken
  422. * A continuation token, used to page through ad clients. To retrieve the next page, set this
  423. * parameter to the value of "nextPageToken" from the previous response. Optional.
  424. * @opt_param string maxResults
  425. * Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
  426. * @opt_param string buyerCreativeId
  427. * When specified, only creatives for the given buyer creative ids are returned.
  428. * @opt_param int accountId
  429. * When specified, only creatives for the given account ids are returned.
  430. * @return Google_Service_AdExchangeBuyer_CreativesList
  431. */
  432. public function listCreatives($optParams = array())
  433. {
  434. $params = array();
  435. $params = array_merge($params, $optParams);
  436. return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_CreativesList");
  437. }
  438. }
  439. /**
  440. * The "directDeals" collection of methods.
  441. * Typical usage is:
  442. * <code>
  443. * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
  444. * $directDeals = $adexchangebuyerService->directDeals;
  445. * </code>
  446. */
  447. class Google_Service_AdExchangeBuyer_DirectDeals_Resource extends Google_Service_Resource
  448. {
  449. /**
  450. * Gets one direct deal by ID. (directDeals.get)
  451. *
  452. * @param string $id
  453. * The direct deal id
  454. * @param array $optParams Optional parameters.
  455. * @return Google_Service_AdExchangeBuyer_DirectDeal
  456. */
  457. public function get($id, $optParams = array())
  458. {
  459. $params = array('id' => $id);
  460. $params = array_merge($params, $optParams);
  461. return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_DirectDeal");
  462. }
  463. /**
  464. * Retrieves the authenticated user's list of direct deals.
  465. * (directDeals.listDirectDeals)
  466. *
  467. * @param array $optParams Optional parameters.
  468. * @return Google_Service_AdExchangeBuyer_DirectDealsList
  469. */
  470. public function listDirectDeals($optParams = array())
  471. {
  472. $params = array();
  473. $params = array_merge($params, $optParams);
  474. return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_DirectDealsList");
  475. }
  476. }
  477. /**
  478. * The "performanceReport" collection of methods.
  479. * Typical usage is:
  480. * <code>
  481. * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
  482. * $performanceReport = $adexchangebuyerService->performanceReport;
  483. * </code>
  484. */
  485. class Google_Service_AdExchangeBuyer_PerformanceReport_Resource extends Google_Service_Resource
  486. {
  487. /**
  488. * Retrieves the authenticated user's list of performance metrics.
  489. * (performanceReport.listPerformanceReport)
  490. *
  491. * @param string $accountId
  492. * The account id to get the reports.
  493. * @param string $endDateTime
  494. * The end time of the report in ISO 8601 timestamp format using UTC.
  495. * @param string $startDateTime
  496. * The start time of the report in ISO 8601 timestamp format using UTC.
  497. * @param array $optParams Optional parameters.
  498. *
  499. * @opt_param string pageToken
  500. * A continuation token, used to page through performance reports. To retrieve the next page, set
  501. * this parameter to the value of "nextPageToken" from the previous response. Optional.
  502. * @opt_param string maxResults
  503. * Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
  504. * @return Google_Service_AdExchangeBuyer_PerformanceReportList
  505. */
  506. public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array())
  507. {
  508. $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime);
  509. $params = array_merge($params, $optParams);
  510. return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PerformanceReportList");
  511. }
  512. }
  513. /**
  514. * The "pretargetingConfig" collection of methods.
  515. * Typical usage is:
  516. * <code>
  517. * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
  518. * $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
  519. * </code>
  520. */
  521. class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_Service_Resource
  522. {
  523. /**
  524. * Deletes an existing pretargeting config. (pretargetingConfig.delete)
  525. *
  526. * @param string $accountId
  527. * The account id to delete the pretargeting config for.
  528. * @param string $configId
  529. * The specific id of the configuration to delete.
  530. * @param array $optParams Optional parameters.
  531. */
  532. public function delete($accountId, $configId, $optParams = array())
  533. {
  534. $params = array('accountId' => $accountId, 'configId' => $configId);
  535. $params = array_merge($params, $optParams);
  536. return $this->call('delete', array($params));
  537. }
  538. /**
  539. * Gets a specific pretargeting configuration (pretargetingConfig.get)
  540. *
  541. * @param string $accountId
  542. * The account id to get the pretargeting config for.
  543. * @param string $configId
  544. * The specific id of the configuration to retrieve.
  545. * @param array $optParams Optional parameters.
  546. * @return Google_Service_AdExchangeBuyer_PretargetingConfig
  547. */
  548. public function get($accountId, $configId, $optParams = array())
  549. {
  550. $params = array('accountId' => $accountId, 'configId' => $configId);
  551. $params = array_merge($params, $optParams);
  552. return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
  553. }
  554. /**
  555. * Inserts a new pretargeting configuration. (pretargetingConfig.insert)
  556. *
  557. * @param string $accountId
  558. * The account id to insert the pretargeting config for.
  559. * @param Google_PretargetingConfig $postBody
  560. * @param array $optParams Optional parameters.
  561. * @return Google_Service_AdExchangeBuyer_PretargetingConfig
  562. */
  563. public function insert($accountId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
  564. {
  565. $params = array('accountId' => $accountId, 'postBody' => $postBody);
  566. $params = array_merge($params, $optParams);
  567. return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
  568. }
  569. /**
  570. * Retrieves a list of the authenticated user's pretargeting configurations.
  571. * (pretargetingConfig.listPretargetingConfig)
  572. *
  573. * @param string $accountId
  574. * The account id to get the pretargeting configs for.
  575. * @param array $optParams Optional parameters.
  576. * @return Google_Service_AdExchangeBuyer_PretargetingConfigList
  577. */
  578. public function listPretargetingConfig($accountId, $optParams = array())
  579. {
  580. $params = array('accountId' => $accountId);
  581. $params = array_merge($params, $optParams);
  582. return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfigList");
  583. }
  584. /**
  585. * Updates an existing pretargeting config. This method supports patch
  586. * semantics. (pretargetingConfig.patch)
  587. *
  588. * @param string $accountId
  589. * The account id to update the pretargeting config for.
  590. * @param string $configId
  591. * The specific id of the configuration to update.
  592. * @param Google_PretargetingConfig $postBody
  593. * @param array $optParams Optional parameters.
  594. * @return Google_Service_AdExchangeBuyer_PretargetingConfig
  595. */
  596. public function patch($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
  597. {
  598. $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
  599. $params = array_merge($params, $optParams);
  600. return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
  601. }
  602. /**
  603. * Updates an existing pretargeting config. (pretargetingConfig.update)
  604. *
  605. * @param string $accountId
  606. * The account id to update the pretargeting config for.
  607. * @param string $configId
  608. * The specific id of the configuration to update.
  609. * @param Google_PretargetingConfig $postBody
  610. * @param array $optParams Optional parameters.
  611. * @return Google_Service_AdExchangeBuyer_PretargetingConfig
  612. */
  613. public function update($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
  614. {
  615. $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
  616. $params = array_merge($params, $optParams);
  617. return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
  618. }
  619. }
  620. class Google_Service_AdExchangeBuyer_Account extends Google_Collection
  621. {
  622. protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation';
  623. protected $bidderLocationDataType = 'array';
  624. public $cookieMatchingNid;
  625. public $cookieMatchingUrl;
  626. public $id;
  627. public $kind;
  628. public $maximumTotalQps;
  629. public function setBidderLocation($bidderLocation)
  630. {
  631. $this->bidderLocation = $bidderLocation;
  632. }
  633. public function getBidderLocation()
  634. {
  635. return $this->bidderLocation;
  636. }
  637. public function setCookieMatchingNid($cookieMatchingNid)
  638. {
  639. $this->cookieMatchingNid = $cookieMatchingNid;
  640. }
  641. public function getCookieMatchingNid()
  642. {
  643. return $this->cookieMatchingNid;
  644. }
  645. public function setCookieMatchingUrl($cookieMatchingUrl)
  646. {
  647. $this->cookieMatchingUrl = $cookieMatchingUrl;
  648. }
  649. public function getCookieMatchingUrl()
  650. {
  651. return $this->cookieMatchingUrl;
  652. }
  653. public function setId($id)
  654. {
  655. $this->id = $id;
  656. }
  657. public function getId()
  658. {
  659. return $this->id;
  660. }
  661. public function setKind($kind)
  662. {
  663. $this->kind = $kind;
  664. }
  665. public function getKind()
  666. {
  667. return $this->kind;
  668. }
  669. public function setMaximumTotalQps($maximumTotalQps)
  670. {
  671. $this->maximumTotalQps = $maximumTotalQps;
  672. }
  673. public function getMaximumTotalQps()
  674. {
  675. return $this->maximumTotalQps;
  676. }
  677. }
  678. class Google_Service_AdExchangeBuyer_AccountBidderLocation extends Google_Model
  679. {
  680. public $maximumQps;
  681. public $region;
  682. public $url;
  683. public function setMaximumQps($maximumQps)
  684. {
  685. $this->maximumQps = $maximumQps;
  686. }
  687. public function getMaximumQps()
  688. {
  689. return $this->maximumQps;
  690. }
  691. public function setRegion($region)
  692. {
  693. $this->region = $region;
  694. }
  695. public function getRegion()
  696. {
  697. return $this->region;
  698. }
  699. public function setUrl($url)
  700. {
  701. $this->url = $url;
  702. }
  703. public function getUrl()
  704. {
  705. return $this->url;
  706. }
  707. }
  708. class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
  709. {
  710. protected $itemsType = 'Google_Service_AdExchangeBuyer_Account';
  711. protected $itemsDataType = 'array';
  712. public $kind;
  713. public function setItems($items)
  714. {
  715. $this->items = $items;
  716. }
  717. public function getItems()
  718. {
  719. return $this->items;
  720. }
  721. public function setKind($kind)
  722. {
  723. $this->kind = $kind;
  724. }
  725. public function getKind()
  726. {
  727. return $this->kind;
  728. }
  729. }
  730. class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
  731. {
  732. public $hTMLSnippet;
  733. public $accountId;
  734. public $advertiserId;
  735. public $advertiserName;
  736. public $agencyId;
  737. public $attribute;
  738. public $buyerCreativeId;
  739. public $clickThroughUrl;
  740. protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
  741. protected $correctionsDataType = 'array';
  742. protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeDisapprovalReasons';
  743. protected $disapprovalReasonsDataType = 'array';
  744. protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
  745. protected $filteringReasonsDataType = '';
  746. public $height;
  747. public $kind;
  748. public $productCategories;
  749. public $restrictedCategories;
  750. public $sensitiveCategories;
  751. public $status;
  752. public $vendorType;
  753. public $videoURL;
  754. public $width;
  755. public function setHTMLSnippet($hTMLSnippet)
  756. {
  757. $this->hTMLSnippet = $hTMLSnippet;
  758. }
  759. public function getHTMLSnippet()
  760. {
  761. return $this->hTMLSnippet;
  762. }
  763. public function setAccountId($accountId)
  764. {
  765. $this->accountId = $accountId;
  766. }
  767. public function getAccountId()
  768. {
  769. return $this->accountId;
  770. }
  771. public function setAdvertiserId($advertiserId)
  772. {
  773. $this->advertiserId = $advertiserId;
  774. }
  775. public function getAdvertiserId()
  776. {
  777. return $this->advertiserId;
  778. }
  779. public function setAdvertiserName($advertiserName)
  780. {
  781. $this->advertiserName = $advertiserName;
  782. }
  783. public function getAdvertiserName()
  784. {
  785. return $this->advertiserName;
  786. }
  787. public function setAgencyId($agencyId)
  788. {
  789. $this->agencyId = $agencyId;
  790. }
  791. public function getAgencyId()
  792. {
  793. return $this->agencyId;
  794. }
  795. public function setAttribute($attribute)
  796. {
  797. $this->attribute = $attribute;
  798. }
  799. public function getAttribute()
  800. {
  801. return $this->attribute;
  802. }
  803. public function setBuyerCreativeId($buyerCreativeId)
  804. {
  805. $this->buyerCreativeId = $buyerCreativeId;
  806. }
  807. public function getBuyerCreativeId()
  808. {
  809. return $this->buyerCreativeId;
  810. }
  811. public function setClickThroughUrl($clickThroughUrl)
  812. {
  813. $this->clickThroughUrl = $clickThroughUrl;
  814. }
  815. public function getClickThroughUrl()
  816. {
  817. return $this->clickThroughUrl;
  818. }
  819. public function setCorrections($corrections)
  820. {
  821. $this->corrections = $corrections;
  822. }
  823. public function getCorrections()
  824. {
  825. return $this->corrections;
  826. }
  827. public function setDisapprovalReasons($disapprovalReasons)
  828. {
  829. $this->disapprovalReasons = $disapprovalReasons;
  830. }
  831. public function getDisapprovalReasons()
  832. {
  833. return $this->disapprovalReasons;
  834. }
  835. public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
  836. {
  837. $this->filteringReasons = $filteringReasons;
  838. }
  839. public function getFilteringReasons()
  840. {
  841. return $this->filteringReasons;
  842. }
  843. public function setHeight($height)
  844. {
  845. $this->height = $height;
  846. }
  847. public function getHeight()
  848. {
  849. return $this->height;
  850. }
  851. public function setKind($kind)
  852. {
  853. $this->kind = $kind;
  854. }
  855. public function getKind()
  856. {
  857. return $this->kind;
  858. }
  859. public function setProductCategories($productCategories)
  860. {
  861. $this->productCategories = $productCategories;
  862. }
  863. public function getProductCategories()
  864. {
  865. return $this->productCategories;
  866. }
  867. public function setRestrictedCategories($restrictedCategories)
  868. {
  869. $this->restrictedCategories = $restrictedCategories;
  870. }
  871. public function getRestrictedCategories()
  872. {
  873. return $this->restrictedCategories;
  874. }
  875. public function setSensitiveCategories($sensitiveCategories)
  876. {
  877. $this->sensitiveCategories = $sensitiveCategories;
  878. }
  879. public function getSensitiveCategories()
  880. {
  881. return $this->sensitiveCategories;
  882. }
  883. public function setStatus($status)
  884. {
  885. $this->status = $status;
  886. }
  887. public function getStatus()
  888. {
  889. return $this->status;
  890. }
  891. public function setVendorType($vendorType)
  892. {
  893. $this->vendorType = $vendorType;
  894. }
  895. public function getVendorType()
  896. {
  897. return $this->vendorType;
  898. }
  899. public function setVideoURL($videoURL)
  900. {
  901. $this->videoURL = $videoURL;
  902. }
  903. public function getVideoURL()
  904. {
  905. return $this->videoURL;
  906. }
  907. public function setWidth($width)
  908. {
  909. $this->width = $width;
  910. }
  911. public function getWidth()
  912. {
  913. return $this->width;
  914. }
  915. }
  916. class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection
  917. {
  918. public $details;
  919. public $reason;
  920. public function setDetails($details)
  921. {
  922. $this->details = $details;
  923. }
  924. public function getDetails()
  925. {
  926. return $this->details;
  927. }
  928. public function setReason($reason)
  929. {
  930. $this->reason = $reason;
  931. }
  932. public function getReason()
  933. {
  934. return $this->reason;
  935. }
  936. }
  937. class Google_Service_AdExchangeBuyer_CreativeDisapprovalReasons extends Google_Collection
  938. {
  939. public $details;
  940. public $reason;
  941. public function setDetails($details)
  942. {
  943. $this->details = $details;
  944. }
  945. public function getDetails()
  946. {
  947. return $this->details;
  948. }
  949. public function setReason($reason)
  950. {
  951. $this->reason = $reason;
  952. }
  953. public function getReason()
  954. {
  955. return $this->reason;
  956. }
  957. }
  958. class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
  959. {
  960. public $date;
  961. protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
  962. protected $reasonsDataType = 'array';
  963. public function setDate($date)
  964. {
  965. $this->date = $date;
  966. }
  967. public function getDate()
  968. {
  969. return $this->date;
  970. }
  971. public function setReasons($reasons)
  972. {
  973. $this->reasons = $reasons;
  974. }
  975. public function getReasons()
  976. {
  977. return $this->reasons;
  978. }
  979. }
  980. class Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Google_Model
  981. {
  982. public $filteringCount;
  983. public $filteringStatus;
  984. public function setFilteringCount($filteringCount)
  985. {
  986. $this->filteringCount = $filteringCount;
  987. }
  988. public function getFilteringCount()
  989. {
  990. return $this->filteringCount;
  991. }
  992. public function setFilteringStatus($filteringStatus)
  993. {
  994. $this->filteringStatus = $filteringStatus;
  995. }
  996. public function getFilteringStatus()
  997. {
  998. return $this->filteringStatus;
  999. }
  1000. }
  1001. class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
  1002. {
  1003. protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative';
  1004. protected $itemsDataType = 'array';
  1005. public $kind;
  1006. public $nextPageToken;
  1007. public function setItems($items)
  1008. {
  1009. $this->items = $items;
  1010. }
  1011. public function getItems()
  1012. {
  1013. return $this->items;
  1014. }
  1015. public function setKind($kind)
  1016. {
  1017. $this->kind = $kind;
  1018. }
  1019. public function getKind()
  1020. {
  1021. return $this->kind;
  1022. }
  1023. public function setNextPageToken($nextPageToken)
  1024. {
  1025. $this->nextPageToken = $nextPageToken;
  1026. }
  1027. public function getNextPageToken()
  1028. {
  1029. return $this->nextPageToken;
  1030. }
  1031. }
  1032. class Google_Service_AdExchangeBuyer_DirectDeal extends Google_Model
  1033. {
  1034. public $accountId;
  1035. public $advertiser;
  1036. public $currencyCode;
  1037. public $endTime;
  1038. public $fixedCpm;
  1039. public $id;
  1040. public $kind;
  1041. public $name;
  1042. public $privateExchangeMinCpm;
  1043. public $sellerNetwork;
  1044. public $startTime;
  1045. public function setAccountId($accountId)
  1046. {
  1047. $this->accountId = $accountId;
  1048. }
  1049. public function getAccountId()
  1050. {
  1051. return $this->accountId;
  1052. }
  1053. public function setAdvertiser($advertiser)
  1054. {
  1055. $this->advertiser = $advertiser;
  1056. }
  1057. public function getAdvertiser()
  1058. {
  1059. return $this->advertiser;
  1060. }
  1061. public function setCurrencyCode($currencyCode)
  1062. {
  1063. $this->currencyCode = $currencyCode;
  1064. }
  1065. public function getCurrencyCode()
  1066. {
  1067. return $this->currencyCode;
  1068. }
  1069. public function setEndTime($endTime)
  1070. {
  1071. $this->endTime = $endTime;
  1072. }
  1073. public function getEndTime()
  1074. {
  1075. return $this->endTime;
  1076. }
  1077. public function setFixedCpm($fixedCpm)
  1078. {
  1079. $this->fixedCpm = $fixedCpm;
  1080. }
  1081. public function getFixedCpm()
  1082. {
  1083. return $this->fixedCpm;
  1084. }
  1085. public function setId($id)
  1086. {
  1087. $this->id = $id;
  1088. }
  1089. public function getId()
  1090. {
  1091. return $this->id;
  1092. }
  1093. public function setKind($kind)
  1094. {
  1095. $this->kind = $kind;
  1096. }
  1097. public function getKind()
  1098. {
  1099. return $this->kind;
  1100. }
  1101. public function setName($name)
  1102. {
  1103. $this->name = $name;
  1104. }
  1105. public function getName()
  1106. {
  1107. return $this->name;
  1108. }
  1109. public function setPrivateExchangeMinCpm($privateExchangeMinCpm)
  1110. {
  1111. $this->privateExchangeMinCpm = $privateExchangeMinCpm;
  1112. }
  1113. public function getPrivateExchangeMinCpm()
  1114. {
  1115. return $this->privateExchangeMinCpm;
  1116. }
  1117. public function setSellerNetwork($sellerNetwork)
  1118. {
  1119. $this->sellerNetwork = $sellerNetwork;
  1120. }
  1121. public function getSellerNetwork()
  1122. {
  1123. return $this->sellerNetwork;
  1124. }
  1125. public function setStartTime($startTime)
  1126. {
  1127. $this->startTime = $startTime;
  1128. }
  1129. public function getStartTime()
  1130. {
  1131. return $this->startTime;
  1132. }
  1133. }
  1134. class Google_Service_AdExchangeBuyer_DirectDealsList extends Google_Collection
  1135. {
  1136. protected $directDealsType = 'Google_Service_AdExchangeBuyer_DirectDeal';
  1137. protected $directDealsDataType = 'array';
  1138. public $kind;
  1139. public function setDirectDeals($directDeals)
  1140. {
  1141. $this->directDeals = $directDeals;
  1142. }
  1143. public function getDirectDeals()
  1144. {
  1145. return $this->directDeals;
  1146. }
  1147. public function setKind($kind)
  1148. {
  1149. $this->kind = $kind;
  1150. }
  1151. public function getKind()
  1152. {
  1153. return $this->kind;
  1154. }
  1155. }
  1156. class Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection
  1157. {
  1158. public $calloutStatusRate;
  1159. public $cookieMatcherStatusRate;
  1160. public $creativeStatusRate;
  1161. public $hostedMatchStatusRate;
  1162. public $kind;
  1163. public $latency50thPercentile;
  1164. public $latency85thPercentile;
  1165. public $latency95thPercentile;
  1166. public $noQuotaInRegion;
  1167. public $outOfQuota;
  1168. public $pixelMatchRequests;
  1169. public $pixelMatchResponses;
  1170. public $quotaConfiguredLimit;
  1171. public $quotaThrottledLimit;
  1172. public $region;
  1173. public $timestamp;
  1174. public function setCalloutStatusRate($calloutStatusRate)
  1175. {
  1176. $this->calloutStatusRate = $calloutStatusRate;
  1177. }
  1178. public function getCalloutStatusRate()
  1179. {
  1180. return $this->calloutStatusRate;
  1181. }
  1182. public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
  1183. {
  1184. $this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
  1185. }
  1186. public function getCookieMatcherStatusRate()
  1187. {
  1188. return $this->cookieMatcherStatusRate;
  1189. }
  1190. public function setCreativeStatusRate($creativeStatusRate)
  1191. {
  1192. $this->creativeStatusRate = $creativeStatusRate;
  1193. }
  1194. public function getCreativeStatusRate()
  1195. {
  1196. return $this->creativeStatusRate;
  1197. }
  1198. public function setHostedMatchStatusRate($hostedMatchStatusRate)
  1199. {
  1200. $this->hostedMatchStatusRate = $hostedMatchStatusRate;
  1201. }
  1202. public function getHostedMatchStatusRate()
  1203. {
  1204. return $this->hostedMatchStatusRate;
  1205. }
  1206. public function setKind($kind)
  1207. {
  1208. $this->kind = $kind;
  1209. }
  1210. public function getKind()
  1211. {
  1212. return $this->kind;
  1213. }
  1214. public function setLatency50thPercentile($latency50thPercentile)
  1215. {
  1216. $this->latency50thPercentile = $latency50thPercentile;
  1217. }
  1218. public function getLatency50thPercentile()
  1219. {
  1220. return $this->latency50thPercentile;
  1221. }
  1222. public function setLatency85thPercentile($latency85thPercentile)
  1223. {
  1224. $this->latency85thPercentile = $latency85thPercentile;
  1225. }
  1226. public function getLatency85thPercentile()
  1227. {
  1228. return $this->latency85thPercentile;
  1229. }
  1230. public function setLatency95thPercentile($latency95thPercentile)
  1231. {
  1232. $this->latency95thPercentile = $latency95thPercentile;
  1233. }
  1234. public function getLatency95thPercentile()
  1235. {
  1236. return $this->latency95thPercentile;
  1237. }
  1238. public function setNoQuotaInRegion($noQuotaInRegion)
  1239. {
  1240. $this->noQuotaInRegion = $noQuotaInRegion;
  1241. }
  1242. public function getNoQuotaInRegion()
  1243. {
  1244. return $this->noQuotaInRegion;
  1245. }
  1246. public function setOutOfQuota($outOfQuota)
  1247. {
  1248. $this->outOfQuota = $outOfQuota;
  1249. }
  1250. public function getOutOfQuota()
  1251. {
  1252. return $this->outOfQuota;
  1253. }
  1254. public function setPixelMatchRequests($pixelMatchRequests)
  1255. {
  1256. $this->pixelMatchRequests = $pixelMatchRequests;
  1257. }
  1258. public function getPixelMatchRequests()
  1259. {
  1260. return $this->pixelMatchRequests;
  1261. }
  1262. public function setPixelMatchResponses($pixelMatchResponses)
  1263. {
  1264. $this->pixelMatchResponses = $pixelMatchResponses;
  1265. }
  1266. public function getPixelMatchResponses()
  1267. {
  1268. return $this->pixelMatchResponses;
  1269. }
  1270. public function setQuotaConfiguredLimit($quotaConfiguredLimit)
  1271. {
  1272. $this->quotaConfiguredLimit = $quotaConfiguredLimit;
  1273. }
  1274. public function getQuotaConfiguredLimit()
  1275. {
  1276. return $this->quotaConfiguredLimit;
  1277. }
  1278. public function setQuotaThrottledLimit($quotaThrottledLimit)
  1279. {
  1280. $this->quotaThrottledLimit = $quotaThrottledLimit;
  1281. }
  1282. public function getQuotaThrottledLimit()
  1283. {
  1284. return $this->quotaThrottledLimit;
  1285. }
  1286. public function setRegion($region)
  1287. {
  1288. $this->region = $region;
  1289. }
  1290. public function getRegion()
  1291. {
  1292. return $this->region;
  1293. }
  1294. public function setTimestamp($timestamp)
  1295. {
  1296. $this->timestamp = $timestamp;
  1297. }
  1298. public function getTimestamp()
  1299. {
  1300. return $this->timestamp;
  1301. }
  1302. }
  1303. class Google_Service_AdExchangeBuyer_PerformanceReportList extends Google_Collection
  1304. {
  1305. public $kind;
  1306. protected $performanceReportType = 'Google_Service_AdExchangeBuyer_PerformanceReport';
  1307. protected $performanceReportDataType = 'array';
  1308. public function setKind($kind)
  1309. {
  1310. $this->kind = $kind;
  1311. }
  1312. public function getKind()
  1313. {
  1314. return $this->kind;
  1315. }
  1316. public function setPerformanceReport($performanceReport)
  1317. {
  1318. $this->performanceReport = $performanceReport;
  1319. }
  1320. public function getPerformanceReport()
  1321. {
  1322. return $this->performanceReport;
  1323. }
  1324. }
  1325. class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection
  1326. {
  1327. public $configId;
  1328. public $configName;
  1329. public $creativeType;
  1330. protected $dimensionsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
  1331. protected $dimensionsDataType = 'array';
  1332. public $excludedContentLabels;
  1333. public $excludedGeoCriteriaIds;
  1334. protected $excludedPlacementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
  1335. protected $excludedPlacementsDataType = 'array';
  1336. public $excludedUserLists;
  1337. public $excludedVerticals;
  1338. public $geoCriteriaIds;
  1339. public $isActive;
  1340. public $kind;
  1341. public $languages;
  1342. public $mobileCarriers;
  1343. public $mobileDevices;
  1344. public $mobileOperatingSystemVersions;
  1345. protected $placementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
  1346. protected $placementsDataType = 'array';
  1347. public $platforms;
  1348. public $supportedCreativeAttributes;
  1349. public $userLists;
  1350. public $vendorTypes;
  1351. public $verticals;
  1352. public function setConfigId($configId)
  1353. {
  1354. $this->configId = $configId;
  1355. }
  1356. public function getConfigId()
  1357. {
  1358. return $this->configId;
  1359. }
  1360. public function setConfigName($configName)
  1361. {
  1362. $this->configName = $configName;
  1363. }
  1364. public function getConfigName()
  1365. {
  1366. return $this->configName;
  1367. }
  1368. public function setCreativeType($creativeType)
  1369. {
  1370. $this->creativeType = $creativeType;
  1371. }
  1372. public function getCreativeType()
  1373. {
  1374. return $this->creativeType;
  1375. }
  1376. public function setDimensions($dimensions)
  1377. {
  1378. $this->dimensions = $dimensions;
  1379. }
  1380. public function getDimensions()
  1381. {
  1382. return $this->dimensions;
  1383. }
  1384. public function setExcludedContentLabels($excludedContentLabels)
  1385. {
  1386. $this->excludedContentLabels = $excludedContentLabels;
  1387. }
  1388. public function getExcludedContentLabels()
  1389. {
  1390. return $this->excludedContentLabels;
  1391. }
  1392. public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds)
  1393. {
  1394. $this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds;
  1395. }
  1396. public function getExcludedGeoCriteriaIds()
  1397. {
  1398. return $this->excludedGeoCriteriaIds;
  1399. }
  1400. public function setExcludedPlacements($excludedPlacements)
  1401. {
  1402. $this->excludedPlacements = $excludedPlacements;
  1403. }
  1404. public function getExcludedPlacements()
  1405. {
  1406. return $this->excludedPlacements;
  1407. }
  1408. public function setExcludedUserLists($excludedUserLists)
  1409. {
  1410. $this->excludedUserLists = $excludedUserLists;
  1411. }
  1412. public function getExcludedUserLists()
  1413. {
  1414. return $this->excludedUserLists;
  1415. }
  1416. public function setExcludedVerticals($excludedVerticals)
  1417. {
  1418. $this->excludedVerticals = $excludedVerticals;
  1419. }
  1420. public function getExcludedVerticals()
  1421. {
  1422. return $this->excludedVerticals;
  1423. }
  1424. public function setGeoCriteriaIds($geoCriteriaIds)
  1425. {
  1426. $this->geoCriteriaIds = $geoCriteriaIds;
  1427. }
  1428. public function getGeoCriteriaIds()
  1429. {
  1430. return $this->geoCriteriaIds;
  1431. }
  1432. public function setIsActive($isActive)
  1433. {
  1434. $this->isActive = $isActive;
  1435. }
  1436. public function getIsActive()
  1437. {
  1438. return $this->isActive;
  1439. }
  1440. public function setKind($kind)
  1441. {
  1442. $this->kind = $kind;
  1443. }
  1444. public function getKind()
  1445. {
  1446. return $this->kind;
  1447. }
  1448. public function setLanguages($languages)
  1449. {
  1450. $this->languages = $languages;
  1451. }
  1452. public function getLanguages()
  1453. {
  1454. return $this->languages;
  1455. }
  1456. public function setMobileCarriers($mobileCarriers)
  1457. {
  1458. $this->mobileCarriers = $mobileCarriers;
  1459. }
  1460. public function getMobileCarriers()
  1461. {
  1462. return $this->mobileCarriers;
  1463. }
  1464. public function setMobileDevices($mobileDevices)
  1465. {
  1466. $this->mobileDevices = $mobileDevices;
  1467. }
  1468. public function getMobileDevices()
  1469. {
  1470. return $this->mobileDevices;
  1471. }
  1472. public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions)
  1473. {
  1474. $this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions;
  1475. }
  1476. public function getMobileOperatingSystemVersions()
  1477. {
  1478. return $this->mobileOperatingSystemVersions;
  1479. }
  1480. public function setPlacements($placements)
  1481. {
  1482. $this->placements = $placements;
  1483. }
  1484. public function getPlacements()
  1485. {
  1486. return $this->placements;
  1487. }
  1488. public function setPlatforms($platforms)
  1489. {
  1490. $this->platforms = $platforms;
  1491. }
  1492. public function getPlatforms()
  1493. {
  1494. return $this->platforms;
  1495. }
  1496. public function setSupportedCreativeAttributes($supportedCreativeAttributes)
  1497. {
  1498. $this->supportedCreativeAttributes = $supportedCreativeAttributes;
  1499. }
  1500. public function getSupportedCreativeAttributes()
  1501. {
  1502. return $this->supportedCreativeAttributes;
  1503. }
  1504. public function setUserLists($userLists)
  1505. {
  1506. $this->userLists = $userLists;
  1507. }
  1508. public function getUserLists()
  1509. {
  1510. return $this->userLists;
  1511. }
  1512. public function setVendorTypes($vendorTypes)
  1513. {
  1514. $this->vendorTypes = $vendorTypes;
  1515. }
  1516. public function getVendorTypes()
  1517. {
  1518. return $this->vendorTypes;
  1519. }
  1520. public function setVerticals($verticals)
  1521. {
  1522. $this->verticals = $verticals;
  1523. }
  1524. public function getVerticals()
  1525. {
  1526. return $this->verticals;
  1527. }
  1528. }
  1529. class Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Google_Model
  1530. {
  1531. public $height;
  1532. public $width;
  1533. public function setHeight($height)
  1534. {
  1535. $this->height = $height;
  1536. }
  1537. public function getHeight()
  1538. {
  1539. return $this->height;
  1540. }
  1541. public function setWidth($width)
  1542. {
  1543. $this->width = $width;
  1544. }
  1545. public function getWidth()
  1546. {
  1547. return $this->width;
  1548. }
  1549. }
  1550. class Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Google_Model
  1551. {
  1552. public $token;
  1553. public $type;
  1554. public function setToken($token)
  1555. {
  1556. $this->token = $token;
  1557. }
  1558. public function getToken()
  1559. {
  1560. return $this->token;
  1561. }
  1562. public function setType($type)
  1563. {
  1564. $this->type = $type;
  1565. }
  1566. public function getType()
  1567. {
  1568. return $this->type;
  1569. }
  1570. }
  1571. class Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Collection
  1572. {
  1573. protected $itemsType = 'Google_Service_AdExchangeBuyer_PretargetingConfig';
  1574. protected $itemsDataType = 'array';
  1575. public $kind;
  1576. public function setItems($items)
  1577. {
  1578. $this->items = $items;
  1579. }
  1580. public function getItems()
  1581. {
  1582. return $this->items;
  1583. }
  1584. public function setKind($kind)
  1585. {
  1586. $this->kind = $kind;
  1587. }
  1588. public function getKind()
  1589. {
  1590. return $this->kind;
  1591. }
  1592. }
  1593. class Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Google_Model
  1594. {
  1595. public $token;
  1596. public $type;
  1597. public function setToken($token)
  1598. {
  1599. $this->token = $token;
  1600. }
  1601. public function getToken()
  1602. {
  1603. return $this->token;
  1604. }
  1605. public function setType($type)
  1606. {
  1607. $this->type = $type;
  1608. }
  1609. public function getType()
  1610. {
  1611. return $this->type;
  1612. }
  1613. }