AdExchangeBuyerII.php 49 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507
  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. namespace Google\Service;
  18. use Google\Client;
  19. /**
  20. * Service definition for AdExchangeBuyerII (v2beta1).
  21. *
  22. * <p>
  23. * Accesses the latest features for managing Authorized Buyers accounts, Real-
  24. * Time Bidding configurations and auction metrics, and Marketplace programmatic
  25. * deals.</p>
  26. *
  27. * <p>
  28. * For more information about this service, see the API
  29. * <a href="https://developers.google.com/authorized-buyers/apis/reference/rest/" target="_blank">Documentation</a>
  30. * </p>
  31. *
  32. * @author Google, Inc.
  33. */
  34. class AdExchangeBuyerII extends \Google\Service
  35. {
  36. /** Manage your Ad Exchange buyer account configuration. */
  37. const ADEXCHANGE_BUYER =
  38. "https://www.googleapis.com/auth/adexchange.buyer";
  39. public $accounts_clients;
  40. public $accounts_clients_invitations;
  41. public $accounts_clients_users;
  42. public $accounts_creatives;
  43. public $accounts_creatives_dealAssociations;
  44. public $accounts_finalizedProposals;
  45. public $accounts_products;
  46. public $accounts_proposals;
  47. public $accounts_publisherProfiles;
  48. public $bidders_accounts_filterSets;
  49. public $bidders_accounts_filterSets_bidMetrics;
  50. public $bidders_accounts_filterSets_bidResponseErrors;
  51. public $bidders_accounts_filterSets_bidResponsesWithoutBids;
  52. public $bidders_accounts_filterSets_filteredBidRequests;
  53. public $bidders_accounts_filterSets_filteredBids;
  54. public $bidders_accounts_filterSets_filteredBids_creatives;
  55. public $bidders_accounts_filterSets_filteredBids_details;
  56. public $bidders_accounts_filterSets_impressionMetrics;
  57. public $bidders_accounts_filterSets_losingBids;
  58. public $bidders_accounts_filterSets_nonBillableWinningBids;
  59. public $bidders_filterSets;
  60. public $bidders_filterSets_bidMetrics;
  61. public $bidders_filterSets_bidResponseErrors;
  62. public $bidders_filterSets_bidResponsesWithoutBids;
  63. public $bidders_filterSets_filteredBidRequests;
  64. public $bidders_filterSets_filteredBids;
  65. public $bidders_filterSets_filteredBids_creatives;
  66. public $bidders_filterSets_filteredBids_details;
  67. public $bidders_filterSets_impressionMetrics;
  68. public $bidders_filterSets_losingBids;
  69. public $bidders_filterSets_nonBillableWinningBids;
  70. /**
  71. * Constructs the internal representation of the AdExchangeBuyerII service.
  72. *
  73. * @param Client|array $clientOrConfig The client used to deliver requests, or a
  74. * config array to pass to a new Client instance.
  75. * @param string $rootUrl The root URL used for requests to the service.
  76. */
  77. public function __construct($clientOrConfig = [], $rootUrl = null)
  78. {
  79. parent::__construct($clientOrConfig);
  80. $this->rootUrl = $rootUrl ?: 'https://adexchangebuyer.googleapis.com/';
  81. $this->servicePath = '';
  82. $this->batchPath = 'batch';
  83. $this->version = 'v2beta1';
  84. $this->serviceName = 'adexchangebuyer2';
  85. $this->accounts_clients = new AdExchangeBuyerII\Resource\AccountsClients(
  86. $this,
  87. $this->serviceName,
  88. 'clients',
  89. [
  90. 'methods' => [
  91. 'create' => [
  92. 'path' => 'v2beta1/accounts/{accountId}/clients',
  93. 'httpMethod' => 'POST',
  94. 'parameters' => [
  95. 'accountId' => [
  96. 'location' => 'path',
  97. 'type' => 'string',
  98. 'required' => true,
  99. ],
  100. ],
  101. ],'get' => [
  102. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}',
  103. 'httpMethod' => 'GET',
  104. 'parameters' => [
  105. 'accountId' => [
  106. 'location' => 'path',
  107. 'type' => 'string',
  108. 'required' => true,
  109. ],
  110. 'clientAccountId' => [
  111. 'location' => 'path',
  112. 'type' => 'string',
  113. 'required' => true,
  114. ],
  115. ],
  116. ],'list' => [
  117. 'path' => 'v2beta1/accounts/{accountId}/clients',
  118. 'httpMethod' => 'GET',
  119. 'parameters' => [
  120. 'accountId' => [
  121. 'location' => 'path',
  122. 'type' => 'string',
  123. 'required' => true,
  124. ],
  125. 'pageSize' => [
  126. 'location' => 'query',
  127. 'type' => 'integer',
  128. ],
  129. 'pageToken' => [
  130. 'location' => 'query',
  131. 'type' => 'string',
  132. ],
  133. 'partnerClientId' => [
  134. 'location' => 'query',
  135. 'type' => 'string',
  136. ],
  137. ],
  138. ],'update' => [
  139. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}',
  140. 'httpMethod' => 'PUT',
  141. 'parameters' => [
  142. 'accountId' => [
  143. 'location' => 'path',
  144. 'type' => 'string',
  145. 'required' => true,
  146. ],
  147. 'clientAccountId' => [
  148. 'location' => 'path',
  149. 'type' => 'string',
  150. 'required' => true,
  151. ],
  152. ],
  153. ],
  154. ]
  155. ]
  156. );
  157. $this->accounts_clients_invitations = new AdExchangeBuyerII\Resource\AccountsClientsInvitations(
  158. $this,
  159. $this->serviceName,
  160. 'invitations',
  161. [
  162. 'methods' => [
  163. 'create' => [
  164. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations',
  165. 'httpMethod' => 'POST',
  166. 'parameters' => [
  167. 'accountId' => [
  168. 'location' => 'path',
  169. 'type' => 'string',
  170. 'required' => true,
  171. ],
  172. 'clientAccountId' => [
  173. 'location' => 'path',
  174. 'type' => 'string',
  175. 'required' => true,
  176. ],
  177. ],
  178. ],'get' => [
  179. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}',
  180. 'httpMethod' => 'GET',
  181. 'parameters' => [
  182. 'accountId' => [
  183. 'location' => 'path',
  184. 'type' => 'string',
  185. 'required' => true,
  186. ],
  187. 'clientAccountId' => [
  188. 'location' => 'path',
  189. 'type' => 'string',
  190. 'required' => true,
  191. ],
  192. 'invitationId' => [
  193. 'location' => 'path',
  194. 'type' => 'string',
  195. 'required' => true,
  196. ],
  197. ],
  198. ],'list' => [
  199. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations',
  200. 'httpMethod' => 'GET',
  201. 'parameters' => [
  202. 'accountId' => [
  203. 'location' => 'path',
  204. 'type' => 'string',
  205. 'required' => true,
  206. ],
  207. 'clientAccountId' => [
  208. 'location' => 'path',
  209. 'type' => 'string',
  210. 'required' => true,
  211. ],
  212. 'pageSize' => [
  213. 'location' => 'query',
  214. 'type' => 'integer',
  215. ],
  216. 'pageToken' => [
  217. 'location' => 'query',
  218. 'type' => 'string',
  219. ],
  220. ],
  221. ],
  222. ]
  223. ]
  224. );
  225. $this->accounts_clients_users = new AdExchangeBuyerII\Resource\AccountsClientsUsers(
  226. $this,
  227. $this->serviceName,
  228. 'users',
  229. [
  230. 'methods' => [
  231. 'get' => [
  232. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}',
  233. 'httpMethod' => 'GET',
  234. 'parameters' => [
  235. 'accountId' => [
  236. 'location' => 'path',
  237. 'type' => 'string',
  238. 'required' => true,
  239. ],
  240. 'clientAccountId' => [
  241. 'location' => 'path',
  242. 'type' => 'string',
  243. 'required' => true,
  244. ],
  245. 'userId' => [
  246. 'location' => 'path',
  247. 'type' => 'string',
  248. 'required' => true,
  249. ],
  250. ],
  251. ],'list' => [
  252. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users',
  253. 'httpMethod' => 'GET',
  254. 'parameters' => [
  255. 'accountId' => [
  256. 'location' => 'path',
  257. 'type' => 'string',
  258. 'required' => true,
  259. ],
  260. 'clientAccountId' => [
  261. 'location' => 'path',
  262. 'type' => 'string',
  263. 'required' => true,
  264. ],
  265. 'pageSize' => [
  266. 'location' => 'query',
  267. 'type' => 'integer',
  268. ],
  269. 'pageToken' => [
  270. 'location' => 'query',
  271. 'type' => 'string',
  272. ],
  273. ],
  274. ],'update' => [
  275. 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}',
  276. 'httpMethod' => 'PUT',
  277. 'parameters' => [
  278. 'accountId' => [
  279. 'location' => 'path',
  280. 'type' => 'string',
  281. 'required' => true,
  282. ],
  283. 'clientAccountId' => [
  284. 'location' => 'path',
  285. 'type' => 'string',
  286. 'required' => true,
  287. ],
  288. 'userId' => [
  289. 'location' => 'path',
  290. 'type' => 'string',
  291. 'required' => true,
  292. ],
  293. ],
  294. ],
  295. ]
  296. ]
  297. );
  298. $this->accounts_creatives = new AdExchangeBuyerII\Resource\AccountsCreatives(
  299. $this,
  300. $this->serviceName,
  301. 'creatives',
  302. [
  303. 'methods' => [
  304. 'create' => [
  305. 'path' => 'v2beta1/accounts/{accountId}/creatives',
  306. 'httpMethod' => 'POST',
  307. 'parameters' => [
  308. 'accountId' => [
  309. 'location' => 'path',
  310. 'type' => 'string',
  311. 'required' => true,
  312. ],
  313. 'duplicateIdMode' => [
  314. 'location' => 'query',
  315. 'type' => 'string',
  316. ],
  317. ],
  318. ],'get' => [
  319. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}',
  320. 'httpMethod' => 'GET',
  321. 'parameters' => [
  322. 'accountId' => [
  323. 'location' => 'path',
  324. 'type' => 'string',
  325. 'required' => true,
  326. ],
  327. 'creativeId' => [
  328. 'location' => 'path',
  329. 'type' => 'string',
  330. 'required' => true,
  331. ],
  332. ],
  333. ],'list' => [
  334. 'path' => 'v2beta1/accounts/{accountId}/creatives',
  335. 'httpMethod' => 'GET',
  336. 'parameters' => [
  337. 'accountId' => [
  338. 'location' => 'path',
  339. 'type' => 'string',
  340. 'required' => true,
  341. ],
  342. 'pageSize' => [
  343. 'location' => 'query',
  344. 'type' => 'integer',
  345. ],
  346. 'pageToken' => [
  347. 'location' => 'query',
  348. 'type' => 'string',
  349. ],
  350. 'query' => [
  351. 'location' => 'query',
  352. 'type' => 'string',
  353. ],
  354. ],
  355. ],'stopWatching' => [
  356. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching',
  357. 'httpMethod' => 'POST',
  358. 'parameters' => [
  359. 'accountId' => [
  360. 'location' => 'path',
  361. 'type' => 'string',
  362. 'required' => true,
  363. ],
  364. 'creativeId' => [
  365. 'location' => 'path',
  366. 'type' => 'string',
  367. 'required' => true,
  368. ],
  369. ],
  370. ],'update' => [
  371. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}',
  372. 'httpMethod' => 'PUT',
  373. 'parameters' => [
  374. 'accountId' => [
  375. 'location' => 'path',
  376. 'type' => 'string',
  377. 'required' => true,
  378. ],
  379. 'creativeId' => [
  380. 'location' => 'path',
  381. 'type' => 'string',
  382. 'required' => true,
  383. ],
  384. ],
  385. ],'watch' => [
  386. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch',
  387. 'httpMethod' => 'POST',
  388. 'parameters' => [
  389. 'accountId' => [
  390. 'location' => 'path',
  391. 'type' => 'string',
  392. 'required' => true,
  393. ],
  394. 'creativeId' => [
  395. 'location' => 'path',
  396. 'type' => 'string',
  397. 'required' => true,
  398. ],
  399. ],
  400. ],
  401. ]
  402. ]
  403. );
  404. $this->accounts_creatives_dealAssociations = new AdExchangeBuyerII\Resource\AccountsCreativesDealAssociations(
  405. $this,
  406. $this->serviceName,
  407. 'dealAssociations',
  408. [
  409. 'methods' => [
  410. 'add' => [
  411. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add',
  412. 'httpMethod' => 'POST',
  413. 'parameters' => [
  414. 'accountId' => [
  415. 'location' => 'path',
  416. 'type' => 'string',
  417. 'required' => true,
  418. ],
  419. 'creativeId' => [
  420. 'location' => 'path',
  421. 'type' => 'string',
  422. 'required' => true,
  423. ],
  424. ],
  425. ],'list' => [
  426. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations',
  427. 'httpMethod' => 'GET',
  428. 'parameters' => [
  429. 'accountId' => [
  430. 'location' => 'path',
  431. 'type' => 'string',
  432. 'required' => true,
  433. ],
  434. 'creativeId' => [
  435. 'location' => 'path',
  436. 'type' => 'string',
  437. 'required' => true,
  438. ],
  439. 'pageSize' => [
  440. 'location' => 'query',
  441. 'type' => 'integer',
  442. ],
  443. 'pageToken' => [
  444. 'location' => 'query',
  445. 'type' => 'string',
  446. ],
  447. 'query' => [
  448. 'location' => 'query',
  449. 'type' => 'string',
  450. ],
  451. ],
  452. ],'remove' => [
  453. 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove',
  454. 'httpMethod' => 'POST',
  455. 'parameters' => [
  456. 'accountId' => [
  457. 'location' => 'path',
  458. 'type' => 'string',
  459. 'required' => true,
  460. ],
  461. 'creativeId' => [
  462. 'location' => 'path',
  463. 'type' => 'string',
  464. 'required' => true,
  465. ],
  466. ],
  467. ],
  468. ]
  469. ]
  470. );
  471. $this->accounts_finalizedProposals = new AdExchangeBuyerII\Resource\AccountsFinalizedProposals(
  472. $this,
  473. $this->serviceName,
  474. 'finalizedProposals',
  475. [
  476. 'methods' => [
  477. 'list' => [
  478. 'path' => 'v2beta1/accounts/{accountId}/finalizedProposals',
  479. 'httpMethod' => 'GET',
  480. 'parameters' => [
  481. 'accountId' => [
  482. 'location' => 'path',
  483. 'type' => 'string',
  484. 'required' => true,
  485. ],
  486. 'filter' => [
  487. 'location' => 'query',
  488. 'type' => 'string',
  489. ],
  490. 'filterSyntax' => [
  491. 'location' => 'query',
  492. 'type' => 'string',
  493. ],
  494. 'pageSize' => [
  495. 'location' => 'query',
  496. 'type' => 'integer',
  497. ],
  498. 'pageToken' => [
  499. 'location' => 'query',
  500. 'type' => 'string',
  501. ],
  502. ],
  503. ],'pause' => [
  504. 'path' => 'v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:pause',
  505. 'httpMethod' => 'POST',
  506. 'parameters' => [
  507. 'accountId' => [
  508. 'location' => 'path',
  509. 'type' => 'string',
  510. 'required' => true,
  511. ],
  512. 'proposalId' => [
  513. 'location' => 'path',
  514. 'type' => 'string',
  515. 'required' => true,
  516. ],
  517. ],
  518. ],'resume' => [
  519. 'path' => 'v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:resume',
  520. 'httpMethod' => 'POST',
  521. 'parameters' => [
  522. 'accountId' => [
  523. 'location' => 'path',
  524. 'type' => 'string',
  525. 'required' => true,
  526. ],
  527. 'proposalId' => [
  528. 'location' => 'path',
  529. 'type' => 'string',
  530. 'required' => true,
  531. ],
  532. ],
  533. ],
  534. ]
  535. ]
  536. );
  537. $this->accounts_products = new AdExchangeBuyerII\Resource\AccountsProducts(
  538. $this,
  539. $this->serviceName,
  540. 'products',
  541. [
  542. 'methods' => [
  543. 'get' => [
  544. 'path' => 'v2beta1/accounts/{accountId}/products/{productId}',
  545. 'httpMethod' => 'GET',
  546. 'parameters' => [
  547. 'accountId' => [
  548. 'location' => 'path',
  549. 'type' => 'string',
  550. 'required' => true,
  551. ],
  552. 'productId' => [
  553. 'location' => 'path',
  554. 'type' => 'string',
  555. 'required' => true,
  556. ],
  557. ],
  558. ],'list' => [
  559. 'path' => 'v2beta1/accounts/{accountId}/products',
  560. 'httpMethod' => 'GET',
  561. 'parameters' => [
  562. 'accountId' => [
  563. 'location' => 'path',
  564. 'type' => 'string',
  565. 'required' => true,
  566. ],
  567. 'filter' => [
  568. 'location' => 'query',
  569. 'type' => 'string',
  570. ],
  571. 'pageSize' => [
  572. 'location' => 'query',
  573. 'type' => 'integer',
  574. ],
  575. 'pageToken' => [
  576. 'location' => 'query',
  577. 'type' => 'string',
  578. ],
  579. ],
  580. ],
  581. ]
  582. ]
  583. );
  584. $this->accounts_proposals = new AdExchangeBuyerII\Resource\AccountsProposals(
  585. $this,
  586. $this->serviceName,
  587. 'proposals',
  588. [
  589. 'methods' => [
  590. 'accept' => [
  591. 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:accept',
  592. 'httpMethod' => 'POST',
  593. 'parameters' => [
  594. 'accountId' => [
  595. 'location' => 'path',
  596. 'type' => 'string',
  597. 'required' => true,
  598. ],
  599. 'proposalId' => [
  600. 'location' => 'path',
  601. 'type' => 'string',
  602. 'required' => true,
  603. ],
  604. ],
  605. ],'addNote' => [
  606. 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote',
  607. 'httpMethod' => 'POST',
  608. 'parameters' => [
  609. 'accountId' => [
  610. 'location' => 'path',
  611. 'type' => 'string',
  612. 'required' => true,
  613. ],
  614. 'proposalId' => [
  615. 'location' => 'path',
  616. 'type' => 'string',
  617. 'required' => true,
  618. ],
  619. ],
  620. ],'cancelNegotiation' => [
  621. 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation',
  622. 'httpMethod' => 'POST',
  623. 'parameters' => [
  624. 'accountId' => [
  625. 'location' => 'path',
  626. 'type' => 'string',
  627. 'required' => true,
  628. ],
  629. 'proposalId' => [
  630. 'location' => 'path',
  631. 'type' => 'string',
  632. 'required' => true,
  633. ],
  634. ],
  635. ],'completeSetup' => [
  636. 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup',
  637. 'httpMethod' => 'POST',
  638. 'parameters' => [
  639. 'accountId' => [
  640. 'location' => 'path',
  641. 'type' => 'string',
  642. 'required' => true,
  643. ],
  644. 'proposalId' => [
  645. 'location' => 'path',
  646. 'type' => 'string',
  647. 'required' => true,
  648. ],
  649. ],
  650. ],'create' => [
  651. 'path' => 'v2beta1/accounts/{accountId}/proposals',
  652. 'httpMethod' => 'POST',
  653. 'parameters' => [
  654. 'accountId' => [
  655. 'location' => 'path',
  656. 'type' => 'string',
  657. 'required' => true,
  658. ],
  659. ],
  660. ],'get' => [
  661. 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}',
  662. 'httpMethod' => 'GET',
  663. 'parameters' => [
  664. 'accountId' => [
  665. 'location' => 'path',
  666. 'type' => 'string',
  667. 'required' => true,
  668. ],
  669. 'proposalId' => [
  670. 'location' => 'path',
  671. 'type' => 'string',
  672. 'required' => true,
  673. ],
  674. ],
  675. ],'list' => [
  676. 'path' => 'v2beta1/accounts/{accountId}/proposals',
  677. 'httpMethod' => 'GET',
  678. 'parameters' => [
  679. 'accountId' => [
  680. 'location' => 'path',
  681. 'type' => 'string',
  682. 'required' => true,
  683. ],
  684. 'filter' => [
  685. 'location' => 'query',
  686. 'type' => 'string',
  687. ],
  688. 'filterSyntax' => [
  689. 'location' => 'query',
  690. 'type' => 'string',
  691. ],
  692. 'pageSize' => [
  693. 'location' => 'query',
  694. 'type' => 'integer',
  695. ],
  696. 'pageToken' => [
  697. 'location' => 'query',
  698. 'type' => 'string',
  699. ],
  700. ],
  701. ],'pause' => [
  702. 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:pause',
  703. 'httpMethod' => 'POST',
  704. 'parameters' => [
  705. 'accountId' => [
  706. 'location' => 'path',
  707. 'type' => 'string',
  708. 'required' => true,
  709. ],
  710. 'proposalId' => [
  711. 'location' => 'path',
  712. 'type' => 'string',
  713. 'required' => true,
  714. ],
  715. ],
  716. ],'resume' => [
  717. 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:resume',
  718. 'httpMethod' => 'POST',
  719. 'parameters' => [
  720. 'accountId' => [
  721. 'location' => 'path',
  722. 'type' => 'string',
  723. 'required' => true,
  724. ],
  725. 'proposalId' => [
  726. 'location' => 'path',
  727. 'type' => 'string',
  728. 'required' => true,
  729. ],
  730. ],
  731. ],'update' => [
  732. 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}',
  733. 'httpMethod' => 'PUT',
  734. 'parameters' => [
  735. 'accountId' => [
  736. 'location' => 'path',
  737. 'type' => 'string',
  738. 'required' => true,
  739. ],
  740. 'proposalId' => [
  741. 'location' => 'path',
  742. 'type' => 'string',
  743. 'required' => true,
  744. ],
  745. ],
  746. ],
  747. ]
  748. ]
  749. );
  750. $this->accounts_publisherProfiles = new AdExchangeBuyerII\Resource\AccountsPublisherProfiles(
  751. $this,
  752. $this->serviceName,
  753. 'publisherProfiles',
  754. [
  755. 'methods' => [
  756. 'get' => [
  757. 'path' => 'v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId}',
  758. 'httpMethod' => 'GET',
  759. 'parameters' => [
  760. 'accountId' => [
  761. 'location' => 'path',
  762. 'type' => 'string',
  763. 'required' => true,
  764. ],
  765. 'publisherProfileId' => [
  766. 'location' => 'path',
  767. 'type' => 'string',
  768. 'required' => true,
  769. ],
  770. ],
  771. ],'list' => [
  772. 'path' => 'v2beta1/accounts/{accountId}/publisherProfiles',
  773. 'httpMethod' => 'GET',
  774. 'parameters' => [
  775. 'accountId' => [
  776. 'location' => 'path',
  777. 'type' => 'string',
  778. 'required' => true,
  779. ],
  780. 'pageSize' => [
  781. 'location' => 'query',
  782. 'type' => 'integer',
  783. ],
  784. 'pageToken' => [
  785. 'location' => 'query',
  786. 'type' => 'string',
  787. ],
  788. ],
  789. ],
  790. ]
  791. ]
  792. );
  793. $this->bidders_accounts_filterSets = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSets(
  794. $this,
  795. $this->serviceName,
  796. 'filterSets',
  797. [
  798. 'methods' => [
  799. 'create' => [
  800. 'path' => 'v2beta1/{+ownerName}/filterSets',
  801. 'httpMethod' => 'POST',
  802. 'parameters' => [
  803. 'ownerName' => [
  804. 'location' => 'path',
  805. 'type' => 'string',
  806. 'required' => true,
  807. ],
  808. 'isTransient' => [
  809. 'location' => 'query',
  810. 'type' => 'boolean',
  811. ],
  812. ],
  813. ],'delete' => [
  814. 'path' => 'v2beta1/{+name}',
  815. 'httpMethod' => 'DELETE',
  816. 'parameters' => [
  817. 'name' => [
  818. 'location' => 'path',
  819. 'type' => 'string',
  820. 'required' => true,
  821. ],
  822. ],
  823. ],'get' => [
  824. 'path' => 'v2beta1/{+name}',
  825. 'httpMethod' => 'GET',
  826. 'parameters' => [
  827. 'name' => [
  828. 'location' => 'path',
  829. 'type' => 'string',
  830. 'required' => true,
  831. ],
  832. ],
  833. ],'list' => [
  834. 'path' => 'v2beta1/{+ownerName}/filterSets',
  835. 'httpMethod' => 'GET',
  836. 'parameters' => [
  837. 'ownerName' => [
  838. 'location' => 'path',
  839. 'type' => 'string',
  840. 'required' => true,
  841. ],
  842. 'pageSize' => [
  843. 'location' => 'query',
  844. 'type' => 'integer',
  845. ],
  846. 'pageToken' => [
  847. 'location' => 'query',
  848. 'type' => 'string',
  849. ],
  850. ],
  851. ],
  852. ]
  853. ]
  854. );
  855. $this->bidders_accounts_filterSets_bidMetrics = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsBidMetrics(
  856. $this,
  857. $this->serviceName,
  858. 'bidMetrics',
  859. [
  860. 'methods' => [
  861. 'list' => [
  862. 'path' => 'v2beta1/{+filterSetName}/bidMetrics',
  863. 'httpMethod' => 'GET',
  864. 'parameters' => [
  865. 'filterSetName' => [
  866. 'location' => 'path',
  867. 'type' => 'string',
  868. 'required' => true,
  869. ],
  870. 'pageSize' => [
  871. 'location' => 'query',
  872. 'type' => 'integer',
  873. ],
  874. 'pageToken' => [
  875. 'location' => 'query',
  876. 'type' => 'string',
  877. ],
  878. ],
  879. ],
  880. ]
  881. ]
  882. );
  883. $this->bidders_accounts_filterSets_bidResponseErrors = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsBidResponseErrors(
  884. $this,
  885. $this->serviceName,
  886. 'bidResponseErrors',
  887. [
  888. 'methods' => [
  889. 'list' => [
  890. 'path' => 'v2beta1/{+filterSetName}/bidResponseErrors',
  891. 'httpMethod' => 'GET',
  892. 'parameters' => [
  893. 'filterSetName' => [
  894. 'location' => 'path',
  895. 'type' => 'string',
  896. 'required' => true,
  897. ],
  898. 'pageSize' => [
  899. 'location' => 'query',
  900. 'type' => 'integer',
  901. ],
  902. 'pageToken' => [
  903. 'location' => 'query',
  904. 'type' => 'string',
  905. ],
  906. ],
  907. ],
  908. ]
  909. ]
  910. );
  911. $this->bidders_accounts_filterSets_bidResponsesWithoutBids = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsBidResponsesWithoutBids(
  912. $this,
  913. $this->serviceName,
  914. 'bidResponsesWithoutBids',
  915. [
  916. 'methods' => [
  917. 'list' => [
  918. 'path' => 'v2beta1/{+filterSetName}/bidResponsesWithoutBids',
  919. 'httpMethod' => 'GET',
  920. 'parameters' => [
  921. 'filterSetName' => [
  922. 'location' => 'path',
  923. 'type' => 'string',
  924. 'required' => true,
  925. ],
  926. 'pageSize' => [
  927. 'location' => 'query',
  928. 'type' => 'integer',
  929. ],
  930. 'pageToken' => [
  931. 'location' => 'query',
  932. 'type' => 'string',
  933. ],
  934. ],
  935. ],
  936. ]
  937. ]
  938. );
  939. $this->bidders_accounts_filterSets_filteredBidRequests = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsFilteredBidRequests(
  940. $this,
  941. $this->serviceName,
  942. 'filteredBidRequests',
  943. [
  944. 'methods' => [
  945. 'list' => [
  946. 'path' => 'v2beta1/{+filterSetName}/filteredBidRequests',
  947. 'httpMethod' => 'GET',
  948. 'parameters' => [
  949. 'filterSetName' => [
  950. 'location' => 'path',
  951. 'type' => 'string',
  952. 'required' => true,
  953. ],
  954. 'pageSize' => [
  955. 'location' => 'query',
  956. 'type' => 'integer',
  957. ],
  958. 'pageToken' => [
  959. 'location' => 'query',
  960. 'type' => 'string',
  961. ],
  962. ],
  963. ],
  964. ]
  965. ]
  966. );
  967. $this->bidders_accounts_filterSets_filteredBids = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsFilteredBids(
  968. $this,
  969. $this->serviceName,
  970. 'filteredBids',
  971. [
  972. 'methods' => [
  973. 'list' => [
  974. 'path' => 'v2beta1/{+filterSetName}/filteredBids',
  975. 'httpMethod' => 'GET',
  976. 'parameters' => [
  977. 'filterSetName' => [
  978. 'location' => 'path',
  979. 'type' => 'string',
  980. 'required' => true,
  981. ],
  982. 'pageSize' => [
  983. 'location' => 'query',
  984. 'type' => 'integer',
  985. ],
  986. 'pageToken' => [
  987. 'location' => 'query',
  988. 'type' => 'string',
  989. ],
  990. ],
  991. ],
  992. ]
  993. ]
  994. );
  995. $this->bidders_accounts_filterSets_filteredBids_creatives = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsFilteredBidsCreatives(
  996. $this,
  997. $this->serviceName,
  998. 'creatives',
  999. [
  1000. 'methods' => [
  1001. 'list' => [
  1002. 'path' => 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives',
  1003. 'httpMethod' => 'GET',
  1004. 'parameters' => [
  1005. 'filterSetName' => [
  1006. 'location' => 'path',
  1007. 'type' => 'string',
  1008. 'required' => true,
  1009. ],
  1010. 'creativeStatusId' => [
  1011. 'location' => 'path',
  1012. 'type' => 'integer',
  1013. 'required' => true,
  1014. ],
  1015. 'pageSize' => [
  1016. 'location' => 'query',
  1017. 'type' => 'integer',
  1018. ],
  1019. 'pageToken' => [
  1020. 'location' => 'query',
  1021. 'type' => 'string',
  1022. ],
  1023. ],
  1024. ],
  1025. ]
  1026. ]
  1027. );
  1028. $this->bidders_accounts_filterSets_filteredBids_details = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsFilteredBidsDetails(
  1029. $this,
  1030. $this->serviceName,
  1031. 'details',
  1032. [
  1033. 'methods' => [
  1034. 'list' => [
  1035. 'path' => 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details',
  1036. 'httpMethod' => 'GET',
  1037. 'parameters' => [
  1038. 'filterSetName' => [
  1039. 'location' => 'path',
  1040. 'type' => 'string',
  1041. 'required' => true,
  1042. ],
  1043. 'creativeStatusId' => [
  1044. 'location' => 'path',
  1045. 'type' => 'integer',
  1046. 'required' => true,
  1047. ],
  1048. 'pageSize' => [
  1049. 'location' => 'query',
  1050. 'type' => 'integer',
  1051. ],
  1052. 'pageToken' => [
  1053. 'location' => 'query',
  1054. 'type' => 'string',
  1055. ],
  1056. ],
  1057. ],
  1058. ]
  1059. ]
  1060. );
  1061. $this->bidders_accounts_filterSets_impressionMetrics = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsImpressionMetrics(
  1062. $this,
  1063. $this->serviceName,
  1064. 'impressionMetrics',
  1065. [
  1066. 'methods' => [
  1067. 'list' => [
  1068. 'path' => 'v2beta1/{+filterSetName}/impressionMetrics',
  1069. 'httpMethod' => 'GET',
  1070. 'parameters' => [
  1071. 'filterSetName' => [
  1072. 'location' => 'path',
  1073. 'type' => 'string',
  1074. 'required' => true,
  1075. ],
  1076. 'pageSize' => [
  1077. 'location' => 'query',
  1078. 'type' => 'integer',
  1079. ],
  1080. 'pageToken' => [
  1081. 'location' => 'query',
  1082. 'type' => 'string',
  1083. ],
  1084. ],
  1085. ],
  1086. ]
  1087. ]
  1088. );
  1089. $this->bidders_accounts_filterSets_losingBids = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsLosingBids(
  1090. $this,
  1091. $this->serviceName,
  1092. 'losingBids',
  1093. [
  1094. 'methods' => [
  1095. 'list' => [
  1096. 'path' => 'v2beta1/{+filterSetName}/losingBids',
  1097. 'httpMethod' => 'GET',
  1098. 'parameters' => [
  1099. 'filterSetName' => [
  1100. 'location' => 'path',
  1101. 'type' => 'string',
  1102. 'required' => true,
  1103. ],
  1104. 'pageSize' => [
  1105. 'location' => 'query',
  1106. 'type' => 'integer',
  1107. ],
  1108. 'pageToken' => [
  1109. 'location' => 'query',
  1110. 'type' => 'string',
  1111. ],
  1112. ],
  1113. ],
  1114. ]
  1115. ]
  1116. );
  1117. $this->bidders_accounts_filterSets_nonBillableWinningBids = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsNonBillableWinningBids(
  1118. $this,
  1119. $this->serviceName,
  1120. 'nonBillableWinningBids',
  1121. [
  1122. 'methods' => [
  1123. 'list' => [
  1124. 'path' => 'v2beta1/{+filterSetName}/nonBillableWinningBids',
  1125. 'httpMethod' => 'GET',
  1126. 'parameters' => [
  1127. 'filterSetName' => [
  1128. 'location' => 'path',
  1129. 'type' => 'string',
  1130. 'required' => true,
  1131. ],
  1132. 'pageSize' => [
  1133. 'location' => 'query',
  1134. 'type' => 'integer',
  1135. ],
  1136. 'pageToken' => [
  1137. 'location' => 'query',
  1138. 'type' => 'string',
  1139. ],
  1140. ],
  1141. ],
  1142. ]
  1143. ]
  1144. );
  1145. $this->bidders_filterSets = new AdExchangeBuyerII\Resource\BiddersFilterSets(
  1146. $this,
  1147. $this->serviceName,
  1148. 'filterSets',
  1149. [
  1150. 'methods' => [
  1151. 'create' => [
  1152. 'path' => 'v2beta1/{+ownerName}/filterSets',
  1153. 'httpMethod' => 'POST',
  1154. 'parameters' => [
  1155. 'ownerName' => [
  1156. 'location' => 'path',
  1157. 'type' => 'string',
  1158. 'required' => true,
  1159. ],
  1160. 'isTransient' => [
  1161. 'location' => 'query',
  1162. 'type' => 'boolean',
  1163. ],
  1164. ],
  1165. ],'delete' => [
  1166. 'path' => 'v2beta1/{+name}',
  1167. 'httpMethod' => 'DELETE',
  1168. 'parameters' => [
  1169. 'name' => [
  1170. 'location' => 'path',
  1171. 'type' => 'string',
  1172. 'required' => true,
  1173. ],
  1174. ],
  1175. ],'get' => [
  1176. 'path' => 'v2beta1/{+name}',
  1177. 'httpMethod' => 'GET',
  1178. 'parameters' => [
  1179. 'name' => [
  1180. 'location' => 'path',
  1181. 'type' => 'string',
  1182. 'required' => true,
  1183. ],
  1184. ],
  1185. ],'list' => [
  1186. 'path' => 'v2beta1/{+ownerName}/filterSets',
  1187. 'httpMethod' => 'GET',
  1188. 'parameters' => [
  1189. 'ownerName' => [
  1190. 'location' => 'path',
  1191. 'type' => 'string',
  1192. 'required' => true,
  1193. ],
  1194. 'pageSize' => [
  1195. 'location' => 'query',
  1196. 'type' => 'integer',
  1197. ],
  1198. 'pageToken' => [
  1199. 'location' => 'query',
  1200. 'type' => 'string',
  1201. ],
  1202. ],
  1203. ],
  1204. ]
  1205. ]
  1206. );
  1207. $this->bidders_filterSets_bidMetrics = new AdExchangeBuyerII\Resource\BiddersFilterSetsBidMetrics(
  1208. $this,
  1209. $this->serviceName,
  1210. 'bidMetrics',
  1211. [
  1212. 'methods' => [
  1213. 'list' => [
  1214. 'path' => 'v2beta1/{+filterSetName}/bidMetrics',
  1215. 'httpMethod' => 'GET',
  1216. 'parameters' => [
  1217. 'filterSetName' => [
  1218. 'location' => 'path',
  1219. 'type' => 'string',
  1220. 'required' => true,
  1221. ],
  1222. 'pageSize' => [
  1223. 'location' => 'query',
  1224. 'type' => 'integer',
  1225. ],
  1226. 'pageToken' => [
  1227. 'location' => 'query',
  1228. 'type' => 'string',
  1229. ],
  1230. ],
  1231. ],
  1232. ]
  1233. ]
  1234. );
  1235. $this->bidders_filterSets_bidResponseErrors = new AdExchangeBuyerII\Resource\BiddersFilterSetsBidResponseErrors(
  1236. $this,
  1237. $this->serviceName,
  1238. 'bidResponseErrors',
  1239. [
  1240. 'methods' => [
  1241. 'list' => [
  1242. 'path' => 'v2beta1/{+filterSetName}/bidResponseErrors',
  1243. 'httpMethod' => 'GET',
  1244. 'parameters' => [
  1245. 'filterSetName' => [
  1246. 'location' => 'path',
  1247. 'type' => 'string',
  1248. 'required' => true,
  1249. ],
  1250. 'pageSize' => [
  1251. 'location' => 'query',
  1252. 'type' => 'integer',
  1253. ],
  1254. 'pageToken' => [
  1255. 'location' => 'query',
  1256. 'type' => 'string',
  1257. ],
  1258. ],
  1259. ],
  1260. ]
  1261. ]
  1262. );
  1263. $this->bidders_filterSets_bidResponsesWithoutBids = new AdExchangeBuyerII\Resource\BiddersFilterSetsBidResponsesWithoutBids(
  1264. $this,
  1265. $this->serviceName,
  1266. 'bidResponsesWithoutBids',
  1267. [
  1268. 'methods' => [
  1269. 'list' => [
  1270. 'path' => 'v2beta1/{+filterSetName}/bidResponsesWithoutBids',
  1271. 'httpMethod' => 'GET',
  1272. 'parameters' => [
  1273. 'filterSetName' => [
  1274. 'location' => 'path',
  1275. 'type' => 'string',
  1276. 'required' => true,
  1277. ],
  1278. 'pageSize' => [
  1279. 'location' => 'query',
  1280. 'type' => 'integer',
  1281. ],
  1282. 'pageToken' => [
  1283. 'location' => 'query',
  1284. 'type' => 'string',
  1285. ],
  1286. ],
  1287. ],
  1288. ]
  1289. ]
  1290. );
  1291. $this->bidders_filterSets_filteredBidRequests = new AdExchangeBuyerII\Resource\BiddersFilterSetsFilteredBidRequests(
  1292. $this,
  1293. $this->serviceName,
  1294. 'filteredBidRequests',
  1295. [
  1296. 'methods' => [
  1297. 'list' => [
  1298. 'path' => 'v2beta1/{+filterSetName}/filteredBidRequests',
  1299. 'httpMethod' => 'GET',
  1300. 'parameters' => [
  1301. 'filterSetName' => [
  1302. 'location' => 'path',
  1303. 'type' => 'string',
  1304. 'required' => true,
  1305. ],
  1306. 'pageSize' => [
  1307. 'location' => 'query',
  1308. 'type' => 'integer',
  1309. ],
  1310. 'pageToken' => [
  1311. 'location' => 'query',
  1312. 'type' => 'string',
  1313. ],
  1314. ],
  1315. ],
  1316. ]
  1317. ]
  1318. );
  1319. $this->bidders_filterSets_filteredBids = new AdExchangeBuyerII\Resource\BiddersFilterSetsFilteredBids(
  1320. $this,
  1321. $this->serviceName,
  1322. 'filteredBids',
  1323. [
  1324. 'methods' => [
  1325. 'list' => [
  1326. 'path' => 'v2beta1/{+filterSetName}/filteredBids',
  1327. 'httpMethod' => 'GET',
  1328. 'parameters' => [
  1329. 'filterSetName' => [
  1330. 'location' => 'path',
  1331. 'type' => 'string',
  1332. 'required' => true,
  1333. ],
  1334. 'pageSize' => [
  1335. 'location' => 'query',
  1336. 'type' => 'integer',
  1337. ],
  1338. 'pageToken' => [
  1339. 'location' => 'query',
  1340. 'type' => 'string',
  1341. ],
  1342. ],
  1343. ],
  1344. ]
  1345. ]
  1346. );
  1347. $this->bidders_filterSets_filteredBids_creatives = new AdExchangeBuyerII\Resource\BiddersFilterSetsFilteredBidsCreatives(
  1348. $this,
  1349. $this->serviceName,
  1350. 'creatives',
  1351. [
  1352. 'methods' => [
  1353. 'list' => [
  1354. 'path' => 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives',
  1355. 'httpMethod' => 'GET',
  1356. 'parameters' => [
  1357. 'filterSetName' => [
  1358. 'location' => 'path',
  1359. 'type' => 'string',
  1360. 'required' => true,
  1361. ],
  1362. 'creativeStatusId' => [
  1363. 'location' => 'path',
  1364. 'type' => 'integer',
  1365. 'required' => true,
  1366. ],
  1367. 'pageSize' => [
  1368. 'location' => 'query',
  1369. 'type' => 'integer',
  1370. ],
  1371. 'pageToken' => [
  1372. 'location' => 'query',
  1373. 'type' => 'string',
  1374. ],
  1375. ],
  1376. ],
  1377. ]
  1378. ]
  1379. );
  1380. $this->bidders_filterSets_filteredBids_details = new AdExchangeBuyerII\Resource\BiddersFilterSetsFilteredBidsDetails(
  1381. $this,
  1382. $this->serviceName,
  1383. 'details',
  1384. [
  1385. 'methods' => [
  1386. 'list' => [
  1387. 'path' => 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details',
  1388. 'httpMethod' => 'GET',
  1389. 'parameters' => [
  1390. 'filterSetName' => [
  1391. 'location' => 'path',
  1392. 'type' => 'string',
  1393. 'required' => true,
  1394. ],
  1395. 'creativeStatusId' => [
  1396. 'location' => 'path',
  1397. 'type' => 'integer',
  1398. 'required' => true,
  1399. ],
  1400. 'pageSize' => [
  1401. 'location' => 'query',
  1402. 'type' => 'integer',
  1403. ],
  1404. 'pageToken' => [
  1405. 'location' => 'query',
  1406. 'type' => 'string',
  1407. ],
  1408. ],
  1409. ],
  1410. ]
  1411. ]
  1412. );
  1413. $this->bidders_filterSets_impressionMetrics = new AdExchangeBuyerII\Resource\BiddersFilterSetsImpressionMetrics(
  1414. $this,
  1415. $this->serviceName,
  1416. 'impressionMetrics',
  1417. [
  1418. 'methods' => [
  1419. 'list' => [
  1420. 'path' => 'v2beta1/{+filterSetName}/impressionMetrics',
  1421. 'httpMethod' => 'GET',
  1422. 'parameters' => [
  1423. 'filterSetName' => [
  1424. 'location' => 'path',
  1425. 'type' => 'string',
  1426. 'required' => true,
  1427. ],
  1428. 'pageSize' => [
  1429. 'location' => 'query',
  1430. 'type' => 'integer',
  1431. ],
  1432. 'pageToken' => [
  1433. 'location' => 'query',
  1434. 'type' => 'string',
  1435. ],
  1436. ],
  1437. ],
  1438. ]
  1439. ]
  1440. );
  1441. $this->bidders_filterSets_losingBids = new AdExchangeBuyerII\Resource\BiddersFilterSetsLosingBids(
  1442. $this,
  1443. $this->serviceName,
  1444. 'losingBids',
  1445. [
  1446. 'methods' => [
  1447. 'list' => [
  1448. 'path' => 'v2beta1/{+filterSetName}/losingBids',
  1449. 'httpMethod' => 'GET',
  1450. 'parameters' => [
  1451. 'filterSetName' => [
  1452. 'location' => 'path',
  1453. 'type' => 'string',
  1454. 'required' => true,
  1455. ],
  1456. 'pageSize' => [
  1457. 'location' => 'query',
  1458. 'type' => 'integer',
  1459. ],
  1460. 'pageToken' => [
  1461. 'location' => 'query',
  1462. 'type' => 'string',
  1463. ],
  1464. ],
  1465. ],
  1466. ]
  1467. ]
  1468. );
  1469. $this->bidders_filterSets_nonBillableWinningBids = new AdExchangeBuyerII\Resource\BiddersFilterSetsNonBillableWinningBids(
  1470. $this,
  1471. $this->serviceName,
  1472. 'nonBillableWinningBids',
  1473. [
  1474. 'methods' => [
  1475. 'list' => [
  1476. 'path' => 'v2beta1/{+filterSetName}/nonBillableWinningBids',
  1477. 'httpMethod' => 'GET',
  1478. 'parameters' => [
  1479. 'filterSetName' => [
  1480. 'location' => 'path',
  1481. 'type' => 'string',
  1482. 'required' => true,
  1483. ],
  1484. 'pageSize' => [
  1485. 'location' => 'query',
  1486. 'type' => 'integer',
  1487. ],
  1488. 'pageToken' => [
  1489. 'location' => 'query',
  1490. 'type' => 'string',
  1491. ],
  1492. ],
  1493. ],
  1494. ]
  1495. ]
  1496. );
  1497. }
  1498. }
  1499. // Adding a class alias for backwards compatibility with the previous class name.
  1500. class_alias(AdExchangeBuyerII::class, 'Google_Service_AdExchangeBuyerII');