Nessuna descrizione

AdExchangeBuyerII.php 39KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171
  1. <?php
  2. /*
  3. * Copyright 2014 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 AdExchangeBuyerII (v2beta1).
  19. *
  20. * <p>
  21. * Accesses the latest features for managing Ad Exchange accounts, Real-Time
  22. * Bidding configurations and auction metrics, and Marketplace programmatic
  23. * deals.</p>
  24. *
  25. * <p>
  26. * For more information about this service, see the API
  27. * <a href="https://developers.google.com/ad-exchange/buyer-rest/reference/rest/" target="_blank">Documentation</a>
  28. * </p>
  29. *
  30. * @author Google, Inc.
  31. */
  32. class Google_Service_AdExchangeBuyerII extends Google_Service
  33. {
  34. /** Manage your Ad Exchange buyer account configuration. */
  35. const ADEXCHANGE_BUYER =
  36. "https://www.googleapis.com/auth/adexchange.buyer";
  37. public $accounts_clients;
  38. public $accounts_clients_invitations;
  39. public $accounts_clients_users;
  40. public $accounts_creatives;
  41. public $accounts_creatives_dealAssociations;
  42. public $bidders_accounts_filterSets;
  43. public $bidders_accounts_filterSets_bidMetrics;
  44. public $bidders_accounts_filterSets_bidResponseErrors;
  45. public $bidders_accounts_filterSets_bidResponsesWithoutBids;
  46. public $bidders_accounts_filterSets_filteredBidRequests;
  47. public $bidders_accounts_filterSets_filteredBids;
  48. public $bidders_accounts_filterSets_filteredBids_creatives;
  49. public $bidders_accounts_filterSets_filteredBids_details;
  50. public $bidders_accounts_filterSets_impressionMetrics;
  51. public $bidders_accounts_filterSets_losingBids;
  52. public $bidders_accounts_filterSets_nonBillableWinningBids;
  53. public $bidders_filterSets;
  54. public $bidders_filterSets_bidMetrics;
  55. public $bidders_filterSets_bidResponseErrors;
  56. public $bidders_filterSets_bidResponsesWithoutBids;
  57. public $bidders_filterSets_filteredBidRequests;
  58. public $bidders_filterSets_filteredBids;
  59. public $bidders_filterSets_filteredBids_creatives;
  60. public $bidders_filterSets_filteredBids_details;
  61. public $bidders_filterSets_impressionMetrics;
  62. public $bidders_filterSets_losingBids;
  63. public $bidders_filterSets_nonBillableWinningBids;
  64. /**
  65. * Constructs the internal representation of the AdExchangeBuyerII service.
  66. *
  67. * @param Google_Client $client
  68. */
  69. public function __construct(Google_Client $client)
  70. {
  71. parent::__construct($client);
  72. $this->rootUrl = 'https://adexchangebuyer.googleapis.com/';
  73. $this->servicePath = '';
  74. $this->version = 'v2beta1';
  75. $this->serviceName = 'adexchangebuyer2';
  76. $this->accounts_clients = new Google_Service_AdExchangeBuyerII_Resource_AccountsClients(
  77. $this,
  78. $this->serviceName,
  79. 'clients',
  80. array(
  81. 'methods' => array(
  82. 'create' => array(
  83. 'path' => 'v2beta1/accounts/{accountId}/clients',
  84. 'httpMethod' => 'POST',
  85. 'parameters' => array(
  86. 'accountId' => array(
  87. 'location' => 'path',
  88. 'type' => 'string',
  89. 'required' => true,
  90. ),
  91. ),
  92. ),'get' => array(
  93. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}',
  94. 'httpMethod' => 'GET',
  95. 'parameters' => array(
  96. 'accountId' => array(
  97. 'location' => 'path',
  98. 'type' => 'string',
  99. 'required' => true,
  100. ),
  101. 'clientAccountId' => array(
  102. 'location' => 'path',
  103. 'type' => 'string',
  104. 'required' => true,
  105. ),
  106. ),
  107. ),'list' => array(
  108. 'path' => 'v2beta1/accounts/{accountId}/clients',
  109. 'httpMethod' => 'GET',
  110. 'parameters' => array(
  111. 'accountId' => array(
  112. 'location' => 'path',
  113. 'type' => 'string',
  114. 'required' => true,
  115. ),
  116. 'pageToken' => array(
  117. 'location' => 'query',
  118. 'type' => 'string',
  119. ),
  120. 'partnerClientId' => array(
  121. 'location' => 'query',
  122. 'type' => 'string',
  123. ),
  124. 'pageSize' => array(
  125. 'location' => 'query',
  126. 'type' => 'integer',
  127. ),
  128. ),
  129. ),'update' => array(
  130. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}',
  131. 'httpMethod' => 'PUT',
  132. 'parameters' => array(
  133. 'accountId' => array(
  134. 'location' => 'path',
  135. 'type' => 'string',
  136. 'required' => true,
  137. ),
  138. 'clientAccountId' => array(
  139. 'location' => 'path',
  140. 'type' => 'string',
  141. 'required' => true,
  142. ),
  143. ),
  144. ),
  145. )
  146. )
  147. );
  148. $this->accounts_clients_invitations = new Google_Service_AdExchangeBuyerII_Resource_AccountsClientsInvitations(
  149. $this,
  150. $this->serviceName,
  151. 'invitations',
  152. array(
  153. 'methods' => array(
  154. 'create' => array(
  155. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations',
  156. 'httpMethod' => 'POST',
  157. 'parameters' => array(
  158. 'accountId' => array(
  159. 'location' => 'path',
  160. 'type' => 'string',
  161. 'required' => true,
  162. ),
  163. 'clientAccountId' => array(
  164. 'location' => 'path',
  165. 'type' => 'string',
  166. 'required' => true,
  167. ),
  168. ),
  169. ),'get' => array(
  170. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}',
  171. 'httpMethod' => 'GET',
  172. 'parameters' => array(
  173. 'accountId' => array(
  174. 'location' => 'path',
  175. 'type' => 'string',
  176. 'required' => true,
  177. ),
  178. 'clientAccountId' => array(
  179. 'location' => 'path',
  180. 'type' => 'string',
  181. 'required' => true,
  182. ),
  183. 'invitationId' => array(
  184. 'location' => 'path',
  185. 'type' => 'string',
  186. 'required' => true,
  187. ),
  188. ),
  189. ),'list' => array(
  190. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations',
  191. 'httpMethod' => 'GET',
  192. 'parameters' => array(
  193. 'accountId' => array(
  194. 'location' => 'path',
  195. 'type' => 'string',
  196. 'required' => true,
  197. ),
  198. 'clientAccountId' => array(
  199. 'location' => 'path',
  200. 'type' => 'string',
  201. 'required' => true,
  202. ),
  203. 'pageToken' => array(
  204. 'location' => 'query',
  205. 'type' => 'string',
  206. ),
  207. 'pageSize' => array(
  208. 'location' => 'query',
  209. 'type' => 'integer',
  210. ),
  211. ),
  212. ),
  213. )
  214. )
  215. );
  216. $this->accounts_clients_users = new Google_Service_AdExchangeBuyerII_Resource_AccountsClientsUsers(
  217. $this,
  218. $this->serviceName,
  219. 'users',
  220. array(
  221. 'methods' => array(
  222. 'get' => array(
  223. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}',
  224. 'httpMethod' => 'GET',
  225. 'parameters' => array(
  226. 'accountId' => array(
  227. 'location' => 'path',
  228. 'type' => 'string',
  229. 'required' => true,
  230. ),
  231. 'clientAccountId' => array(
  232. 'location' => 'path',
  233. 'type' => 'string',
  234. 'required' => true,
  235. ),
  236. 'userId' => array(
  237. 'location' => 'path',
  238. 'type' => 'string',
  239. 'required' => true,
  240. ),
  241. ),
  242. ),'list' => array(
  243. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users',
  244. 'httpMethod' => 'GET',
  245. 'parameters' => array(
  246. 'accountId' => array(
  247. 'location' => 'path',
  248. 'type' => 'string',
  249. 'required' => true,
  250. ),
  251. 'clientAccountId' => array(
  252. 'location' => 'path',
  253. 'type' => 'string',
  254. 'required' => true,
  255. ),
  256. 'pageSize' => array(
  257. 'location' => 'query',
  258. 'type' => 'integer',
  259. ),
  260. 'pageToken' => array(
  261. 'location' => 'query',
  262. 'type' => 'string',
  263. ),
  264. ),
  265. ),'update' => array(
  266. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}',
  267. 'httpMethod' => 'PUT',
  268. 'parameters' => array(
  269. 'accountId' => array(
  270. 'location' => 'path',
  271. 'type' => 'string',
  272. 'required' => true,
  273. ),
  274. 'clientAccountId' => array(
  275. 'location' => 'path',
  276. 'type' => 'string',
  277. 'required' => true,
  278. ),
  279. 'userId' => array(
  280. 'location' => 'path',
  281. 'type' => 'string',
  282. 'required' => true,
  283. ),
  284. ),
  285. ),
  286. )
  287. )
  288. );
  289. $this->accounts_creatives = new Google_Service_AdExchangeBuyerII_Resource_AccountsCreatives(
  290. $this,
  291. $this->serviceName,
  292. 'creatives',
  293. array(
  294. 'methods' => array(
  295. 'create' => array(
  296. 'path' => 'v2beta1/accounts/{accountId}/creatives',
  297. 'httpMethod' => 'POST',
  298. 'parameters' => array(
  299. 'accountId' => array(
  300. 'location' => 'path',
  301. 'type' => 'string',
  302. 'required' => true,
  303. ),
  304. 'duplicateIdMode' => array(
  305. 'location' => 'query',
  306. 'type' => 'string',
  307. ),
  308. ),
  309. ),'get' => array(
  310. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}',
  311. 'httpMethod' => 'GET',
  312. 'parameters' => array(
  313. 'accountId' => array(
  314. 'location' => 'path',
  315. 'type' => 'string',
  316. 'required' => true,
  317. ),
  318. 'creativeId' => array(
  319. 'location' => 'path',
  320. 'type' => 'string',
  321. 'required' => true,
  322. ),
  323. ),
  324. ),'list' => array(
  325. 'path' => 'v2beta1/accounts/{accountId}/creatives',
  326. 'httpMethod' => 'GET',
  327. 'parameters' => array(
  328. 'accountId' => array(
  329. 'location' => 'path',
  330. 'type' => 'string',
  331. 'required' => true,
  332. ),
  333. 'pageToken' => array(
  334. 'location' => 'query',
  335. 'type' => 'string',
  336. ),
  337. 'pageSize' => array(
  338. 'location' => 'query',
  339. 'type' => 'integer',
  340. ),
  341. 'query' => array(
  342. 'location' => 'query',
  343. 'type' => 'string',
  344. ),
  345. ),
  346. ),'stopWatching' => array(
  347. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching',
  348. 'httpMethod' => 'POST',
  349. 'parameters' => array(
  350. 'accountId' => array(
  351. 'location' => 'path',
  352. 'type' => 'string',
  353. 'required' => true,
  354. ),
  355. 'creativeId' => array(
  356. 'location' => 'path',
  357. 'type' => 'string',
  358. 'required' => true,
  359. ),
  360. ),
  361. ),'update' => array(
  362. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}',
  363. 'httpMethod' => 'PUT',
  364. 'parameters' => array(
  365. 'accountId' => array(
  366. 'location' => 'path',
  367. 'type' => 'string',
  368. 'required' => true,
  369. ),
  370. 'creativeId' => array(
  371. 'location' => 'path',
  372. 'type' => 'string',
  373. 'required' => true,
  374. ),
  375. ),
  376. ),'watch' => array(
  377. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch',
  378. 'httpMethod' => 'POST',
  379. 'parameters' => array(
  380. 'accountId' => array(
  381. 'location' => 'path',
  382. 'type' => 'string',
  383. 'required' => true,
  384. ),
  385. 'creativeId' => array(
  386. 'location' => 'path',
  387. 'type' => 'string',
  388. 'required' => true,
  389. ),
  390. ),
  391. ),
  392. )
  393. )
  394. );
  395. $this->accounts_creatives_dealAssociations = new Google_Service_AdExchangeBuyerII_Resource_AccountsCreativesDealAssociations(
  396. $this,
  397. $this->serviceName,
  398. 'dealAssociations',
  399. array(
  400. 'methods' => array(
  401. 'add' => array(
  402. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add',
  403. 'httpMethod' => 'POST',
  404. 'parameters' => array(
  405. 'accountId' => array(
  406. 'location' => 'path',
  407. 'type' => 'string',
  408. 'required' => true,
  409. ),
  410. 'creativeId' => array(
  411. 'location' => 'path',
  412. 'type' => 'string',
  413. 'required' => true,
  414. ),
  415. ),
  416. ),'list' => array(
  417. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations',
  418. 'httpMethod' => 'GET',
  419. 'parameters' => array(
  420. 'accountId' => array(
  421. 'location' => 'path',
  422. 'type' => 'string',
  423. 'required' => true,
  424. ),
  425. 'creativeId' => array(
  426. 'location' => 'path',
  427. 'type' => 'string',
  428. 'required' => true,
  429. ),
  430. 'pageToken' => array(
  431. 'location' => 'query',
  432. 'type' => 'string',
  433. ),
  434. 'pageSize' => array(
  435. 'location' => 'query',
  436. 'type' => 'integer',
  437. ),
  438. 'query' => array(
  439. 'location' => 'query',
  440. 'type' => 'string',
  441. ),
  442. ),
  443. ),'remove' => array(
  444. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove',
  445. 'httpMethod' => 'POST',
  446. 'parameters' => array(
  447. 'accountId' => array(
  448. 'location' => 'path',
  449. 'type' => 'string',
  450. 'required' => true,
  451. ),
  452. 'creativeId' => array(
  453. 'location' => 'path',
  454. 'type' => 'string',
  455. 'required' => true,
  456. ),
  457. ),
  458. ),
  459. )
  460. )
  461. );
  462. $this->bidders_accounts_filterSets = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSets(
  463. $this,
  464. $this->serviceName,
  465. 'filterSets',
  466. array(
  467. 'methods' => array(
  468. 'create' => array(
  469. 'path' => 'v2beta1/{+ownerName}/filterSets',
  470. 'httpMethod' => 'POST',
  471. 'parameters' => array(
  472. 'ownerName' => array(
  473. 'location' => 'path',
  474. 'type' => 'string',
  475. 'required' => true,
  476. ),
  477. 'isTransient' => array(
  478. 'location' => 'query',
  479. 'type' => 'boolean',
  480. ),
  481. ),
  482. ),'delete' => array(
  483. 'path' => 'v2beta1/{+name}',
  484. 'httpMethod' => 'DELETE',
  485. 'parameters' => array(
  486. 'name' => array(
  487. 'location' => 'path',
  488. 'type' => 'string',
  489. 'required' => true,
  490. ),
  491. ),
  492. ),'get' => array(
  493. 'path' => 'v2beta1/{+name}',
  494. 'httpMethod' => 'GET',
  495. 'parameters' => array(
  496. 'name' => array(
  497. 'location' => 'path',
  498. 'type' => 'string',
  499. 'required' => true,
  500. ),
  501. ),
  502. ),'list' => array(
  503. 'path' => 'v2beta1/{+ownerName}/filterSets',
  504. 'httpMethod' => 'GET',
  505. 'parameters' => array(
  506. 'ownerName' => array(
  507. 'location' => 'path',
  508. 'type' => 'string',
  509. 'required' => true,
  510. ),
  511. 'pageToken' => array(
  512. 'location' => 'query',
  513. 'type' => 'string',
  514. ),
  515. 'pageSize' => array(
  516. 'location' => 'query',
  517. 'type' => 'integer',
  518. ),
  519. ),
  520. ),
  521. )
  522. )
  523. );
  524. $this->bidders_accounts_filterSets_bidMetrics = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsBidMetrics(
  525. $this,
  526. $this->serviceName,
  527. 'bidMetrics',
  528. array(
  529. 'methods' => array(
  530. 'list' => array(
  531. 'path' => 'v2beta1/{+filterSetName}/bidMetrics',
  532. 'httpMethod' => 'GET',
  533. 'parameters' => array(
  534. 'filterSetName' => array(
  535. 'location' => 'path',
  536. 'type' => 'string',
  537. 'required' => true,
  538. ),
  539. 'pageToken' => array(
  540. 'location' => 'query',
  541. 'type' => 'string',
  542. ),
  543. 'pageSize' => array(
  544. 'location' => 'query',
  545. 'type' => 'integer',
  546. ),
  547. ),
  548. ),
  549. )
  550. )
  551. );
  552. $this->bidders_accounts_filterSets_bidResponseErrors = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsBidResponseErrors(
  553. $this,
  554. $this->serviceName,
  555. 'bidResponseErrors',
  556. array(
  557. 'methods' => array(
  558. 'list' => array(
  559. 'path' => 'v2beta1/{+filterSetName}/bidResponseErrors',
  560. 'httpMethod' => 'GET',
  561. 'parameters' => array(
  562. 'filterSetName' => array(
  563. 'location' => 'path',
  564. 'type' => 'string',
  565. 'required' => true,
  566. ),
  567. 'pageSize' => array(
  568. 'location' => 'query',
  569. 'type' => 'integer',
  570. ),
  571. 'pageToken' => array(
  572. 'location' => 'query',
  573. 'type' => 'string',
  574. ),
  575. ),
  576. ),
  577. )
  578. )
  579. );
  580. $this->bidders_accounts_filterSets_bidResponsesWithoutBids = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsBidResponsesWithoutBids(
  581. $this,
  582. $this->serviceName,
  583. 'bidResponsesWithoutBids',
  584. array(
  585. 'methods' => array(
  586. 'list' => array(
  587. 'path' => 'v2beta1/{+filterSetName}/bidResponsesWithoutBids',
  588. 'httpMethod' => 'GET',
  589. 'parameters' => array(
  590. 'filterSetName' => array(
  591. 'location' => 'path',
  592. 'type' => 'string',
  593. 'required' => true,
  594. ),
  595. 'pageSize' => array(
  596. 'location' => 'query',
  597. 'type' => 'integer',
  598. ),
  599. 'pageToken' => array(
  600. 'location' => 'query',
  601. 'type' => 'string',
  602. ),
  603. ),
  604. ),
  605. )
  606. )
  607. );
  608. $this->bidders_accounts_filterSets_filteredBidRequests = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsFilteredBidRequests(
  609. $this,
  610. $this->serviceName,
  611. 'filteredBidRequests',
  612. array(
  613. 'methods' => array(
  614. 'list' => array(
  615. 'path' => 'v2beta1/{+filterSetName}/filteredBidRequests',
  616. 'httpMethod' => 'GET',
  617. 'parameters' => array(
  618. 'filterSetName' => array(
  619. 'location' => 'path',
  620. 'type' => 'string',
  621. 'required' => true,
  622. ),
  623. 'pageSize' => array(
  624. 'location' => 'query',
  625. 'type' => 'integer',
  626. ),
  627. 'pageToken' => array(
  628. 'location' => 'query',
  629. 'type' => 'string',
  630. ),
  631. ),
  632. ),
  633. )
  634. )
  635. );
  636. $this->bidders_accounts_filterSets_filteredBids = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsFilteredBids(
  637. $this,
  638. $this->serviceName,
  639. 'filteredBids',
  640. array(
  641. 'methods' => array(
  642. 'list' => array(
  643. 'path' => 'v2beta1/{+filterSetName}/filteredBids',
  644. 'httpMethod' => 'GET',
  645. 'parameters' => array(
  646. 'filterSetName' => array(
  647. 'location' => 'path',
  648. 'type' => 'string',
  649. 'required' => true,
  650. ),
  651. 'pageToken' => array(
  652. 'location' => 'query',
  653. 'type' => 'string',
  654. ),
  655. 'pageSize' => array(
  656. 'location' => 'query',
  657. 'type' => 'integer',
  658. ),
  659. ),
  660. ),
  661. )
  662. )
  663. );
  664. $this->bidders_accounts_filterSets_filteredBids_creatives = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsFilteredBidsCreatives(
  665. $this,
  666. $this->serviceName,
  667. 'creatives',
  668. array(
  669. 'methods' => array(
  670. 'list' => array(
  671. 'path' => 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives',
  672. 'httpMethod' => 'GET',
  673. 'parameters' => array(
  674. 'filterSetName' => array(
  675. 'location' => 'path',
  676. 'type' => 'string',
  677. 'required' => true,
  678. ),
  679. 'creativeStatusId' => array(
  680. 'location' => 'path',
  681. 'type' => 'integer',
  682. 'required' => true,
  683. ),
  684. 'pageToken' => array(
  685. 'location' => 'query',
  686. 'type' => 'string',
  687. ),
  688. 'pageSize' => array(
  689. 'location' => 'query',
  690. 'type' => 'integer',
  691. ),
  692. ),
  693. ),
  694. )
  695. )
  696. );
  697. $this->bidders_accounts_filterSets_filteredBids_details = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsFilteredBidsDetails(
  698. $this,
  699. $this->serviceName,
  700. 'details',
  701. array(
  702. 'methods' => array(
  703. 'list' => array(
  704. 'path' => 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details',
  705. 'httpMethod' => 'GET',
  706. 'parameters' => array(
  707. 'filterSetName' => array(
  708. 'location' => 'path',
  709. 'type' => 'string',
  710. 'required' => true,
  711. ),
  712. 'creativeStatusId' => array(
  713. 'location' => 'path',
  714. 'type' => 'integer',
  715. 'required' => true,
  716. ),
  717. 'pageToken' => array(
  718. 'location' => 'query',
  719. 'type' => 'string',
  720. ),
  721. 'pageSize' => array(
  722. 'location' => 'query',
  723. 'type' => 'integer',
  724. ),
  725. ),
  726. ),
  727. )
  728. )
  729. );
  730. $this->bidders_accounts_filterSets_impressionMetrics = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsImpressionMetrics(
  731. $this,
  732. $this->serviceName,
  733. 'impressionMetrics',
  734. array(
  735. 'methods' => array(
  736. 'list' => array(
  737. 'path' => 'v2beta1/{+filterSetName}/impressionMetrics',
  738. 'httpMethod' => 'GET',
  739. 'parameters' => array(
  740. 'filterSetName' => array(
  741. 'location' => 'path',
  742. 'type' => 'string',
  743. 'required' => true,
  744. ),
  745. 'pageToken' => array(
  746. 'location' => 'query',
  747. 'type' => 'string',
  748. ),
  749. 'pageSize' => array(
  750. 'location' => 'query',
  751. 'type' => 'integer',
  752. ),
  753. ),
  754. ),
  755. )
  756. )
  757. );
  758. $this->bidders_accounts_filterSets_losingBids = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsLosingBids(
  759. $this,
  760. $this->serviceName,
  761. 'losingBids',
  762. array(
  763. 'methods' => array(
  764. 'list' => array(
  765. 'path' => 'v2beta1/{+filterSetName}/losingBids',
  766. 'httpMethod' => 'GET',
  767. 'parameters' => array(
  768. 'filterSetName' => array(
  769. 'location' => 'path',
  770. 'type' => 'string',
  771. 'required' => true,
  772. ),
  773. 'pageSize' => array(
  774. 'location' => 'query',
  775. 'type' => 'integer',
  776. ),
  777. 'pageToken' => array(
  778. 'location' => 'query',
  779. 'type' => 'string',
  780. ),
  781. ),
  782. ),
  783. )
  784. )
  785. );
  786. $this->bidders_accounts_filterSets_nonBillableWinningBids = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsNonBillableWinningBids(
  787. $this,
  788. $this->serviceName,
  789. 'nonBillableWinningBids',
  790. array(
  791. 'methods' => array(
  792. 'list' => array(
  793. 'path' => 'v2beta1/{+filterSetName}/nonBillableWinningBids',
  794. 'httpMethod' => 'GET',
  795. 'parameters' => array(
  796. 'filterSetName' => array(
  797. 'location' => 'path',
  798. 'type' => 'string',
  799. 'required' => true,
  800. ),
  801. 'pageToken' => array(
  802. 'location' => 'query',
  803. 'type' => 'string',
  804. ),
  805. 'pageSize' => array(
  806. 'location' => 'query',
  807. 'type' => 'integer',
  808. ),
  809. ),
  810. ),
  811. )
  812. )
  813. );
  814. $this->bidders_filterSets = new Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSets(
  815. $this,
  816. $this->serviceName,
  817. 'filterSets',
  818. array(
  819. 'methods' => array(
  820. 'create' => array(
  821. 'path' => 'v2beta1/{+ownerName}/filterSets',
  822. 'httpMethod' => 'POST',
  823. 'parameters' => array(
  824. 'ownerName' => array(
  825. 'location' => 'path',
  826. 'type' => 'string',
  827. 'required' => true,
  828. ),
  829. 'isTransient' => array(
  830. 'location' => 'query',
  831. 'type' => 'boolean',
  832. ),
  833. ),
  834. ),'delete' => array(
  835. 'path' => 'v2beta1/{+name}',
  836. 'httpMethod' => 'DELETE',
  837. 'parameters' => array(
  838. 'name' => array(
  839. 'location' => 'path',
  840. 'type' => 'string',
  841. 'required' => true,
  842. ),
  843. ),
  844. ),'get' => array(
  845. 'path' => 'v2beta1/{+name}',
  846. 'httpMethod' => 'GET',
  847. 'parameters' => array(
  848. 'name' => array(
  849. 'location' => 'path',
  850. 'type' => 'string',
  851. 'required' => true,
  852. ),
  853. ),
  854. ),'list' => array(
  855. 'path' => 'v2beta1/{+ownerName}/filterSets',
  856. 'httpMethod' => 'GET',
  857. 'parameters' => array(
  858. 'ownerName' => array(
  859. 'location' => 'path',
  860. 'type' => 'string',
  861. 'required' => true,
  862. ),
  863. 'pageSize' => array(
  864. 'location' => 'query',
  865. 'type' => 'integer',
  866. ),
  867. 'pageToken' => array(
  868. 'location' => 'query',
  869. 'type' => 'string',
  870. ),
  871. ),
  872. ),
  873. )
  874. )
  875. );
  876. $this->bidders_filterSets_bidMetrics = new Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSetsBidMetrics(
  877. $this,
  878. $this->serviceName,
  879. 'bidMetrics',
  880. array(
  881. 'methods' => array(
  882. 'list' => array(
  883. 'path' => 'v2beta1/{+filterSetName}/bidMetrics',
  884. 'httpMethod' => 'GET',
  885. 'parameters' => array(
  886. 'filterSetName' => array(
  887. 'location' => 'path',
  888. 'type' => 'string',
  889. 'required' => true,
  890. ),
  891. 'pageSize' => array(
  892. 'location' => 'query',
  893. 'type' => 'integer',
  894. ),
  895. 'pageToken' => array(
  896. 'location' => 'query',
  897. 'type' => 'string',
  898. ),
  899. ),
  900. ),
  901. )
  902. )
  903. );
  904. $this->bidders_filterSets_bidResponseErrors = new Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSetsBidResponseErrors(
  905. $this,
  906. $this->serviceName,
  907. 'bidResponseErrors',
  908. array(
  909. 'methods' => array(
  910. 'list' => array(
  911. 'path' => 'v2beta1/{+filterSetName}/bidResponseErrors',
  912. 'httpMethod' => 'GET',
  913. 'parameters' => array(
  914. 'filterSetName' => array(
  915. 'location' => 'path',
  916. 'type' => 'string',
  917. 'required' => true,
  918. ),
  919. 'pageToken' => array(
  920. 'location' => 'query',
  921. 'type' => 'string',
  922. ),
  923. 'pageSize' => array(
  924. 'location' => 'query',
  925. 'type' => 'integer',
  926. ),
  927. ),
  928. ),
  929. )
  930. )
  931. );
  932. $this->bidders_filterSets_bidResponsesWithoutBids = new Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSetsBidResponsesWithoutBids(
  933. $this,
  934. $this->serviceName,
  935. 'bidResponsesWithoutBids',
  936. array(
  937. 'methods' => array(
  938. 'list' => array(
  939. 'path' => 'v2beta1/{+filterSetName}/bidResponsesWithoutBids',
  940. 'httpMethod' => 'GET',
  941. 'parameters' => array(
  942. 'filterSetName' => array(
  943. 'location' => 'path',
  944. 'type' => 'string',
  945. 'required' => true,
  946. ),
  947. 'pageSize' => array(
  948. 'location' => 'query',
  949. 'type' => 'integer',
  950. ),
  951. 'pageToken' => array(
  952. 'location' => 'query',
  953. 'type' => 'string',
  954. ),
  955. ),
  956. ),
  957. )
  958. )
  959. );
  960. $this->bidders_filterSets_filteredBidRequests = new Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSetsFilteredBidRequests(
  961. $this,
  962. $this->serviceName,
  963. 'filteredBidRequests',
  964. array(
  965. 'methods' => array(
  966. 'list' => array(
  967. 'path' => 'v2beta1/{+filterSetName}/filteredBidRequests',
  968. 'httpMethod' => 'GET',
  969. 'parameters' => array(
  970. 'filterSetName' => array(
  971. 'location' => 'path',
  972. 'type' => 'string',
  973. 'required' => true,
  974. ),
  975. 'pageSize' => array(
  976. 'location' => 'query',
  977. 'type' => 'integer',
  978. ),
  979. 'pageToken' => array(
  980. 'location' => 'query',
  981. 'type' => 'string',
  982. ),
  983. ),
  984. ),
  985. )
  986. )
  987. );
  988. $this->bidders_filterSets_filteredBids = new Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSetsFilteredBids(
  989. $this,
  990. $this->serviceName,
  991. 'filteredBids',
  992. array(
  993. 'methods' => array(
  994. 'list' => array(
  995. 'path' => 'v2beta1/{+filterSetName}/filteredBids',
  996. 'httpMethod' => 'GET',
  997. 'parameters' => array(
  998. 'filterSetName' => array(
  999. 'location' => 'path',
  1000. 'type' => 'string',
  1001. 'required' => true,
  1002. ),
  1003. 'pageSize' => array(
  1004. 'location' => 'query',
  1005. 'type' => 'integer',
  1006. ),
  1007. 'pageToken' => array(
  1008. 'location' => 'query',
  1009. 'type' => 'string',
  1010. ),
  1011. ),
  1012. ),
  1013. )
  1014. )
  1015. );
  1016. $this->bidders_filterSets_filteredBids_creatives = new Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSetsFilteredBidsCreatives(
  1017. $this,
  1018. $this->serviceName,
  1019. 'creatives',
  1020. array(
  1021. 'methods' => array(
  1022. 'list' => array(
  1023. 'path' => 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives',
  1024. 'httpMethod' => 'GET',
  1025. 'parameters' => array(
  1026. 'filterSetName' => array(
  1027. 'location' => 'path',
  1028. 'type' => 'string',
  1029. 'required' => true,
  1030. ),
  1031. 'creativeStatusId' => array(
  1032. 'location' => 'path',
  1033. 'type' => 'integer',
  1034. 'required' => true,
  1035. ),
  1036. 'pageToken' => array(
  1037. 'location' => 'query',
  1038. 'type' => 'string',
  1039. ),
  1040. 'pageSize' => array(
  1041. 'location' => 'query',
  1042. 'type' => 'integer',
  1043. ),
  1044. ),
  1045. ),
  1046. )
  1047. )
  1048. );
  1049. $this->bidders_filterSets_filteredBids_details = new Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSetsFilteredBidsDetails(
  1050. $this,
  1051. $this->serviceName,
  1052. 'details',
  1053. array(
  1054. 'methods' => array(
  1055. 'list' => array(
  1056. 'path' => 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details',
  1057. 'httpMethod' => 'GET',
  1058. 'parameters' => array(
  1059. 'filterSetName' => array(
  1060. 'location' => 'path',
  1061. 'type' => 'string',
  1062. 'required' => true,
  1063. ),
  1064. 'creativeStatusId' => array(
  1065. 'location' => 'path',
  1066. 'type' => 'integer',
  1067. 'required' => true,
  1068. ),
  1069. 'pageSize' => array(
  1070. 'location' => 'query',
  1071. 'type' => 'integer',
  1072. ),
  1073. 'pageToken' => array(
  1074. 'location' => 'query',
  1075. 'type' => 'string',
  1076. ),
  1077. ),
  1078. ),
  1079. )
  1080. )
  1081. );
  1082. $this->bidders_filterSets_impressionMetrics = new Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSetsImpressionMetrics(
  1083. $this,
  1084. $this->serviceName,
  1085. 'impressionMetrics',
  1086. array(
  1087. 'methods' => array(
  1088. 'list' => array(
  1089. 'path' => 'v2beta1/{+filterSetName}/impressionMetrics',
  1090. 'httpMethod' => 'GET',
  1091. 'parameters' => array(
  1092. 'filterSetName' => array(
  1093. 'location' => 'path',
  1094. 'type' => 'string',
  1095. 'required' => true,
  1096. ),
  1097. 'pageToken' => array(
  1098. 'location' => 'query',
  1099. 'type' => 'string',
  1100. ),
  1101. 'pageSize' => array(
  1102. 'location' => 'query',
  1103. 'type' => 'integer',
  1104. ),
  1105. ),
  1106. ),
  1107. )
  1108. )
  1109. );
  1110. $this->bidders_filterSets_losingBids = new Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSetsLosingBids(
  1111. $this,
  1112. $this->serviceName,
  1113. 'losingBids',
  1114. array(
  1115. 'methods' => array(
  1116. 'list' => array(
  1117. 'path' => 'v2beta1/{+filterSetName}/losingBids',
  1118. 'httpMethod' => 'GET',
  1119. 'parameters' => array(
  1120. 'filterSetName' => array(
  1121. 'location' => 'path',
  1122. 'type' => 'string',
  1123. 'required' => true,
  1124. ),
  1125. 'pageToken' => array(
  1126. 'location' => 'query',
  1127. 'type' => 'string',
  1128. ),
  1129. 'pageSize' => array(
  1130. 'location' => 'query',
  1131. 'type' => 'integer',
  1132. ),
  1133. ),
  1134. ),
  1135. )
  1136. )
  1137. );
  1138. $this->bidders_filterSets_nonBillableWinningBids = new Google_Service_AdExchangeBuyerII_Resource_BiddersFilterSetsNonBillableWinningBids(
  1139. $this,
  1140. $this->serviceName,
  1141. 'nonBillableWinningBids',
  1142. array(
  1143. 'methods' => array(
  1144. 'list' => array(
  1145. 'path' => 'v2beta1/{+filterSetName}/nonBillableWinningBids',
  1146. 'httpMethod' => 'GET',
  1147. 'parameters' => array(
  1148. 'filterSetName' => array(
  1149. 'location' => 'path',
  1150. 'type' => 'string',
  1151. 'required' => true,
  1152. ),
  1153. 'pageToken' => array(
  1154. 'location' => 'query',
  1155. 'type' => 'string',
  1156. ),
  1157. 'pageSize' => array(
  1158. 'location' => 'query',
  1159. 'type' => 'integer',
  1160. ),
  1161. ),
  1162. ),
  1163. )
  1164. )
  1165. );
  1166. }
  1167. }