Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

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