GoogleGAL_Service_AdExchangeSeller

Service definition for AdExchangeSeller (v2.0).

Defined (1)

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

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