Google_Service_AdExchangeBuyer

Service definition for AdExchangeBuyer (v1.4).

Defined (1)

The class is defined in the following location(s).

/vendor/google/apiclient/src/Google/Service/AdExchangeBuyer.php  
  1. class Google_Service_AdExchangeBuyer extends Google_Service 
  2. /** Manage your Ad Exchange buyer account configuration. */ 
  3. const ADEXCHANGE_BUYER = 
  4. "https://www.googleapis.com/auth/adexchange.buyer"; 
  5.  
  6. public $accounts; 
  7. public $billingInfo; 
  8. public $budget; 
  9. public $creatives; 
  10. public $marketplacedeals; 
  11. public $marketplacenotes; 
  12. public $performanceReport; 
  13. public $pretargetingConfig; 
  14. public $products; 
  15. public $proposals; 
  16.  
  17.  
  18. /** 
  19. * Constructs the internal representation of the AdExchangeBuyer service. 
  20. * @param Google_Client $client 
  21. */ 
  22. public function __construct(Google_Client $client) 
  23. parent::__construct($client); 
  24. $this->rootUrl = 'https://www.googleapis.com/'; 
  25. $this->servicePath = 'adexchangebuyer/v1.4/'; 
  26. $this->version = 'v1.4'; 
  27. $this->serviceName = 'adexchangebuyer'; 
  28.  
  29. $this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource( 
  30. $this,  
  31. $this->serviceName,  
  32. 'accounts',  
  33. array( 
  34. 'methods' => array( 
  35. 'get' => array( 
  36. 'path' => 'accounts/{id}',  
  37. 'httpMethod' => 'GET',  
  38. 'parameters' => array( 
  39. 'id' => array( 
  40. 'location' => 'path',  
  41. 'type' => 'integer',  
  42. 'required' => true,  
  43. ),  
  44. ),  
  45. ), 'list' => array( 
  46. 'path' => 'accounts',  
  47. 'httpMethod' => 'GET',  
  48. 'parameters' => array(),  
  49. ), 'patch' => array( 
  50. 'path' => 'accounts/{id}',  
  51. 'httpMethod' => 'PATCH',  
  52. 'parameters' => array( 
  53. 'id' => array( 
  54. 'location' => 'path',  
  55. 'type' => 'integer',  
  56. 'required' => true,  
  57. ),  
  58. ),  
  59. ), 'update' => array( 
  60. 'path' => 'accounts/{id}',  
  61. 'httpMethod' => 'PUT',  
  62. 'parameters' => array( 
  63. 'id' => array( 
  64. 'location' => 'path',  
  65. 'type' => 'integer',  
  66. 'required' => true,  
  67. ),  
  68. ),  
  69. ),  
  70. ); 
  71. $this->billingInfo = new Google_Service_AdExchangeBuyer_BillingInfo_Resource( 
  72. $this,  
  73. $this->serviceName,  
  74. 'billingInfo',  
  75. array( 
  76. 'methods' => array( 
  77. 'get' => array( 
  78. 'path' => 'billinginfo/{accountId}',  
  79. 'httpMethod' => 'GET',  
  80. 'parameters' => array( 
  81. 'accountId' => array( 
  82. 'location' => 'path',  
  83. 'type' => 'integer',  
  84. 'required' => true,  
  85. ),  
  86. ),  
  87. ), 'list' => array( 
  88. 'path' => 'billinginfo',  
  89. 'httpMethod' => 'GET',  
  90. 'parameters' => array(),  
  91. ),  
  92. ); 
  93. $this->budget = new Google_Service_AdExchangeBuyer_Budget_Resource( 
  94. $this,  
  95. $this->serviceName,  
  96. 'budget',  
  97. array( 
  98. 'methods' => array( 
  99. 'get' => array( 
  100. 'path' => 'billinginfo/{accountId}/{billingId}',  
  101. 'httpMethod' => 'GET',  
  102. 'parameters' => array( 
  103. 'accountId' => array( 
  104. 'location' => 'path',  
  105. 'type' => 'string',  
  106. 'required' => true,  
  107. ),  
  108. 'billingId' => array( 
  109. 'location' => 'path',  
  110. 'type' => 'string',  
  111. 'required' => true,  
  112. ),  
  113. ),  
  114. ), 'patch' => array( 
  115. 'path' => 'billinginfo/{accountId}/{billingId}',  
  116. 'httpMethod' => 'PATCH',  
  117. 'parameters' => array( 
  118. 'accountId' => array( 
  119. 'location' => 'path',  
  120. 'type' => 'string',  
  121. 'required' => true,  
  122. ),  
  123. 'billingId' => array( 
  124. 'location' => 'path',  
  125. 'type' => 'string',  
  126. 'required' => true,  
  127. ),  
  128. ),  
  129. ), 'update' => array( 
  130. 'path' => 'billinginfo/{accountId}/{billingId}',  
  131. 'httpMethod' => 'PUT',  
  132. 'parameters' => array( 
  133. 'accountId' => array( 
  134. 'location' => 'path',  
  135. 'type' => 'string',  
  136. 'required' => true,  
  137. ),  
  138. 'billingId' => array( 
  139. 'location' => 'path',  
  140. 'type' => 'string',  
  141. 'required' => true,  
  142. ),  
  143. ),  
  144. ),  
  145. ); 
  146. $this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource( 
  147. $this,  
  148. $this->serviceName,  
  149. 'creatives',  
  150. array( 
  151. 'methods' => array( 
  152. 'addDeal' => array( 
  153. 'path' => 'creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}',  
  154. 'httpMethod' => 'POST',  
  155. 'parameters' => array( 
  156. 'accountId' => array( 
  157. 'location' => 'path',  
  158. 'type' => 'integer',  
  159. 'required' => true,  
  160. ),  
  161. 'buyerCreativeId' => array( 
  162. 'location' => 'path',  
  163. 'type' => 'string',  
  164. 'required' => true,  
  165. ),  
  166. 'dealId' => array( 
  167. 'location' => 'path',  
  168. 'type' => 'string',  
  169. 'required' => true,  
  170. ),  
  171. ),  
  172. ), 'get' => array( 
  173. 'path' => 'creatives/{accountId}/{buyerCreativeId}',  
  174. 'httpMethod' => 'GET',  
  175. 'parameters' => array( 
  176. 'accountId' => array( 
  177. 'location' => 'path',  
  178. 'type' => 'integer',  
  179. 'required' => true,  
  180. ),  
  181. 'buyerCreativeId' => array( 
  182. 'location' => 'path',  
  183. 'type' => 'string',  
  184. 'required' => true,  
  185. ),  
  186. ),  
  187. ), 'insert' => array( 
  188. 'path' => 'creatives',  
  189. 'httpMethod' => 'POST',  
  190. 'parameters' => array(),  
  191. ), 'list' => array( 
  192. 'path' => 'creatives',  
  193. 'httpMethod' => 'GET',  
  194. 'parameters' => array( 
  195. 'accountId' => array( 
  196. 'location' => 'query',  
  197. 'type' => 'integer',  
  198. 'repeated' => true,  
  199. ),  
  200. 'buyerCreativeId' => array( 
  201. 'location' => 'query',  
  202. 'type' => 'string',  
  203. 'repeated' => true,  
  204. ),  
  205. 'dealsStatusFilter' => array( 
  206. 'location' => 'query',  
  207. 'type' => 'string',  
  208. ),  
  209. 'maxResults' => array( 
  210. 'location' => 'query',  
  211. 'type' => 'integer',  
  212. ),  
  213. 'openAuctionStatusFilter' => array( 
  214. 'location' => 'query',  
  215. 'type' => 'string',  
  216. ),  
  217. 'pageToken' => array( 
  218. 'location' => 'query',  
  219. 'type' => 'string',  
  220. ),  
  221. ),  
  222. ), 'removeDeal' => array( 
  223. 'path' => 'creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}',  
  224. 'httpMethod' => 'POST',  
  225. 'parameters' => array( 
  226. 'accountId' => array( 
  227. 'location' => 'path',  
  228. 'type' => 'integer',  
  229. 'required' => true,  
  230. ),  
  231. 'buyerCreativeId' => array( 
  232. 'location' => 'path',  
  233. 'type' => 'string',  
  234. 'required' => true,  
  235. ),  
  236. 'dealId' => array( 
  237. 'location' => 'path',  
  238. 'type' => 'string',  
  239. 'required' => true,  
  240. ),  
  241. ),  
  242. ),  
  243. ); 
  244. $this->marketplacedeals = new Google_Service_AdExchangeBuyer_Marketplacedeals_Resource( 
  245. $this,  
  246. $this->serviceName,  
  247. 'marketplacedeals',  
  248. array( 
  249. 'methods' => array( 
  250. 'delete' => array( 
  251. 'path' => 'proposals/{proposalId}/deals/delete',  
  252. 'httpMethod' => 'POST',  
  253. 'parameters' => array( 
  254. 'proposalId' => array( 
  255. 'location' => 'path',  
  256. 'type' => 'string',  
  257. 'required' => true,  
  258. ),  
  259. ),  
  260. ), 'insert' => array( 
  261. 'path' => 'proposals/{proposalId}/deals/insert',  
  262. 'httpMethod' => 'POST',  
  263. 'parameters' => array( 
  264. 'proposalId' => array( 
  265. 'location' => 'path',  
  266. 'type' => 'string',  
  267. 'required' => true,  
  268. ),  
  269. ),  
  270. ), 'list' => array( 
  271. 'path' => 'proposals/{proposalId}/deals',  
  272. 'httpMethod' => 'GET',  
  273. 'parameters' => array( 
  274. 'proposalId' => array( 
  275. 'location' => 'path',  
  276. 'type' => 'string',  
  277. 'required' => true,  
  278. ),  
  279. ),  
  280. ), 'update' => array( 
  281. 'path' => 'proposals/{proposalId}/deals/update',  
  282. 'httpMethod' => 'POST',  
  283. 'parameters' => array( 
  284. 'proposalId' => array( 
  285. 'location' => 'path',  
  286. 'type' => 'string',  
  287. 'required' => true,  
  288. ),  
  289. ),  
  290. ),  
  291. ); 
  292. $this->marketplacenotes = new Google_Service_AdExchangeBuyer_Marketplacenotes_Resource( 
  293. $this,  
  294. $this->serviceName,  
  295. 'marketplacenotes',  
  296. array( 
  297. 'methods' => array( 
  298. 'insert' => array( 
  299. 'path' => 'proposals/{proposalId}/notes/insert',  
  300. 'httpMethod' => 'POST',  
  301. 'parameters' => array( 
  302. 'proposalId' => array( 
  303. 'location' => 'path',  
  304. 'type' => 'string',  
  305. 'required' => true,  
  306. ),  
  307. ),  
  308. ), 'list' => array( 
  309. 'path' => 'proposals/{proposalId}/notes',  
  310. 'httpMethod' => 'GET',  
  311. 'parameters' => array( 
  312. 'proposalId' => array( 
  313. 'location' => 'path',  
  314. 'type' => 'string',  
  315. 'required' => true,  
  316. ),  
  317. ),  
  318. ),  
  319. ); 
  320. $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource( 
  321. $this,  
  322. $this->serviceName,  
  323. 'performanceReport',  
  324. array( 
  325. 'methods' => array( 
  326. 'list' => array( 
  327. 'path' => 'performancereport',  
  328. 'httpMethod' => 'GET',  
  329. 'parameters' => array( 
  330. 'accountId' => array( 
  331. 'location' => 'query',  
  332. 'type' => 'string',  
  333. 'required' => true,  
  334. ),  
  335. 'endDateTime' => array( 
  336. 'location' => 'query',  
  337. 'type' => 'string',  
  338. 'required' => true,  
  339. ),  
  340. 'startDateTime' => array( 
  341. 'location' => 'query',  
  342. 'type' => 'string',  
  343. 'required' => true,  
  344. ),  
  345. 'maxResults' => array( 
  346. 'location' => 'query',  
  347. 'type' => 'integer',  
  348. ),  
  349. 'pageToken' => array( 
  350. 'location' => 'query',  
  351. 'type' => 'string',  
  352. ),  
  353. ),  
  354. ),  
  355. ); 
  356. $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_PretargetingConfig_Resource( 
  357. $this,  
  358. $this->serviceName,  
  359. 'pretargetingConfig',  
  360. array( 
  361. 'methods' => array( 
  362. 'delete' => array( 
  363. 'path' => 'pretargetingconfigs/{accountId}/{configId}',  
  364. 'httpMethod' => 'DELETE',  
  365. 'parameters' => array( 
  366. 'accountId' => array( 
  367. 'location' => 'path',  
  368. 'type' => 'string',  
  369. 'required' => true,  
  370. ),  
  371. 'configId' => array( 
  372. 'location' => 'path',  
  373. 'type' => 'string',  
  374. 'required' => true,  
  375. ),  
  376. ),  
  377. ), 'get' => array( 
  378. 'path' => 'pretargetingconfigs/{accountId}/{configId}',  
  379. 'httpMethod' => 'GET',  
  380. 'parameters' => array( 
  381. 'accountId' => array( 
  382. 'location' => 'path',  
  383. 'type' => 'string',  
  384. 'required' => true,  
  385. ),  
  386. 'configId' => array( 
  387. 'location' => 'path',  
  388. 'type' => 'string',  
  389. 'required' => true,  
  390. ),  
  391. ),  
  392. ), 'insert' => array( 
  393. 'path' => 'pretargetingconfigs/{accountId}',  
  394. 'httpMethod' => 'POST',  
  395. 'parameters' => array( 
  396. 'accountId' => array( 
  397. 'location' => 'path',  
  398. 'type' => 'string',  
  399. 'required' => true,  
  400. ),  
  401. ),  
  402. ), 'list' => array( 
  403. 'path' => 'pretargetingconfigs/{accountId}',  
  404. 'httpMethod' => 'GET',  
  405. 'parameters' => array( 
  406. 'accountId' => array( 
  407. 'location' => 'path',  
  408. 'type' => 'string',  
  409. 'required' => true,  
  410. ),  
  411. ),  
  412. ), 'patch' => array( 
  413. 'path' => 'pretargetingconfigs/{accountId}/{configId}',  
  414. 'httpMethod' => 'PATCH',  
  415. 'parameters' => array( 
  416. 'accountId' => array( 
  417. 'location' => 'path',  
  418. 'type' => 'string',  
  419. 'required' => true,  
  420. ),  
  421. 'configId' => array( 
  422. 'location' => 'path',  
  423. 'type' => 'string',  
  424. 'required' => true,  
  425. ),  
  426. ),  
  427. ), 'update' => array( 
  428. 'path' => 'pretargetingconfigs/{accountId}/{configId}',  
  429. 'httpMethod' => 'PUT',  
  430. 'parameters' => array( 
  431. 'accountId' => array( 
  432. 'location' => 'path',  
  433. 'type' => 'string',  
  434. 'required' => true,  
  435. ),  
  436. 'configId' => array( 
  437. 'location' => 'path',  
  438. 'type' => 'string',  
  439. 'required' => true,  
  440. ),  
  441. ),  
  442. ),  
  443. ); 
  444. $this->products = new Google_Service_AdExchangeBuyer_Products_Resource( 
  445. $this,  
  446. $this->serviceName,  
  447. 'products',  
  448. array( 
  449. 'methods' => array( 
  450. 'get' => array( 
  451. 'path' => 'products/{productId}',  
  452. 'httpMethod' => 'GET',  
  453. 'parameters' => array( 
  454. 'productId' => array( 
  455. 'location' => 'path',  
  456. 'type' => 'string',  
  457. 'required' => true,  
  458. ),  
  459. ),  
  460. ), 'search' => array( 
  461. 'path' => 'products/search',  
  462. 'httpMethod' => 'GET',  
  463. 'parameters' => array( 
  464. 'pqlQuery' => array( 
  465. 'location' => 'query',  
  466. 'type' => 'string',  
  467. ),  
  468. ),  
  469. ),  
  470. ); 
  471. $this->proposals = new Google_Service_AdExchangeBuyer_Proposals_Resource( 
  472. $this,  
  473. $this->serviceName,  
  474. 'proposals',  
  475. array( 
  476. 'methods' => array( 
  477. 'get' => array( 
  478. 'path' => 'proposals/{proposalId}',  
  479. 'httpMethod' => 'GET',  
  480. 'parameters' => array( 
  481. 'proposalId' => array( 
  482. 'location' => 'path',  
  483. 'type' => 'string',  
  484. 'required' => true,  
  485. ),  
  486. ),  
  487. ), 'insert' => array( 
  488. 'path' => 'proposals/insert',  
  489. 'httpMethod' => 'POST',  
  490. 'parameters' => array(),  
  491. ), 'patch' => array( 
  492. 'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}',  
  493. 'httpMethod' => 'PATCH',  
  494. 'parameters' => array( 
  495. 'proposalId' => array( 
  496. 'location' => 'path',  
  497. 'type' => 'string',  
  498. 'required' => true,  
  499. ),  
  500. 'revisionNumber' => array( 
  501. 'location' => 'path',  
  502. 'type' => 'string',  
  503. 'required' => true,  
  504. ),  
  505. 'updateAction' => array( 
  506. 'location' => 'path',  
  507. 'type' => 'string',  
  508. 'required' => true,  
  509. ),  
  510. ),  
  511. ), 'search' => array( 
  512. 'path' => 'proposals/search',  
  513. 'httpMethod' => 'GET',  
  514. 'parameters' => array( 
  515. 'pqlQuery' => array( 
  516. 'location' => 'query',  
  517. 'type' => 'string',  
  518. ),  
  519. ),  
  520. ), 'update' => array( 
  521. 'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}',  
  522. 'httpMethod' => 'PUT',  
  523. 'parameters' => array( 
  524. 'proposalId' => array( 
  525. 'location' => 'path',  
  526. 'type' => 'string',  
  527. 'required' => true,  
  528. ),  
  529. 'revisionNumber' => array( 
  530. 'location' => 'path',  
  531. 'type' => 'string',  
  532. 'required' => true,  
  533. ),  
  534. 'updateAction' => array( 
  535. 'location' => 'path',  
  536. 'type' => 'string',  
  537. 'required' => true,  
  538. ),  
  539. ),  
  540. ),  
  541. );