[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> AdSense.php (source)

   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  /**
  19   * Service definition for AdSense (v1.4).
  20   *
  21   * <p>
  22   * Gives AdSense publishers access to their inventory and the ability to generate reports
  23   * </p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://developers.google.com/adsense/management/" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_AdSense extends Google_Service
  33  {
  34    /** View and manage your AdSense data. */
  35    const ADSENSE = "https://www.googleapis.com/auth/adsense";
  36    /** View your AdSense data. */
  37    const ADSENSE_READONLY = "https://www.googleapis.com/auth/adsense.readonly";
  38  
  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  
  66    /**
  67     * Constructs the internal representation of the AdSense service.
  68     *
  69     * @param Google_Client $client
  70     */
  71    public function __construct(Google_Client $client)
  72    {
  73      parent::__construct($client);
  74      $this->servicePath = 'adsense/v1.4/';
  75      $this->version = 'v1.4';
  76      $this->serviceName = 'adsense';
  77  
  78      $this->accounts = new Google_Service_AdSense_Accounts_Resource(
  79          $this,
  80          $this->serviceName,
  81          'accounts',
  82          array(
  83            'methods' => array(
  84              'get' => array(
  85                'path' => 'accounts/{accountId}',
  86                'httpMethod' => 'GET',
  87                'parameters' => array(
  88                  'accountId' => array(
  89                    'location' => 'path',
  90                    'type' => 'string',
  91                    'required' => true,
  92                  ),
  93                  'tree' => array(
  94                    'location' => 'query',
  95                    'type' => 'boolean',
  96                  ),
  97                ),
  98              ),'list' => array(
  99                'path' => 'accounts',
 100                'httpMethod' => 'GET',
 101                'parameters' => array(
 102                  'pageToken' => array(
 103                    'location' => 'query',
 104                    'type' => 'string',
 105                  ),
 106                  'maxResults' => array(
 107                    'location' => 'query',
 108                    'type' => 'integer',
 109                  ),
 110                ),
 111              ),
 112            )
 113          )
 114      );
 115      $this->accounts_adclients = new Google_Service_AdSense_AccountsAdclients_Resource(
 116          $this,
 117          $this->serviceName,
 118          'adclients',
 119          array(
 120            'methods' => array(
 121              'list' => array(
 122                'path' => 'accounts/{accountId}/adclients',
 123                'httpMethod' => 'GET',
 124                'parameters' => array(
 125                  'accountId' => array(
 126                    'location' => 'path',
 127                    'type' => 'string',
 128                    'required' => true,
 129                  ),
 130                  'pageToken' => array(
 131                    'location' => 'query',
 132                    'type' => 'string',
 133                  ),
 134                  'maxResults' => array(
 135                    'location' => 'query',
 136                    'type' => 'integer',
 137                  ),
 138                ),
 139              ),
 140            )
 141          )
 142      );
 143      $this->accounts_adunits = new Google_Service_AdSense_AccountsAdunits_Resource(
 144          $this,
 145          $this->serviceName,
 146          'adunits',
 147          array(
 148            'methods' => array(
 149              'get' => array(
 150                'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}',
 151                'httpMethod' => 'GET',
 152                'parameters' => array(
 153                  'accountId' => array(
 154                    'location' => 'path',
 155                    'type' => 'string',
 156                    'required' => true,
 157                  ),
 158                  'adClientId' => array(
 159                    'location' => 'path',
 160                    'type' => 'string',
 161                    'required' => true,
 162                  ),
 163                  'adUnitId' => array(
 164                    'location' => 'path',
 165                    'type' => 'string',
 166                    'required' => true,
 167                  ),
 168                ),
 169              ),'getAdCode' => array(
 170                'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode',
 171                'httpMethod' => 'GET',
 172                'parameters' => array(
 173                  'accountId' => array(
 174                    'location' => 'path',
 175                    'type' => 'string',
 176                    'required' => true,
 177                  ),
 178                  'adClientId' => array(
 179                    'location' => 'path',
 180                    'type' => 'string',
 181                    'required' => true,
 182                  ),
 183                  'adUnitId' => array(
 184                    'location' => 'path',
 185                    'type' => 'string',
 186                    'required' => true,
 187                  ),
 188                ),
 189              ),'list' => array(
 190                'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits',
 191                'httpMethod' => 'GET',
 192                'parameters' => array(
 193                  'accountId' => array(
 194                    'location' => 'path',
 195                    'type' => 'string',
 196                    'required' => true,
 197                  ),
 198                  'adClientId' => array(
 199                    'location' => 'path',
 200                    'type' => 'string',
 201                    'required' => true,
 202                  ),
 203                  'includeInactive' => array(
 204                    'location' => 'query',
 205                    'type' => 'boolean',
 206                  ),
 207                  'pageToken' => array(
 208                    'location' => 'query',
 209                    'type' => 'string',
 210                  ),
 211                  'maxResults' => array(
 212                    'location' => 'query',
 213                    'type' => 'integer',
 214                  ),
 215                ),
 216              ),
 217            )
 218          )
 219      );
 220      $this->accounts_adunits_customchannels = new Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource(
 221          $this,
 222          $this->serviceName,
 223          'customchannels',
 224          array(
 225            'methods' => array(
 226              'list' => array(
 227                'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels',
 228                'httpMethod' => 'GET',
 229                'parameters' => array(
 230                  'accountId' => array(
 231                    'location' => 'path',
 232                    'type' => 'string',
 233                    'required' => true,
 234                  ),
 235                  'adClientId' => array(
 236                    'location' => 'path',
 237                    'type' => 'string',
 238                    'required' => true,
 239                  ),
 240                  'adUnitId' => array(
 241                    'location' => 'path',
 242                    'type' => 'string',
 243                    'required' => true,
 244                  ),
 245                  'pageToken' => array(
 246                    'location' => 'query',
 247                    'type' => 'string',
 248                  ),
 249                  'maxResults' => array(
 250                    'location' => 'query',
 251                    'type' => 'integer',
 252                  ),
 253                ),
 254              ),
 255            )
 256          )
 257      );
 258      $this->accounts_alerts = new Google_Service_AdSense_AccountsAlerts_Resource(
 259          $this,
 260          $this->serviceName,
 261          'alerts',
 262          array(
 263            'methods' => array(
 264              'delete' => array(
 265                'path' => 'accounts/{accountId}/alerts/{alertId}',
 266                'httpMethod' => 'DELETE',
 267                'parameters' => array(
 268                  'accountId' => array(
 269                    'location' => 'path',
 270                    'type' => 'string',
 271                    'required' => true,
 272                  ),
 273                  'alertId' => array(
 274                    'location' => 'path',
 275                    'type' => 'string',
 276                    'required' => true,
 277                  ),
 278                ),
 279              ),'list' => array(
 280                'path' => 'accounts/{accountId}/alerts',
 281                'httpMethod' => 'GET',
 282                'parameters' => array(
 283                  'accountId' => array(
 284                    'location' => 'path',
 285                    'type' => 'string',
 286                    'required' => true,
 287                  ),
 288                  'locale' => array(
 289                    'location' => 'query',
 290                    'type' => 'string',
 291                  ),
 292                ),
 293              ),
 294            )
 295          )
 296      );
 297      $this->accounts_customchannels = new Google_Service_AdSense_AccountsCustomchannels_Resource(
 298          $this,
 299          $this->serviceName,
 300          'customchannels',
 301          array(
 302            'methods' => array(
 303              'get' => array(
 304                'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}',
 305                'httpMethod' => 'GET',
 306                'parameters' => array(
 307                  'accountId' => array(
 308                    'location' => 'path',
 309                    'type' => 'string',
 310                    'required' => true,
 311                  ),
 312                  'adClientId' => array(
 313                    'location' => 'path',
 314                    'type' => 'string',
 315                    'required' => true,
 316                  ),
 317                  'customChannelId' => array(
 318                    'location' => 'path',
 319                    'type' => 'string',
 320                    'required' => true,
 321                  ),
 322                ),
 323              ),'list' => array(
 324                'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels',
 325                'httpMethod' => 'GET',
 326                'parameters' => array(
 327                  'accountId' => array(
 328                    'location' => 'path',
 329                    'type' => 'string',
 330                    'required' => true,
 331                  ),
 332                  'adClientId' => array(
 333                    'location' => 'path',
 334                    'type' => 'string',
 335                    'required' => true,
 336                  ),
 337                  'pageToken' => array(
 338                    'location' => 'query',
 339                    'type' => 'string',
 340                  ),
 341                  'maxResults' => array(
 342                    'location' => 'query',
 343                    'type' => 'integer',
 344                  ),
 345                ),
 346              ),
 347            )
 348          )
 349      );
 350      $this->accounts_customchannels_adunits = new Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource(
 351          $this,
 352          $this->serviceName,
 353          'adunits',
 354          array(
 355            'methods' => array(
 356              'list' => array(
 357                'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits',
 358                'httpMethod' => 'GET',
 359                'parameters' => array(
 360                  'accountId' => array(
 361                    'location' => 'path',
 362                    'type' => 'string',
 363                    'required' => true,
 364                  ),
 365                  'adClientId' => array(
 366                    'location' => 'path',
 367                    'type' => 'string',
 368                    'required' => true,
 369                  ),
 370                  'customChannelId' => array(
 371                    'location' => 'path',
 372                    'type' => 'string',
 373                    'required' => true,
 374                  ),
 375                  'includeInactive' => array(
 376                    'location' => 'query',
 377                    'type' => 'boolean',
 378                  ),
 379                  'maxResults' => array(
 380                    'location' => 'query',
 381                    'type' => 'integer',
 382                  ),
 383                  'pageToken' => array(
 384                    'location' => 'query',
 385                    'type' => 'string',
 386                  ),
 387                ),
 388              ),
 389            )
 390          )
 391      );
 392      $this->accounts_payments = new Google_Service_AdSense_AccountsPayments_Resource(
 393          $this,
 394          $this->serviceName,
 395          'payments',
 396          array(
 397            'methods' => array(
 398              'list' => array(
 399                'path' => 'accounts/{accountId}/payments',
 400                'httpMethod' => 'GET',
 401                'parameters' => array(
 402                  'accountId' => array(
 403                    'location' => 'path',
 404                    'type' => 'string',
 405                    'required' => true,
 406                  ),
 407                ),
 408              ),
 409            )
 410          )
 411      );
 412      $this->accounts_reports = new Google_Service_AdSense_AccountsReports_Resource(
 413          $this,
 414          $this->serviceName,
 415          'reports',
 416          array(
 417            'methods' => array(
 418              'generate' => array(
 419                'path' => 'accounts/{accountId}/reports',
 420                'httpMethod' => 'GET',
 421                'parameters' => array(
 422                  'accountId' => array(
 423                    'location' => 'path',
 424                    'type' => 'string',
 425                    'required' => true,
 426                  ),
 427                  'startDate' => array(
 428                    'location' => 'query',
 429                    'type' => 'string',
 430                    'required' => true,
 431                  ),
 432                  'endDate' => array(
 433                    'location' => 'query',
 434                    'type' => 'string',
 435                    'required' => true,
 436                  ),
 437                  'sort' => array(
 438                    'location' => 'query',
 439                    'type' => 'string',
 440                    'repeated' => true,
 441                  ),
 442                  'locale' => array(
 443                    'location' => 'query',
 444                    'type' => 'string',
 445                  ),
 446                  'metric' => array(
 447                    'location' => 'query',
 448                    'type' => 'string',
 449                    'repeated' => true,
 450                  ),
 451                  'maxResults' => array(
 452                    'location' => 'query',
 453                    'type' => 'integer',
 454                  ),
 455                  'filter' => array(
 456                    'location' => 'query',
 457                    'type' => 'string',
 458                    'repeated' => true,
 459                  ),
 460                  'currency' => array(
 461                    'location' => 'query',
 462                    'type' => 'string',
 463                  ),
 464                  'startIndex' => array(
 465                    'location' => 'query',
 466                    'type' => 'integer',
 467                  ),
 468                  'useTimezoneReporting' => array(
 469                    'location' => 'query',
 470                    'type' => 'boolean',
 471                  ),
 472                  'dimension' => array(
 473                    'location' => 'query',
 474                    'type' => 'string',
 475                    'repeated' => true,
 476                  ),
 477                ),
 478              ),
 479            )
 480          )
 481      );
 482      $this->accounts_reports_saved = new Google_Service_AdSense_AccountsReportsSaved_Resource(
 483          $this,
 484          $this->serviceName,
 485          'saved',
 486          array(
 487            'methods' => array(
 488              'generate' => array(
 489                'path' => 'accounts/{accountId}/reports/{savedReportId}',
 490                'httpMethod' => 'GET',
 491                'parameters' => array(
 492                  'accountId' => array(
 493                    'location' => 'path',
 494                    'type' => 'string',
 495                    'required' => true,
 496                  ),
 497                  'savedReportId' => array(
 498                    'location' => 'path',
 499                    'type' => 'string',
 500                    'required' => true,
 501                  ),
 502                  'locale' => array(
 503                    'location' => 'query',
 504                    'type' => 'string',
 505                  ),
 506                  'startIndex' => array(
 507                    'location' => 'query',
 508                    'type' => 'integer',
 509                  ),
 510                  'maxResults' => array(
 511                    'location' => 'query',
 512                    'type' => 'integer',
 513                  ),
 514                ),
 515              ),'list' => array(
 516                'path' => 'accounts/{accountId}/reports/saved',
 517                'httpMethod' => 'GET',
 518                'parameters' => array(
 519                  'accountId' => array(
 520                    'location' => 'path',
 521                    'type' => 'string',
 522                    'required' => true,
 523                  ),
 524                  'pageToken' => array(
 525                    'location' => 'query',
 526                    'type' => 'string',
 527                  ),
 528                  'maxResults' => array(
 529                    'location' => 'query',
 530                    'type' => 'integer',
 531                  ),
 532                ),
 533              ),
 534            )
 535          )
 536      );
 537      $this->accounts_savedadstyles = new Google_Service_AdSense_AccountsSavedadstyles_Resource(
 538          $this,
 539          $this->serviceName,
 540          'savedadstyles',
 541          array(
 542            'methods' => array(
 543              'get' => array(
 544                'path' => 'accounts/{accountId}/savedadstyles/{savedAdStyleId}',
 545                'httpMethod' => 'GET',
 546                'parameters' => array(
 547                  'accountId' => array(
 548                    'location' => 'path',
 549                    'type' => 'string',
 550                    'required' => true,
 551                  ),
 552                  'savedAdStyleId' => array(
 553                    'location' => 'path',
 554                    'type' => 'string',
 555                    'required' => true,
 556                  ),
 557                ),
 558              ),'list' => array(
 559                'path' => 'accounts/{accountId}/savedadstyles',
 560                'httpMethod' => 'GET',
 561                'parameters' => array(
 562                  'accountId' => array(
 563                    'location' => 'path',
 564                    'type' => 'string',
 565                    'required' => true,
 566                  ),
 567                  'pageToken' => array(
 568                    'location' => 'query',
 569                    'type' => 'string',
 570                  ),
 571                  'maxResults' => array(
 572                    'location' => 'query',
 573                    'type' => 'integer',
 574                  ),
 575                ),
 576              ),
 577            )
 578          )
 579      );
 580      $this->accounts_urlchannels = new Google_Service_AdSense_AccountsUrlchannels_Resource(
 581          $this,
 582          $this->serviceName,
 583          'urlchannels',
 584          array(
 585            'methods' => array(
 586              'list' => array(
 587                'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels',
 588                'httpMethod' => 'GET',
 589                'parameters' => array(
 590                  'accountId' => array(
 591                    'location' => 'path',
 592                    'type' => 'string',
 593                    'required' => true,
 594                  ),
 595                  'adClientId' => array(
 596                    'location' => 'path',
 597                    'type' => 'string',
 598                    'required' => true,
 599                  ),
 600                  'pageToken' => array(
 601                    'location' => 'query',
 602                    'type' => 'string',
 603                  ),
 604                  'maxResults' => array(
 605                    'location' => 'query',
 606                    'type' => 'integer',
 607                  ),
 608                ),
 609              ),
 610            )
 611          )
 612      );
 613      $this->adclients = new Google_Service_AdSense_Adclients_Resource(
 614          $this,
 615          $this->serviceName,
 616          'adclients',
 617          array(
 618            'methods' => array(
 619              'list' => array(
 620                'path' => 'adclients',
 621                'httpMethod' => 'GET',
 622                'parameters' => array(
 623                  'pageToken' => array(
 624                    'location' => 'query',
 625                    'type' => 'string',
 626                  ),
 627                  'maxResults' => array(
 628                    'location' => 'query',
 629                    'type' => 'integer',
 630                  ),
 631                ),
 632              ),
 633            )
 634          )
 635      );
 636      $this->adunits = new Google_Service_AdSense_Adunits_Resource(
 637          $this,
 638          $this->serviceName,
 639          'adunits',
 640          array(
 641            'methods' => array(
 642              'get' => array(
 643                'path' => 'adclients/{adClientId}/adunits/{adUnitId}',
 644                'httpMethod' => 'GET',
 645                'parameters' => array(
 646                  'adClientId' => array(
 647                    'location' => 'path',
 648                    'type' => 'string',
 649                    'required' => true,
 650                  ),
 651                  'adUnitId' => array(
 652                    'location' => 'path',
 653                    'type' => 'string',
 654                    'required' => true,
 655                  ),
 656                ),
 657              ),'getAdCode' => array(
 658                'path' => 'adclients/{adClientId}/adunits/{adUnitId}/adcode',
 659                'httpMethod' => 'GET',
 660                'parameters' => array(
 661                  'adClientId' => array(
 662                    'location' => 'path',
 663                    'type' => 'string',
 664                    'required' => true,
 665                  ),
 666                  'adUnitId' => array(
 667                    'location' => 'path',
 668                    'type' => 'string',
 669                    'required' => true,
 670                  ),
 671                ),
 672              ),'list' => array(
 673                'path' => 'adclients/{adClientId}/adunits',
 674                'httpMethod' => 'GET',
 675                'parameters' => array(
 676                  'adClientId' => array(
 677                    'location' => 'path',
 678                    'type' => 'string',
 679                    'required' => true,
 680                  ),
 681                  'includeInactive' => array(
 682                    'location' => 'query',
 683                    'type' => 'boolean',
 684                  ),
 685                  'pageToken' => array(
 686                    'location' => 'query',
 687                    'type' => 'string',
 688                  ),
 689                  'maxResults' => array(
 690                    'location' => 'query',
 691                    'type' => 'integer',
 692                  ),
 693                ),
 694              ),
 695            )
 696          )
 697      );
 698      $this->adunits_customchannels = new Google_Service_AdSense_AdunitsCustomchannels_Resource(
 699          $this,
 700          $this->serviceName,
 701          'customchannels',
 702          array(
 703            'methods' => array(
 704              'list' => array(
 705                'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels',
 706                'httpMethod' => 'GET',
 707                'parameters' => array(
 708                  'adClientId' => array(
 709                    'location' => 'path',
 710                    'type' => 'string',
 711                    'required' => true,
 712                  ),
 713                  'adUnitId' => array(
 714                    'location' => 'path',
 715                    'type' => 'string',
 716                    'required' => true,
 717                  ),
 718                  'pageToken' => array(
 719                    'location' => 'query',
 720                    'type' => 'string',
 721                  ),
 722                  'maxResults' => array(
 723                    'location' => 'query',
 724                    'type' => 'integer',
 725                  ),
 726                ),
 727              ),
 728            )
 729          )
 730      );
 731      $this->alerts = new Google_Service_AdSense_Alerts_Resource(
 732          $this,
 733          $this->serviceName,
 734          'alerts',
 735          array(
 736            'methods' => array(
 737              'delete' => array(
 738                'path' => 'alerts/{alertId}',
 739                'httpMethod' => 'DELETE',
 740                'parameters' => array(
 741                  'alertId' => array(
 742                    'location' => 'path',
 743                    'type' => 'string',
 744                    'required' => true,
 745                  ),
 746                ),
 747              ),'list' => array(
 748                'path' => 'alerts',
 749                'httpMethod' => 'GET',
 750                'parameters' => array(
 751                  'locale' => array(
 752                    'location' => 'query',
 753                    'type' => 'string',
 754                  ),
 755                ),
 756              ),
 757            )
 758          )
 759      );
 760      $this->customchannels = new Google_Service_AdSense_Customchannels_Resource(
 761          $this,
 762          $this->serviceName,
 763          'customchannels',
 764          array(
 765            'methods' => array(
 766              'get' => array(
 767                'path' => 'adclients/{adClientId}/customchannels/{customChannelId}',
 768                'httpMethod' => 'GET',
 769                'parameters' => array(
 770                  'adClientId' => array(
 771                    'location' => 'path',
 772                    'type' => 'string',
 773                    'required' => true,
 774                  ),
 775                  'customChannelId' => array(
 776                    'location' => 'path',
 777                    'type' => 'string',
 778                    'required' => true,
 779                  ),
 780                ),
 781              ),'list' => array(
 782                'path' => 'adclients/{adClientId}/customchannels',
 783                'httpMethod' => 'GET',
 784                'parameters' => array(
 785                  'adClientId' => array(
 786                    'location' => 'path',
 787                    'type' => 'string',
 788                    'required' => true,
 789                  ),
 790                  'pageToken' => array(
 791                    'location' => 'query',
 792                    'type' => 'string',
 793                  ),
 794                  'maxResults' => array(
 795                    'location' => 'query',
 796                    'type' => 'integer',
 797                  ),
 798                ),
 799              ),
 800            )
 801          )
 802      );
 803      $this->customchannels_adunits = new Google_Service_AdSense_CustomchannelsAdunits_Resource(
 804          $this,
 805          $this->serviceName,
 806          'adunits',
 807          array(
 808            'methods' => array(
 809              'list' => array(
 810                'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits',
 811                'httpMethod' => 'GET',
 812                'parameters' => array(
 813                  'adClientId' => array(
 814                    'location' => 'path',
 815                    'type' => 'string',
 816                    'required' => true,
 817                  ),
 818                  'customChannelId' => array(
 819                    'location' => 'path',
 820                    'type' => 'string',
 821                    'required' => true,
 822                  ),
 823                  'includeInactive' => array(
 824                    'location' => 'query',
 825                    'type' => 'boolean',
 826                  ),
 827                  'pageToken' => array(
 828                    'location' => 'query',
 829                    'type' => 'string',
 830                  ),
 831                  'maxResults' => array(
 832                    'location' => 'query',
 833                    'type' => 'integer',
 834                  ),
 835                ),
 836              ),
 837            )
 838          )
 839      );
 840      $this->metadata_dimensions = new Google_Service_AdSense_MetadataDimensions_Resource(
 841          $this,
 842          $this->serviceName,
 843          'dimensions',
 844          array(
 845            'methods' => array(
 846              'list' => array(
 847                'path' => 'metadata/dimensions',
 848                'httpMethod' => 'GET',
 849                'parameters' => array(),
 850              ),
 851            )
 852          )
 853      );
 854      $this->metadata_metrics = new Google_Service_AdSense_MetadataMetrics_Resource(
 855          $this,
 856          $this->serviceName,
 857          'metrics',
 858          array(
 859            'methods' => array(
 860              'list' => array(
 861                'path' => 'metadata/metrics',
 862                'httpMethod' => 'GET',
 863                'parameters' => array(),
 864              ),
 865            )
 866          )
 867      );
 868      $this->payments = new Google_Service_AdSense_Payments_Resource(
 869          $this,
 870          $this->serviceName,
 871          'payments',
 872          array(
 873            'methods' => array(
 874              'list' => array(
 875                'path' => 'payments',
 876                'httpMethod' => 'GET',
 877                'parameters' => array(),
 878              ),
 879            )
 880          )
 881      );
 882      $this->reports = new Google_Service_AdSense_Reports_Resource(
 883          $this,
 884          $this->serviceName,
 885          'reports',
 886          array(
 887            'methods' => array(
 888              'generate' => array(
 889                'path' => 'reports',
 890                'httpMethod' => 'GET',
 891                'parameters' => array(
 892                  'startDate' => array(
 893                    'location' => 'query',
 894                    'type' => 'string',
 895                    'required' => true,
 896                  ),
 897                  'endDate' => array(
 898                    'location' => 'query',
 899                    'type' => 'string',
 900                    'required' => true,
 901                  ),
 902                  'sort' => array(
 903                    'location' => 'query',
 904                    'type' => 'string',
 905                    'repeated' => true,
 906                  ),
 907                  'locale' => array(
 908                    'location' => 'query',
 909                    'type' => 'string',
 910                  ),
 911                  'metric' => array(
 912                    'location' => 'query',
 913                    'type' => 'string',
 914                    'repeated' => true,
 915                  ),
 916                  'maxResults' => array(
 917                    'location' => 'query',
 918                    'type' => 'integer',
 919                  ),
 920                  'filter' => array(
 921                    'location' => 'query',
 922                    'type' => 'string',
 923                    'repeated' => true,
 924                  ),
 925                  'currency' => array(
 926                    'location' => 'query',
 927                    'type' => 'string',
 928                  ),
 929                  'startIndex' => array(
 930                    'location' => 'query',
 931                    'type' => 'integer',
 932                  ),
 933                  'useTimezoneReporting' => array(
 934                    'location' => 'query',
 935                    'type' => 'boolean',
 936                  ),
 937                  'dimension' => array(
 938                    'location' => 'query',
 939                    'type' => 'string',
 940                    'repeated' => true,
 941                  ),
 942                  'accountId' => array(
 943                    'location' => 'query',
 944                    'type' => 'string',
 945                    'repeated' => true,
 946                  ),
 947                ),
 948              ),
 949            )
 950          )
 951      );
 952      $this->reports_saved = new Google_Service_AdSense_ReportsSaved_Resource(
 953          $this,
 954          $this->serviceName,
 955          'saved',
 956          array(
 957            'methods' => array(
 958              'generate' => array(
 959                'path' => 'reports/{savedReportId}',
 960                'httpMethod' => 'GET',
 961                'parameters' => array(
 962                  'savedReportId' => array(
 963                    'location' => 'path',
 964                    'type' => 'string',
 965                    'required' => true,
 966                  ),
 967                  'locale' => array(
 968                    'location' => 'query',
 969                    'type' => 'string',
 970                  ),
 971                  'startIndex' => array(
 972                    'location' => 'query',
 973                    'type' => 'integer',
 974                  ),
 975                  'maxResults' => array(
 976                    'location' => 'query',
 977                    'type' => 'integer',
 978                  ),
 979                ),
 980              ),'list' => array(
 981                'path' => 'reports/saved',
 982                'httpMethod' => 'GET',
 983                'parameters' => array(
 984                  'pageToken' => array(
 985                    'location' => 'query',
 986                    'type' => 'string',
 987                  ),
 988                  'maxResults' => array(
 989                    'location' => 'query',
 990                    'type' => 'integer',
 991                  ),
 992                ),
 993              ),
 994            )
 995          )
 996      );
 997      $this->savedadstyles = new Google_Service_AdSense_Savedadstyles_Resource(
 998          $this,
 999          $this->serviceName,
1000          'savedadstyles',
1001          array(
1002            'methods' => array(
1003              'get' => array(
1004                'path' => 'savedadstyles/{savedAdStyleId}',
1005                'httpMethod' => 'GET',
1006                'parameters' => array(
1007                  'savedAdStyleId' => array(
1008                    'location' => 'path',
1009                    'type' => 'string',
1010                    'required' => true,
1011                  ),
1012                ),
1013              ),'list' => array(
1014                'path' => 'savedadstyles',
1015                'httpMethod' => 'GET',
1016                'parameters' => array(
1017                  'pageToken' => array(
1018                    'location' => 'query',
1019                    'type' => 'string',
1020                  ),
1021                  'maxResults' => array(
1022                    'location' => 'query',
1023                    'type' => 'integer',
1024                  ),
1025                ),
1026              ),
1027            )
1028          )
1029      );
1030      $this->urlchannels = new Google_Service_AdSense_Urlchannels_Resource(
1031          $this,
1032          $this->serviceName,
1033          'urlchannels',
1034          array(
1035            'methods' => array(
1036              'list' => array(
1037                'path' => 'adclients/{adClientId}/urlchannels',
1038                'httpMethod' => 'GET',
1039                'parameters' => array(
1040                  'adClientId' => array(
1041                    'location' => 'path',
1042                    'type' => 'string',
1043                    'required' => true,
1044                  ),
1045                  'pageToken' => array(
1046                    'location' => 'query',
1047                    'type' => 'string',
1048                  ),
1049                  'maxResults' => array(
1050                    'location' => 'query',
1051                    'type' => 'integer',
1052                  ),
1053                ),
1054              ),
1055            )
1056          )
1057      );
1058    }
1059  }
1060  
1061  
1062  /**
1063   * The "accounts" collection of methods.
1064   * Typical usage is:
1065   *  <code>
1066   *   $adsenseService = new Google_Service_AdSense(...);
1067   *   $accounts = $adsenseService->accounts;
1068   *  </code>
1069   */
1070  class Google_Service_AdSense_Accounts_Resource extends Google_Service_Resource
1071  {
1072  
1073    /**
1074     * Get information about the selected AdSense account. (accounts.get)
1075     *
1076     * @param string $accountId
1077     * Account to get information about.
1078     * @param array $optParams Optional parameters.
1079     *
1080     * @opt_param bool tree
1081     * Whether the tree of sub accounts should be returned.
1082     * @return Google_Service_AdSense_Account
1083     */
1084    public function get($accountId, $optParams = array())
1085    {
1086      $params = array('accountId' => $accountId);
1087      $params = array_merge($params, $optParams);
1088      return $this->call('get', array($params), "Google_Service_AdSense_Account");
1089    }
1090    /**
1091     * List all accounts available to this AdSense account. (accounts.listAccounts)
1092     *
1093     * @param array $optParams Optional parameters.
1094     *
1095     * @opt_param string pageToken
1096     * A continuation token, used to page through accounts. To retrieve the next page, set this
1097      * parameter to the value of "nextPageToken" from the previous response.
1098     * @opt_param int maxResults
1099     * The maximum number of accounts to include in the response, used for paging.
1100     * @return Google_Service_AdSense_Accounts
1101     */
1102    public function listAccounts($optParams = array())
1103    {
1104      $params = array();
1105      $params = array_merge($params, $optParams);
1106      return $this->call('list', array($params), "Google_Service_AdSense_Accounts");
1107    }
1108  }
1109  
1110  /**
1111   * The "adclients" collection of methods.
1112   * Typical usage is:
1113   *  <code>
1114   *   $adsenseService = new Google_Service_AdSense(...);
1115   *   $adclients = $adsenseService->adclients;
1116   *  </code>
1117   */
1118  class Google_Service_AdSense_AccountsAdclients_Resource extends Google_Service_Resource
1119  {
1120  
1121    /**
1122     * List all ad clients in the specified account.
1123     * (adclients.listAccountsAdclients)
1124     *
1125     * @param string $accountId
1126     * Account for which to list ad clients.
1127     * @param array $optParams Optional parameters.
1128     *
1129     * @opt_param string pageToken
1130     * A continuation token, used to page through ad clients. To retrieve the next page, set this
1131      * parameter to the value of "nextPageToken" from the previous response.
1132     * @opt_param int maxResults
1133     * The maximum number of ad clients to include in the response, used for paging.
1134     * @return Google_Service_AdSense_AdClients
1135     */
1136    public function listAccountsAdclients($accountId, $optParams = array())
1137    {
1138      $params = array('accountId' => $accountId);
1139      $params = array_merge($params, $optParams);
1140      return $this->call('list', array($params), "Google_Service_AdSense_AdClients");
1141    }
1142  }
1143  /**
1144   * The "adunits" collection of methods.
1145   * Typical usage is:
1146   *  <code>
1147   *   $adsenseService = new Google_Service_AdSense(...);
1148   *   $adunits = $adsenseService->adunits;
1149   *  </code>
1150   */
1151  class Google_Service_AdSense_AccountsAdunits_Resource extends Google_Service_Resource
1152  {
1153  
1154    /**
1155     * Gets the specified ad unit in the specified ad client for the specified
1156     * account. (adunits.get)
1157     *
1158     * @param string $accountId
1159     * Account to which the ad client belongs.
1160     * @param string $adClientId
1161     * Ad client for which to get the ad unit.
1162     * @param string $adUnitId
1163     * Ad unit to retrieve.
1164     * @param array $optParams Optional parameters.
1165     * @return Google_Service_AdSense_AdUnit
1166     */
1167    public function get($accountId, $adClientId, $adUnitId, $optParams = array())
1168    {
1169      $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1170      $params = array_merge($params, $optParams);
1171      return $this->call('get', array($params), "Google_Service_AdSense_AdUnit");
1172    }
1173    /**
1174     * Get ad code for the specified ad unit. (adunits.getAdCode)
1175     *
1176     * @param string $accountId
1177     * Account which contains the ad client.
1178     * @param string $adClientId
1179     * Ad client with contains the ad unit.
1180     * @param string $adUnitId
1181     * Ad unit to get the code for.
1182     * @param array $optParams Optional parameters.
1183     * @return Google_Service_AdSense_AdCode
1184     */
1185    public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array())
1186    {
1187      $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1188      $params = array_merge($params, $optParams);
1189      return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode");
1190    }
1191    /**
1192     * List all ad units in the specified ad client for the specified account.
1193     * (adunits.listAccountsAdunits)
1194     *
1195     * @param string $accountId
1196     * Account to which the ad client belongs.
1197     * @param string $adClientId
1198     * Ad client for which to list ad units.
1199     * @param array $optParams Optional parameters.
1200     *
1201     * @opt_param bool includeInactive
1202     * Whether to include inactive ad units. Default: true.
1203     * @opt_param string pageToken
1204     * A continuation token, used to page through ad units. To retrieve the next page, set this
1205      * parameter to the value of "nextPageToken" from the previous response.
1206     * @opt_param int maxResults
1207     * The maximum number of ad units to include in the response, used for paging.
1208     * @return Google_Service_AdSense_AdUnits
1209     */
1210    public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
1211    {
1212      $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
1213      $params = array_merge($params, $optParams);
1214      return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
1215    }
1216  }
1217  
1218  /**
1219   * The "customchannels" collection of methods.
1220   * Typical usage is:
1221   *  <code>
1222   *   $adsenseService = new Google_Service_AdSense(...);
1223   *   $customchannels = $adsenseService->customchannels;
1224   *  </code>
1225   */
1226  class Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource extends Google_Service_Resource
1227  {
1228  
1229    /**
1230     * List all custom channels which the specified ad unit belongs to.
1231     * (customchannels.listAccountsAdunitsCustomchannels)
1232     *
1233     * @param string $accountId
1234     * Account to which the ad client belongs.
1235     * @param string $adClientId
1236     * Ad client which contains the ad unit.
1237     * @param string $adUnitId
1238     * Ad unit for which to list custom channels.
1239     * @param array $optParams Optional parameters.
1240     *
1241     * @opt_param string pageToken
1242     * A continuation token, used to page through custom channels. To retrieve the next page, set this
1243      * parameter to the value of "nextPageToken" from the previous response.
1244     * @opt_param int maxResults
1245     * The maximum number of custom channels to include in the response, used for paging.
1246     * @return Google_Service_AdSense_CustomChannels
1247     */
1248    public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array())
1249    {
1250      $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1251      $params = array_merge($params, $optParams);
1252      return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
1253    }
1254  }
1255  /**
1256   * The "alerts" collection of methods.
1257   * Typical usage is:
1258   *  <code>
1259   *   $adsenseService = new Google_Service_AdSense(...);
1260   *   $alerts = $adsenseService->alerts;
1261   *  </code>
1262   */
1263  class Google_Service_AdSense_AccountsAlerts_Resource extends Google_Service_Resource
1264  {
1265  
1266    /**
1267     * Dismiss (delete) the specified alert from the specified publisher AdSense
1268     * account. (alerts.delete)
1269     *
1270     * @param string $accountId
1271     * Account which contains the ad unit.
1272     * @param string $alertId
1273     * Alert to delete.
1274     * @param array $optParams Optional parameters.
1275     */
1276    public function delete($accountId, $alertId, $optParams = array())
1277    {
1278      $params = array('accountId' => $accountId, 'alertId' => $alertId);
1279      $params = array_merge($params, $optParams);
1280      return $this->call('delete', array($params));
1281    }
1282    /**
1283     * List the alerts for the specified AdSense account.
1284     * (alerts.listAccountsAlerts)
1285     *
1286     * @param string $accountId
1287     * Account for which to retrieve the alerts.
1288     * @param array $optParams Optional parameters.
1289     *
1290     * @opt_param string locale
1291     * The locale to use for translating alert messages. The account locale will be used if this is not
1292      * supplied. The AdSense default (English) will be used if the supplied locale is invalid or
1293      * unsupported.
1294     * @return Google_Service_AdSense_Alerts
1295     */
1296    public function listAccountsAlerts($accountId, $optParams = array())
1297    {
1298      $params = array('accountId' => $accountId);
1299      $params = array_merge($params, $optParams);
1300      return $this->call('list', array($params), "Google_Service_AdSense_Alerts");
1301    }
1302  }
1303  /**
1304   * The "customchannels" collection of methods.
1305   * Typical usage is:
1306   *  <code>
1307   *   $adsenseService = new Google_Service_AdSense(...);
1308   *   $customchannels = $adsenseService->customchannels;
1309   *  </code>
1310   */
1311  class Google_Service_AdSense_AccountsCustomchannels_Resource extends Google_Service_Resource
1312  {
1313  
1314    /**
1315     * Get the specified custom channel from the specified ad client for the
1316     * specified account. (customchannels.get)
1317     *
1318     * @param string $accountId
1319     * Account to which the ad client belongs.
1320     * @param string $adClientId
1321     * Ad client which contains the custom channel.
1322     * @param string $customChannelId
1323     * Custom channel to retrieve.
1324     * @param array $optParams Optional parameters.
1325     * @return Google_Service_AdSense_CustomChannel
1326     */
1327    public function get($accountId, $adClientId, $customChannelId, $optParams = array())
1328    {
1329      $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1330      $params = array_merge($params, $optParams);
1331      return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel");
1332    }
1333    /**
1334     * List all custom channels in the specified ad client for the specified
1335     * account. (customchannels.listAccountsCustomchannels)
1336     *
1337     * @param string $accountId
1338     * Account to which the ad client belongs.
1339     * @param string $adClientId
1340     * Ad client for which to list custom channels.
1341     * @param array $optParams Optional parameters.
1342     *
1343     * @opt_param string pageToken
1344     * A continuation token, used to page through custom channels. To retrieve the next page, set this
1345      * parameter to the value of "nextPageToken" from the previous response.
1346     * @opt_param int maxResults
1347     * The maximum number of custom channels to include in the response, used for paging.
1348     * @return Google_Service_AdSense_CustomChannels
1349     */
1350    public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
1351    {
1352      $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
1353      $params = array_merge($params, $optParams);
1354      return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
1355    }
1356  }
1357  
1358  /**
1359   * The "adunits" collection of methods.
1360   * Typical usage is:
1361   *  <code>
1362   *   $adsenseService = new Google_Service_AdSense(...);
1363   *   $adunits = $adsenseService->adunits;
1364   *  </code>
1365   */
1366  class Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource extends Google_Service_Resource
1367  {
1368  
1369    /**
1370     * List all ad units in the specified custom channel.
1371     * (adunits.listAccountsCustomchannelsAdunits)
1372     *
1373     * @param string $accountId
1374     * Account to which the ad client belongs.
1375     * @param string $adClientId
1376     * Ad client which contains the custom channel.
1377     * @param string $customChannelId
1378     * Custom channel for which to list ad units.
1379     * @param array $optParams Optional parameters.
1380     *
1381     * @opt_param bool includeInactive
1382     * Whether to include inactive ad units. Default: true.
1383     * @opt_param int maxResults
1384     * The maximum number of ad units to include in the response, used for paging.
1385     * @opt_param string pageToken
1386     * A continuation token, used to page through ad units. To retrieve the next page, set this
1387      * parameter to the value of "nextPageToken" from the previous response.
1388     * @return Google_Service_AdSense_AdUnits
1389     */
1390    public function listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array())
1391    {
1392      $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1393      $params = array_merge($params, $optParams);
1394      return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
1395    }
1396  }
1397  /**
1398   * The "payments" collection of methods.
1399   * Typical usage is:
1400   *  <code>
1401   *   $adsenseService = new Google_Service_AdSense(...);
1402   *   $payments = $adsenseService->payments;
1403   *  </code>
1404   */
1405  class Google_Service_AdSense_AccountsPayments_Resource extends Google_Service_Resource
1406  {
1407  
1408    /**
1409     * List the payments for the specified AdSense account.
1410     * (payments.listAccountsPayments)
1411     *
1412     * @param string $accountId
1413     * Account for which to retrieve the payments.
1414     * @param array $optParams Optional parameters.
1415     * @return Google_Service_AdSense_Payments
1416     */
1417    public function listAccountsPayments($accountId, $optParams = array())
1418    {
1419      $params = array('accountId' => $accountId);
1420      $params = array_merge($params, $optParams);
1421      return $this->call('list', array($params), "Google_Service_AdSense_Payments");
1422    }
1423  }
1424  /**
1425   * The "reports" collection of methods.
1426   * Typical usage is:
1427   *  <code>
1428   *   $adsenseService = new Google_Service_AdSense(...);
1429   *   $reports = $adsenseService->reports;
1430   *  </code>
1431   */
1432  class Google_Service_AdSense_AccountsReports_Resource extends Google_Service_Resource
1433  {
1434  
1435    /**
1436     * Generate an AdSense report based on the report request sent in the query
1437     * parameters. Returns the result as JSON; to retrieve output in CSV format
1438     * specify "alt=csv" as a query parameter. (reports.generate)
1439     *
1440     * @param string $accountId
1441     * Account upon which to report.
1442     * @param string $startDate
1443     * Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
1444     * @param string $endDate
1445     * End of the date range to report on in "YYYY-MM-DD" format, inclusive.
1446     * @param array $optParams Optional parameters.
1447     *
1448     * @opt_param string sort
1449     * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+"
1450      * to sort ascending or "-" to sort descending. If no prefix is specified, the column is sorted
1451      * ascending.
1452     * @opt_param string locale
1453     * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
1454      * not specified.
1455     * @opt_param string metric
1456     * Numeric columns to include in the report.
1457     * @opt_param int maxResults
1458     * The maximum number of rows of report data to return.
1459     * @opt_param string filter
1460     * Filters to be run on the report.
1461     * @opt_param string currency
1462     * Optional currency to use when reporting on monetary metrics. Defaults to the account's currency
1463      * if not set.
1464     * @opt_param int startIndex
1465     * Index of the first row of report data to return.
1466     * @opt_param bool useTimezoneReporting
1467     * Whether the report should be generated in the AdSense account's local timezone. If false default
1468      * PST/PDT timezone will be used.
1469     * @opt_param string dimension
1470     * Dimensions to base the report on.
1471     * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
1472     */
1473    public function generate($accountId, $startDate, $endDate, $optParams = array())
1474    {
1475      $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
1476      $params = array_merge($params, $optParams);
1477      return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
1478    }
1479  }
1480  
1481  /**
1482   * The "saved" collection of methods.
1483   * Typical usage is:
1484   *  <code>
1485   *   $adsenseService = new Google_Service_AdSense(...);
1486   *   $saved = $adsenseService->saved;
1487   *  </code>
1488   */
1489  class Google_Service_AdSense_AccountsReportsSaved_Resource extends Google_Service_Resource
1490  {
1491  
1492    /**
1493     * Generate an AdSense report based on the saved report ID sent in the query
1494     * parameters. (saved.generate)
1495     *
1496     * @param string $accountId
1497     * Account to which the saved reports belong.
1498     * @param string $savedReportId
1499     * The saved report to retrieve.
1500     * @param array $optParams Optional parameters.
1501     *
1502     * @opt_param string locale
1503     * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
1504      * not specified.
1505     * @opt_param int startIndex
1506     * Index of the first row of report data to return.
1507     * @opt_param int maxResults
1508     * The maximum number of rows of report data to return.
1509     * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
1510     */
1511    public function generate($accountId, $savedReportId, $optParams = array())
1512    {
1513      $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId);
1514      $params = array_merge($params, $optParams);
1515      return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
1516    }
1517    /**
1518     * List all saved reports in the specified AdSense account.
1519     * (saved.listAccountsReportsSaved)
1520     *
1521     * @param string $accountId
1522     * Account to which the saved reports belong.
1523     * @param array $optParams Optional parameters.
1524     *
1525     * @opt_param string pageToken
1526     * A continuation token, used to page through saved reports. To retrieve the next page, set this
1527      * parameter to the value of "nextPageToken" from the previous response.
1528     * @opt_param int maxResults
1529     * The maximum number of saved reports to include in the response, used for paging.
1530     * @return Google_Service_AdSense_SavedReports
1531     */
1532    public function listAccountsReportsSaved($accountId, $optParams = array())
1533    {
1534      $params = array('accountId' => $accountId);
1535      $params = array_merge($params, $optParams);
1536      return $this->call('list', array($params), "Google_Service_AdSense_SavedReports");
1537    }
1538  }
1539  /**
1540   * The "savedadstyles" collection of methods.
1541   * Typical usage is:
1542   *  <code>
1543   *   $adsenseService = new Google_Service_AdSense(...);
1544   *   $savedadstyles = $adsenseService->savedadstyles;
1545   *  </code>
1546   */
1547  class Google_Service_AdSense_AccountsSavedadstyles_Resource extends Google_Service_Resource
1548  {
1549  
1550    /**
1551     * List a specific saved ad style for the specified account. (savedadstyles.get)
1552     *
1553     * @param string $accountId
1554     * Account for which to get the saved ad style.
1555     * @param string $savedAdStyleId
1556     * Saved ad style to retrieve.
1557     * @param array $optParams Optional parameters.
1558     * @return Google_Service_AdSense_SavedAdStyle
1559     */
1560    public function get($accountId, $savedAdStyleId, $optParams = array())
1561    {
1562      $params = array('accountId' => $accountId, 'savedAdStyleId' => $savedAdStyleId);
1563      $params = array_merge($params, $optParams);
1564      return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle");
1565    }
1566    /**
1567     * List all saved ad styles in the specified account.
1568     * (savedadstyles.listAccountsSavedadstyles)
1569     *
1570     * @param string $accountId
1571     * Account for which to list saved ad styles.
1572     * @param array $optParams Optional parameters.
1573     *
1574     * @opt_param string pageToken
1575     * A continuation token, used to page through saved ad styles. To retrieve the next page, set this
1576      * parameter to the value of "nextPageToken" from the previous response.
1577     * @opt_param int maxResults
1578     * The maximum number of saved ad styles to include in the response, used for paging.
1579     * @return Google_Service_AdSense_SavedAdStyles
1580     */
1581    public function listAccountsSavedadstyles($accountId, $optParams = array())
1582    {
1583      $params = array('accountId' => $accountId);
1584      $params = array_merge($params, $optParams);
1585      return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles");
1586    }
1587  }
1588  /**
1589   * The "urlchannels" collection of methods.
1590   * Typical usage is:
1591   *  <code>
1592   *   $adsenseService = new Google_Service_AdSense(...);
1593   *   $urlchannels = $adsenseService->urlchannels;
1594   *  </code>
1595   */
1596  class Google_Service_AdSense_AccountsUrlchannels_Resource extends Google_Service_Resource
1597  {
1598  
1599    /**
1600     * List all URL channels in the specified ad client for the specified account.
1601     * (urlchannels.listAccountsUrlchannels)
1602     *
1603     * @param string $accountId
1604     * Account to which the ad client belongs.
1605     * @param string $adClientId
1606     * Ad client for which to list URL channels.
1607     * @param array $optParams Optional parameters.
1608     *
1609     * @opt_param string pageToken
1610     * A continuation token, used to page through URL channels. To retrieve the next page, set this
1611      * parameter to the value of "nextPageToken" from the previous response.
1612     * @opt_param int maxResults
1613     * The maximum number of URL channels to include in the response, used for paging.
1614     * @return Google_Service_AdSense_UrlChannels
1615     */
1616    public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
1617    {
1618      $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
1619      $params = array_merge($params, $optParams);
1620      return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels");
1621    }
1622  }
1623  
1624  /**
1625   * The "adclients" collection of methods.
1626   * Typical usage is:
1627   *  <code>
1628   *   $adsenseService = new Google_Service_AdSense(...);
1629   *   $adclients = $adsenseService->adclients;
1630   *  </code>
1631   */
1632  class Google_Service_AdSense_Adclients_Resource extends Google_Service_Resource
1633  {
1634  
1635    /**
1636     * List all ad clients in this AdSense account. (adclients.listAdclients)
1637     *
1638     * @param array $optParams Optional parameters.
1639     *
1640     * @opt_param string pageToken
1641     * A continuation token, used to page through ad clients. To retrieve the next page, set this
1642      * parameter to the value of "nextPageToken" from the previous response.
1643     * @opt_param int maxResults
1644     * The maximum number of ad clients to include in the response, used for paging.
1645     * @return Google_Service_AdSense_AdClients
1646     */
1647    public function listAdclients($optParams = array())
1648    {
1649      $params = array();
1650      $params = array_merge($params, $optParams);
1651      return $this->call('list', array($params), "Google_Service_AdSense_AdClients");
1652    }
1653  }
1654  
1655  /**
1656   * The "adunits" collection of methods.
1657   * Typical usage is:
1658   *  <code>
1659   *   $adsenseService = new Google_Service_AdSense(...);
1660   *   $adunits = $adsenseService->adunits;
1661   *  </code>
1662   */
1663  class Google_Service_AdSense_Adunits_Resource extends Google_Service_Resource
1664  {
1665  
1666    /**
1667     * Gets the specified ad unit in the specified ad client. (adunits.get)
1668     *
1669     * @param string $adClientId
1670     * Ad client for which to get the ad unit.
1671     * @param string $adUnitId
1672     * Ad unit to retrieve.
1673     * @param array $optParams Optional parameters.
1674     * @return Google_Service_AdSense_AdUnit
1675     */
1676    public function get($adClientId, $adUnitId, $optParams = array())
1677    {
1678      $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1679      $params = array_merge($params, $optParams);
1680      return $this->call('get', array($params), "Google_Service_AdSense_AdUnit");
1681    }
1682    /**
1683     * Get ad code for the specified ad unit. (adunits.getAdCode)
1684     *
1685     * @param string $adClientId
1686     * Ad client with contains the ad unit.
1687     * @param string $adUnitId
1688     * Ad unit to get the code for.
1689     * @param array $optParams Optional parameters.
1690     * @return Google_Service_AdSense_AdCode
1691     */
1692    public function getAdCode($adClientId, $adUnitId, $optParams = array())
1693    {
1694      $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1695      $params = array_merge($params, $optParams);
1696      return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode");
1697    }
1698    /**
1699     * List all ad units in the specified ad client for this AdSense account.
1700     * (adunits.listAdunits)
1701     *
1702     * @param string $adClientId
1703     * Ad client for which to list ad units.
1704     * @param array $optParams Optional parameters.
1705     *
1706     * @opt_param bool includeInactive
1707     * Whether to include inactive ad units. Default: true.
1708     * @opt_param string pageToken
1709     * A continuation token, used to page through ad units. To retrieve the next page, set this
1710      * parameter to the value of "nextPageToken" from the previous response.
1711     * @opt_param int maxResults
1712     * The maximum number of ad units to include in the response, used for paging.
1713     * @return Google_Service_AdSense_AdUnits
1714     */
1715    public function listAdunits($adClientId, $optParams = array())
1716    {
1717      $params = array('adClientId' => $adClientId);
1718      $params = array_merge($params, $optParams);
1719      return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
1720    }
1721  }
1722  
1723  /**
1724   * The "customchannels" collection of methods.
1725   * Typical usage is:
1726   *  <code>
1727   *   $adsenseService = new Google_Service_AdSense(...);
1728   *   $customchannels = $adsenseService->customchannels;
1729   *  </code>
1730   */
1731  class Google_Service_AdSense_AdunitsCustomchannels_Resource extends Google_Service_Resource
1732  {
1733  
1734    /**
1735     * List all custom channels which the specified ad unit belongs to.
1736     * (customchannels.listAdunitsCustomchannels)
1737     *
1738     * @param string $adClientId
1739     * Ad client which contains the ad unit.
1740     * @param string $adUnitId
1741     * Ad unit for which to list custom channels.
1742     * @param array $optParams Optional parameters.
1743     *
1744     * @opt_param string pageToken
1745     * A continuation token, used to page through custom channels. To retrieve the next page, set this
1746      * parameter to the value of "nextPageToken" from the previous response.
1747     * @opt_param int maxResults
1748     * The maximum number of custom channels to include in the response, used for paging.
1749     * @return Google_Service_AdSense_CustomChannels
1750     */
1751    public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array())
1752    {
1753      $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
1754      $params = array_merge($params, $optParams);
1755      return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
1756    }
1757  }
1758  
1759  /**
1760   * The "alerts" collection of methods.
1761   * Typical usage is:
1762   *  <code>
1763   *   $adsenseService = new Google_Service_AdSense(...);
1764   *   $alerts = $adsenseService->alerts;
1765   *  </code>
1766   */
1767  class Google_Service_AdSense_Alerts_Resource extends Google_Service_Resource
1768  {
1769  
1770    /**
1771     * Dismiss (delete) the specified alert from the publisher's AdSense account.
1772     * (alerts.delete)
1773     *
1774     * @param string $alertId
1775     * Alert to delete.
1776     * @param array $optParams Optional parameters.
1777     */
1778    public function delete($alertId, $optParams = array())
1779    {
1780      $params = array('alertId' => $alertId);
1781      $params = array_merge($params, $optParams);
1782      return $this->call('delete', array($params));
1783    }
1784    /**
1785     * List the alerts for this AdSense account. (alerts.listAlerts)
1786     *
1787     * @param array $optParams Optional parameters.
1788     *
1789     * @opt_param string locale
1790     * The locale to use for translating alert messages. The account locale will be used if this is not
1791      * supplied. The AdSense default (English) will be used if the supplied locale is invalid or
1792      * unsupported.
1793     * @return Google_Service_AdSense_Alerts
1794     */
1795    public function listAlerts($optParams = array())
1796    {
1797      $params = array();
1798      $params = array_merge($params, $optParams);
1799      return $this->call('list', array($params), "Google_Service_AdSense_Alerts");
1800    }
1801  }
1802  
1803  /**
1804   * The "customchannels" collection of methods.
1805   * Typical usage is:
1806   *  <code>
1807   *   $adsenseService = new Google_Service_AdSense(...);
1808   *   $customchannels = $adsenseService->customchannels;
1809   *  </code>
1810   */
1811  class Google_Service_AdSense_Customchannels_Resource extends Google_Service_Resource
1812  {
1813  
1814    /**
1815     * Get the specified custom channel from the specified ad client.
1816     * (customchannels.get)
1817     *
1818     * @param string $adClientId
1819     * Ad client which contains the custom channel.
1820     * @param string $customChannelId
1821     * Custom channel to retrieve.
1822     * @param array $optParams Optional parameters.
1823     * @return Google_Service_AdSense_CustomChannel
1824     */
1825    public function get($adClientId, $customChannelId, $optParams = array())
1826    {
1827      $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1828      $params = array_merge($params, $optParams);
1829      return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel");
1830    }
1831    /**
1832     * List all custom channels in the specified ad client for this AdSense account.
1833     * (customchannels.listCustomchannels)
1834     *
1835     * @param string $adClientId
1836     * Ad client for which to list custom channels.
1837     * @param array $optParams Optional parameters.
1838     *
1839     * @opt_param string pageToken
1840     * A continuation token, used to page through custom channels. To retrieve the next page, set this
1841      * parameter to the value of "nextPageToken" from the previous response.
1842     * @opt_param int maxResults
1843     * The maximum number of custom channels to include in the response, used for paging.
1844     * @return Google_Service_AdSense_CustomChannels
1845     */
1846    public function listCustomchannels($adClientId, $optParams = array())
1847    {
1848      $params = array('adClientId' => $adClientId);
1849      $params = array_merge($params, $optParams);
1850      return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");
1851    }
1852  }
1853  
1854  /**
1855   * The "adunits" collection of methods.
1856   * Typical usage is:
1857   *  <code>
1858   *   $adsenseService = new Google_Service_AdSense(...);
1859   *   $adunits = $adsenseService->adunits;
1860   *  </code>
1861   */
1862  class Google_Service_AdSense_CustomchannelsAdunits_Resource extends Google_Service_Resource
1863  {
1864  
1865    /**
1866     * List all ad units in the specified custom channel.
1867     * (adunits.listCustomchannelsAdunits)
1868     *
1869     * @param string $adClientId
1870     * Ad client which contains the custom channel.
1871     * @param string $customChannelId
1872     * Custom channel for which to list ad units.
1873     * @param array $optParams Optional parameters.
1874     *
1875     * @opt_param bool includeInactive
1876     * Whether to include inactive ad units. Default: true.
1877     * @opt_param string pageToken
1878     * A continuation token, used to page through ad units. To retrieve the next page, set this
1879      * parameter to the value of "nextPageToken" from the previous response.
1880     * @opt_param int maxResults
1881     * The maximum number of ad units to include in the response, used for paging.
1882     * @return Google_Service_AdSense_AdUnits
1883     */
1884    public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array())
1885    {
1886      $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
1887      $params = array_merge($params, $optParams);
1888      return $this->call('list', array($params), "Google_Service_AdSense_AdUnits");
1889    }
1890  }
1891  
1892  /**
1893   * The "metadata" collection of methods.
1894   * Typical usage is:
1895   *  <code>
1896   *   $adsenseService = new Google_Service_AdSense(...);
1897   *   $metadata = $adsenseService->metadata;
1898   *  </code>
1899   */
1900  class Google_Service_AdSense_Metadata_Resource extends Google_Service_Resource
1901  {
1902  
1903  }
1904  
1905  /**
1906   * The "dimensions" collection of methods.
1907   * Typical usage is:
1908   *  <code>
1909   *   $adsenseService = new Google_Service_AdSense(...);
1910   *   $dimensions = $adsenseService->dimensions;
1911   *  </code>
1912   */
1913  class Google_Service_AdSense_MetadataDimensions_Resource extends Google_Service_Resource
1914  {
1915  
1916    /**
1917     * List the metadata for the dimensions available to this AdSense account.
1918     * (dimensions.listMetadataDimensions)
1919     *
1920     * @param array $optParams Optional parameters.
1921     * @return Google_Service_AdSense_Metadata
1922     */
1923    public function listMetadataDimensions($optParams = array())
1924    {
1925      $params = array();
1926      $params = array_merge($params, $optParams);
1927      return $this->call('list', array($params), "Google_Service_AdSense_Metadata");
1928    }
1929  }
1930  /**
1931   * The "metrics" collection of methods.
1932   * Typical usage is:
1933   *  <code>
1934   *   $adsenseService = new Google_Service_AdSense(...);
1935   *   $metrics = $adsenseService->metrics;
1936   *  </code>
1937   */
1938  class Google_Service_AdSense_MetadataMetrics_Resource extends Google_Service_Resource
1939  {
1940  
1941    /**
1942     * List the metadata for the metrics available to this AdSense account.
1943     * (metrics.listMetadataMetrics)
1944     *
1945     * @param array $optParams Optional parameters.
1946     * @return Google_Service_AdSense_Metadata
1947     */
1948    public function listMetadataMetrics($optParams = array())
1949    {
1950      $params = array();
1951      $params = array_merge($params, $optParams);
1952      return $this->call('list', array($params), "Google_Service_AdSense_Metadata");
1953    }
1954  }
1955  
1956  /**
1957   * The "payments" collection of methods.
1958   * Typical usage is:
1959   *  <code>
1960   *   $adsenseService = new Google_Service_AdSense(...);
1961   *   $payments = $adsenseService->payments;
1962   *  </code>
1963   */
1964  class Google_Service_AdSense_Payments_Resource extends Google_Service_Resource
1965  {
1966  
1967    /**
1968     * List the payments for this AdSense account. (payments.listPayments)
1969     *
1970     * @param array $optParams Optional parameters.
1971     * @return Google_Service_AdSense_Payments
1972     */
1973    public function listPayments($optParams = array())
1974    {
1975      $params = array();
1976      $params = array_merge($params, $optParams);
1977      return $this->call('list', array($params), "Google_Service_AdSense_Payments");
1978    }
1979  }
1980  
1981  /**
1982   * The "reports" collection of methods.
1983   * Typical usage is:
1984   *  <code>
1985   *   $adsenseService = new Google_Service_AdSense(...);
1986   *   $reports = $adsenseService->reports;
1987   *  </code>
1988   */
1989  class Google_Service_AdSense_Reports_Resource extends Google_Service_Resource
1990  {
1991  
1992    /**
1993     * Generate an AdSense report based on the report request sent in the query
1994     * parameters. Returns the result as JSON; to retrieve output in CSV format
1995     * specify "alt=csv" as a query parameter. (reports.generate)
1996     *
1997     * @param string $startDate
1998     * Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
1999     * @param string $endDate
2000     * End of the date range to report on in "YYYY-MM-DD" format, inclusive.
2001     * @param array $optParams Optional parameters.
2002     *
2003     * @opt_param string sort
2004     * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+"
2005      * to sort ascending or "-" to sort descending. If no prefix is specified, the column is sorted
2006      * ascending.
2007     * @opt_param string locale
2008     * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
2009      * not specified.
2010     * @opt_param string metric
2011     * Numeric columns to include in the report.
2012     * @opt_param int maxResults
2013     * The maximum number of rows of report data to return.
2014     * @opt_param string filter
2015     * Filters to be run on the report.
2016     * @opt_param string currency
2017     * Optional currency to use when reporting on monetary metrics. Defaults to the account's currency
2018      * if not set.
2019     * @opt_param int startIndex
2020     * Index of the first row of report data to return.
2021     * @opt_param bool useTimezoneReporting
2022     * Whether the report should be generated in the AdSense account's local timezone. If false default
2023      * PST/PDT timezone will be used.
2024     * @opt_param string dimension
2025     * Dimensions to base the report on.
2026     * @opt_param string accountId
2027     * Accounts upon which to report.
2028     * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
2029     */
2030    public function generate($startDate, $endDate, $optParams = array())
2031    {
2032      $params = array('startDate' => $startDate, 'endDate' => $endDate);
2033      $params = array_merge($params, $optParams);
2034      return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
2035    }
2036  }
2037  
2038  /**
2039   * The "saved" collection of methods.
2040   * Typical usage is:
2041   *  <code>
2042   *   $adsenseService = new Google_Service_AdSense(...);
2043   *   $saved = $adsenseService->saved;
2044   *  </code>
2045   */
2046  class Google_Service_AdSense_ReportsSaved_Resource extends Google_Service_Resource
2047  {
2048  
2049    /**
2050     * Generate an AdSense report based on the saved report ID sent in the query
2051     * parameters. (saved.generate)
2052     *
2053     * @param string $savedReportId
2054     * The saved report to retrieve.
2055     * @param array $optParams Optional parameters.
2056     *
2057     * @opt_param string locale
2058     * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
2059      * not specified.
2060     * @opt_param int startIndex
2061     * Index of the first row of report data to return.
2062     * @opt_param int maxResults
2063     * The maximum number of rows of report data to return.
2064     * @return Google_Service_AdSense_AdsenseReportsGenerateResponse
2065     */
2066    public function generate($savedReportId, $optParams = array())
2067    {
2068      $params = array('savedReportId' => $savedReportId);
2069      $params = array_merge($params, $optParams);
2070      return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse");
2071    }
2072    /**
2073     * List all saved reports in this AdSense account. (saved.listReportsSaved)
2074     *
2075     * @param array $optParams Optional parameters.
2076     *
2077     * @opt_param string pageToken
2078     * A continuation token, used to page through saved reports. To retrieve the next page, set this
2079      * parameter to the value of "nextPageToken" from the previous response.
2080     * @opt_param int maxResults
2081     * The maximum number of saved reports to include in the response, used for paging.
2082     * @return Google_Service_AdSense_SavedReports
2083     */
2084    public function listReportsSaved($optParams = array())
2085    {
2086      $params = array();
2087      $params = array_merge($params, $optParams);
2088      return $this->call('list', array($params), "Google_Service_AdSense_SavedReports");
2089    }
2090  }
2091  
2092  /**
2093   * The "savedadstyles" collection of methods.
2094   * Typical usage is:
2095   *  <code>
2096   *   $adsenseService = new Google_Service_AdSense(...);
2097   *   $savedadstyles = $adsenseService->savedadstyles;
2098   *  </code>
2099   */
2100  class Google_Service_AdSense_Savedadstyles_Resource extends Google_Service_Resource
2101  {
2102  
2103    /**
2104     * Get a specific saved ad style from the user's account. (savedadstyles.get)
2105     *
2106     * @param string $savedAdStyleId
2107     * Saved ad style to retrieve.
2108     * @param array $optParams Optional parameters.
2109     * @return Google_Service_AdSense_SavedAdStyle
2110     */
2111    public function get($savedAdStyleId, $optParams = array())
2112    {
2113      $params = array('savedAdStyleId' => $savedAdStyleId);
2114      $params = array_merge($params, $optParams);
2115      return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle");
2116    }
2117    /**
2118     * List all saved ad styles in the user's account.
2119     * (savedadstyles.listSavedadstyles)
2120     *
2121     * @param array $optParams Optional parameters.
2122     *
2123     * @opt_param string pageToken
2124     * A continuation token, used to page through saved ad styles. To retrieve the next page, set this
2125      * parameter to the value of "nextPageToken" from the previous response.
2126     * @opt_param int maxResults
2127     * The maximum number of saved ad styles to include in the response, used for paging.
2128     * @return Google_Service_AdSense_SavedAdStyles
2129     */
2130    public function listSavedadstyles($optParams = array())
2131    {
2132      $params = array();
2133      $params = array_merge($params, $optParams);
2134      return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles");
2135    }
2136  }
2137  
2138  /**
2139   * The "urlchannels" collection of methods.
2140   * Typical usage is:
2141   *  <code>
2142   *   $adsenseService = new Google_Service_AdSense(...);
2143   *   $urlchannels = $adsenseService->urlchannels;
2144   *  </code>
2145   */
2146  class Google_Service_AdSense_Urlchannels_Resource extends Google_Service_Resource
2147  {
2148  
2149    /**
2150     * List all URL channels in the specified ad client for this AdSense account.
2151     * (urlchannels.listUrlchannels)
2152     *
2153     * @param string $adClientId
2154     * Ad client for which to list URL channels.
2155     * @param array $optParams Optional parameters.
2156     *
2157     * @opt_param string pageToken
2158     * A continuation token, used to page through URL channels. To retrieve the next page, set this
2159      * parameter to the value of "nextPageToken" from the previous response.
2160     * @opt_param int maxResults
2161     * The maximum number of URL channels to include in the response, used for paging.
2162     * @return Google_Service_AdSense_UrlChannels
2163     */
2164    public function listUrlchannels($adClientId, $optParams = array())
2165    {
2166      $params = array('adClientId' => $adClientId);
2167      $params = array_merge($params, $optParams);
2168      return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels");
2169    }
2170  }
2171  
2172  
2173  
2174  
2175  class Google_Service_AdSense_Account extends Google_Collection
2176  {
2177    protected $collection_key = 'subAccounts';
2178    public $id;
2179    public $kind;
2180    public $name;
2181    public $premium;
2182    protected $subAccountsType = 'Google_Service_AdSense_Account';
2183    protected $subAccountsDataType = 'array';
2184    public $timezone;
2185  
2186    public function setId($id)
2187    {
2188      $this->id = $id;
2189    }
2190  
2191    public function getId()
2192    {
2193      return $this->id;
2194    }
2195  
2196    public function setKind($kind)
2197    {
2198      $this->kind = $kind;
2199    }
2200  
2201    public function getKind()
2202    {
2203      return $this->kind;
2204    }
2205  
2206    public function setName($name)
2207    {
2208      $this->name = $name;
2209    }
2210  
2211    public function getName()
2212    {
2213      return $this->name;
2214    }
2215  
2216    public function setPremium($premium)
2217    {
2218      $this->premium = $premium;
2219    }
2220  
2221    public function getPremium()
2222    {
2223      return $this->premium;
2224    }
2225  
2226    public function setSubAccounts($subAccounts)
2227    {
2228      $this->subAccounts = $subAccounts;
2229    }
2230  
2231    public function getSubAccounts()
2232    {
2233      return $this->subAccounts;
2234    }
2235  
2236    public function setTimezone($timezone)
2237    {
2238      $this->timezone = $timezone;
2239    }
2240  
2241    public function getTimezone()
2242    {
2243      return $this->timezone;
2244    }
2245  }
2246  
2247  class Google_Service_AdSense_Accounts extends Google_Collection
2248  {
2249    protected $collection_key = 'items';
2250    public $etag;
2251    protected $itemsType = 'Google_Service_AdSense_Account';
2252    protected $itemsDataType = 'array';
2253    public $kind;
2254    public $nextPageToken;
2255  
2256    public function setEtag($etag)
2257    {
2258      $this->etag = $etag;
2259    }
2260  
2261    public function getEtag()
2262    {
2263      return $this->etag;
2264    }
2265  
2266    public function setItems($items)
2267    {
2268      $this->items = $items;
2269    }
2270  
2271    public function getItems()
2272    {
2273      return $this->items;
2274    }
2275  
2276    public function setKind($kind)
2277    {
2278      $this->kind = $kind;
2279    }
2280  
2281    public function getKind()
2282    {
2283      return $this->kind;
2284    }
2285  
2286    public function setNextPageToken($nextPageToken)
2287    {
2288      $this->nextPageToken = $nextPageToken;
2289    }
2290  
2291    public function getNextPageToken()
2292    {
2293      return $this->nextPageToken;
2294    }
2295  }
2296  
2297  class Google_Service_AdSense_AdClient extends Google_Model
2298  {
2299    public $arcOptIn;
2300    public $arcReviewMode;
2301    public $id;
2302    public $kind;
2303    public $productCode;
2304    public $supportsReporting;
2305  
2306    public function setArcOptIn($arcOptIn)
2307    {
2308      $this->arcOptIn = $arcOptIn;
2309    }
2310  
2311    public function getArcOptIn()
2312    {
2313      return $this->arcOptIn;
2314    }
2315  
2316    public function setArcReviewMode($arcReviewMode)
2317    {
2318      $this->arcReviewMode = $arcReviewMode;
2319    }
2320  
2321    public function getArcReviewMode()
2322    {
2323      return $this->arcReviewMode;
2324    }
2325  
2326    public function setId($id)
2327    {
2328      $this->id = $id;
2329    }
2330  
2331    public function getId()
2332    {
2333      return $this->id;
2334    }
2335  
2336    public function setKind($kind)
2337    {
2338      $this->kind = $kind;
2339    }
2340  
2341    public function getKind()
2342    {
2343      return $this->kind;
2344    }
2345  
2346    public function setProductCode($productCode)
2347    {
2348      $this->productCode = $productCode;
2349    }
2350  
2351    public function getProductCode()
2352    {
2353      return $this->productCode;
2354    }
2355  
2356    public function setSupportsReporting($supportsReporting)
2357    {
2358      $this->supportsReporting = $supportsReporting;
2359    }
2360  
2361    public function getSupportsReporting()
2362    {
2363      return $this->supportsReporting;
2364    }
2365  }
2366  
2367  class Google_Service_AdSense_AdClients extends Google_Collection
2368  {
2369    protected $collection_key = 'items';
2370    public $etag;
2371    protected $itemsType = 'Google_Service_AdSense_AdClient';
2372    protected $itemsDataType = 'array';
2373    public $kind;
2374    public $nextPageToken;
2375  
2376    public function setEtag($etag)
2377    {
2378      $this->etag = $etag;
2379    }
2380  
2381    public function getEtag()
2382    {
2383      return $this->etag;
2384    }
2385  
2386    public function setItems($items)
2387    {
2388      $this->items = $items;
2389    }
2390  
2391    public function getItems()
2392    {
2393      return $this->items;
2394    }
2395  
2396    public function setKind($kind)
2397    {
2398      $this->kind = $kind;
2399    }
2400  
2401    public function getKind()
2402    {
2403      return $this->kind;
2404    }
2405  
2406    public function setNextPageToken($nextPageToken)
2407    {
2408      $this->nextPageToken = $nextPageToken;
2409    }
2410  
2411    public function getNextPageToken()
2412    {
2413      return $this->nextPageToken;
2414    }
2415  }
2416  
2417  class Google_Service_AdSense_AdCode extends Google_Model
2418  {
2419    public $adCode;
2420    public $kind;
2421  
2422    public function setAdCode($adCode)
2423    {
2424      $this->adCode = $adCode;
2425    }
2426  
2427    public function getAdCode()
2428    {
2429      return $this->adCode;
2430    }
2431  
2432    public function setKind($kind)
2433    {
2434      $this->kind = $kind;
2435    }
2436  
2437    public function getKind()
2438    {
2439      return $this->kind;
2440    }
2441  }
2442  
2443  class Google_Service_AdSense_AdStyle extends Google_Model
2444  {
2445    protected $colorsType = 'Google_Service_AdSense_AdStyleColors';
2446    protected $colorsDataType = '';
2447    public $corners;
2448    protected $fontType = 'Google_Service_AdSense_AdStyleFont';
2449    protected $fontDataType = '';
2450    public $kind;
2451  
2452    public function setColors(Google_Service_AdSense_AdStyleColors $colors)
2453    {
2454      $this->colors = $colors;
2455    }
2456  
2457    public function getColors()
2458    {
2459      return $this->colors;
2460    }
2461  
2462    public function setCorners($corners)
2463    {
2464      $this->corners = $corners;
2465    }
2466  
2467    public function getCorners()
2468    {
2469      return $this->corners;
2470    }
2471  
2472    public function setFont(Google_Service_AdSense_AdStyleFont $font)
2473    {
2474      $this->font = $font;
2475    }
2476  
2477    public function getFont()
2478    {
2479      return $this->font;
2480    }
2481  
2482    public function setKind($kind)
2483    {
2484      $this->kind = $kind;
2485    }
2486  
2487    public function getKind()
2488    {
2489      return $this->kind;
2490    }
2491  }
2492  
2493  class Google_Service_AdSense_AdStyleColors extends Google_Model
2494  {
2495    public $background;
2496    public $border;
2497    public $text;
2498    public $title;
2499    public $url;
2500  
2501    public function setBackground($background)
2502    {
2503      $this->background = $background;
2504    }
2505  
2506    public function getBackground()
2507    {
2508      return $this->background;
2509    }
2510  
2511    public function setBorder($border)
2512    {
2513      $this->border = $border;
2514    }
2515  
2516    public function getBorder()
2517    {
2518      return $this->border;
2519    }
2520  
2521    public function setText($text)
2522    {
2523      $this->text = $text;
2524    }
2525  
2526    public function getText()
2527    {
2528      return $this->text;
2529    }
2530  
2531    public function setTitle($title)
2532    {
2533      $this->title = $title;
2534    }
2535  
2536    public function getTitle()
2537    {
2538      return $this->title;
2539    }
2540  
2541    public function setUrl($url)
2542    {
2543      $this->url = $url;
2544    }
2545  
2546    public function getUrl()
2547    {
2548      return $this->url;
2549    }
2550  }
2551  
2552  class Google_Service_AdSense_AdStyleFont extends Google_Model
2553  {
2554    public $family;
2555    public $size;
2556  
2557    public function setFamily($family)
2558    {
2559      $this->family = $family;
2560    }
2561  
2562    public function getFamily()
2563    {
2564      return $this->family;
2565    }
2566  
2567    public function setSize($size)
2568    {
2569      $this->size = $size;
2570    }
2571  
2572    public function getSize()
2573    {
2574      return $this->size;
2575    }
2576  }
2577  
2578  class Google_Service_AdSense_AdUnit extends Google_Model
2579  {
2580    public $code;
2581    protected $contentAdsSettingsType = 'Google_Service_AdSense_AdUnitContentAdsSettings';
2582    protected $contentAdsSettingsDataType = '';
2583    protected $customStyleType = 'Google_Service_AdSense_AdStyle';
2584    protected $customStyleDataType = '';
2585    protected $feedAdsSettingsType = 'Google_Service_AdSense_AdUnitFeedAdsSettings';
2586    protected $feedAdsSettingsDataType = '';
2587    public $id;
2588    public $kind;
2589    protected $mobileContentAdsSettingsType = 'Google_Service_AdSense_AdUnitMobileContentAdsSettings';
2590    protected $mobileContentAdsSettingsDataType = '';
2591    public $name;
2592    public $savedStyleId;
2593    public $status;
2594  
2595    public function setCode($code)
2596    {
2597      $this->code = $code;
2598    }
2599  
2600    public function getCode()
2601    {
2602      return $this->code;
2603    }
2604  
2605    public function setContentAdsSettings(Google_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings)
2606    {
2607      $this->contentAdsSettings = $contentAdsSettings;
2608    }
2609  
2610    public function getContentAdsSettings()
2611    {
2612      return $this->contentAdsSettings;
2613    }
2614  
2615    public function setCustomStyle(Google_Service_AdSense_AdStyle $customStyle)
2616    {
2617      $this->customStyle = $customStyle;
2618    }
2619  
2620    public function getCustomStyle()
2621    {
2622      return $this->customStyle;
2623    }
2624  
2625    public function setFeedAdsSettings(Google_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings)
2626    {
2627      $this->feedAdsSettings = $feedAdsSettings;
2628    }
2629  
2630    public function getFeedAdsSettings()
2631    {
2632      return $this->feedAdsSettings;
2633    }
2634  
2635    public function setId($id)
2636    {
2637      $this->id = $id;
2638    }
2639  
2640    public function getId()
2641    {
2642      return $this->id;
2643    }
2644  
2645    public function setKind($kind)
2646    {
2647      $this->kind = $kind;
2648    }
2649  
2650    public function getKind()
2651    {
2652      return $this->kind;
2653    }
2654  
2655    public function setMobileContentAdsSettings(Google_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
2656    {
2657      $this->mobileContentAdsSettings = $mobileContentAdsSettings;
2658    }
2659  
2660    public function getMobileContentAdsSettings()
2661    {
2662      return $this->mobileContentAdsSettings;
2663    }
2664  
2665    public function setName($name)
2666    {
2667      $this->name = $name;
2668    }
2669  
2670    public function getName()
2671    {
2672      return $this->name;
2673    }
2674  
2675    public function setSavedStyleId($savedStyleId)
2676    {
2677      $this->savedStyleId = $savedStyleId;
2678    }
2679  
2680    public function getSavedStyleId()
2681    {
2682      return $this->savedStyleId;
2683    }
2684  
2685    public function setStatus($status)
2686    {
2687      $this->status = $status;
2688    }
2689  
2690    public function getStatus()
2691    {
2692      return $this->status;
2693    }
2694  }
2695  
2696  class Google_Service_AdSense_AdUnitContentAdsSettings extends Google_Model
2697  {
2698    protected $backupOptionType = 'Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption';
2699    protected $backupOptionDataType = '';
2700    public $size;
2701    public $type;
2702  
2703    public function setBackupOption(Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption $backupOption)
2704    {
2705      $this->backupOption = $backupOption;
2706    }
2707  
2708    public function getBackupOption()
2709    {
2710      return $this->backupOption;
2711    }
2712  
2713    public function setSize($size)
2714    {
2715      $this->size = $size;
2716    }
2717  
2718    public function getSize()
2719    {
2720      return $this->size;
2721    }
2722  
2723    public function setType($type)
2724    {
2725      $this->type = $type;
2726    }
2727  
2728    public function getType()
2729    {
2730      return $this->type;
2731    }
2732  }
2733  
2734  class Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption extends Google_Model
2735  {
2736    public $color;
2737    public $type;
2738    public $url;
2739  
2740    public function setColor($color)
2741    {
2742      $this->color = $color;
2743    }
2744  
2745    public function getColor()
2746    {
2747      return $this->color;
2748    }
2749  
2750    public function setType($type)
2751    {
2752      $this->type = $type;
2753    }
2754  
2755    public function getType()
2756    {
2757      return $this->type;
2758    }
2759  
2760    public function setUrl($url)
2761    {
2762      $this->url = $url;
2763    }
2764  
2765    public function getUrl()
2766    {
2767      return $this->url;
2768    }
2769  }
2770  
2771  class Google_Service_AdSense_AdUnitFeedAdsSettings extends Google_Model
2772  {
2773    public $adPosition;
2774    public $frequency;
2775    public $minimumWordCount;
2776    public $type;
2777  
2778    public function setAdPosition($adPosition)
2779    {
2780      $this->adPosition = $adPosition;
2781    }
2782  
2783    public function getAdPosition()
2784    {
2785      return $this->adPosition;
2786    }
2787  
2788    public function setFrequency($frequency)
2789    {
2790      $this->frequency = $frequency;
2791    }
2792  
2793    public function getFrequency()
2794    {
2795      return $this->frequency;
2796    }
2797  
2798    public function setMinimumWordCount($minimumWordCount)
2799    {
2800      $this->minimumWordCount = $minimumWordCount;
2801    }
2802  
2803    public function getMinimumWordCount()
2804    {
2805      return $this->minimumWordCount;
2806    }
2807  
2808    public function setType($type)
2809    {
2810      $this->type = $type;
2811    }
2812  
2813    public function getType()
2814    {
2815      return $this->type;
2816    }
2817  }
2818  
2819  class Google_Service_AdSense_AdUnitMobileContentAdsSettings extends Google_Model
2820  {
2821    public $markupLanguage;
2822    public $scriptingLanguage;
2823    public $size;
2824    public $type;
2825  
2826    public function setMarkupLanguage($markupLanguage)
2827    {
2828      $this->markupLanguage = $markupLanguage;
2829    }
2830  
2831    public function getMarkupLanguage()
2832    {
2833      return $this->markupLanguage;
2834    }
2835  
2836    public function setScriptingLanguage($scriptingLanguage)
2837    {
2838      $this->scriptingLanguage = $scriptingLanguage;
2839    }
2840  
2841    public function getScriptingLanguage()
2842    {
2843      return $this->scriptingLanguage;
2844    }
2845  
2846    public function setSize($size)
2847    {
2848      $this->size = $size;
2849    }
2850  
2851    public function getSize()
2852    {
2853      return $this->size;
2854    }
2855  
2856    public function setType($type)
2857    {
2858      $this->type = $type;
2859    }
2860  
2861    public function getType()
2862    {
2863      return $this->type;
2864    }
2865  }
2866  
2867  class Google_Service_AdSense_AdUnits extends Google_Collection
2868  {
2869    protected $collection_key = 'items';
2870    public $etag;
2871    protected $itemsType = 'Google_Service_AdSense_AdUnit';
2872    protected $itemsDataType = 'array';
2873    public $kind;
2874    public $nextPageToken;
2875  
2876    public function setEtag($etag)
2877    {
2878      $this->etag = $etag;
2879    }
2880  
2881    public function getEtag()
2882    {
2883      return $this->etag;
2884    }
2885  
2886    public function setItems($items)
2887    {
2888      $this->items = $items;
2889    }
2890  
2891    public function getItems()
2892    {
2893      return $this->items;
2894    }
2895  
2896    public function setKind($kind)
2897    {
2898      $this->kind = $kind;
2899    }
2900  
2901    public function getKind()
2902    {
2903      return $this->kind;
2904    }
2905  
2906    public function setNextPageToken($nextPageToken)
2907    {
2908      $this->nextPageToken = $nextPageToken;
2909    }
2910  
2911    public function getNextPageToken()
2912    {
2913      return $this->nextPageToken;
2914    }
2915  }
2916  
2917  class Google_Service_AdSense_AdsenseReportsGenerateResponse extends Google_Collection
2918  {
2919    protected $collection_key = 'warnings';
2920    public $averages;
2921    public $endDate;
2922    protected $headersType = 'Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders';
2923    protected $headersDataType = 'array';
2924    public $kind;
2925    public $rows;
2926    public $startDate;
2927    public $totalMatchedRows;
2928    public $totals;
2929    public $warnings;
2930  
2931    public function setAverages($averages)
2932    {
2933      $this->averages = $averages;
2934    }
2935  
2936    public function getAverages()
2937    {
2938      return $this->averages;
2939    }
2940  
2941    public function setEndDate($endDate)
2942    {
2943      $this->endDate = $endDate;
2944    }
2945  
2946    public function getEndDate()
2947    {
2948      return $this->endDate;
2949    }
2950  
2951    public function setHeaders($headers)
2952    {
2953      $this->headers = $headers;
2954    }
2955  
2956    public function getHeaders()
2957    {
2958      return $this->headers;
2959    }
2960  
2961    public function setKind($kind)
2962    {
2963      $this->kind = $kind;
2964    }
2965  
2966    public function getKind()
2967    {
2968      return $this->kind;
2969    }
2970  
2971    public function setRows($rows)
2972    {
2973      $this->rows = $rows;
2974    }
2975  
2976    public function getRows()
2977    {
2978      return $this->rows;
2979    }
2980  
2981    public function setStartDate($startDate)
2982    {
2983      $this->startDate = $startDate;
2984    }
2985  
2986    public function getStartDate()
2987    {
2988      return $this->startDate;
2989    }
2990  
2991    public function setTotalMatchedRows($totalMatchedRows)
2992    {
2993      $this->totalMatchedRows = $totalMatchedRows;
2994    }
2995  
2996    public function getTotalMatchedRows()
2997    {
2998      return $this->totalMatchedRows;
2999    }
3000  
3001    public function setTotals($totals)
3002    {
3003      $this->totals = $totals;
3004    }
3005  
3006    public function getTotals()
3007    {
3008      return $this->totals;
3009    }
3010  
3011    public function setWarnings($warnings)
3012    {
3013      $this->warnings = $warnings;
3014    }
3015  
3016    public function getWarnings()
3017    {
3018      return $this->warnings;
3019    }
3020  }
3021  
3022  class Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders extends Google_Model
3023  {
3024    public $currency;
3025    public $name;
3026    public $type;
3027  
3028    public function setCurrency($currency)
3029    {
3030      $this->currency = $currency;
3031    }
3032  
3033    public function getCurrency()
3034    {
3035      return $this->currency;
3036    }
3037  
3038    public function setName($name)
3039    {
3040      $this->name = $name;
3041    }
3042  
3043    public function getName()
3044    {
3045      return $this->name;
3046    }
3047  
3048    public function setType($type)
3049    {
3050      $this->type = $type;
3051    }
3052  
3053    public function getType()
3054    {
3055      return $this->type;
3056    }
3057  }
3058  
3059  class Google_Service_AdSense_Alert extends Google_Model
3060  {
3061    public $id;
3062    public $isDismissible;
3063    public $kind;
3064    public $message;
3065    public $severity;
3066    public $type;
3067  
3068    public function setId($id)
3069    {
3070      $this->id = $id;
3071    }
3072  
3073    public function getId()
3074    {
3075      return $this->id;
3076    }
3077  
3078    public function setIsDismissible($isDismissible)
3079    {
3080      $this->isDismissible = $isDismissible;
3081    }
3082  
3083    public function getIsDismissible()
3084    {
3085      return $this->isDismissible;
3086    }
3087  
3088    public function setKind($kind)
3089    {
3090      $this->kind = $kind;
3091    }
3092  
3093    public function getKind()
3094    {
3095      return $this->kind;
3096    }
3097  
3098    public function setMessage($message)
3099    {
3100      $this->message = $message;
3101    }
3102  
3103    public function getMessage()
3104    {
3105      return $this->message;
3106    }
3107  
3108    public function setSeverity($severity)
3109    {
3110      $this->severity = $severity;
3111    }
3112  
3113    public function getSeverity()
3114    {
3115      return $this->severity;
3116    }
3117  
3118    public function setType($type)
3119    {
3120      $this->type = $type;
3121    }
3122  
3123    public function getType()
3124    {
3125      return $this->type;
3126    }
3127  }
3128  
3129  class Google_Service_AdSense_Alerts extends Google_Collection
3130  {
3131    protected $collection_key = 'items';
3132    protected $itemsType = 'Google_Service_AdSense_Alert';
3133    protected $itemsDataType = 'array';
3134    public $kind;
3135  
3136    public function setItems($items)
3137    {
3138      $this->items = $items;
3139    }
3140  
3141    public function getItems()
3142    {
3143      return $this->items;
3144    }
3145  
3146    public function setKind($kind)
3147    {
3148      $this->kind = $kind;
3149    }
3150  
3151    public function getKind()
3152    {
3153      return $this->kind;
3154    }
3155  }
3156  
3157  class Google_Service_AdSense_CustomChannel extends Google_Model
3158  {
3159    public $code;
3160    public $id;
3161    public $kind;
3162    public $name;
3163    protected $targetingInfoType = 'Google_Service_AdSense_CustomChannelTargetingInfo';
3164    protected $targetingInfoDataType = '';
3165  
3166    public function setCode($code)
3167    {
3168      $this->code = $code;
3169    }
3170  
3171    public function getCode()
3172    {
3173      return $this->code;
3174    }
3175  
3176    public function setId($id)
3177    {
3178      $this->id = $id;
3179    }
3180  
3181    public function getId()
3182    {
3183      return $this->id;
3184    }
3185  
3186    public function setKind($kind)
3187    {
3188      $this->kind = $kind;
3189    }
3190  
3191    public function getKind()
3192    {
3193      return $this->kind;
3194    }
3195  
3196    public function setName($name)
3197    {
3198      $this->name = $name;
3199    }
3200  
3201    public function getName()
3202    {
3203      return $this->name;
3204    }
3205  
3206    public function setTargetingInfo(Google_Service_AdSense_CustomChannelTargetingInfo $targetingInfo)
3207    {
3208      $this->targetingInfo = $targetingInfo;
3209    }
3210  
3211    public function getTargetingInfo()
3212    {
3213      return $this->targetingInfo;
3214    }
3215  }
3216  
3217  class Google_Service_AdSense_CustomChannelTargetingInfo extends Google_Model
3218  {
3219    public $adsAppearOn;
3220    public $description;
3221    public $location;
3222    public $siteLanguage;
3223  
3224    public function setAdsAppearOn($adsAppearOn)
3225    {
3226      $this->adsAppearOn = $adsAppearOn;
3227    }
3228  
3229    public function getAdsAppearOn()
3230    {
3231      return $this->adsAppearOn;
3232    }
3233  
3234    public function setDescription($description)
3235    {
3236      $this->description = $description;
3237    }
3238  
3239    public function getDescription()
3240    {
3241      return $this->description;
3242    }
3243  
3244    public function setLocation($location)
3245    {
3246      $this->location = $location;
3247    }
3248  
3249    public function getLocation()
3250    {
3251      return $this->location;
3252    }
3253  
3254    public function setSiteLanguage($siteLanguage)
3255    {
3256      $this->siteLanguage = $siteLanguage;
3257    }
3258  
3259    public function getSiteLanguage()
3260    {
3261      return $this->siteLanguage;
3262    }
3263  }
3264  
3265  class Google_Service_AdSense_CustomChannels extends Google_Collection
3266  {
3267    protected $collection_key = 'items';
3268    public $etag;
3269    protected $itemsType = 'Google_Service_AdSense_CustomChannel';
3270    protected $itemsDataType = 'array';
3271    public $kind;
3272    public $nextPageToken;
3273  
3274    public function setEtag($etag)
3275    {
3276      $this->etag = $etag;
3277    }
3278  
3279    public function getEtag()
3280    {
3281      return $this->etag;
3282    }
3283  
3284    public function setItems($items)
3285    {
3286      $this->items = $items;
3287    }
3288  
3289    public function getItems()
3290    {
3291      return $this->items;
3292    }
3293  
3294    public function setKind($kind)
3295    {
3296      $this->kind = $kind;
3297    }
3298  
3299    public function getKind()
3300    {
3301      return $this->kind;
3302    }
3303  
3304    public function setNextPageToken($nextPageToken)
3305    {
3306      $this->nextPageToken = $nextPageToken;
3307    }
3308  
3309    public function getNextPageToken()
3310    {
3311      return $this->nextPageToken;
3312    }
3313  }
3314  
3315  class Google_Service_AdSense_Metadata extends Google_Collection
3316  {
3317    protected $collection_key = 'items';
3318    protected $itemsType = 'Google_Service_AdSense_ReportingMetadataEntry';
3319    protected $itemsDataType = 'array';
3320    public $kind;
3321  
3322    public function setItems($items)
3323    {
3324      $this->items = $items;
3325    }
3326  
3327    public function getItems()
3328    {
3329      return $this->items;
3330    }
3331  
3332    public function setKind($kind)
3333    {
3334      $this->kind = $kind;
3335    }
3336  
3337    public function getKind()
3338    {
3339      return $this->kind;
3340    }
3341  }
3342  
3343  class Google_Service_AdSense_Payment extends Google_Model
3344  {
3345    public $id;
3346    public $kind;
3347    public $paymentAmount;
3348    public $paymentAmountCurrencyCode;
3349    public $paymentDate;
3350  
3351    public function setId($id)
3352    {
3353      $this->id = $id;
3354    }
3355  
3356    public function getId()
3357    {
3358      return $this->id;
3359    }
3360  
3361    public function setKind($kind)
3362    {
3363      $this->kind = $kind;
3364    }
3365  
3366    public function getKind()
3367    {
3368      return $this->kind;
3369    }
3370  
3371    public function setPaymentAmount($paymentAmount)
3372    {
3373      $this->paymentAmount = $paymentAmount;
3374    }
3375  
3376    public function getPaymentAmount()
3377    {
3378      return $this->paymentAmount;
3379    }
3380  
3381    public function setPaymentAmountCurrencyCode($paymentAmountCurrencyCode)
3382    {
3383      $this->paymentAmountCurrencyCode = $paymentAmountCurrencyCode;
3384    }
3385  
3386    public function getPaymentAmountCurrencyCode()
3387    {
3388      return $this->paymentAmountCurrencyCode;
3389    }
3390  
3391    public function setPaymentDate($paymentDate)
3392    {
3393      $this->paymentDate = $paymentDate;
3394    }
3395  
3396    public function getPaymentDate()
3397    {
3398      return $this->paymentDate;
3399    }
3400  }
3401  
3402  class Google_Service_AdSense_Payments extends Google_Collection
3403  {
3404    protected $collection_key = 'items';
3405    protected $itemsType = 'Google_Service_AdSense_Payment';
3406    protected $itemsDataType = 'array';
3407    public $kind;
3408  
3409    public function setItems($items)
3410    {
3411      $this->items = $items;
3412    }
3413  
3414    public function getItems()
3415    {
3416      return $this->items;
3417    }
3418  
3419    public function setKind($kind)
3420    {
3421      $this->kind = $kind;
3422    }
3423  
3424    public function getKind()
3425    {
3426      return $this->kind;
3427    }
3428  }
3429  
3430  class Google_Service_AdSense_ReportingMetadataEntry extends Google_Collection
3431  {
3432    protected $collection_key = 'supportedProducts';
3433    public $compatibleDimensions;
3434    public $compatibleMetrics;
3435    public $id;
3436    public $kind;
3437    public $requiredDimensions;
3438    public $requiredMetrics;
3439    public $supportedProducts;
3440  
3441    public function setCompatibleDimensions($compatibleDimensions)
3442    {
3443      $this->compatibleDimensions = $compatibleDimensions;
3444    }
3445  
3446    public function getCompatibleDimensions()
3447    {
3448      return $this->compatibleDimensions;
3449    }
3450  
3451    public function setCompatibleMetrics($compatibleMetrics)
3452    {
3453      $this->compatibleMetrics = $compatibleMetrics;
3454    }
3455  
3456    public function getCompatibleMetrics()
3457    {
3458      return $this->compatibleMetrics;
3459    }
3460  
3461    public function setId($id)
3462    {
3463      $this->id = $id;
3464    }
3465  
3466    public function getId()
3467    {
3468      return $this->id;
3469    }
3470  
3471    public function setKind($kind)
3472    {
3473      $this->kind = $kind;
3474    }
3475  
3476    public function getKind()
3477    {
3478      return $this->kind;
3479    }
3480  
3481    public function setRequiredDimensions($requiredDimensions)
3482    {
3483      $this->requiredDimensions = $requiredDimensions;
3484    }
3485  
3486    public function getRequiredDimensions()
3487    {
3488      return $this->requiredDimensions;
3489    }
3490  
3491    public function setRequiredMetrics($requiredMetrics)
3492    {
3493      $this->requiredMetrics = $requiredMetrics;
3494    }
3495  
3496    public function getRequiredMetrics()
3497    {
3498      return $this->requiredMetrics;
3499    }
3500  
3501    public function setSupportedProducts($supportedProducts)
3502    {
3503      $this->supportedProducts = $supportedProducts;
3504    }
3505  
3506    public function getSupportedProducts()
3507    {
3508      return $this->supportedProducts;
3509    }
3510  }
3511  
3512  class Google_Service_AdSense_SavedAdStyle extends Google_Model
3513  {
3514    protected $adStyleType = 'Google_Service_AdSense_AdStyle';
3515    protected $adStyleDataType = '';
3516    public $id;
3517    public $kind;
3518    public $name;
3519  
3520    public function setAdStyle(Google_Service_AdSense_AdStyle $adStyle)
3521    {
3522      $this->adStyle = $adStyle;
3523    }
3524  
3525    public function getAdStyle()
3526    {
3527      return $this->adStyle;
3528    }
3529  
3530    public function setId($id)
3531    {
3532      $this->id = $id;
3533    }
3534  
3535    public function getId()
3536    {
3537      return $this->id;
3538    }
3539  
3540    public function setKind($kind)
3541    {
3542      $this->kind = $kind;
3543    }
3544  
3545    public function getKind()
3546    {
3547      return $this->kind;
3548    }
3549  
3550    public function setName($name)
3551    {
3552      $this->name = $name;
3553    }
3554  
3555    public function getName()
3556    {
3557      return $this->name;
3558    }
3559  }
3560  
3561  class Google_Service_AdSense_SavedAdStyles extends Google_Collection
3562  {
3563    protected $collection_key = 'items';
3564    public $etag;
3565    protected $itemsType = 'Google_Service_AdSense_SavedAdStyle';
3566    protected $itemsDataType = 'array';
3567    public $kind;
3568    public $nextPageToken;
3569  
3570    public function setEtag($etag)
3571    {
3572      $this->etag = $etag;
3573    }
3574  
3575    public function getEtag()
3576    {
3577      return $this->etag;
3578    }
3579  
3580    public function setItems($items)
3581    {
3582      $this->items = $items;
3583    }
3584  
3585    public function getItems()
3586    {
3587      return $this->items;
3588    }
3589  
3590    public function setKind($kind)
3591    {
3592      $this->kind = $kind;
3593    }
3594  
3595    public function getKind()
3596    {
3597      return $this->kind;
3598    }
3599  
3600    public function setNextPageToken($nextPageToken)
3601    {
3602      $this->nextPageToken = $nextPageToken;
3603    }
3604  
3605    public function getNextPageToken()
3606    {
3607      return $this->nextPageToken;
3608    }
3609  }
3610  
3611  class Google_Service_AdSense_SavedReport extends Google_Model
3612  {
3613    public $id;
3614    public $kind;
3615    public $name;
3616  
3617    public function setId($id)
3618    {
3619      $this->id = $id;
3620    }
3621  
3622    public function getId()
3623    {
3624      return $this->id;
3625    }
3626  
3627    public function setKind($kind)
3628    {
3629      $this->kind = $kind;
3630    }
3631  
3632    public function getKind()
3633    {
3634      return $this->kind;
3635    }
3636  
3637    public function setName($name)
3638    {
3639      $this->name = $name;
3640    }
3641  
3642    public function getName()
3643    {
3644      return $this->name;
3645    }
3646  }
3647  
3648  class Google_Service_AdSense_SavedReports extends Google_Collection
3649  {
3650    protected $collection_key = 'items';
3651    public $etag;
3652    protected $itemsType = 'Google_Service_AdSense_SavedReport';
3653    protected $itemsDataType = 'array';
3654    public $kind;
3655    public $nextPageToken;
3656  
3657    public function setEtag($etag)
3658    {
3659      $this->etag = $etag;
3660    }
3661  
3662    public function getEtag()
3663    {
3664      return $this->etag;
3665    }
3666  
3667    public function setItems($items)
3668    {
3669      $this->items = $items;
3670    }
3671  
3672    public function getItems()
3673    {
3674      return $this->items;
3675    }
3676  
3677    public function setKind($kind)
3678    {
3679      $this->kind = $kind;
3680    }
3681  
3682    public function getKind()
3683    {
3684      return $this->kind;
3685    }
3686  
3687    public function setNextPageToken($nextPageToken)
3688    {
3689      $this->nextPageToken = $nextPageToken;
3690    }
3691  
3692    public function getNextPageToken()
3693    {
3694      return $this->nextPageToken;
3695    }
3696  }
3697  
3698  class Google_Service_AdSense_UrlChannel extends Google_Model
3699  {
3700    public $id;
3701    public $kind;
3702    public $urlPattern;
3703  
3704    public function setId($id)
3705    {
3706      $this->id = $id;
3707    }
3708  
3709    public function getId()
3710    {
3711      return $this->id;
3712    }
3713  
3714    public function setKind($kind)
3715    {
3716      $this->kind = $kind;
3717    }
3718  
3719    public function getKind()
3720    {
3721      return $this->kind;
3722    }
3723  
3724    public function setUrlPattern($urlPattern)
3725    {
3726      $this->urlPattern = $urlPattern;
3727    }
3728  
3729    public function getUrlPattern()
3730    {
3731      return $this->urlPattern;
3732    }
3733  }
3734  
3735  class Google_Service_AdSense_UrlChannels extends Google_Collection
3736  {
3737    protected $collection_key = 'items';
3738    public $etag;
3739    protected $itemsType = 'Google_Service_AdSense_UrlChannel';
3740    protected $itemsDataType = 'array';
3741    public $kind;
3742    public $nextPageToken;
3743  
3744    public function setEtag($etag)
3745    {
3746      $this->etag = $etag;
3747    }
3748  
3749    public function getEtag()
3750    {
3751      return $this->etag;
3752    }
3753  
3754    public function setItems($items)
3755    {
3756      $this->items = $items;
3757    }
3758  
3759    public function getItems()
3760    {
3761      return $this->items;
3762    }
3763  
3764    public function setKind($kind)
3765    {
3766      $this->kind = $kind;
3767    }
3768  
3769    public function getKind()
3770    {
3771      return $this->kind;
3772    }
3773  
3774    public function setNextPageToken($nextPageToken)
3775    {
3776      $this->nextPageToken = $nextPageToken;
3777    }
3778  
3779    public function getNextPageToken()
3780    {
3781      return $this->nextPageToken;
3782    }
3783  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1