PageRenderTime 50ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/src/Google/Service/AdSense.php

https://github.com/leogaggl/pluspress
PHP | 3770 lines | 2626 code | 348 blank | 796 comment | 0 complexity | f053cac68ffe2045e42e93dc4c9b5599 MD5 | raw file

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

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