[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> AdExchangeSeller.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 AdExchangeSeller (v1.1).
  20   *
  21   * <p>
  22   * Gives Ad Exchange seller users 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/ad-exchange/seller-rest/" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_AdExchangeSeller extends Google_Service
  33  {
  34    /** View and manage your Ad Exchange data. */
  35    const ADEXCHANGE_SELLER = "https://www.googleapis.com/auth/adexchange.seller";
  36    /** View your Ad Exchange data. */
  37    const ADEXCHANGE_SELLER_READONLY = "https://www.googleapis.com/auth/adexchange.seller.readonly";
  38  
  39    public $accounts;
  40    public $adclients;
  41    public $adunits;
  42    public $adunits_customchannels;
  43    public $alerts;
  44    public $customchannels;
  45    public $customchannels_adunits;
  46    public $metadata_dimensions;
  47    public $metadata_metrics;
  48    public $preferreddeals;
  49    public $reports;
  50    public $reports_saved;
  51    public $urlchannels;
  52    
  53  
  54    /**
  55     * Constructs the internal representation of the AdExchangeSeller service.
  56     *
  57     * @param Google_Client $client
  58     */
  59    public function __construct(Google_Client $client)
  60    {
  61      parent::__construct($client);
  62      $this->servicePath = 'adexchangeseller/v1.1/';
  63      $this->version = 'v1.1';
  64      $this->serviceName = 'adexchangeseller';
  65  
  66      $this->accounts = new Google_Service_AdExchangeSeller_Accounts_Resource(
  67          $this,
  68          $this->serviceName,
  69          'accounts',
  70          array(
  71            'methods' => array(
  72              'get' => array(
  73                'path' => 'accounts/{accountId}',
  74                'httpMethod' => 'GET',
  75                'parameters' => array(
  76                  'accountId' => array(
  77                    'location' => 'path',
  78                    'type' => 'string',
  79                    'required' => true,
  80                  ),
  81                ),
  82              ),
  83            )
  84          )
  85      );
  86      $this->adclients = new Google_Service_AdExchangeSeller_Adclients_Resource(
  87          $this,
  88          $this->serviceName,
  89          'adclients',
  90          array(
  91            'methods' => array(
  92              'list' => array(
  93                'path' => 'adclients',
  94                'httpMethod' => 'GET',
  95                'parameters' => array(
  96                  'pageToken' => array(
  97                    'location' => 'query',
  98                    'type' => 'string',
  99                  ),
 100                  'maxResults' => array(
 101                    'location' => 'query',
 102                    'type' => 'integer',
 103                  ),
 104                ),
 105              ),
 106            )
 107          )
 108      );
 109      $this->adunits = new Google_Service_AdExchangeSeller_Adunits_Resource(
 110          $this,
 111          $this->serviceName,
 112          'adunits',
 113          array(
 114            'methods' => array(
 115              'get' => array(
 116                'path' => 'adclients/{adClientId}/adunits/{adUnitId}',
 117                'httpMethod' => 'GET',
 118                'parameters' => array(
 119                  'adClientId' => array(
 120                    'location' => 'path',
 121                    'type' => 'string',
 122                    'required' => true,
 123                  ),
 124                  'adUnitId' => array(
 125                    'location' => 'path',
 126                    'type' => 'string',
 127                    'required' => true,
 128                  ),
 129                ),
 130              ),'list' => array(
 131                'path' => 'adclients/{adClientId}/adunits',
 132                'httpMethod' => 'GET',
 133                'parameters' => array(
 134                  'adClientId' => array(
 135                    'location' => 'path',
 136                    'type' => 'string',
 137                    'required' => true,
 138                  ),
 139                  'includeInactive' => array(
 140                    'location' => 'query',
 141                    'type' => 'boolean',
 142                  ),
 143                  'pageToken' => array(
 144                    'location' => 'query',
 145                    'type' => 'string',
 146                  ),
 147                  'maxResults' => array(
 148                    'location' => 'query',
 149                    'type' => 'integer',
 150                  ),
 151                ),
 152              ),
 153            )
 154          )
 155      );
 156      $this->adunits_customchannels = new Google_Service_AdExchangeSeller_AdunitsCustomchannels_Resource(
 157          $this,
 158          $this->serviceName,
 159          'customchannels',
 160          array(
 161            'methods' => array(
 162              'list' => array(
 163                'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels',
 164                'httpMethod' => 'GET',
 165                'parameters' => array(
 166                  'adClientId' => array(
 167                    'location' => 'path',
 168                    'type' => 'string',
 169                    'required' => true,
 170                  ),
 171                  'adUnitId' => array(
 172                    'location' => 'path',
 173                    'type' => 'string',
 174                    'required' => true,
 175                  ),
 176                  'pageToken' => array(
 177                    'location' => 'query',
 178                    'type' => 'string',
 179                  ),
 180                  'maxResults' => array(
 181                    'location' => 'query',
 182                    'type' => 'integer',
 183                  ),
 184                ),
 185              ),
 186            )
 187          )
 188      );
 189      $this->alerts = new Google_Service_AdExchangeSeller_Alerts_Resource(
 190          $this,
 191          $this->serviceName,
 192          'alerts',
 193          array(
 194            'methods' => array(
 195              'list' => array(
 196                'path' => 'alerts',
 197                'httpMethod' => 'GET',
 198                'parameters' => array(
 199                  'locale' => array(
 200                    'location' => 'query',
 201                    'type' => 'string',
 202                  ),
 203                ),
 204              ),
 205            )
 206          )
 207      );
 208      $this->customchannels = new Google_Service_AdExchangeSeller_Customchannels_Resource(
 209          $this,
 210          $this->serviceName,
 211          'customchannels',
 212          array(
 213            'methods' => array(
 214              'get' => array(
 215                'path' => 'adclients/{adClientId}/customchannels/{customChannelId}',
 216                'httpMethod' => 'GET',
 217                'parameters' => array(
 218                  'adClientId' => array(
 219                    'location' => 'path',
 220                    'type' => 'string',
 221                    'required' => true,
 222                  ),
 223                  'customChannelId' => array(
 224                    'location' => 'path',
 225                    'type' => 'string',
 226                    'required' => true,
 227                  ),
 228                ),
 229              ),'list' => array(
 230                'path' => 'adclients/{adClientId}/customchannels',
 231                'httpMethod' => 'GET',
 232                'parameters' => array(
 233                  'adClientId' => array(
 234                    'location' => 'path',
 235                    'type' => 'string',
 236                    'required' => true,
 237                  ),
 238                  'pageToken' => array(
 239                    'location' => 'query',
 240                    'type' => 'string',
 241                  ),
 242                  'maxResults' => array(
 243                    'location' => 'query',
 244                    'type' => 'integer',
 245                  ),
 246                ),
 247              ),
 248            )
 249          )
 250      );
 251      $this->customchannels_adunits = new Google_Service_AdExchangeSeller_CustomchannelsAdunits_Resource(
 252          $this,
 253          $this->serviceName,
 254          'adunits',
 255          array(
 256            'methods' => array(
 257              'list' => array(
 258                'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits',
 259                'httpMethod' => 'GET',
 260                'parameters' => array(
 261                  'adClientId' => array(
 262                    'location' => 'path',
 263                    'type' => 'string',
 264                    'required' => true,
 265                  ),
 266                  'customChannelId' => array(
 267                    'location' => 'path',
 268                    'type' => 'string',
 269                    'required' => true,
 270                  ),
 271                  'includeInactive' => array(
 272                    'location' => 'query',
 273                    'type' => 'boolean',
 274                  ),
 275                  'pageToken' => array(
 276                    'location' => 'query',
 277                    'type' => 'string',
 278                  ),
 279                  'maxResults' => array(
 280                    'location' => 'query',
 281                    'type' => 'integer',
 282                  ),
 283                ),
 284              ),
 285            )
 286          )
 287      );
 288      $this->metadata_dimensions = new Google_Service_AdExchangeSeller_MetadataDimensions_Resource(
 289          $this,
 290          $this->serviceName,
 291          'dimensions',
 292          array(
 293            'methods' => array(
 294              'list' => array(
 295                'path' => 'metadata/dimensions',
 296                'httpMethod' => 'GET',
 297                'parameters' => array(),
 298              ),
 299            )
 300          )
 301      );
 302      $this->metadata_metrics = new Google_Service_AdExchangeSeller_MetadataMetrics_Resource(
 303          $this,
 304          $this->serviceName,
 305          'metrics',
 306          array(
 307            'methods' => array(
 308              'list' => array(
 309                'path' => 'metadata/metrics',
 310                'httpMethod' => 'GET',
 311                'parameters' => array(),
 312              ),
 313            )
 314          )
 315      );
 316      $this->preferreddeals = new Google_Service_AdExchangeSeller_Preferreddeals_Resource(
 317          $this,
 318          $this->serviceName,
 319          'preferreddeals',
 320          array(
 321            'methods' => array(
 322              'get' => array(
 323                'path' => 'preferreddeals/{dealId}',
 324                'httpMethod' => 'GET',
 325                'parameters' => array(
 326                  'dealId' => array(
 327                    'location' => 'path',
 328                    'type' => 'string',
 329                    'required' => true,
 330                  ),
 331                ),
 332              ),'list' => array(
 333                'path' => 'preferreddeals',
 334                'httpMethod' => 'GET',
 335                'parameters' => array(),
 336              ),
 337            )
 338          )
 339      );
 340      $this->reports = new Google_Service_AdExchangeSeller_Reports_Resource(
 341          $this,
 342          $this->serviceName,
 343          'reports',
 344          array(
 345            'methods' => array(
 346              'generate' => array(
 347                'path' => 'reports',
 348                'httpMethod' => 'GET',
 349                'parameters' => array(
 350                  'startDate' => array(
 351                    'location' => 'query',
 352                    'type' => 'string',
 353                    'required' => true,
 354                  ),
 355                  'endDate' => array(
 356                    'location' => 'query',
 357                    'type' => 'string',
 358                    'required' => true,
 359                  ),
 360                  'sort' => array(
 361                    'location' => 'query',
 362                    'type' => 'string',
 363                    'repeated' => true,
 364                  ),
 365                  'locale' => array(
 366                    'location' => 'query',
 367                    'type' => 'string',
 368                  ),
 369                  'metric' => array(
 370                    'location' => 'query',
 371                    'type' => 'string',
 372                    'repeated' => true,
 373                  ),
 374                  'maxResults' => array(
 375                    'location' => 'query',
 376                    'type' => 'integer',
 377                  ),
 378                  'filter' => array(
 379                    'location' => 'query',
 380                    'type' => 'string',
 381                    'repeated' => true,
 382                  ),
 383                  'startIndex' => array(
 384                    'location' => 'query',
 385                    'type' => 'integer',
 386                  ),
 387                  'dimension' => array(
 388                    'location' => 'query',
 389                    'type' => 'string',
 390                    'repeated' => true,
 391                  ),
 392                ),
 393              ),
 394            )
 395          )
 396      );
 397      $this->reports_saved = new Google_Service_AdExchangeSeller_ReportsSaved_Resource(
 398          $this,
 399          $this->serviceName,
 400          'saved',
 401          array(
 402            'methods' => array(
 403              'generate' => array(
 404                'path' => 'reports/{savedReportId}',
 405                'httpMethod' => 'GET',
 406                'parameters' => array(
 407                  'savedReportId' => array(
 408                    'location' => 'path',
 409                    'type' => 'string',
 410                    'required' => true,
 411                  ),
 412                  'locale' => array(
 413                    'location' => 'query',
 414                    'type' => 'string',
 415                  ),
 416                  'startIndex' => array(
 417                    'location' => 'query',
 418                    'type' => 'integer',
 419                  ),
 420                  'maxResults' => array(
 421                    'location' => 'query',
 422                    'type' => 'integer',
 423                  ),
 424                ),
 425              ),'list' => array(
 426                'path' => 'reports/saved',
 427                'httpMethod' => 'GET',
 428                'parameters' => array(
 429                  'pageToken' => array(
 430                    'location' => 'query',
 431                    'type' => 'string',
 432                  ),
 433                  'maxResults' => array(
 434                    'location' => 'query',
 435                    'type' => 'integer',
 436                  ),
 437                ),
 438              ),
 439            )
 440          )
 441      );
 442      $this->urlchannels = new Google_Service_AdExchangeSeller_Urlchannels_Resource(
 443          $this,
 444          $this->serviceName,
 445          'urlchannels',
 446          array(
 447            'methods' => array(
 448              'list' => array(
 449                'path' => 'adclients/{adClientId}/urlchannels',
 450                'httpMethod' => 'GET',
 451                'parameters' => array(
 452                  'adClientId' => array(
 453                    'location' => 'path',
 454                    'type' => 'string',
 455                    'required' => true,
 456                  ),
 457                  'pageToken' => array(
 458                    'location' => 'query',
 459                    'type' => 'string',
 460                  ),
 461                  'maxResults' => array(
 462                    'location' => 'query',
 463                    'type' => 'integer',
 464                  ),
 465                ),
 466              ),
 467            )
 468          )
 469      );
 470    }
 471  }
 472  
 473  
 474  /**
 475   * The "accounts" collection of methods.
 476   * Typical usage is:
 477   *  <code>
 478   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 479   *   $accounts = $adexchangesellerService->accounts;
 480   *  </code>
 481   */
 482  class Google_Service_AdExchangeSeller_Accounts_Resource extends Google_Service_Resource
 483  {
 484  
 485    /**
 486     * Get information about the selected Ad Exchange account. (accounts.get)
 487     *
 488     * @param string $accountId
 489     * Account to get information about. Tip: 'myaccount' is a valid ID.
 490     * @param array $optParams Optional parameters.
 491     * @return Google_Service_AdExchangeSeller_Account
 492     */
 493    public function get($accountId, $optParams = array())
 494    {
 495      $params = array('accountId' => $accountId);
 496      $params = array_merge($params, $optParams);
 497      return $this->call('get', array($params), "Google_Service_AdExchangeSeller_Account");
 498    }
 499  }
 500  
 501  /**
 502   * The "adclients" collection of methods.
 503   * Typical usage is:
 504   *  <code>
 505   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 506   *   $adclients = $adexchangesellerService->adclients;
 507   *  </code>
 508   */
 509  class Google_Service_AdExchangeSeller_Adclients_Resource extends Google_Service_Resource
 510  {
 511  
 512    /**
 513     * List all ad clients in this Ad Exchange account. (adclients.listAdclients)
 514     *
 515     * @param array $optParams Optional parameters.
 516     *
 517     * @opt_param string pageToken
 518     * A continuation token, used to page through ad clients. To retrieve the next page, set this
 519      * parameter to the value of "nextPageToken" from the previous response.
 520     * @opt_param string maxResults
 521     * The maximum number of ad clients to include in the response, used for paging.
 522     * @return Google_Service_AdExchangeSeller_AdClients
 523     */
 524    public function listAdclients($optParams = array())
 525    {
 526      $params = array();
 527      $params = array_merge($params, $optParams);
 528      return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdClients");
 529    }
 530  }
 531  
 532  /**
 533   * The "adunits" collection of methods.
 534   * Typical usage is:
 535   *  <code>
 536   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 537   *   $adunits = $adexchangesellerService->adunits;
 538   *  </code>
 539   */
 540  class Google_Service_AdExchangeSeller_Adunits_Resource extends Google_Service_Resource
 541  {
 542  
 543    /**
 544     * Gets the specified ad unit in the specified ad client. (adunits.get)
 545     *
 546     * @param string $adClientId
 547     * Ad client for which to get the ad unit.
 548     * @param string $adUnitId
 549     * Ad unit to retrieve.
 550     * @param array $optParams Optional parameters.
 551     * @return Google_Service_AdExchangeSeller_AdUnit
 552     */
 553    public function get($adClientId, $adUnitId, $optParams = array())
 554    {
 555      $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
 556      $params = array_merge($params, $optParams);
 557      return $this->call('get', array($params), "Google_Service_AdExchangeSeller_AdUnit");
 558    }
 559    /**
 560     * List all ad units in the specified ad client for this Ad Exchange account.
 561     * (adunits.listAdunits)
 562     *
 563     * @param string $adClientId
 564     * Ad client for which to list ad units.
 565     * @param array $optParams Optional parameters.
 566     *
 567     * @opt_param bool includeInactive
 568     * Whether to include inactive ad units. Default: true.
 569     * @opt_param string pageToken
 570     * A continuation token, used to page through ad units. To retrieve the next page, set this
 571      * parameter to the value of "nextPageToken" from the previous response.
 572     * @opt_param string maxResults
 573     * The maximum number of ad units to include in the response, used for paging.
 574     * @return Google_Service_AdExchangeSeller_AdUnits
 575     */
 576    public function listAdunits($adClientId, $optParams = array())
 577    {
 578      $params = array('adClientId' => $adClientId);
 579      $params = array_merge($params, $optParams);
 580      return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdUnits");
 581    }
 582  }
 583  
 584  /**
 585   * The "customchannels" collection of methods.
 586   * Typical usage is:
 587   *  <code>
 588   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 589   *   $customchannels = $adexchangesellerService->customchannels;
 590   *  </code>
 591   */
 592  class Google_Service_AdExchangeSeller_AdunitsCustomchannels_Resource extends Google_Service_Resource
 593  {
 594  
 595    /**
 596     * List all custom channels which the specified ad unit belongs to.
 597     * (customchannels.listAdunitsCustomchannels)
 598     *
 599     * @param string $adClientId
 600     * Ad client which contains the ad unit.
 601     * @param string $adUnitId
 602     * Ad unit for which to list custom channels.
 603     * @param array $optParams Optional parameters.
 604     *
 605     * @opt_param string pageToken
 606     * A continuation token, used to page through custom channels. To retrieve the next page, set this
 607      * parameter to the value of "nextPageToken" from the previous response.
 608     * @opt_param string maxResults
 609     * The maximum number of custom channels to include in the response, used for paging.
 610     * @return Google_Service_AdExchangeSeller_CustomChannels
 611     */
 612    public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array())
 613    {
 614      $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
 615      $params = array_merge($params, $optParams);
 616      return $this->call('list', array($params), "Google_Service_AdExchangeSeller_CustomChannels");
 617    }
 618  }
 619  
 620  /**
 621   * The "alerts" collection of methods.
 622   * Typical usage is:
 623   *  <code>
 624   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 625   *   $alerts = $adexchangesellerService->alerts;
 626   *  </code>
 627   */
 628  class Google_Service_AdExchangeSeller_Alerts_Resource extends Google_Service_Resource
 629  {
 630  
 631    /**
 632     * List the alerts for this Ad Exchange account. (alerts.listAlerts)
 633     *
 634     * @param array $optParams Optional parameters.
 635     *
 636     * @opt_param string locale
 637     * The locale to use for translating alert messages. The account locale will be used if this is not
 638      * supplied. The AdSense default (English) will be used if the supplied locale is invalid or
 639      * unsupported.
 640     * @return Google_Service_AdExchangeSeller_Alerts
 641     */
 642    public function listAlerts($optParams = array())
 643    {
 644      $params = array();
 645      $params = array_merge($params, $optParams);
 646      return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Alerts");
 647    }
 648  }
 649  
 650  /**
 651   * The "customchannels" collection of methods.
 652   * Typical usage is:
 653   *  <code>
 654   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 655   *   $customchannels = $adexchangesellerService->customchannels;
 656   *  </code>
 657   */
 658  class Google_Service_AdExchangeSeller_Customchannels_Resource extends Google_Service_Resource
 659  {
 660  
 661    /**
 662     * Get the specified custom channel from the specified ad client.
 663     * (customchannels.get)
 664     *
 665     * @param string $adClientId
 666     * Ad client which contains the custom channel.
 667     * @param string $customChannelId
 668     * Custom channel to retrieve.
 669     * @param array $optParams Optional parameters.
 670     * @return Google_Service_AdExchangeSeller_CustomChannel
 671     */
 672    public function get($adClientId, $customChannelId, $optParams = array())
 673    {
 674      $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
 675      $params = array_merge($params, $optParams);
 676      return $this->call('get', array($params), "Google_Service_AdExchangeSeller_CustomChannel");
 677    }
 678    /**
 679     * List all custom channels in the specified ad client for this Ad Exchange
 680     * account. (customchannels.listCustomchannels)
 681     *
 682     * @param string $adClientId
 683     * Ad client for which to list custom channels.
 684     * @param array $optParams Optional parameters.
 685     *
 686     * @opt_param string pageToken
 687     * A continuation token, used to page through custom channels. To retrieve the next page, set this
 688      * parameter to the value of "nextPageToken" from the previous response.
 689     * @opt_param string maxResults
 690     * The maximum number of custom channels to include in the response, used for paging.
 691     * @return Google_Service_AdExchangeSeller_CustomChannels
 692     */
 693    public function listCustomchannels($adClientId, $optParams = array())
 694    {
 695      $params = array('adClientId' => $adClientId);
 696      $params = array_merge($params, $optParams);
 697      return $this->call('list', array($params), "Google_Service_AdExchangeSeller_CustomChannels");
 698    }
 699  }
 700  
 701  /**
 702   * The "adunits" collection of methods.
 703   * Typical usage is:
 704   *  <code>
 705   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 706   *   $adunits = $adexchangesellerService->adunits;
 707   *  </code>
 708   */
 709  class Google_Service_AdExchangeSeller_CustomchannelsAdunits_Resource extends Google_Service_Resource
 710  {
 711  
 712    /**
 713     * List all ad units in the specified custom channel.
 714     * (adunits.listCustomchannelsAdunits)
 715     *
 716     * @param string $adClientId
 717     * Ad client which contains the custom channel.
 718     * @param string $customChannelId
 719     * Custom channel for which to list ad units.
 720     * @param array $optParams Optional parameters.
 721     *
 722     * @opt_param bool includeInactive
 723     * Whether to include inactive ad units. Default: true.
 724     * @opt_param string pageToken
 725     * A continuation token, used to page through ad units. To retrieve the next page, set this
 726      * parameter to the value of "nextPageToken" from the previous response.
 727     * @opt_param string maxResults
 728     * The maximum number of ad units to include in the response, used for paging.
 729     * @return Google_Service_AdExchangeSeller_AdUnits
 730     */
 731    public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array())
 732    {
 733      $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
 734      $params = array_merge($params, $optParams);
 735      return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdUnits");
 736    }
 737  }
 738  
 739  /**
 740   * The "metadata" collection of methods.
 741   * Typical usage is:
 742   *  <code>
 743   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 744   *   $metadata = $adexchangesellerService->metadata;
 745   *  </code>
 746   */
 747  class Google_Service_AdExchangeSeller_Metadata_Resource extends Google_Service_Resource
 748  {
 749  
 750  }
 751  
 752  /**
 753   * The "dimensions" collection of methods.
 754   * Typical usage is:
 755   *  <code>
 756   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 757   *   $dimensions = $adexchangesellerService->dimensions;
 758   *  </code>
 759   */
 760  class Google_Service_AdExchangeSeller_MetadataDimensions_Resource extends Google_Service_Resource
 761  {
 762  
 763    /**
 764     * List the metadata for the dimensions available to this AdExchange account.
 765     * (dimensions.listMetadataDimensions)
 766     *
 767     * @param array $optParams Optional parameters.
 768     * @return Google_Service_AdExchangeSeller_Metadata
 769     */
 770    public function listMetadataDimensions($optParams = array())
 771    {
 772      $params = array();
 773      $params = array_merge($params, $optParams);
 774      return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata");
 775    }
 776  }
 777  /**
 778   * The "metrics" collection of methods.
 779   * Typical usage is:
 780   *  <code>
 781   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 782   *   $metrics = $adexchangesellerService->metrics;
 783   *  </code>
 784   */
 785  class Google_Service_AdExchangeSeller_MetadataMetrics_Resource extends Google_Service_Resource
 786  {
 787  
 788    /**
 789     * List the metadata for the metrics available to this AdExchange account.
 790     * (metrics.listMetadataMetrics)
 791     *
 792     * @param array $optParams Optional parameters.
 793     * @return Google_Service_AdExchangeSeller_Metadata
 794     */
 795    public function listMetadataMetrics($optParams = array())
 796    {
 797      $params = array();
 798      $params = array_merge($params, $optParams);
 799      return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata");
 800    }
 801  }
 802  
 803  /**
 804   * The "preferreddeals" collection of methods.
 805   * Typical usage is:
 806   *  <code>
 807   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 808   *   $preferreddeals = $adexchangesellerService->preferreddeals;
 809   *  </code>
 810   */
 811  class Google_Service_AdExchangeSeller_Preferreddeals_Resource extends Google_Service_Resource
 812  {
 813  
 814    /**
 815     * Get information about the selected Ad Exchange Preferred Deal.
 816     * (preferreddeals.get)
 817     *
 818     * @param string $dealId
 819     * Preferred deal to get information about.
 820     * @param array $optParams Optional parameters.
 821     * @return Google_Service_AdExchangeSeller_PreferredDeal
 822     */
 823    public function get($dealId, $optParams = array())
 824    {
 825      $params = array('dealId' => $dealId);
 826      $params = array_merge($params, $optParams);
 827      return $this->call('get', array($params), "Google_Service_AdExchangeSeller_PreferredDeal");
 828    }
 829    /**
 830     * List the preferred deals for this Ad Exchange account.
 831     * (preferreddeals.listPreferreddeals)
 832     *
 833     * @param array $optParams Optional parameters.
 834     * @return Google_Service_AdExchangeSeller_PreferredDeals
 835     */
 836    public function listPreferreddeals($optParams = array())
 837    {
 838      $params = array();
 839      $params = array_merge($params, $optParams);
 840      return $this->call('list', array($params), "Google_Service_AdExchangeSeller_PreferredDeals");
 841    }
 842  }
 843  
 844  /**
 845   * The "reports" collection of methods.
 846   * Typical usage is:
 847   *  <code>
 848   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 849   *   $reports = $adexchangesellerService->reports;
 850   *  </code>
 851   */
 852  class Google_Service_AdExchangeSeller_Reports_Resource extends Google_Service_Resource
 853  {
 854  
 855    /**
 856     * Generate an Ad Exchange report based on the report request sent in the query
 857     * parameters. Returns the result as JSON; to retrieve output in CSV format
 858     * specify "alt=csv" as a query parameter. (reports.generate)
 859     *
 860     * @param string $startDate
 861     * Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
 862     * @param string $endDate
 863     * End of the date range to report on in "YYYY-MM-DD" format, inclusive.
 864     * @param array $optParams Optional parameters.
 865     *
 866     * @opt_param string sort
 867     * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+"
 868      * to sort ascending or "-" to sort descending. If no prefix is specified, the column is sorted
 869      * ascending.
 870     * @opt_param string locale
 871     * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
 872      * not specified.
 873     * @opt_param string metric
 874     * Numeric columns to include in the report.
 875     * @opt_param string maxResults
 876     * The maximum number of rows of report data to return.
 877     * @opt_param string filter
 878     * Filters to be run on the report.
 879     * @opt_param string startIndex
 880     * Index of the first row of report data to return.
 881     * @opt_param string dimension
 882     * Dimensions to base the report on.
 883     * @return Google_Service_AdExchangeSeller_Report
 884     */
 885    public function generate($startDate, $endDate, $optParams = array())
 886    {
 887      $params = array('startDate' => $startDate, 'endDate' => $endDate);
 888      $params = array_merge($params, $optParams);
 889      return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report");
 890    }
 891  }
 892  
 893  /**
 894   * The "saved" collection of methods.
 895   * Typical usage is:
 896   *  <code>
 897   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 898   *   $saved = $adexchangesellerService->saved;
 899   *  </code>
 900   */
 901  class Google_Service_AdExchangeSeller_ReportsSaved_Resource extends Google_Service_Resource
 902  {
 903  
 904    /**
 905     * Generate an Ad Exchange report based on the saved report ID sent in the query
 906     * parameters. (saved.generate)
 907     *
 908     * @param string $savedReportId
 909     * The saved report to retrieve.
 910     * @param array $optParams Optional parameters.
 911     *
 912     * @opt_param string locale
 913     * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
 914      * not specified.
 915     * @opt_param int startIndex
 916     * Index of the first row of report data to return.
 917     * @opt_param int maxResults
 918     * The maximum number of rows of report data to return.
 919     * @return Google_Service_AdExchangeSeller_Report
 920     */
 921    public function generate($savedReportId, $optParams = array())
 922    {
 923      $params = array('savedReportId' => $savedReportId);
 924      $params = array_merge($params, $optParams);
 925      return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report");
 926    }
 927    /**
 928     * List all saved reports in this Ad Exchange account. (saved.listReportsSaved)
 929     *
 930     * @param array $optParams Optional parameters.
 931     *
 932     * @opt_param string pageToken
 933     * A continuation token, used to page through saved reports. To retrieve the next page, set this
 934      * parameter to the value of "nextPageToken" from the previous response.
 935     * @opt_param int maxResults
 936     * The maximum number of saved reports to include in the response, used for paging.
 937     * @return Google_Service_AdExchangeSeller_SavedReports
 938     */
 939    public function listReportsSaved($optParams = array())
 940    {
 941      $params = array();
 942      $params = array_merge($params, $optParams);
 943      return $this->call('list', array($params), "Google_Service_AdExchangeSeller_SavedReports");
 944    }
 945  }
 946  
 947  /**
 948   * The "urlchannels" collection of methods.
 949   * Typical usage is:
 950   *  <code>
 951   *   $adexchangesellerService = new Google_Service_AdExchangeSeller(...);
 952   *   $urlchannels = $adexchangesellerService->urlchannels;
 953   *  </code>
 954   */
 955  class Google_Service_AdExchangeSeller_Urlchannels_Resource extends Google_Service_Resource
 956  {
 957  
 958    /**
 959     * List all URL channels in the specified ad client for this Ad Exchange
 960     * account. (urlchannels.listUrlchannels)
 961     *
 962     * @param string $adClientId
 963     * Ad client for which to list URL channels.
 964     * @param array $optParams Optional parameters.
 965     *
 966     * @opt_param string pageToken
 967     * A continuation token, used to page through URL channels. To retrieve the next page, set this
 968      * parameter to the value of "nextPageToken" from the previous response.
 969     * @opt_param string maxResults
 970     * The maximum number of URL channels to include in the response, used for paging.
 971     * @return Google_Service_AdExchangeSeller_UrlChannels
 972     */
 973    public function listUrlchannels($adClientId, $optParams = array())
 974    {
 975      $params = array('adClientId' => $adClientId);
 976      $params = array_merge($params, $optParams);
 977      return $this->call('list', array($params), "Google_Service_AdExchangeSeller_UrlChannels");
 978    }
 979  }
 980  
 981  
 982  
 983  
 984  class Google_Service_AdExchangeSeller_Account extends Google_Model
 985  {
 986    public $id;
 987    public $kind;
 988    public $name;
 989  
 990    public function setId($id)
 991    {
 992      $this->id = $id;
 993    }
 994  
 995    public function getId()
 996    {
 997      return $this->id;
 998    }
 999  
1000    public function setKind($kind)
1001    {
1002      $this->kind = $kind;
1003    }
1004  
1005    public function getKind()
1006    {
1007      return $this->kind;
1008    }
1009  
1010    public function setName($name)
1011    {
1012      $this->name = $name;
1013    }
1014  
1015    public function getName()
1016    {
1017      return $this->name;
1018    }
1019  }
1020  
1021  class Google_Service_AdExchangeSeller_AdClient extends Google_Model
1022  {
1023    public $arcOptIn;
1024    public $id;
1025    public $kind;
1026    public $productCode;
1027    public $supportsReporting;
1028  
1029    public function setArcOptIn($arcOptIn)
1030    {
1031      $this->arcOptIn = $arcOptIn;
1032    }
1033  
1034    public function getArcOptIn()
1035    {
1036      return $this->arcOptIn;
1037    }
1038  
1039    public function setId($id)
1040    {
1041      $this->id = $id;
1042    }
1043  
1044    public function getId()
1045    {
1046      return $this->id;
1047    }
1048  
1049    public function setKind($kind)
1050    {
1051      $this->kind = $kind;
1052    }
1053  
1054    public function getKind()
1055    {
1056      return $this->kind;
1057    }
1058  
1059    public function setProductCode($productCode)
1060    {
1061      $this->productCode = $productCode;
1062    }
1063  
1064    public function getProductCode()
1065    {
1066      return $this->productCode;
1067    }
1068  
1069    public function setSupportsReporting($supportsReporting)
1070    {
1071      $this->supportsReporting = $supportsReporting;
1072    }
1073  
1074    public function getSupportsReporting()
1075    {
1076      return $this->supportsReporting;
1077    }
1078  }
1079  
1080  class Google_Service_AdExchangeSeller_AdClients extends Google_Collection
1081  {
1082    protected $collection_key = 'items';
1083    public $etag;
1084    protected $itemsType = 'Google_Service_AdExchangeSeller_AdClient';
1085    protected $itemsDataType = 'array';
1086    public $kind;
1087    public $nextPageToken;
1088  
1089    public function setEtag($etag)
1090    {
1091      $this->etag = $etag;
1092    }
1093  
1094    public function getEtag()
1095    {
1096      return $this->etag;
1097    }
1098  
1099    public function setItems($items)
1100    {
1101      $this->items = $items;
1102    }
1103  
1104    public function getItems()
1105    {
1106      return $this->items;
1107    }
1108  
1109    public function setKind($kind)
1110    {
1111      $this->kind = $kind;
1112    }
1113  
1114    public function getKind()
1115    {
1116      return $this->kind;
1117    }
1118  
1119    public function setNextPageToken($nextPageToken)
1120    {
1121      $this->nextPageToken = $nextPageToken;
1122    }
1123  
1124    public function getNextPageToken()
1125    {
1126      return $this->nextPageToken;
1127    }
1128  }
1129  
1130  class Google_Service_AdExchangeSeller_AdUnit extends Google_Model
1131  {
1132    public $code;
1133    public $id;
1134    public $kind;
1135    public $name;
1136    public $status;
1137  
1138    public function setCode($code)
1139    {
1140      $this->code = $code;
1141    }
1142  
1143    public function getCode()
1144    {
1145      return $this->code;
1146    }
1147  
1148    public function setId($id)
1149    {
1150      $this->id = $id;
1151    }
1152  
1153    public function getId()
1154    {
1155      return $this->id;
1156    }
1157  
1158    public function setKind($kind)
1159    {
1160      $this->kind = $kind;
1161    }
1162  
1163    public function getKind()
1164    {
1165      return $this->kind;
1166    }
1167  
1168    public function setName($name)
1169    {
1170      $this->name = $name;
1171    }
1172  
1173    public function getName()
1174    {
1175      return $this->name;
1176    }
1177  
1178    public function setStatus($status)
1179    {
1180      $this->status = $status;
1181    }
1182  
1183    public function getStatus()
1184    {
1185      return $this->status;
1186    }
1187  }
1188  
1189  class Google_Service_AdExchangeSeller_AdUnits extends Google_Collection
1190  {
1191    protected $collection_key = 'items';
1192    public $etag;
1193    protected $itemsType = 'Google_Service_AdExchangeSeller_AdUnit';
1194    protected $itemsDataType = 'array';
1195    public $kind;
1196    public $nextPageToken;
1197  
1198    public function setEtag($etag)
1199    {
1200      $this->etag = $etag;
1201    }
1202  
1203    public function getEtag()
1204    {
1205      return $this->etag;
1206    }
1207  
1208    public function setItems($items)
1209    {
1210      $this->items = $items;
1211    }
1212  
1213    public function getItems()
1214    {
1215      return $this->items;
1216    }
1217  
1218    public function setKind($kind)
1219    {
1220      $this->kind = $kind;
1221    }
1222  
1223    public function getKind()
1224    {
1225      return $this->kind;
1226    }
1227  
1228    public function setNextPageToken($nextPageToken)
1229    {
1230      $this->nextPageToken = $nextPageToken;
1231    }
1232  
1233    public function getNextPageToken()
1234    {
1235      return $this->nextPageToken;
1236    }
1237  }
1238  
1239  class Google_Service_AdExchangeSeller_Alert extends Google_Model
1240  {
1241    public $id;
1242    public $kind;
1243    public $message;
1244    public $severity;
1245    public $type;
1246  
1247    public function setId($id)
1248    {
1249      $this->id = $id;
1250    }
1251  
1252    public function getId()
1253    {
1254      return $this->id;
1255    }
1256  
1257    public function setKind($kind)
1258    {
1259      $this->kind = $kind;
1260    }
1261  
1262    public function getKind()
1263    {
1264      return $this->kind;
1265    }
1266  
1267    public function setMessage($message)
1268    {
1269      $this->message = $message;
1270    }
1271  
1272    public function getMessage()
1273    {
1274      return $this->message;
1275    }
1276  
1277    public function setSeverity($severity)
1278    {
1279      $this->severity = $severity;
1280    }
1281  
1282    public function getSeverity()
1283    {
1284      return $this->severity;
1285    }
1286  
1287    public function setType($type)
1288    {
1289      $this->type = $type;
1290    }
1291  
1292    public function getType()
1293    {
1294      return $this->type;
1295    }
1296  }
1297  
1298  class Google_Service_AdExchangeSeller_Alerts extends Google_Collection
1299  {
1300    protected $collection_key = 'items';
1301    protected $itemsType = 'Google_Service_AdExchangeSeller_Alert';
1302    protected $itemsDataType = 'array';
1303    public $kind;
1304  
1305    public function setItems($items)
1306    {
1307      $this->items = $items;
1308    }
1309  
1310    public function getItems()
1311    {
1312      return $this->items;
1313    }
1314  
1315    public function setKind($kind)
1316    {
1317      $this->kind = $kind;
1318    }
1319  
1320    public function getKind()
1321    {
1322      return $this->kind;
1323    }
1324  }
1325  
1326  class Google_Service_AdExchangeSeller_CustomChannel extends Google_Model
1327  {
1328    public $code;
1329    public $id;
1330    public $kind;
1331    public $name;
1332    protected $targetingInfoType = 'Google_Service_AdExchangeSeller_CustomChannelTargetingInfo';
1333    protected $targetingInfoDataType = '';
1334  
1335    public function setCode($code)
1336    {
1337      $this->code = $code;
1338    }
1339  
1340    public function getCode()
1341    {
1342      return $this->code;
1343    }
1344  
1345    public function setId($id)
1346    {
1347      $this->id = $id;
1348    }
1349  
1350    public function getId()
1351    {
1352      return $this->id;
1353    }
1354  
1355    public function setKind($kind)
1356    {
1357      $this->kind = $kind;
1358    }
1359  
1360    public function getKind()
1361    {
1362      return $this->kind;
1363    }
1364  
1365    public function setName($name)
1366    {
1367      $this->name = $name;
1368    }
1369  
1370    public function getName()
1371    {
1372      return $this->name;
1373    }
1374  
1375    public function setTargetingInfo(Google_Service_AdExchangeSeller_CustomChannelTargetingInfo $targetingInfo)
1376    {
1377      $this->targetingInfo = $targetingInfo;
1378    }
1379  
1380    public function getTargetingInfo()
1381    {
1382      return $this->targetingInfo;
1383    }
1384  }
1385  
1386  class Google_Service_AdExchangeSeller_CustomChannelTargetingInfo extends Google_Model
1387  {
1388    public $adsAppearOn;
1389    public $description;
1390    public $location;
1391    public $siteLanguage;
1392  
1393    public function setAdsAppearOn($adsAppearOn)
1394    {
1395      $this->adsAppearOn = $adsAppearOn;
1396    }
1397  
1398    public function getAdsAppearOn()
1399    {
1400      return $this->adsAppearOn;
1401    }
1402  
1403    public function setDescription($description)
1404    {
1405      $this->description = $description;
1406    }
1407  
1408    public function getDescription()
1409    {
1410      return $this->description;
1411    }
1412  
1413    public function setLocation($location)
1414    {
1415      $this->location = $location;
1416    }
1417  
1418    public function getLocation()
1419    {
1420      return $this->location;
1421    }
1422  
1423    public function setSiteLanguage($siteLanguage)
1424    {
1425      $this->siteLanguage = $siteLanguage;
1426    }
1427  
1428    public function getSiteLanguage()
1429    {
1430      return $this->siteLanguage;
1431    }
1432  }
1433  
1434  class Google_Service_AdExchangeSeller_CustomChannels extends Google_Collection
1435  {
1436    protected $collection_key = 'items';
1437    public $etag;
1438    protected $itemsType = 'Google_Service_AdExchangeSeller_CustomChannel';
1439    protected $itemsDataType = 'array';
1440    public $kind;
1441    public $nextPageToken;
1442  
1443    public function setEtag($etag)
1444    {
1445      $this->etag = $etag;
1446    }
1447  
1448    public function getEtag()
1449    {
1450      return $this->etag;
1451    }
1452  
1453    public function setItems($items)
1454    {
1455      $this->items = $items;
1456    }
1457  
1458    public function getItems()
1459    {
1460      return $this->items;
1461    }
1462  
1463    public function setKind($kind)
1464    {
1465      $this->kind = $kind;
1466    }
1467  
1468    public function getKind()
1469    {
1470      return $this->kind;
1471    }
1472  
1473    public function setNextPageToken($nextPageToken)
1474    {
1475      $this->nextPageToken = $nextPageToken;
1476    }
1477  
1478    public function getNextPageToken()
1479    {
1480      return $this->nextPageToken;
1481    }
1482  }
1483  
1484  class Google_Service_AdExchangeSeller_Metadata extends Google_Collection
1485  {
1486    protected $collection_key = 'items';
1487    protected $itemsType = 'Google_Service_AdExchangeSeller_ReportingMetadataEntry';
1488    protected $itemsDataType = 'array';
1489    public $kind;
1490  
1491    public function setItems($items)
1492    {
1493      $this->items = $items;
1494    }
1495  
1496    public function getItems()
1497    {
1498      return $this->items;
1499    }
1500  
1501    public function setKind($kind)
1502    {
1503      $this->kind = $kind;
1504    }
1505  
1506    public function getKind()
1507    {
1508      return $this->kind;
1509    }
1510  }
1511  
1512  class Google_Service_AdExchangeSeller_PreferredDeal extends Google_Model
1513  {
1514    public $advertiserName;
1515    public $buyerNetworkName;
1516    public $currencyCode;
1517    public $endTime;
1518    public $fixedCpm;
1519    public $id;
1520    public $kind;
1521    public $startTime;
1522  
1523    public function setAdvertiserName($advertiserName)
1524    {
1525      $this->advertiserName = $advertiserName;
1526    }
1527  
1528    public function getAdvertiserName()
1529    {
1530      return $this->advertiserName;
1531    }
1532  
1533    public function setBuyerNetworkName($buyerNetworkName)
1534    {
1535      $this->buyerNetworkName = $buyerNetworkName;
1536    }
1537  
1538    public function getBuyerNetworkName()
1539    {
1540      return $this->buyerNetworkName;
1541    }
1542  
1543    public function setCurrencyCode($currencyCode)
1544    {
1545      $this->currencyCode = $currencyCode;
1546    }
1547  
1548    public function getCurrencyCode()
1549    {
1550      return $this->currencyCode;
1551    }
1552  
1553    public function setEndTime($endTime)
1554    {
1555      $this->endTime = $endTime;
1556    }
1557  
1558    public function getEndTime()
1559    {
1560      return $this->endTime;
1561    }
1562  
1563    public function setFixedCpm($fixedCpm)
1564    {
1565      $this->fixedCpm = $fixedCpm;
1566    }
1567  
1568    public function getFixedCpm()
1569    {
1570      return $this->fixedCpm;
1571    }
1572  
1573    public function setId($id)
1574    {
1575      $this->id = $id;
1576    }
1577  
1578    public function getId()
1579    {
1580      return $this->id;
1581    }
1582  
1583    public function setKind($kind)
1584    {
1585      $this->kind = $kind;
1586    }
1587  
1588    public function getKind()
1589    {
1590      return $this->kind;
1591    }
1592  
1593    public function setStartTime($startTime)
1594    {
1595      $this->startTime = $startTime;
1596    }
1597  
1598    public function getStartTime()
1599    {
1600      return $this->startTime;
1601    }
1602  }
1603  
1604  class Google_Service_AdExchangeSeller_PreferredDeals extends Google_Collection
1605  {
1606    protected $collection_key = 'items';
1607    protected $itemsType = 'Google_Service_AdExchangeSeller_PreferredDeal';
1608    protected $itemsDataType = 'array';
1609    public $kind;
1610  
1611    public function setItems($items)
1612    {
1613      $this->items = $items;
1614    }
1615  
1616    public function getItems()
1617    {
1618      return $this->items;
1619    }
1620  
1621    public function setKind($kind)
1622    {
1623      $this->kind = $kind;
1624    }
1625  
1626    public function getKind()
1627    {
1628      return $this->kind;
1629    }
1630  }
1631  
1632  class Google_Service_AdExchangeSeller_Report extends Google_Collection
1633  {
1634    protected $collection_key = 'warnings';
1635    public $averages;
1636    protected $headersType = 'Google_Service_AdExchangeSeller_ReportHeaders';
1637    protected $headersDataType = 'array';
1638    public $kind;
1639    public $rows;
1640    public $totalMatchedRows;
1641    public $totals;
1642    public $warnings;
1643  
1644    public function setAverages($averages)
1645    {
1646      $this->averages = $averages;
1647    }
1648  
1649    public function getAverages()
1650    {
1651      return $this->averages;
1652    }
1653  
1654    public function setHeaders($headers)
1655    {
1656      $this->headers = $headers;
1657    }
1658  
1659    public function getHeaders()
1660    {
1661      return $this->headers;
1662    }
1663  
1664    public function setKind($kind)
1665    {
1666      $this->kind = $kind;
1667    }
1668  
1669    public function getKind()
1670    {
1671      return $this->kind;
1672    }
1673  
1674    public function setRows($rows)
1675    {
1676      $this->rows = $rows;
1677    }
1678  
1679    public function getRows()
1680    {
1681      return $this->rows;
1682    }
1683  
1684    public function setTotalMatchedRows($totalMatchedRows)
1685    {
1686      $this->totalMatchedRows = $totalMatchedRows;
1687    }
1688  
1689    public function getTotalMatchedRows()
1690    {
1691      return $this->totalMatchedRows;
1692    }
1693  
1694    public function setTotals($totals)
1695    {
1696      $this->totals = $totals;
1697    }
1698  
1699    public function getTotals()
1700    {
1701      return $this->totals;
1702    }
1703  
1704    public function setWarnings($warnings)
1705    {
1706      $this->warnings = $warnings;
1707    }
1708  
1709    public function getWarnings()
1710    {
1711      return $this->warnings;
1712    }
1713  }
1714  
1715  class Google_Service_AdExchangeSeller_ReportHeaders extends Google_Model
1716  {
1717    public $currency;
1718    public $name;
1719    public $type;
1720  
1721    public function setCurrency($currency)
1722    {
1723      $this->currency = $currency;
1724    }
1725  
1726    public function getCurrency()
1727    {
1728      return $this->currency;
1729    }
1730  
1731    public function setName($name)
1732    {
1733      $this->name = $name;
1734    }
1735  
1736    public function getName()
1737    {
1738      return $this->name;
1739    }
1740  
1741    public function setType($type)
1742    {
1743      $this->type = $type;
1744    }
1745  
1746    public function getType()
1747    {
1748      return $this->type;
1749    }
1750  }
1751  
1752  class Google_Service_AdExchangeSeller_ReportingMetadataEntry extends Google_Collection
1753  {
1754    protected $collection_key = 'supportedProducts';
1755    public $compatibleDimensions;
1756    public $compatibleMetrics;
1757    public $id;
1758    public $kind;
1759    public $requiredDimensions;
1760    public $requiredMetrics;
1761    public $supportedProducts;
1762  
1763    public function setCompatibleDimensions($compatibleDimensions)
1764    {
1765      $this->compatibleDimensions = $compatibleDimensions;
1766    }
1767  
1768    public function getCompatibleDimensions()
1769    {
1770      return $this->compatibleDimensions;
1771    }
1772  
1773    public function setCompatibleMetrics($compatibleMetrics)
1774    {
1775      $this->compatibleMetrics = $compatibleMetrics;
1776    }
1777  
1778    public function getCompatibleMetrics()
1779    {
1780      return $this->compatibleMetrics;
1781    }
1782  
1783    public function setId($id)
1784    {
1785      $this->id = $id;
1786    }
1787  
1788    public function getId()
1789    {
1790      return $this->id;
1791    }
1792  
1793    public function setKind($kind)
1794    {
1795      $this->kind = $kind;
1796    }
1797  
1798    public function getKind()
1799    {
1800      return $this->kind;
1801    }
1802  
1803    public function setRequiredDimensions($requiredDimensions)
1804    {
1805      $this->requiredDimensions = $requiredDimensions;
1806    }
1807  
1808    public function getRequiredDimensions()
1809    {
1810      return $this->requiredDimensions;
1811    }
1812  
1813    public function setRequiredMetrics($requiredMetrics)
1814    {
1815      $this->requiredMetrics = $requiredMetrics;
1816    }
1817  
1818    public function getRequiredMetrics()
1819    {
1820      return $this->requiredMetrics;
1821    }
1822  
1823    public function setSupportedProducts($supportedProducts)
1824    {
1825      $this->supportedProducts = $supportedProducts;
1826    }
1827  
1828    public function getSupportedProducts()
1829    {
1830      return $this->supportedProducts;
1831    }
1832  }
1833  
1834  class Google_Service_AdExchangeSeller_SavedReport extends Google_Model
1835  {
1836    public $id;
1837    public $kind;
1838    public $name;
1839  
1840    public function setId($id)
1841    {
1842      $this->id = $id;
1843    }
1844  
1845    public function getId()
1846    {
1847      return $this->id;
1848    }
1849  
1850    public function setKind($kind)
1851    {
1852      $this->kind = $kind;
1853    }
1854  
1855    public function getKind()
1856    {
1857      return $this->kind;
1858    }
1859  
1860    public function setName($name)
1861    {
1862      $this->name = $name;
1863    }
1864  
1865    public function getName()
1866    {
1867      return $this->name;
1868    }
1869  }
1870  
1871  class Google_Service_AdExchangeSeller_SavedReports extends Google_Collection
1872  {
1873    protected $collection_key = 'items';
1874    public $etag;
1875    protected $itemsType = 'Google_Service_AdExchangeSeller_SavedReport';
1876    protected $itemsDataType = 'array';
1877    public $kind;
1878    public $nextPageToken;
1879  
1880    public function setEtag($etag)
1881    {
1882      $this->etag = $etag;
1883    }
1884  
1885    public function getEtag()
1886    {
1887      return $this->etag;
1888    }
1889  
1890    public function setItems($items)
1891    {
1892      $this->items = $items;
1893    }
1894  
1895    public function getItems()
1896    {
1897      return $this->items;
1898    }
1899  
1900    public function setKind($kind)
1901    {
1902      $this->kind = $kind;
1903    }
1904  
1905    public function getKind()
1906    {
1907      return $this->kind;
1908    }
1909  
1910    public function setNextPageToken($nextPageToken)
1911    {
1912      $this->nextPageToken = $nextPageToken;
1913    }
1914  
1915    public function getNextPageToken()
1916    {
1917      return $this->nextPageToken;
1918    }
1919  }
1920  
1921  class Google_Service_AdExchangeSeller_UrlChannel extends Google_Model
1922  {
1923    public $id;
1924    public $kind;
1925    public $urlPattern;
1926  
1927    public function setId($id)
1928    {
1929      $this->id = $id;
1930    }
1931  
1932    public function getId()
1933    {
1934      return $this->id;
1935    }
1936  
1937    public function setKind($kind)
1938    {
1939      $this->kind = $kind;
1940    }
1941  
1942    public function getKind()
1943    {
1944      return $this->kind;
1945    }
1946  
1947    public function setUrlPattern($urlPattern)
1948    {
1949      $this->urlPattern = $urlPattern;
1950    }
1951  
1952    public function getUrlPattern()
1953    {
1954      return $this->urlPattern;
1955    }
1956  }
1957  
1958  class Google_Service_AdExchangeSeller_UrlChannels extends Google_Collection
1959  {
1960    protected $collection_key = 'items';
1961    public $etag;
1962    protected $itemsType = 'Google_Service_AdExchangeSeller_UrlChannel';
1963    protected $itemsDataType = 'array';
1964    public $kind;
1965    public $nextPageToken;
1966  
1967    public function setEtag($etag)
1968    {
1969      $this->etag = $etag;
1970    }
1971  
1972    public function getEtag()
1973    {
1974      return $this->etag;
1975    }
1976  
1977    public function setItems($items)
1978    {
1979      $this->items = $items;
1980    }
1981  
1982    public function getItems()
1983    {
1984      return $this->items;
1985    }
1986  
1987    public function setKind($kind)
1988    {
1989      $this->kind = $kind;
1990    }
1991  
1992    public function getKind()
1993    {
1994      return $this->kind;
1995    }
1996  
1997    public function setNextPageToken($nextPageToken)
1998    {
1999      $this->nextPageToken = $nextPageToken;
2000    }
2001  
2002    public function getNextPageToken()
2003    {
2004      return $this->nextPageToken;
2005    }
2006  }


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