Google_Service_AdExchangeSeller

Service definition for AdExchangeSeller (v2.0).

Defined (1)

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

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