PageRenderTime 84ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 1ms

/lib/google/src/Google/Service/AdSense.php

https://bitbucket.org/moodle/moodle
PHP | 3596 lines | 2714 code | 158 blank | 724 comment | 0 complexity | c18b8434ec733be72e88690d4577752b MD5 | raw file
Possible License(s): Apache-2.0, LGPL-2.1, BSD-3-Clause, MIT, GPL-3.0

Large files files are truncated, but you can click here to view the full file

  1. <?php
  2. /*
  3. * Copyright 2010 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. /**
  18. * Service definition for AdSense (v1.4).
  19. *
  20. * <p>
  21. * Gives AdSense publishers access to their inventory and the ability to
  22. * generate reports</p>
  23. *
  24. * <p>
  25. * For more information about this service, see the API
  26. * <a href="https://developers.google.com/adsense/management/" target="_blank">Documentation</a>
  27. * </p>
  28. *
  29. * @author Google, Inc.
  30. */
  31. class Google_Service_AdSense extends Google_Service
  32. {
  33. /** View and manage your AdSense data. */
  34. const ADSENSE =
  35. "https://www.googleapis.com/auth/adsense";
  36. /** View your AdSense data. */
  37. const ADSENSE_READONLY =
  38. "https://www.googleapis.com/auth/adsense.readonly";
  39. public $accounts;
  40. public $accounts_adclients;
  41. public $accounts_adunits;
  42. public $accounts_adunits_customchannels;
  43. public $accounts_alerts;
  44. public $accounts_customchannels;
  45. public $accounts_customchannels_adunits;
  46. public $accounts_payments;
  47. public $accounts_reports;
  48. public $accounts_reports_saved;
  49. public $accounts_savedadstyles;
  50. public $accounts_urlchannels;
  51. public $adclients;
  52. public $adunits;
  53. public $adunits_customchannels;
  54. public $alerts;
  55. public $customchannels;
  56. public $customchannels_adunits;
  57. public $metadata_dimensions;
  58. public $metadata_metrics;
  59. public $payments;
  60. public $reports;
  61. public $reports_saved;
  62. public $savedadstyles;
  63. public $urlchannels;
  64. /**
  65. * Constructs the internal representation of the AdSense service.
  66. *
  67. * @param Google_Client $client
  68. */
  69. public function __construct(Google_Client $client)
  70. {
  71. parent::__construct($client);
  72. $this->rootUrl = 'https://www.googleapis.com/';
  73. $this->servicePath = 'adsense/v1.4/';
  74. $this->version = 'v1.4';
  75. $this->serviceName = 'adsense';
  76. $this->accounts = new Google_Service_AdSense_Accounts_Resource(
  77. $this,
  78. $this->serviceName,
  79. 'accounts',
  80. array(
  81. 'methods' => array(
  82. 'get' => array(
  83. 'path' => 'accounts/{accountId}',
  84. 'httpMethod' => 'GET',
  85. 'parameters' => array(
  86. 'accountId' => array(
  87. 'location' => 'path',
  88. 'type' => 'string',
  89. 'required' => true,
  90. ),
  91. 'tree' => array(
  92. 'location' => 'query',
  93. 'type' => 'boolean',
  94. ),
  95. ),
  96. ),'list' => array(
  97. 'path' => 'accounts',
  98. 'httpMethod' => 'GET',
  99. 'parameters' => array(
  100. 'pageToken' => array(
  101. 'location' => 'query',
  102. 'type' => 'string',
  103. ),
  104. 'maxResults' => array(
  105. 'location' => 'query',
  106. 'type' => 'integer',
  107. ),
  108. ),
  109. ),
  110. )
  111. )
  112. );
  113. $this->accounts_adclients = new Google_Service_AdSense_AccountsAdclients_Resource(
  114. $this,
  115. $this->serviceName,
  116. 'adclients',
  117. array(
  118. 'methods' => array(
  119. 'list' => array(
  120. 'path' => 'accounts/{accountId}/adclients',
  121. 'httpMethod' => 'GET',
  122. 'parameters' => array(
  123. 'accountId' => array(
  124. 'location' => 'path',
  125. 'type' => 'string',
  126. 'required' => true,
  127. ),
  128. 'pageToken' => array(
  129. 'location' => 'query',
  130. 'type' => 'string',
  131. ),
  132. 'maxResults' => array(
  133. 'location' => 'query',
  134. 'type' => 'integer',
  135. ),
  136. ),
  137. ),
  138. )
  139. )
  140. );
  141. $this->accounts_adunits = new Google_Service_AdSense_AccountsAdunits_Resource(
  142. $this,
  143. $this->serviceName,
  144. 'adunits',
  145. array(
  146. 'methods' => array(
  147. 'get' => array(
  148. 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}',
  149. 'httpMethod' => 'GET',
  150. 'parameters' => array(
  151. 'accountId' => array(
  152. 'location' => 'path',
  153. 'type' => 'string',
  154. 'required' => true,
  155. ),
  156. 'adClientId' => array(
  157. 'location' => 'path',
  158. 'type' => 'string',
  159. 'required' => true,
  160. ),
  161. 'adUnitId' => array(
  162. 'location' => 'path',
  163. 'type' => 'string',
  164. 'required' => true,
  165. ),
  166. ),
  167. ),'getAdCode' => array(
  168. 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode',
  169. 'httpMethod' => 'GET',
  170. 'parameters' => array(
  171. 'accountId' => array(
  172. 'location' => 'path',
  173. 'type' => 'string',
  174. 'required' => true,
  175. ),
  176. 'adClientId' => array(
  177. 'location' => 'path',
  178. 'type' => 'string',
  179. 'required' => true,
  180. ),
  181. 'adUnitId' => array(
  182. 'location' => 'path',
  183. 'type' => 'string',
  184. 'required' => true,
  185. ),
  186. ),
  187. ),'list' => array(
  188. 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits',
  189. 'httpMethod' => 'GET',
  190. 'parameters' => array(
  191. 'accountId' => array(
  192. 'location' => 'path',
  193. 'type' => 'string',
  194. 'required' => true,
  195. ),
  196. 'adClientId' => array(
  197. 'location' => 'path',
  198. 'type' => 'string',
  199. 'required' => true,
  200. ),
  201. 'includeInactive' => array(
  202. 'location' => 'query',
  203. 'type' => 'boolean',
  204. ),
  205. 'pageToken' => array(
  206. 'location' => 'query',
  207. 'type' => 'string',
  208. ),
  209. 'maxResults' => array(
  210. 'location' => 'query',
  211. 'type' => 'integer',
  212. ),
  213. ),
  214. ),
  215. )
  216. )
  217. );
  218. $this->accounts_adunits_customchannels = new Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource(
  219. $this,
  220. $this->serviceName,
  221. 'customchannels',
  222. array(
  223. 'methods' => array(
  224. 'list' => array(
  225. 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels',
  226. 'httpMethod' => 'GET',
  227. 'parameters' => array(
  228. 'accountId' => array(
  229. 'location' => 'path',
  230. 'type' => 'string',
  231. 'required' => true,
  232. ),
  233. 'adClientId' => array(
  234. 'location' => 'path',
  235. 'type' => 'string',
  236. 'required' => true,
  237. ),
  238. 'adUnitId' => array(
  239. 'location' => 'path',
  240. 'type' => 'string',
  241. 'required' => true,
  242. ),
  243. 'pageToken' => array(
  244. 'location' => 'query',
  245. 'type' => 'string',
  246. ),
  247. 'maxResults' => array(
  248. 'location' => 'query',
  249. 'type' => 'integer',
  250. ),
  251. ),
  252. ),
  253. )
  254. )
  255. );
  256. $this->accounts_alerts = new Google_Service_AdSense_AccountsAlerts_Resource(
  257. $this,
  258. $this->serviceName,
  259. 'alerts',
  260. array(
  261. 'methods' => array(
  262. 'delete' => array(
  263. 'path' => 'accounts/{accountId}/alerts/{alertId}',
  264. 'httpMethod' => 'DELETE',
  265. 'parameters' => array(
  266. 'accountId' => array(
  267. 'location' => 'path',
  268. 'type' => 'string',
  269. 'required' => true,
  270. ),
  271. 'alertId' => array(
  272. 'location' => 'path',
  273. 'type' => 'string',
  274. 'required' => true,
  275. ),
  276. ),
  277. ),'list' => array(
  278. 'path' => 'accounts/{accountId}/alerts',
  279. 'httpMethod' => 'GET',
  280. 'parameters' => array(
  281. 'accountId' => array(
  282. 'location' => 'path',
  283. 'type' => 'string',
  284. 'required' => true,
  285. ),
  286. 'locale' => array(
  287. 'location' => 'query',
  288. 'type' => 'string',
  289. ),
  290. ),
  291. ),
  292. )
  293. )
  294. );
  295. $this->accounts_customchannels = new Google_Service_AdSense_AccountsCustomchannels_Resource(
  296. $this,
  297. $this->serviceName,
  298. 'customchannels',
  299. array(
  300. 'methods' => array(
  301. 'get' => array(
  302. 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}',
  303. 'httpMethod' => 'GET',
  304. 'parameters' => array(
  305. 'accountId' => array(
  306. 'location' => 'path',
  307. 'type' => 'string',
  308. 'required' => true,
  309. ),
  310. 'adClientId' => array(
  311. 'location' => 'path',
  312. 'type' => 'string',
  313. 'required' => true,
  314. ),
  315. 'customChannelId' => array(
  316. 'location' => 'path',
  317. 'type' => 'string',
  318. 'required' => true,
  319. ),
  320. ),
  321. ),'list' => array(
  322. 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels',
  323. 'httpMethod' => 'GET',
  324. 'parameters' => array(
  325. 'accountId' => array(
  326. 'location' => 'path',
  327. 'type' => 'string',
  328. 'required' => true,
  329. ),
  330. 'adClientId' => array(
  331. 'location' => 'path',
  332. 'type' => 'string',
  333. 'required' => true,
  334. ),
  335. 'pageToken' => array(
  336. 'location' => 'query',
  337. 'type' => 'string',
  338. ),
  339. 'maxResults' => array(
  340. 'location' => 'query',
  341. 'type' => 'integer',
  342. ),
  343. ),
  344. ),
  345. )
  346. )
  347. );
  348. $this->accounts_customchannels_adunits = new Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource(
  349. $this,
  350. $this->serviceName,
  351. 'adunits',
  352. array(
  353. 'methods' => array(
  354. 'list' => array(
  355. 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits',
  356. 'httpMethod' => 'GET',
  357. 'parameters' => array(
  358. 'accountId' => array(
  359. 'location' => 'path',
  360. 'type' => 'string',
  361. 'required' => true,
  362. ),
  363. 'adClientId' => array(
  364. 'location' => 'path',
  365. 'type' => 'string',
  366. 'required' => true,
  367. ),
  368. 'customChannelId' => array(
  369. 'location' => 'path',
  370. 'type' => 'string',
  371. 'required' => true,
  372. ),
  373. 'includeInactive' => array(
  374. 'location' => 'query',
  375. 'type' => 'boolean',
  376. ),
  377. 'maxResults' => array(
  378. 'location' => 'query',
  379. 'type' => 'integer',
  380. ),
  381. 'pageToken' => array(
  382. 'location' => 'query',
  383. 'type' => 'string',
  384. ),
  385. ),
  386. ),
  387. )
  388. )
  389. );
  390. $this->accounts_payments = new Google_Service_AdSense_AccountsPayments_Resource(
  391. $this,
  392. $this->serviceName,
  393. 'payments',
  394. array(
  395. 'methods' => array(
  396. 'list' => array(
  397. 'path' => 'accounts/{accountId}/payments',
  398. 'httpMethod' => 'GET',
  399. 'parameters' => array(
  400. 'accountId' => array(
  401. 'location' => 'path',
  402. 'type' => 'string',
  403. 'required' => true,
  404. ),
  405. ),
  406. ),
  407. )
  408. )
  409. );
  410. $this->accounts_reports = new Google_Service_AdSense_AccountsReports_Resource(
  411. $this,
  412. $this->serviceName,
  413. 'reports',
  414. array(
  415. 'methods' => array(
  416. 'generate' => array(
  417. 'path' => 'accounts/{accountId}/reports',
  418. 'httpMethod' => 'GET',
  419. 'parameters' => array(
  420. 'accountId' => array(
  421. 'location' => 'path',
  422. 'type' => 'string',
  423. 'required' => true,
  424. ),
  425. 'startDate' => array(
  426. 'location' => 'query',
  427. 'type' => 'string',
  428. 'required' => true,
  429. ),
  430. 'endDate' => array(
  431. 'location' => 'query',
  432. 'type' => 'string',
  433. 'required' => true,
  434. ),
  435. 'sort' => array(
  436. 'location' => 'query',
  437. 'type' => 'string',
  438. 'repeated' => true,
  439. ),
  440. 'locale' => array(
  441. 'location' => 'query',
  442. 'type' => 'string',
  443. ),
  444. 'metric' => array(
  445. 'location' => 'query',
  446. 'type' => 'string',
  447. 'repeated' => true,
  448. ),
  449. 'maxResults' => array(
  450. 'location' => 'query',
  451. 'type' => 'integer',
  452. ),
  453. 'filter' => array(
  454. 'location' => 'query',
  455. 'type' => 'string',
  456. 'repeated' => true,
  457. ),
  458. 'currency' => array(
  459. 'location' => 'query',
  460. 'type' => 'string',
  461. ),
  462. 'startIndex' => array(
  463. 'location' => 'query',
  464. 'type' => 'integer',
  465. ),
  466. 'useTimezoneReporting' => array(
  467. 'location' => 'query',
  468. 'type' => 'boolean',
  469. ),
  470. 'dimension' => array(
  471. 'location' => 'query',
  472. 'type' => 'string',
  473. 'repeated' => true,
  474. ),
  475. ),
  476. ),
  477. )
  478. )
  479. );
  480. $this->accounts_reports_saved = new Google_Service_AdSense_AccountsReportsSaved_Resource(
  481. $this,
  482. $this->serviceName,
  483. 'saved',
  484. array(
  485. 'methods' => array(
  486. 'generate' => array(
  487. 'path' => 'accounts/{accountId}/reports/{savedReportId}',
  488. 'httpMethod' => 'GET',
  489. 'parameters' => array(
  490. 'accountId' => array(
  491. 'location' => 'path',
  492. 'type' => 'string',
  493. 'required' => true,
  494. ),
  495. 'savedReportId' => array(
  496. 'location' => 'path',
  497. 'type' => 'string',
  498. 'required' => true,
  499. ),
  500. 'locale' => array(
  501. 'location' => 'query',
  502. 'type' => 'string',
  503. ),
  504. 'startIndex' => array(
  505. 'location' => 'query',
  506. 'type' => 'integer',
  507. ),
  508. 'maxResults' => array(
  509. 'location' => 'query',
  510. 'type' => 'integer',
  511. ),
  512. ),
  513. ),'list' => array(
  514. 'path' => 'accounts/{accountId}/reports/saved',
  515. 'httpMethod' => 'GET',
  516. 'parameters' => array(
  517. 'accountId' => array(
  518. 'location' => 'path',
  519. 'type' => 'string',
  520. 'required' => true,
  521. ),
  522. 'pageToken' => array(
  523. 'location' => 'query',
  524. 'type' => 'string',
  525. ),
  526. 'maxResults' => array(
  527. 'location' => 'query',
  528. 'type' => 'integer',
  529. ),
  530. ),
  531. ),
  532. )
  533. )
  534. );
  535. $this->accounts_savedadstyles = new Google_Service_AdSense_AccountsSavedadstyles_Resource(
  536. $this,
  537. $this->serviceName,
  538. 'savedadstyles',
  539. array(
  540. 'methods' => array(
  541. 'get' => array(
  542. 'path' => 'accounts/{accountId}/savedadstyles/{savedAdStyleId}',
  543. 'httpMethod' => 'GET',
  544. 'parameters' => array(
  545. 'accountId' => array(
  546. 'location' => 'path',
  547. 'type' => 'string',
  548. 'required' => true,
  549. ),
  550. 'savedAdStyleId' => array(
  551. 'location' => 'path',
  552. 'type' => 'string',
  553. 'required' => true,
  554. ),
  555. ),
  556. ),'list' => array(
  557. 'path' => 'accounts/{accountId}/savedadstyles',
  558. 'httpMethod' => 'GET',
  559. 'parameters' => array(
  560. 'accountId' => array(
  561. 'location' => 'path',
  562. 'type' => 'string',
  563. 'required' => true,
  564. ),
  565. 'pageToken' => array(
  566. 'location' => 'query',
  567. 'type' => 'string',
  568. ),
  569. 'maxResults' => array(
  570. 'location' => 'query',
  571. 'type' => 'integer',
  572. ),
  573. ),
  574. ),
  575. )
  576. )
  577. );
  578. $this->accounts_urlchannels = new Google_Service_AdSense_AccountsUrlchannels_Resource(
  579. $this,
  580. $this->serviceName,
  581. 'urlchannels',
  582. array(
  583. 'methods' => array(
  584. 'list' => array(
  585. 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels',
  586. 'httpMethod' => 'GET',
  587. 'parameters' => array(
  588. 'accountId' => array(
  589. 'location' => 'path',
  590. 'type' => 'string',
  591. 'required' => true,
  592. ),
  593. 'adClientId' => array(
  594. 'location' => 'path',
  595. 'type' => 'string',
  596. 'required' => true,
  597. ),
  598. 'pageToken' => array(
  599. 'location' => 'query',
  600. 'type' => 'string',
  601. ),
  602. 'maxResults' => array(
  603. 'location' => 'query',
  604. 'type' => 'integer',
  605. ),
  606. ),
  607. ),
  608. )
  609. )
  610. );
  611. $this->adclients = new Google_Service_AdSense_Adclients_Resource(
  612. $this,
  613. $this->serviceName,
  614. 'adclients',
  615. array(
  616. 'methods' => array(
  617. 'list' => array(
  618. 'path' => 'adclients',
  619. 'httpMethod' => 'GET',
  620. 'parameters' => array(
  621. 'pageToken' => array(
  622. 'location' => 'query',
  623. 'type' => 'string',
  624. ),
  625. 'maxResults' => array(
  626. 'location' => 'query',
  627. 'type' => 'integer',
  628. ),
  629. ),
  630. ),
  631. )
  632. )
  633. );
  634. $this->adunits = new Google_Service_AdSense_Adunits_Resource(
  635. $this,
  636. $this->serviceName,
  637. 'adunits',
  638. array(
  639. 'methods' => array(
  640. 'get' => array(
  641. 'path' => 'adclients/{adClientId}/adunits/{adUnitId}',
  642. 'httpMethod' => 'GET',
  643. 'parameters' => array(
  644. 'adClientId' => array(
  645. 'location' => 'path',
  646. 'type' => 'string',
  647. 'required' => true,
  648. ),
  649. 'adUnitId' => array(
  650. 'location' => 'path',
  651. 'type' => 'string',
  652. 'required' => true,
  653. ),
  654. ),
  655. ),'getAdCode' => array(
  656. 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/adcode',
  657. 'httpMethod' => 'GET',
  658. 'parameters' => array(
  659. 'adClientId' => array(
  660. 'location' => 'path',
  661. 'type' => 'string',
  662. 'required' => true,
  663. ),
  664. 'adUnitId' => array(
  665. 'location' => 'path',
  666. 'type' => 'string',
  667. 'required' => true,
  668. ),
  669. ),
  670. ),'list' => array(
  671. 'path' => 'adclients/{adClientId}/adunits',
  672. 'httpMethod' => 'GET',
  673. 'parameters' => array(
  674. 'adClientId' => array(
  675. 'location' => 'path',
  676. 'type' => 'string',
  677. 'required' => true,
  678. ),
  679. 'includeInactive' => array(
  680. 'location' => 'query',
  681. 'type' => 'boolean',
  682. ),
  683. 'pageToken' => array(
  684. 'location' => 'query',
  685. 'type' => 'string',
  686. ),
  687. 'maxResults' => array(
  688. 'location' => 'query',
  689. 'type' => 'integer',
  690. ),
  691. ),
  692. ),
  693. )
  694. )
  695. );
  696. $this->adunits_customchannels = new Google_Service_AdSense_AdunitsCustomchannels_Resource(
  697. $this,
  698. $this->serviceName,
  699. 'customchannels',
  700. array(
  701. 'methods' => array(
  702. 'list' => array(
  703. 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels',
  704. 'httpMethod' => 'GET',
  705. 'parameters' => array(
  706. 'adClientId' => array(
  707. 'location' => 'path',
  708. 'type' => 'string',
  709. 'required' => true,
  710. ),
  711. 'adUnitId' => array(
  712. 'location' => 'path',
  713. 'type' => 'string',
  714. 'required' => true,
  715. ),
  716. 'pageToken' => array(
  717. 'location' => 'query',
  718. 'type' => 'string',
  719. ),
  720. 'maxResults' => array(
  721. 'location' => 'query',
  722. 'type' => 'integer',
  723. ),
  724. ),
  725. ),
  726. )
  727. )
  728. );
  729. $this->alerts = new Google_Service_AdSense_Alerts_Resource(
  730. $this,
  731. $this->serviceName,
  732. 'alerts',
  733. array(
  734. 'methods' => array(
  735. 'delete' => array(
  736. 'path' => 'alerts/{alertId}',
  737. 'httpMethod' => 'DELETE',
  738. 'parameters' => array(
  739. 'alertId' => array(
  740. 'location' => 'path',
  741. 'type' => 'string',
  742. 'required' => true,
  743. ),
  744. ),
  745. ),'list' => array(
  746. 'path' => 'alerts',
  747. 'httpMethod' => 'GET',
  748. 'parameters' => array(
  749. 'locale' => array(
  750. 'location' => 'query',
  751. 'type' => 'string',
  752. ),
  753. ),
  754. ),
  755. )
  756. )
  757. );
  758. $this->customchannels = new Google_Service_AdSense_Customchannels_Resource(
  759. $this,
  760. $this->serviceName,
  761. 'customchannels',
  762. array(
  763. 'methods' => array(
  764. 'get' => array(
  765. 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}',
  766. 'httpMethod' => 'GET',
  767. 'parameters' => array(
  768. 'adClientId' => array(
  769. 'location' => 'path',
  770. 'type' => 'string',
  771. 'required' => true,
  772. ),
  773. 'customChannelId' => array(
  774. 'location' => 'path',
  775. 'type' => 'string',
  776. 'required' => true,
  777. ),
  778. ),
  779. ),'list' => array(
  780. 'path' => 'adclients/{adClientId}/customchannels',
  781. 'httpMethod' => 'GET',
  782. 'parameters' => array(
  783. 'adClientId' => array(
  784. 'location' => 'path',
  785. 'type' => 'string',
  786. 'required' => true,
  787. ),
  788. 'pageToken' => array(
  789. 'location' => 'query',
  790. 'type' => 'string',
  791. ),
  792. 'maxResults' => array(
  793. 'location' => 'query',
  794. 'type' => 'integer',
  795. ),
  796. ),
  797. ),
  798. )
  799. )
  800. );
  801. $this->customchannels_adunits = new Google_Service_AdSense_CustomchannelsAdunits_Resource(
  802. $this,
  803. $this->serviceName,
  804. 'adunits',
  805. array(
  806. 'methods' => array(
  807. 'list' => array(
  808. 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits',
  809. 'httpMethod' => 'GET',
  810. 'parameters' => array(
  811. 'adClientId' => array(
  812. 'location' => 'path',
  813. 'type' => 'string',
  814. 'required' => true,
  815. ),
  816. 'customChannelId' => array(
  817. 'location' => 'path',
  818. 'type' => 'string',
  819. 'required' => true,
  820. ),
  821. 'includeInactive' => array(
  822. 'location' => 'query',
  823. 'type' => 'boolean',
  824. ),
  825. 'pageToken' => array(
  826. 'location' => 'query',
  827. 'type' => 'string',
  828. ),
  829. 'maxResults' => array(
  830. 'location' => 'query',
  831. 'type' => 'integer',
  832. ),
  833. ),
  834. ),
  835. )
  836. )
  837. );
  838. $this->metadata_dimensions = new Google_Service_AdSense_MetadataDimensions_Resource(
  839. $this,
  840. $this->serviceName,
  841. 'dimensions',
  842. array(
  843. 'methods' => array(
  844. 'list' => array(
  845. 'path' => 'metadata/dimensions',
  846. 'httpMethod' => 'GET',
  847. 'parameters' => array(),
  848. ),
  849. )
  850. )
  851. );
  852. $this->metadata_metrics = new Google_Service_AdSense_MetadataMetrics_Resource(
  853. $this,
  854. $this->serviceName,
  855. 'metrics',
  856. array(
  857. 'methods' => array(
  858. 'list' => array(
  859. 'path' => 'metadata/metrics',
  860. 'httpMethod' => 'GET',
  861. 'parameters' => array(),
  862. ),
  863. )
  864. )
  865. );
  866. $this->payments = new Google_Service_AdSense_Payments_Resource(
  867. $this,
  868. $this->serviceName,
  869. 'payments',
  870. array(
  871. 'methods' => array(
  872. 'list' => array(
  873. 'path' => 'payments',
  874. 'httpMethod' => 'GET',
  875. 'parameters' => array(),
  876. ),
  877. )
  878. )
  879. );
  880. $this->reports = new Google_Service_AdSense_Reports_Resource(
  881. $this,
  882. $this->serviceName,
  883. 'reports',
  884. array(
  885. 'methods' => array(
  886. 'generate' => array(
  887. 'path' => 'reports',
  888. 'httpMethod' => 'GET',
  889. 'parameters' => array(
  890. 'startDate' => array(
  891. 'location' => 'query',
  892. 'type' => 'string',
  893. 'required' => true,
  894. ),
  895. 'endDate' => array(
  896. 'location' => 'query',
  897. 'type' => 'string',
  898. 'required' => true,
  899. ),
  900. 'sort' => array(
  901. 'location' => 'query',
  902. 'type' => 'string',
  903. 'repeated' => true,
  904. ),
  905. 'locale' => array(
  906. 'location' => 'query',
  907. 'type' => 'string',
  908. ),
  909. 'metric' => array(
  910. 'location' => 'query',
  911. 'type' => 'string',
  912. 'repeated' => true,
  913. ),
  914. 'maxResults' => array(
  915. 'location' => 'query',
  916. 'type' => 'integer',
  917. ),
  918. 'filter' => array(
  919. 'location' => 'query',
  920. 'type' => 'string',
  921. 'repeated' => true,
  922. ),
  923. 'currency' => array(
  924. 'location' => 'query',
  925. 'type' => 'string',
  926. ),
  927. 'startIndex' => array(
  928. 'location' => 'query',
  929. 'type' => 'integer',
  930. ),
  931. 'useTimezoneReporting' => array(
  932. 'location' => 'query',
  933. 'type' => 'boolean',
  934. ),
  935. 'dimension' => array(
  936. 'location' => 'query',
  937. 'type' => 'string',
  938. 'repeated' => true,
  939. ),
  940. 'accountId' => array(
  941. 'location' => 'query',
  942. 'type' => 'string',
  943. 'repeated' => true,
  944. ),
  945. ),
  946. ),
  947. )
  948. )
  949. );
  950. $this->reports_saved = new Google_Service_AdSense_ReportsSaved_Resource(
  951. $this,
  952. $this->serviceName,
  953. 'saved',
  954. array(
  955. 'methods' => array(
  956. 'generate' => array(
  957. 'path' => 'reports/{savedReportId}',
  958. 'httpMethod' => 'GET',
  959. 'parameters' => array(
  960. 'savedReportId' => array(
  961. 'location' => 'path',
  962. 'type' => 'string',
  963. 'required' => true,
  964. ),
  965. 'locale' => array(
  966. 'location' => 'query',
  967. 'type' => 'string',
  968. ),
  969. 'startIndex' => array(
  970. 'location' => 'query',
  971. 'type' => 'integer',
  972. ),
  973. 'maxResults' => array(
  974. 'location' => 'query',
  975. 'type' => 'integer',
  976. ),
  977. ),
  978. ),'list' => array(
  979. 'path' => 'reports/saved',
  980. 'httpMethod' => 'GET',
  981. 'parameters' => array(
  982. 'pageToken' => array(
  983. 'location' => 'query',
  984. 'type' => 'string',
  985. ),
  986. 'maxResults' => array(
  987. 'location' => 'query',
  988. 'type' => 'integer',
  989. ),
  990. ),
  991. ),
  992. )
  993. )
  994. );
  995. $this->savedadstyles = new Google_Service_AdSense_Savedadstyles_Resource(
  996. $this,
  997. $this->serviceName,
  998. 'savedadstyles',
  999. array(
  1000. 'methods' => array(
  1001. 'get' => array(
  1002. 'path' => 'savedadstyles/{savedAdStyleId}',
  1003. 'httpMethod' => 'GET',
  1004. 'parameters' => array(
  1005. 'savedAdStyleId' => array(
  1006. 'location' => 'path',
  1007. 'type' => 'string',
  1008. 'required' => true,
  1009. ),
  1010. ),
  1011. ),'list' => array(
  1012. 'path' => 'savedadstyles',
  1013. 'httpMethod' => 'GET',
  1014. 'parameters' => array(
  1015. 'pageToken' => array(
  1016. 'location' => 'query',
  1017. 'type' => 'string',
  1018. ),
  1019. 'maxResults' => array(
  1020. 'location' => 'query',
  1021. 'type' => 'integer',
  1022. ),
  1023. ),
  1024. ),
  1025. )
  1026. )
  1027. );
  1028. $this->urlchannels = new Google_Service_AdSense_Urlchannels_Resource(
  1029. $this,
  1030. $this->serviceName,
  1031. 'urlchannels',
  1032. array(
  1033. 'methods' => array(
  1034. 'list' => array(
  1035. 'path' => 'adclients/{adClientId}/urlchannels',
  1036. 'httpMethod' => 'GET',
  1037. 'parameters' => array(
  1038. 'adClientId' => array(
  1039. 'location' => 'path',
  1040. 'type' => 'string',
  1041. 'required' => true,
  1042. ),
  1043. 'pageToken' => array(
  1044. 'location' => 'query',
  1045. 'type' => 'string',
  1046. ),
  1047. 'maxResults' => array(
  1048. 'location' => 'query',
  1049. 'type' => 'integer',
  1050. ),
  1051. ),
  1052. ),
  1053. )
  1054. )
  1055. );
  1056. }
  1057. }
  1058. /**
  1059. * The "accounts" collection of methods.
  1060. * Typical usage is:
  1061. * <code>
  1062. * $adsenseService = new Google_Service_AdSense(...);
  1063. * $accounts = $adsenseService->accounts;
  1064. * </code>
  1065. */
  1066. class Google_Service_AdSense_Accounts_Resource extends Google_Service_Resource
  1067. {
  1068. /**
  1069. * Get information about the selected AdSense account. (accounts.get)
  1070. *
  1071. * @param string $accountId Account to get information about.
  1072. * @param array $optParams Optional parameters.
  1073. *
  1074. * @opt_param bool tree Whether the tree of sub accounts should be returned.
  1075. * @return Google_Service_AdSense_Account
  1076. */
  1077. public function get($accountId, $optParams = array())
  1078. {
  1079. $params = array('accountId' => $accountId);
  1080. $params = array_merge($params, $optParams);
  1081. return $this->call('get', array($params), "Google_Service_AdSense_Account");
  1082. }
  1083. /**
  1084. * List all accounts available to this AdSense account. (accounts.listAccounts)
  1085. *
  1086. * @param array $optParams Optional parameters.
  1087. *
  1088. * @opt_param string pageToken A continuation token, used to page through
  1089. * accounts. To retrieve the next page, set this parameter to the value of
  1090. * "nextPageToken" from the previous response.
  1091. * @opt_param int maxResults The maximum number of accounts to include in the
  1092. * response, used for paging.
  1093. * @return Google_Service_AdSense_Accounts
  1094. */
  1095. public function listAccounts($optParams = array())
  1096. {
  1097. $params = array();
  1098. $params = array_merge($params, $optParams);
  1099. return $this->call('list', array($params), "Google_Service_AdSense_Accounts");
  1100. }
  1101. }
  1102. /**
  1103. * The "adclients" collection of methods.
  1104. * Typical usage is:
  1105. * <code>
  1106. * $adsenseService = new Google_Service_AdSense(...);
  1107. * $adclients = $adsenseService->adclients;
  1108. * </code>
  1109. */
  1110. class Google_Service_AdSense_AccountsAdclients_Resource extends Google_Service_Resource
  1111. {
  1112. /**
  1113. * List all ad clients in the specified account.
  1114. * (adclients.listAccountsAdclients)
  1115. *
  1116. * @param string $accountId Account for which to list ad clients.
  1117. * @param array $optParams Optional parameters.
  1118. *
  1119. * @opt_param string pageToken A continuation token, used to page through ad
  1120. * clients. To retrieve the next page, set this parameter to the value of
  1121. * "nextPageToken" from the previous response.
  1122. * @opt_param int maxResults The maximum number of ad clients to include in the
  1123. * response, used for paging.
  1124. * @return Google_Service_AdSense_AdClients
  1125. */
  1126. public function listAccountsAdclients($accountId, $optParams = array())
  1127. {
  1128. $params = array('accountId' => $accountId);
  1129. $params = array_merge($params, $optParams);
  1130. return $this->call('list', array($params), "Google_Service_AdSense_AdClients");
  1131. }
  1132. }
  1133. /**
  1134. * The "adunits" collection of methods.
  1135. * Typical usage is:
  1136. * <code>
  1137. * $adsenseService = new Google_Service_AdSense(...);
  1138. * $adunits = $adsenseService->adunits;
  1139. * </code>
  1140. */
  1141. class Google_Service_AdSense_AccountsAdunits_Resource extends Google_Service_Resource
  1142. {
  1143. /**
  1144. * Gets the specified ad unit in the specified ad client for the specified
  1145. * account. (adunits.get)
  1146. *
  1147. * @param string $accountId Account to which the ad client belongs.
  1148. * @param string $adClientId Ad client for which to get the ad unit.
  1149. * @param string $adUnitId Ad unit to retrieve.
  1150. * @param array $optParams Optional parameters.
  1151. * @return Google_Service_AdSense_AdUnit
  1152. */
  1153. public function get($accountId, $adClientId, $adUnitId, $optParams = array())
  1154. {
  1155. $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
  1156. $params = array_merge($params, $optParams);
  1157. return $this->call('get', array($params), "Google_Service_AdSense_AdUnit");
  1158. }
  1159. /**
  1160. * Get ad code for the specified ad unit. (adunits.getAdCode)
  1161. *
  1162. * @param string $accountId Account which contains the ad client.
  1163. * @param string $adClientId Ad client with contains the ad unit.
  1164. * @param string $adUnitId Ad unit to get the code for.
  1165. * @param array $optParams Optional parameters.
  1166. * @return Google_Service_AdSense_AdCode
  1167. */
  1168. public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array())
  1169. {
  1170. $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
  1171. $params = array_merge($params, $optParams);
  1172. return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode");
  1173. }
  1174. /**
  1175. * List all ad units in the specified ad client for the specified account.
  1176. * (adunits.listAccountsAdunits)
  1177. *
  1178. * @param string $accountId Account to which the ad client belongs.
  1179. * @param string $adClientId Ad client for which to list ad units.
  1180. * @param array $optParams Optional parameters.
  1181. *
  1182. * @opt_param bool includeInactive Whether to include inactive ad units.
  1183. * Default: true.
  1184. * @opt_param string pageToken A continuation token, used to page through ad
  1185. * units. To retrieve the next page, set this parameter to the value of
  1186. * "nextPageToken" from the previous response.
  1187. * @opt_param int maxResults The maximum number of ad units to include in the
  1188. * response, used for paging.
  1189. * @return Google_Service_AdSense_AdUnits
  1190. */
  1191. public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
  1192. {
  1193. $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
  1194. $params = array_merge($params, $optParams);
  1195. return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
  1196. }
  1197. }
  1198. /**
  1199. * The "customchannels" collection of methods.
  1200. * Typical usage is:
  1201. * <code>
  1202. * $adsenseService = new Google_Service_AdSense(...);
  1203. * $customchannels = $adsenseService->customchannels;
  1204. * </code>
  1205. */
  1206. class Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource extends Google_Service_Resource
  1207. {
  1208. /**
  1209. * List all custom channels which the specified ad unit belongs to.
  1210. * (customchannels.listAccountsAdunitsCustomchannels)
  1211. *
  1212. * @param string $accountId Account to which the ad client belongs.
  1213. * @param string $adClientId Ad client which contains the ad unit.
  1214. * @param string $adUnitId Ad unit for which to list custom channels.
  1215. * @param array $optParams Optional parameters.
  1216. *
  1217. * @opt_param string pageToken A continuation token, used to page through custom
  1218. * channels. To retrieve the next page, set this parameter to the value of
  1219. * "nextPageToken" from the previous response.
  1220. * @opt_param int maxResults The maximum number of custom channels to include in
  1221. * the response, used for paging.
  1222. * @return Google_Service_AdSense_CustomChannels
  1223. */
  1224. public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array())
  1225. {
  1226. $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
  1227. $params = array_merge($params, $optParams);
  1228. return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
  1229. }
  1230. }
  1231. /**
  1232. * The "alerts" collection of methods.
  1233. * Typical usage is:
  1234. * <code>
  1235. * $adsenseService = new Google_Service_AdSense(...);
  1236. * $alerts = $adsenseService->alerts;
  1237. * </code>
  1238. */
  1239. class Google_Service_AdSense_AccountsAlerts_Resource extends Google_Service_Resource
  1240. {
  1241. /**
  1242. * Dismiss (delete) the specified alert from the specified publisher AdSense
  1243. * account. (alerts.delete)
  1244. *
  1245. * @param string $accountId Account which contains the ad unit.
  1246. * @param string $alertId Alert to delete.
  1247. * @param array $optParams Optional parameters.
  1248. */
  1249. public function delete($accountId, $alertId, $optParams = array())
  1250. {
  1251. $params = array('accountId' => $accountId, 'alertId' => $alertId);
  1252. $params = array_merge($params, $optParams);
  1253. return $this->call('delete', array($params));
  1254. }
  1255. /**
  1256. * List the alerts for the specified AdSense account.
  1257. * (alerts.listAccountsAlerts)
  1258. *
  1259. * @param string $accountId Account for which to retrieve the alerts.
  1260. * @param array $optParams Optional parameters.
  1261. *
  1262. * @opt_param string locale The locale to use for translating alert messages.
  1263. * The account locale will be used if this is not supplied. The AdSense default
  1264. * (English) will be used if the supplied locale is invalid or unsupported.
  1265. * @return Google_Service_AdSense_Alerts
  1266. */
  1267. public function listAccountsAlerts($accountId, $optParams = array())
  1268. {
  1269. $params = array('accountId' => $accountId);
  1270. $params = array_merge($params, $optParams);
  1271. return $this->call('list', array($params), "Google_Service_AdSense_Alerts");
  1272. }
  1273. }
  1274. /**
  1275. * The "customchannels" collection of methods.
  1276. * Typical usage is:
  1277. * <code>
  1278. * $adsenseService = new Google_Service_AdSense(...);
  1279. * $customchannels = $adsenseService->customchannels;
  1280. * </code>
  1281. */
  1282. class Google_Service_AdSense_AccountsCustomchannels_Resource extends Google_Service_Resource
  1283. {
  1284. /**
  1285. * Get the specified custom channel from the specified ad client for the
  1286. * specified account. (customchannels.get)
  1287. *
  1288. * @param string $accountId Account to which the ad client belongs.
  1289. * @param string $adClientId Ad client which contains the custom channel.
  1290. * @param string $customChannelId Custom channel to retrieve.
  1291. * @param array $optParams Optional parameters.
  1292. * @return Google_Service_AdSense_CustomChannel
  1293. */
  1294. public function get($accountId, $adClientId, $customChannelId, $optParams = array())
  1295. {
  1296. $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
  1297. $params = array_merge($params, $optParams);
  1298. return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel");
  1299. }
  1300. /**
  1301. * List all custom channels in the specified ad client for the specified
  1302. * account. (customchannels.listAccountsCustomchannels)
  1303. *
  1304. * @param string $accountId Account to which the ad client belongs.
  1305. * @param string $adClientId Ad client for which to list custom channels.
  1306. * @param array $optParams Optional parameters.
  1307. *
  1308. * @opt_param string pageToken A continuation token, used to page through custom
  1309. * channels. To retrieve the next page, set this parameter to the value of
  1310. * "nextPageToken" from the previous response.
  1311. * @opt_param int maxResults The maximum number of custom channels to include in
  1312. * the response, used for paging.
  1313. * @return Google_Service_AdSense_CustomChannels
  1314. */
  1315. public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
  1316. {
  1317. $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
  1318. $params = array_merge($params, $optParams);
  1319. return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
  1320. }
  1321. }
  1322. /**
  1323. * The "adunits" collection of methods.
  1324. * Typical usage is:
  1325. * <code>
  1326. * $adsenseService = new Google_Service_AdSense(...);
  1327. * $adunits = $adsenseService->adunits;
  1328. * </code>
  1329. */
  1330. class Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource extends Google_Service_Resource
  1331. {
  1332. /**
  1333. * List all ad units in the specified custom channel.
  1334. * (adunits.listAccountsCustomchannelsAdunits)
  1335. *
  1336. * @param string $accountId Account to which the ad client belongs.
  1337. * @param string $adClientId Ad client which contains the custom channel.
  1338. * @param string $customChannelId Custom channel for which to list ad units.
  1339. * @param array $optParams Optional parameters.
  1340. *
  1341. * @opt_param bool includeInactive Whether to include inactive ad units.
  1342. * Default: true.
  1343. * @opt_param int maxResults The maximum number of ad units to include in the
  1344. * response, used for paging.
  1345. * @opt_param string pageToken A continuation token, used to page through ad
  1346. * units. To retrieve the next page, set this parameter to the value of
  1347. * "nextPageToken" from the previous response.
  1348. * @return Google_Service_AdSense_AdUnits
  1349. */
  1350. public function listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array())
  1351. {
  1352. $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
  1353. $params = array_merge($params, $optParams);
  1354. return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
  1355. }
  1356. }
  1357. /**
  1358. * The "payments" collection of methods.
  1359. * Typical usage is:
  1360. * <code>
  1361. * $adsenseService = new Google_Service_AdSense(...);
  1362. * $payments = $adsenseService->payments;
  1363. * </code>
  1364. */
  1365. class Google_Service_AdSense_AccountsPayments_Resource extends Google_Service_Resource
  1366. {
  1367. /**
  1368. * List the payments for the specified AdSense account.
  1369. * (payments.listAccountsPayments)
  1370. *
  1371. * @param string $accountId Account for which to retrieve the payments.
  1372. * @param array $optParams Optional parameters.
  1373. * @return Google_Service_AdSense_Payments
  1374. */
  1375. public function listAccountsPayments($accountId, $optParams = array())
  1376. {
  1377. $params = array('accountId' => $accountId);
  1378. $params = array_merge($params, $optParams);
  1379. return $this->call('list', array($params), "Google_Service_AdSense_Payments");
  1380. }
  1381. }
  1382. /**
  1383. * The "reports" collection of methods.
  1384. * Typical usage is:
  1385. * <code>
  1386. * $adsenseService = new Google_Service_AdSense(...);
  1387. * $reports = $adsenseService->reports;
  1388. * </code>
  1389. */
  1390. class Google_Service_AdSense_AccountsReports_Resource extends Google_Service_Resource
  1391. {
  1392. /**
  1393. * Generate an AdSense report based on the report request sent in the query
  1394. * parameters. Returns the result as JSON; to retrieve output in CSV format
  1395. * specify "alt=csv" as a query parameter. (reports.generate)
  1396. *
  1397. * @param string $accountId Account upon which to report.
  1398. * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
  1399. * format, inclusive.
  1400. * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
  1401. * format, inclusive.
  1402. * @param array $optParams Optional parameters.
  1403. *
  1404. * @opt_param string sort The name of a dimension or metric to sort the
  1405. * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
  1406. * sort descending. If no prefix is specified, the column is sorted ascending.
  1407. * @opt_param string locale Optional locale to use for translating report output
  1408. * to a local language. Defaults to "en_US" if not specified.
  1409. * @opt_param string metric Numeric columns to include in the report.
  1410. * @opt_param int maxResults The maximum number of rows of report data to
  1411. * return.
  1412. * @opt_param string filter Filters to be run on the report.
  1413. * @opt_param string currency Optional currency to use when reporting on
  1414. * monetary metrics. Defaults to the account's currency if not set.
  1415. * @opt_param int startIndex Index of the first row of report data to return.
  1416. * @opt_param bool useTimezoneReporting Whether the report should be generated
  1417. * in the AdSense account's local timezone. If false default PST/PDT timezone
  1418. * will be used.
  1419. * @opt_param string dimension Dimensions to base the report on.
  1420. * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
  1421. */
  1422. public function generate($accountId, $startDate, $endDate, $optParams = array())
  1423. {
  1424. $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
  1425. $params = array_merge($params, $optParams);
  1426. return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
  1427. }
  1428. }
  1429. /**
  1430. * The "saved" collection of methods.
  1431. * Typical usage is:
  1432. * <code>
  1433. * $adsenseService = new Google_Service_AdSense(...);
  1434. * $saved = $adsenseService->saved;
  1435. * </code>
  1436. */
  1437. class Google_Service_AdSense_AccountsReportsSaved_Resource extends Google_Service_Resource
  1438. {
  1439. /**
  1440. * Generate an AdSense report based on the saved report ID sent in the query
  1441. * parameters. (saved.generate)
  1442. *
  1443. * @param string $accountId Account to which the saved reports belong.
  1444. * @param string $savedReportId The saved report to retrieve.
  1445. * @param array $optParams Optional…

Large files files are truncated, but you can click here to view the full file