Google_Service_AdExchangeSeller

Service definition for AdExchangeSeller (v2.0).

Defined (1)

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

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