Google_Service_AdExchangeSeller

Service definition for AdExchangeSeller (v2.0).

Defined (1)

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

/lib/Google/Service/AdExchangeSeller.php  
  1. class Google_Service_AdExchangeSeller extends Google_Service 
  2. /** View and manage your Ad Exchange data. */ 
  3. const ADEXCHANGE_SELLER = "https://www.googleapis.com/auth/adexchange.seller"; 
  4. /** View your Ad Exchange data. */ 
  5. const ADEXCHANGE_SELLER_READONLY = "https://www.googleapis.com/auth/adexchange.seller.readonly"; 
  6.  
  7. public $accounts; 
  8. public $adclients; 
  9. public $adunits; 
  10. public $adunits_customchannels; 
  11. public $alerts; 
  12. public $customchannels; 
  13. public $customchannels_adunits; 
  14. public $metadata_dimensions; 
  15. public $metadata_metrics; 
  16. public $preferreddeals; 
  17. public $reports; 
  18. public $reports_saved; 
  19. public $urlchannels; 
  20.  
  21.  
  22. /** 
  23. * Constructs the internal representation of the AdExchangeSeller service. 
  24. * @param Google_Client $client 
  25. */ 
  26. public function __construct(Google_Client $client) 
  27. parent::__construct($client); 
  28. $this->servicePath = 'adexchangeseller/v1.1/'; 
  29. $this->version = 'v1.1'; 
  30. $this->serviceName = 'adexchangeseller'; 
  31.  
  32. $this->accounts = new Google_Service_AdExchangeSeller_Accounts_Resource( 
  33. $this,  
  34. $this->serviceName,  
  35. 'accounts',  
  36. array( 
  37. 'methods' => array( 
  38. 'get' => array( 
  39. 'path' => 'accounts/{accountId}',  
  40. 'httpMethod' => 'GET',  
  41. 'parameters' => array( 
  42. 'accountId' => array( 
  43. 'location' => 'path',  
  44. 'type' => 'string',  
  45. 'required' => true,  
  46. ),  
  47. ),  
  48. ),  
  49. ); 
  50. $this->adclients = new Google_Service_AdExchangeSeller_Adclients_Resource( 
  51. $this,  
  52. $this->serviceName,  
  53. 'adclients',  
  54. array( 
  55. 'methods' => array( 
  56. 'list' => array( 
  57. 'path' => 'adclients',  
  58. 'httpMethod' => 'GET',  
  59. 'parameters' => array( 
  60. 'pageToken' => array( 
  61. 'location' => 'query',  
  62. 'type' => 'string',  
  63. ),  
  64. 'maxResults' => array( 
  65. 'location' => 'query',  
  66. 'type' => 'integer',  
  67. ),  
  68. ),  
  69. ),  
  70. ); 
  71. $this->adunits = new Google_Service_AdExchangeSeller_Adunits_Resource( 
  72. $this,  
  73. $this->serviceName,  
  74. 'adunits',  
  75. array( 
  76. 'methods' => array( 
  77. 'get' => array( 
  78. 'path' => 'adclients/{adClientId}/adunits/{adUnitId}',  
  79. 'httpMethod' => 'GET',  
  80. 'parameters' => array( 
  81. 'adClientId' => array( 
  82. 'location' => 'path',  
  83. 'type' => 'string',  
  84. 'required' => true,  
  85. ),  
  86. 'adUnitId' => array( 
  87. 'location' => 'path',  
  88. 'type' => 'string',  
  89. 'required' => true,  
  90. ),  
  91. ),  
  92. ), 'list' => array( 
  93. 'path' => 'adclients/{adClientId}/adunits',  
  94. 'httpMethod' => 'GET',  
  95. 'parameters' => array( 
  96. 'adClientId' => array( 
  97. 'location' => 'path',  
  98. 'type' => 'string',  
  99. 'required' => true,  
  100. ),  
  101. 'includeInactive' => array( 
  102. 'location' => 'query',  
  103. 'type' => 'boolean',  
  104. ),  
  105. 'pageToken' => array( 
  106. 'location' => 'query',  
  107. 'type' => 'string',  
  108. ),  
  109. 'maxResults' => array( 
  110. 'location' => 'query',  
  111. 'type' => 'integer',  
  112. ),  
  113. ),  
  114. ),  
  115. ); 
  116. $this->adunits_customchannels = new Google_Service_AdExchangeSeller_AdunitsCustomchannels_Resource( 
  117. $this,  
  118. $this->serviceName,  
  119. 'customchannels',  
  120. array( 
  121. 'methods' => array( 
  122. 'list' => array( 
  123. 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels',  
  124. 'httpMethod' => 'GET',  
  125. 'parameters' => array( 
  126. 'adClientId' => array( 
  127. 'location' => 'path',  
  128. 'type' => 'string',  
  129. 'required' => true,  
  130. ),  
  131. 'adUnitId' => array( 
  132. 'location' => 'path',  
  133. 'type' => 'string',  
  134. 'required' => true,  
  135. ),  
  136. 'pageToken' => array( 
  137. 'location' => 'query',  
  138. 'type' => 'string',  
  139. ),  
  140. 'maxResults' => array( 
  141. 'location' => 'query',  
  142. 'type' => 'integer',  
  143. ),  
  144. ),  
  145. ),  
  146. ); 
  147. $this->alerts = new Google_Service_AdExchangeSeller_Alerts_Resource( 
  148. $this,  
  149. $this->serviceName,  
  150. 'alerts',  
  151. array( 
  152. 'methods' => array( 
  153. 'list' => array( 
  154. 'path' => 'alerts',  
  155. 'httpMethod' => 'GET',  
  156. 'parameters' => array( 
  157. 'locale' => array( 
  158. 'location' => 'query',  
  159. 'type' => 'string',  
  160. ),  
  161. ),  
  162. ),  
  163. ); 
  164. $this->customchannels = new Google_Service_AdExchangeSeller_Customchannels_Resource( 
  165. $this,  
  166. $this->serviceName,  
  167. 'customchannels',  
  168. array( 
  169. 'methods' => array( 
  170. 'get' => array( 
  171. 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}',  
  172. 'httpMethod' => 'GET',  
  173. 'parameters' => array( 
  174. 'adClientId' => array( 
  175. 'location' => 'path',  
  176. 'type' => 'string',  
  177. 'required' => true,  
  178. ),  
  179. 'customChannelId' => array( 
  180. 'location' => 'path',  
  181. 'type' => 'string',  
  182. 'required' => true,  
  183. ),  
  184. ),  
  185. ), 'list' => array( 
  186. 'path' => 'adclients/{adClientId}/customchannels',  
  187. 'httpMethod' => 'GET',  
  188. 'parameters' => array( 
  189. 'adClientId' => array( 
  190. 'location' => 'path',  
  191. 'type' => 'string',  
  192. 'required' => true,  
  193. ),  
  194. 'pageToken' => array( 
  195. 'location' => 'query',  
  196. 'type' => 'string',  
  197. ),  
  198. 'maxResults' => array( 
  199. 'location' => 'query',  
  200. 'type' => 'integer',  
  201. ),  
  202. ),  
  203. ),  
  204. ); 
  205. $this->customchannels_adunits = new Google_Service_AdExchangeSeller_CustomchannelsAdunits_Resource( 
  206. $this,  
  207. $this->serviceName,  
  208. 'adunits',  
  209. array( 
  210. 'methods' => array( 
  211. 'list' => array( 
  212. 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits',  
  213. 'httpMethod' => 'GET',  
  214. 'parameters' => array( 
  215. 'adClientId' => array( 
  216. 'location' => 'path',  
  217. 'type' => 'string',  
  218. 'required' => true,  
  219. ),  
  220. 'customChannelId' => array( 
  221. 'location' => 'path',  
  222. 'type' => 'string',  
  223. 'required' => true,  
  224. ),  
  225. 'includeInactive' => array( 
  226. 'location' => 'query',  
  227. 'type' => 'boolean',  
  228. ),  
  229. 'pageToken' => array( 
  230. 'location' => 'query',  
  231. 'type' => 'string',  
  232. ),  
  233. 'maxResults' => array( 
  234. 'location' => 'query',  
  235. 'type' => 'integer',  
  236. ),  
  237. ),  
  238. ),  
  239. ); 
  240. $this->metadata_dimensions = new Google_Service_AdExchangeSeller_MetadataDimensions_Resource( 
  241. $this,  
  242. $this->serviceName,  
  243. 'dimensions',  
  244. array( 
  245. 'methods' => array( 
  246. 'list' => array( 
  247. 'path' => 'metadata/dimensions',  
  248. 'httpMethod' => 'GET',  
  249. 'parameters' => array(),  
  250. ),  
  251. ); 
  252. $this->metadata_metrics = new Google_Service_AdExchangeSeller_MetadataMetrics_Resource( 
  253. $this,  
  254. $this->serviceName,  
  255. 'metrics',  
  256. array( 
  257. 'methods' => array( 
  258. 'list' => array( 
  259. 'path' => 'metadata/metrics',  
  260. 'httpMethod' => 'GET',  
  261. 'parameters' => array(),  
  262. ),  
  263. ); 
  264. $this->preferreddeals = new Google_Service_AdExchangeSeller_Preferreddeals_Resource( 
  265. $this,  
  266. $this->serviceName,  
  267. 'preferreddeals',  
  268. array( 
  269. 'methods' => array( 
  270. 'get' => array( 
  271. 'path' => 'preferreddeals/{dealId}',  
  272. 'httpMethod' => 'GET',  
  273. 'parameters' => array( 
  274. 'dealId' => array( 
  275. 'location' => 'path',  
  276. 'type' => 'string',  
  277. 'required' => true,  
  278. ),  
  279. ),  
  280. ), 'list' => array( 
  281. 'path' => 'preferreddeals',  
  282. 'httpMethod' => 'GET',  
  283. 'parameters' => array(),  
  284. ),  
  285. ); 
  286. $this->reports = new Google_Service_AdExchangeSeller_Reports_Resource( 
  287. $this,  
  288. $this->serviceName,  
  289. 'reports',  
  290. array( 
  291. 'methods' => array( 
  292. 'generate' => array( 
  293. 'path' => 'reports',  
  294. 'httpMethod' => 'GET',  
  295. 'parameters' => array( 
  296. 'startDate' => array( 
  297. 'location' => 'query',  
  298. 'type' => 'string',  
  299. 'required' => true,  
  300. ),  
  301. 'endDate' => array( 
  302. 'location' => 'query',  
  303. 'type' => 'string',  
  304. 'required' => true,  
  305. ),  
  306. 'sort' => array( 
  307. 'location' => 'query',  
  308. 'type' => 'string',  
  309. 'repeated' => true,  
  310. ),  
  311. 'locale' => array( 
  312. 'location' => 'query',  
  313. 'type' => 'string',  
  314. ),  
  315. 'metric' => array( 
  316. 'location' => 'query',  
  317. 'type' => 'string',  
  318. 'repeated' => true,  
  319. ),  
  320. 'maxResults' => array( 
  321. 'location' => 'query',  
  322. 'type' => 'integer',  
  323. ),  
  324. 'filter' => array( 
  325. 'location' => 'query',  
  326. 'type' => 'string',  
  327. 'repeated' => true,  
  328. ),  
  329. 'startIndex' => array( 
  330. 'location' => 'query',  
  331. 'type' => 'integer',  
  332. ),  
  333. 'dimension' => array( 
  334. 'location' => 'query',  
  335. 'type' => 'string',  
  336. 'repeated' => true,  
  337. ),  
  338. ),  
  339. ),  
  340. ); 
  341. $this->reports_saved = new Google_Service_AdExchangeSeller_ReportsSaved_Resource( 
  342. $this,  
  343. $this->serviceName,  
  344. 'saved',  
  345. array( 
  346. 'methods' => array( 
  347. 'generate' => array( 
  348. 'path' => 'reports/{savedReportId}',  
  349. 'httpMethod' => 'GET',  
  350. 'parameters' => array( 
  351. 'savedReportId' => array( 
  352. 'location' => 'path',  
  353. 'type' => 'string',  
  354. 'required' => true,  
  355. ),  
  356. 'locale' => array( 
  357. 'location' => 'query',  
  358. 'type' => 'string',  
  359. ),  
  360. 'startIndex' => array( 
  361. 'location' => 'query',  
  362. 'type' => 'integer',  
  363. ),  
  364. 'maxResults' => array( 
  365. 'location' => 'query',  
  366. 'type' => 'integer',  
  367. ),  
  368. ),  
  369. ), 'list' => array( 
  370. 'path' => 'reports/saved',  
  371. 'httpMethod' => 'GET',  
  372. 'parameters' => array( 
  373. 'pageToken' => array( 
  374. 'location' => 'query',  
  375. 'type' => 'string',  
  376. ),  
  377. 'maxResults' => array( 
  378. 'location' => 'query',  
  379. 'type' => 'integer',  
  380. ),  
  381. ),  
  382. ),  
  383. ); 
  384. $this->urlchannels = new Google_Service_AdExchangeSeller_Urlchannels_Resource( 
  385. $this,  
  386. $this->serviceName,  
  387. 'urlchannels',  
  388. array( 
  389. 'methods' => array( 
  390. 'list' => array( 
  391. 'path' => 'adclients/{adClientId}/urlchannels',  
  392. 'httpMethod' => 'GET',  
  393. 'parameters' => array( 
  394. 'adClientId' => array( 
  395. 'location' => 'path',  
  396. 'type' => 'string',  
  397. 'required' => true,  
  398. ),  
  399. 'pageToken' => array( 
  400. 'location' => 'query',  
  401. 'type' => 'string',  
  402. ),  
  403. 'maxResults' => array( 
  404. 'location' => 'query',  
  405. 'type' => 'integer',  
  406. ),  
  407. ),  
  408. ),  
  409. );