Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

   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 AdExchangeBuyer (v1.4).
  20   *
  21   * <p>
  22   * Accesses your bidding-account information, submits creatives for validation,
  23   * finds available direct deals, and retrieves performance reports.</p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://developers.google.com/ad-exchange/buyer-rest" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_AdExchangeBuyer extends Google_Service
  33  {
  34    /** Manage your Ad Exchange buyer account configuration. */
  35    const ADEXCHANGE_BUYER =
  36        "https://www.googleapis.com/auth/adexchange.buyer";
  37  
  38    public $accounts;
  39    public $billingInfo;
  40    public $budget;
  41    public $clientaccess;
  42    public $creatives;
  43    public $deals;
  44    public $marketplacedeals;
  45    public $marketplacenotes;
  46    public $marketplaceoffers;
  47    public $marketplaceorders;
  48    public $negotiationrounds;
  49    public $negotiations;
  50    public $offers;
  51    public $performanceReport;
  52    public $pretargetingConfig;
  53    
  54  
  55    /**
  56     * Constructs the internal representation of the AdExchangeBuyer service.
  57     *
  58     * @param Google_Client $client
  59     */
  60    public function __construct(Google_Client $client)
  61    {
  62      parent::__construct($client);
  63      $this->rootUrl = 'https://www.googleapis.com/';
  64      $this->servicePath = 'adexchangebuyer/v1.4/';
  65      $this->version = 'v1.4';
  66      $this->serviceName = 'adexchangebuyer';
  67  
  68      $this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource(
  69          $this,
  70          $this->serviceName,
  71          'accounts',
  72          array(
  73            'methods' => array(
  74              'get' => array(
  75                'path' => 'accounts/{id}',
  76                'httpMethod' => 'GET',
  77                'parameters' => array(
  78                  'id' => array(
  79                    'location' => 'path',
  80                    'type' => 'integer',
  81                    'required' => true,
  82                  ),
  83                ),
  84              ),'list' => array(
  85                'path' => 'accounts',
  86                'httpMethod' => 'GET',
  87                'parameters' => array(),
  88              ),'patch' => array(
  89                'path' => 'accounts/{id}',
  90                'httpMethod' => 'PATCH',
  91                'parameters' => array(
  92                  'id' => array(
  93                    'location' => 'path',
  94                    'type' => 'integer',
  95                    'required' => true,
  96                  ),
  97                ),
  98              ),'update' => array(
  99                'path' => 'accounts/{id}',
 100                'httpMethod' => 'PUT',
 101                'parameters' => array(
 102                  'id' => array(
 103                    'location' => 'path',
 104                    'type' => 'integer',
 105                    'required' => true,
 106                  ),
 107                ),
 108              ),
 109            )
 110          )
 111      );
 112      $this->billingInfo = new Google_Service_AdExchangeBuyer_BillingInfo_Resource(
 113          $this,
 114          $this->serviceName,
 115          'billingInfo',
 116          array(
 117            'methods' => array(
 118              'get' => array(
 119                'path' => 'billinginfo/{accountId}',
 120                'httpMethod' => 'GET',
 121                'parameters' => array(
 122                  'accountId' => array(
 123                    'location' => 'path',
 124                    'type' => 'integer',
 125                    'required' => true,
 126                  ),
 127                ),
 128              ),'list' => array(
 129                'path' => 'billinginfo',
 130                'httpMethod' => 'GET',
 131                'parameters' => array(),
 132              ),
 133            )
 134          )
 135      );
 136      $this->budget = new Google_Service_AdExchangeBuyer_Budget_Resource(
 137          $this,
 138          $this->serviceName,
 139          'budget',
 140          array(
 141            'methods' => array(
 142              'get' => array(
 143                'path' => 'billinginfo/{accountId}/{billingId}',
 144                'httpMethod' => 'GET',
 145                'parameters' => array(
 146                  'accountId' => array(
 147                    'location' => 'path',
 148                    'type' => 'string',
 149                    'required' => true,
 150                  ),
 151                  'billingId' => array(
 152                    'location' => 'path',
 153                    'type' => 'string',
 154                    'required' => true,
 155                  ),
 156                ),
 157              ),'patch' => array(
 158                'path' => 'billinginfo/{accountId}/{billingId}',
 159                'httpMethod' => 'PATCH',
 160                'parameters' => array(
 161                  'accountId' => array(
 162                    'location' => 'path',
 163                    'type' => 'string',
 164                    'required' => true,
 165                  ),
 166                  'billingId' => array(
 167                    'location' => 'path',
 168                    'type' => 'string',
 169                    'required' => true,
 170                  ),
 171                ),
 172              ),'update' => array(
 173                'path' => 'billinginfo/{accountId}/{billingId}',
 174                'httpMethod' => 'PUT',
 175                'parameters' => array(
 176                  'accountId' => array(
 177                    'location' => 'path',
 178                    'type' => 'string',
 179                    'required' => true,
 180                  ),
 181                  'billingId' => array(
 182                    'location' => 'path',
 183                    'type' => 'string',
 184                    'required' => true,
 185                  ),
 186                ),
 187              ),
 188            )
 189          )
 190      );
 191      $this->clientaccess = new Google_Service_AdExchangeBuyer_Clientaccess_Resource(
 192          $this,
 193          $this->serviceName,
 194          'clientaccess',
 195          array(
 196            'methods' => array(
 197              'delete' => array(
 198                'path' => 'clientAccess/{clientAccountId}',
 199                'httpMethod' => 'DELETE',
 200                'parameters' => array(
 201                  'clientAccountId' => array(
 202                    'location' => 'path',
 203                    'type' => 'string',
 204                    'required' => true,
 205                  ),
 206                  'sponsorAccountId' => array(
 207                    'location' => 'query',
 208                    'type' => 'integer',
 209                    'required' => true,
 210                  ),
 211                ),
 212              ),'get' => array(
 213                'path' => 'clientAccess/{clientAccountId}',
 214                'httpMethod' => 'GET',
 215                'parameters' => array(
 216                  'clientAccountId' => array(
 217                    'location' => 'path',
 218                    'type' => 'string',
 219                    'required' => true,
 220                  ),
 221                  'sponsorAccountId' => array(
 222                    'location' => 'query',
 223                    'type' => 'integer',
 224                    'required' => true,
 225                  ),
 226                ),
 227              ),'insert' => array(
 228                'path' => 'clientAccess',
 229                'httpMethod' => 'POST',
 230                'parameters' => array(
 231                  'clientAccountId' => array(
 232                    'location' => 'query',
 233                    'type' => 'string',
 234                  ),
 235                  'sponsorAccountId' => array(
 236                    'location' => 'query',
 237                    'type' => 'integer',
 238                  ),
 239                ),
 240              ),'list' => array(
 241                'path' => 'clientAccess',
 242                'httpMethod' => 'GET',
 243                'parameters' => array(),
 244              ),'patch' => array(
 245                'path' => 'clientAccess/{clientAccountId}',
 246                'httpMethod' => 'PATCH',
 247                'parameters' => array(
 248                  'clientAccountId' => array(
 249                    'location' => 'path',
 250                    'type' => 'string',
 251                    'required' => true,
 252                  ),
 253                  'sponsorAccountId' => array(
 254                    'location' => 'query',
 255                    'type' => 'integer',
 256                    'required' => true,
 257                  ),
 258                ),
 259              ),'update' => array(
 260                'path' => 'clientAccess/{clientAccountId}',
 261                'httpMethod' => 'PUT',
 262                'parameters' => array(
 263                  'clientAccountId' => array(
 264                    'location' => 'path',
 265                    'type' => 'string',
 266                    'required' => true,
 267                  ),
 268                  'sponsorAccountId' => array(
 269                    'location' => 'query',
 270                    'type' => 'integer',
 271                    'required' => true,
 272                  ),
 273                ),
 274              ),
 275            )
 276          )
 277      );
 278      $this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource(
 279          $this,
 280          $this->serviceName,
 281          'creatives',
 282          array(
 283            'methods' => array(
 284              'get' => array(
 285                'path' => 'creatives/{accountId}/{buyerCreativeId}',
 286                'httpMethod' => 'GET',
 287                'parameters' => array(
 288                  'accountId' => array(
 289                    'location' => 'path',
 290                    'type' => 'integer',
 291                    'required' => true,
 292                  ),
 293                  'buyerCreativeId' => array(
 294                    'location' => 'path',
 295                    'type' => 'string',
 296                    'required' => true,
 297                  ),
 298                ),
 299              ),'insert' => array(
 300                'path' => 'creatives',
 301                'httpMethod' => 'POST',
 302                'parameters' => array(),
 303              ),'list' => array(
 304                'path' => 'creatives',
 305                'httpMethod' => 'GET',
 306                'parameters' => array(
 307                  'openAuctionStatusFilter' => array(
 308                    'location' => 'query',
 309                    'type' => 'string',
 310                  ),
 311                  'maxResults' => array(
 312                    'location' => 'query',
 313                    'type' => 'integer',
 314                  ),
 315                  'pageToken' => array(
 316                    'location' => 'query',
 317                    'type' => 'string',
 318                  ),
 319                  'buyerCreativeId' => array(
 320                    'location' => 'query',
 321                    'type' => 'string',
 322                    'repeated' => true,
 323                  ),
 324                  'dealsStatusFilter' => array(
 325                    'location' => 'query',
 326                    'type' => 'string',
 327                  ),
 328                  'accountId' => array(
 329                    'location' => 'query',
 330                    'type' => 'integer',
 331                    'repeated' => true,
 332                  ),
 333                ),
 334              ),
 335            )
 336          )
 337      );
 338      $this->deals = new Google_Service_AdExchangeBuyer_Deals_Resource(
 339          $this,
 340          $this->serviceName,
 341          'deals',
 342          array(
 343            'methods' => array(
 344              'get' => array(
 345                'path' => 'deals/{dealId}',
 346                'httpMethod' => 'GET',
 347                'parameters' => array(
 348                  'dealId' => array(
 349                    'location' => 'path',
 350                    'type' => 'string',
 351                    'required' => true,
 352                  ),
 353                ),
 354              ),
 355            )
 356          )
 357      );
 358      $this->marketplacedeals = new Google_Service_AdExchangeBuyer_Marketplacedeals_Resource(
 359          $this,
 360          $this->serviceName,
 361          'marketplacedeals',
 362          array(
 363            'methods' => array(
 364              'delete' => array(
 365                'path' => 'marketplaceOrders/{orderId}/deals/delete',
 366                'httpMethod' => 'POST',
 367                'parameters' => array(
 368                  'orderId' => array(
 369                    'location' => 'path',
 370                    'type' => 'string',
 371                    'required' => true,
 372                  ),
 373                ),
 374              ),'insert' => array(
 375                'path' => 'marketplaceOrders/{orderId}/deals/insert',
 376                'httpMethod' => 'POST',
 377                'parameters' => array(
 378                  'orderId' => array(
 379                    'location' => 'path',
 380                    'type' => 'string',
 381                    'required' => true,
 382                  ),
 383                ),
 384              ),'list' => array(
 385                'path' => 'marketplaceOrders/{orderId}/deals',
 386                'httpMethod' => 'GET',
 387                'parameters' => array(
 388                  'orderId' => array(
 389                    'location' => 'path',
 390                    'type' => 'string',
 391                    'required' => true,
 392                  ),
 393                ),
 394              ),'update' => array(
 395                'path' => 'marketplaceOrders/{orderId}/deals/update',
 396                'httpMethod' => 'POST',
 397                'parameters' => array(
 398                  'orderId' => array(
 399                    'location' => 'path',
 400                    'type' => 'string',
 401                    'required' => true,
 402                  ),
 403                ),
 404              ),
 405            )
 406          )
 407      );
 408      $this->marketplacenotes = new Google_Service_AdExchangeBuyer_Marketplacenotes_Resource(
 409          $this,
 410          $this->serviceName,
 411          'marketplacenotes',
 412          array(
 413            'methods' => array(
 414              'insert' => array(
 415                'path' => 'marketplaceOrders/{orderId}/notes/insert',
 416                'httpMethod' => 'POST',
 417                'parameters' => array(
 418                  'orderId' => array(
 419                    'location' => 'path',
 420                    'type' => 'string',
 421                    'required' => true,
 422                  ),
 423                ),
 424              ),'list' => array(
 425                'path' => 'marketplaceOrders/{orderId}/notes',
 426                'httpMethod' => 'GET',
 427                'parameters' => array(
 428                  'orderId' => array(
 429                    'location' => 'path',
 430                    'type' => 'string',
 431                    'required' => true,
 432                  ),
 433                ),
 434              ),
 435            )
 436          )
 437      );
 438      $this->marketplaceoffers = new Google_Service_AdExchangeBuyer_Marketplaceoffers_Resource(
 439          $this,
 440          $this->serviceName,
 441          'marketplaceoffers',
 442          array(
 443            'methods' => array(
 444              'get' => array(
 445                'path' => 'marketplaceOffers/{offerId}',
 446                'httpMethod' => 'GET',
 447                'parameters' => array(
 448                  'offerId' => array(
 449                    'location' => 'path',
 450                    'type' => 'string',
 451                    'required' => true,
 452                  ),
 453                ),
 454              ),'search' => array(
 455                'path' => 'marketplaceOffers/search',
 456                'httpMethod' => 'GET',
 457                'parameters' => array(
 458                  'pqlQuery' => array(
 459                    'location' => 'query',
 460                    'type' => 'string',
 461                  ),
 462                ),
 463              ),
 464            )
 465          )
 466      );
 467      $this->marketplaceorders = new Google_Service_AdExchangeBuyer_Marketplaceorders_Resource(
 468          $this,
 469          $this->serviceName,
 470          'marketplaceorders',
 471          array(
 472            'methods' => array(
 473              'get' => array(
 474                'path' => 'marketplaceOrders/{orderId}',
 475                'httpMethod' => 'GET',
 476                'parameters' => array(
 477                  'orderId' => array(
 478                    'location' => 'path',
 479                    'type' => 'string',
 480                    'required' => true,
 481                  ),
 482                ),
 483              ),'insert' => array(
 484                'path' => 'marketplaceOrders/insert',
 485                'httpMethod' => 'POST',
 486                'parameters' => array(),
 487              ),'patch' => array(
 488                'path' => 'marketplaceOrders/{orderId}/{revisionNumber}/{updateAction}',
 489                'httpMethod' => 'PATCH',
 490                'parameters' => array(
 491                  'orderId' => array(
 492                    'location' => 'path',
 493                    'type' => 'string',
 494                    'required' => true,
 495                  ),
 496                  'revisionNumber' => array(
 497                    'location' => 'path',
 498                    'type' => 'string',
 499                    'required' => true,
 500                  ),
 501                  'updateAction' => array(
 502                    'location' => 'path',
 503                    'type' => 'string',
 504                    'required' => true,
 505                  ),
 506                ),
 507              ),'search' => array(
 508                'path' => 'marketplaceOrders/search',
 509                'httpMethod' => 'GET',
 510                'parameters' => array(
 511                  'pqlQuery' => array(
 512                    'location' => 'query',
 513                    'type' => 'string',
 514                  ),
 515                ),
 516              ),'update' => array(
 517                'path' => 'marketplaceOrders/{orderId}/{revisionNumber}/{updateAction}',
 518                'httpMethod' => 'PUT',
 519                'parameters' => array(
 520                  'orderId' => array(
 521                    'location' => 'path',
 522                    'type' => 'string',
 523                    'required' => true,
 524                  ),
 525                  'revisionNumber' => array(
 526                    'location' => 'path',
 527                    'type' => 'string',
 528                    'required' => true,
 529                  ),
 530                  'updateAction' => array(
 531                    'location' => 'path',
 532                    'type' => 'string',
 533                    'required' => true,
 534                  ),
 535                ),
 536              ),
 537            )
 538          )
 539      );
 540      $this->negotiationrounds = new Google_Service_AdExchangeBuyer_Negotiationrounds_Resource(
 541          $this,
 542          $this->serviceName,
 543          'negotiationrounds',
 544          array(
 545            'methods' => array(
 546              'insert' => array(
 547                'path' => 'negotiations/{negotiationId}/negotiationrounds',
 548                'httpMethod' => 'POST',
 549                'parameters' => array(
 550                  'negotiationId' => array(
 551                    'location' => 'path',
 552                    'type' => 'string',
 553                    'required' => true,
 554                  ),
 555                ),
 556              ),
 557            )
 558          )
 559      );
 560      $this->negotiations = new Google_Service_AdExchangeBuyer_Negotiations_Resource(
 561          $this,
 562          $this->serviceName,
 563          'negotiations',
 564          array(
 565            'methods' => array(
 566              'get' => array(
 567                'path' => 'negotiations/{negotiationId}',
 568                'httpMethod' => 'GET',
 569                'parameters' => array(
 570                  'negotiationId' => array(
 571                    'location' => 'path',
 572                    'type' => 'string',
 573                    'required' => true,
 574                  ),
 575                ),
 576              ),'insert' => array(
 577                'path' => 'negotiations',
 578                'httpMethod' => 'POST',
 579                'parameters' => array(),
 580              ),'list' => array(
 581                'path' => 'negotiations',
 582                'httpMethod' => 'GET',
 583                'parameters' => array(),
 584              ),
 585            )
 586          )
 587      );
 588      $this->offers = new Google_Service_AdExchangeBuyer_Offers_Resource(
 589          $this,
 590          $this->serviceName,
 591          'offers',
 592          array(
 593            'methods' => array(
 594              'get' => array(
 595                'path' => 'offers/{offerId}',
 596                'httpMethod' => 'GET',
 597                'parameters' => array(
 598                  'offerId' => array(
 599                    'location' => 'path',
 600                    'type' => 'string',
 601                    'required' => true,
 602                  ),
 603                ),
 604              ),'insert' => array(
 605                'path' => 'offers',
 606                'httpMethod' => 'POST',
 607                'parameters' => array(),
 608              ),'list' => array(
 609                'path' => 'offers',
 610                'httpMethod' => 'GET',
 611                'parameters' => array(),
 612              ),
 613            )
 614          )
 615      );
 616      $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource(
 617          $this,
 618          $this->serviceName,
 619          'performanceReport',
 620          array(
 621            'methods' => array(
 622              'list' => array(
 623                'path' => 'performancereport',
 624                'httpMethod' => 'GET',
 625                'parameters' => array(
 626                  'accountId' => array(
 627                    'location' => 'query',
 628                    'type' => 'string',
 629                    'required' => true,
 630                  ),
 631                  'endDateTime' => array(
 632                    'location' => 'query',
 633                    'type' => 'string',
 634                    'required' => true,
 635                  ),
 636                  'startDateTime' => array(
 637                    'location' => 'query',
 638                    'type' => 'string',
 639                    'required' => true,
 640                  ),
 641                  'pageToken' => array(
 642                    'location' => 'query',
 643                    'type' => 'string',
 644                  ),
 645                  'maxResults' => array(
 646                    'location' => 'query',
 647                    'type' => 'integer',
 648                  ),
 649                ),
 650              ),
 651            )
 652          )
 653      );
 654      $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_PretargetingConfig_Resource(
 655          $this,
 656          $this->serviceName,
 657          'pretargetingConfig',
 658          array(
 659            'methods' => array(
 660              'delete' => array(
 661                'path' => 'pretargetingconfigs/{accountId}/{configId}',
 662                'httpMethod' => 'DELETE',
 663                'parameters' => array(
 664                  'accountId' => array(
 665                    'location' => 'path',
 666                    'type' => 'string',
 667                    'required' => true,
 668                  ),
 669                  'configId' => array(
 670                    'location' => 'path',
 671                    'type' => 'string',
 672                    'required' => true,
 673                  ),
 674                ),
 675              ),'get' => array(
 676                'path' => 'pretargetingconfigs/{accountId}/{configId}',
 677                'httpMethod' => 'GET',
 678                'parameters' => array(
 679                  'accountId' => array(
 680                    'location' => 'path',
 681                    'type' => 'string',
 682                    'required' => true,
 683                  ),
 684                  'configId' => array(
 685                    'location' => 'path',
 686                    'type' => 'string',
 687                    'required' => true,
 688                  ),
 689                ),
 690              ),'insert' => array(
 691                'path' => 'pretargetingconfigs/{accountId}',
 692                'httpMethod' => 'POST',
 693                'parameters' => array(
 694                  'accountId' => array(
 695                    'location' => 'path',
 696                    'type' => 'string',
 697                    'required' => true,
 698                  ),
 699                ),
 700              ),'list' => array(
 701                'path' => 'pretargetingconfigs/{accountId}',
 702                'httpMethod' => 'GET',
 703                'parameters' => array(
 704                  'accountId' => array(
 705                    'location' => 'path',
 706                    'type' => 'string',
 707                    'required' => true,
 708                  ),
 709                ),
 710              ),'patch' => array(
 711                'path' => 'pretargetingconfigs/{accountId}/{configId}',
 712                'httpMethod' => 'PATCH',
 713                'parameters' => array(
 714                  'accountId' => array(
 715                    'location' => 'path',
 716                    'type' => 'string',
 717                    'required' => true,
 718                  ),
 719                  'configId' => array(
 720                    'location' => 'path',
 721                    'type' => 'string',
 722                    'required' => true,
 723                  ),
 724                ),
 725              ),'update' => array(
 726                'path' => 'pretargetingconfigs/{accountId}/{configId}',
 727                'httpMethod' => 'PUT',
 728                'parameters' => array(
 729                  'accountId' => array(
 730                    'location' => 'path',
 731                    'type' => 'string',
 732                    'required' => true,
 733                  ),
 734                  'configId' => array(
 735                    'location' => 'path',
 736                    'type' => 'string',
 737                    'required' => true,
 738                  ),
 739                ),
 740              ),
 741            )
 742          )
 743      );
 744    }
 745  }
 746  
 747  
 748  /**
 749   * The "accounts" collection of methods.
 750   * Typical usage is:
 751   *  <code>
 752   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
 753   *   $accounts = $adexchangebuyerService->accounts;
 754   *  </code>
 755   */
 756  class Google_Service_AdExchangeBuyer_Accounts_Resource extends Google_Service_Resource
 757  {
 758  
 759    /**
 760     * Gets one account by ID. (accounts.get)
 761     *
 762     * @param int $id The account id
 763     * @param array $optParams Optional parameters.
 764     * @return Google_Service_AdExchangeBuyer_Account
 765     */
 766    public function get($id, $optParams = array())
 767    {
 768      $params = array('id' => $id);
 769      $params = array_merge($params, $optParams);
 770      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Account");
 771    }
 772  
 773    /**
 774     * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
 775     *
 776     * @param array $optParams Optional parameters.
 777     * @return Google_Service_AdExchangeBuyer_AccountsList
 778     */
 779    public function listAccounts($optParams = array())
 780    {
 781      $params = array();
 782      $params = array_merge($params, $optParams);
 783      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_AccountsList");
 784    }
 785  
 786    /**
 787     * Updates an existing account. This method supports patch semantics.
 788     * (accounts.patch)
 789     *
 790     * @param int $id The account id
 791     * @param Google_Account $postBody
 792     * @param array $optParams Optional parameters.
 793     * @return Google_Service_AdExchangeBuyer_Account
 794     */
 795    public function patch($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
 796    {
 797      $params = array('id' => $id, 'postBody' => $postBody);
 798      $params = array_merge($params, $optParams);
 799      return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Account");
 800    }
 801  
 802    /**
 803     * Updates an existing account. (accounts.update)
 804     *
 805     * @param int $id The account id
 806     * @param Google_Account $postBody
 807     * @param array $optParams Optional parameters.
 808     * @return Google_Service_AdExchangeBuyer_Account
 809     */
 810    public function update($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
 811    {
 812      $params = array('id' => $id, 'postBody' => $postBody);
 813      $params = array_merge($params, $optParams);
 814      return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Account");
 815    }
 816  }
 817  
 818  /**
 819   * The "billingInfo" collection of methods.
 820   * Typical usage is:
 821   *  <code>
 822   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
 823   *   $billingInfo = $adexchangebuyerService->billingInfo;
 824   *  </code>
 825   */
 826  class Google_Service_AdExchangeBuyer_BillingInfo_Resource extends Google_Service_Resource
 827  {
 828  
 829    /**
 830     * Returns the billing information for one account specified by account ID.
 831     * (billingInfo.get)
 832     *
 833     * @param int $accountId The account id.
 834     * @param array $optParams Optional parameters.
 835     * @return Google_Service_AdExchangeBuyer_BillingInfo
 836     */
 837    public function get($accountId, $optParams = array())
 838    {
 839      $params = array('accountId' => $accountId);
 840      $params = array_merge($params, $optParams);
 841      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_BillingInfo");
 842    }
 843  
 844    /**
 845     * Retrieves a list of billing information for all accounts of the authenticated
 846     * user. (billingInfo.listBillingInfo)
 847     *
 848     * @param array $optParams Optional parameters.
 849     * @return Google_Service_AdExchangeBuyer_BillingInfoList
 850     */
 851    public function listBillingInfo($optParams = array())
 852    {
 853      $params = array();
 854      $params = array_merge($params, $optParams);
 855      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_BillingInfoList");
 856    }
 857  }
 858  
 859  /**
 860   * The "budget" collection of methods.
 861   * Typical usage is:
 862   *  <code>
 863   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
 864   *   $budget = $adexchangebuyerService->budget;
 865   *  </code>
 866   */
 867  class Google_Service_AdExchangeBuyer_Budget_Resource extends Google_Service_Resource
 868  {
 869  
 870    /**
 871     * Returns the budget information for the adgroup specified by the accountId and
 872     * billingId. (budget.get)
 873     *
 874     * @param string $accountId The account id to get the budget information for.
 875     * @param string $billingId The billing id to get the budget information for.
 876     * @param array $optParams Optional parameters.
 877     * @return Google_Service_AdExchangeBuyer_Budget
 878     */
 879    public function get($accountId, $billingId, $optParams = array())
 880    {
 881      $params = array('accountId' => $accountId, 'billingId' => $billingId);
 882      $params = array_merge($params, $optParams);
 883      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Budget");
 884    }
 885  
 886    /**
 887     * Updates the budget amount for the budget of the adgroup specified by the
 888     * accountId and billingId, with the budget amount in the request. This method
 889     * supports patch semantics. (budget.patch)
 890     *
 891     * @param string $accountId The account id associated with the budget being
 892     * updated.
 893     * @param string $billingId The billing id associated with the budget being
 894     * updated.
 895     * @param Google_Budget $postBody
 896     * @param array $optParams Optional parameters.
 897     * @return Google_Service_AdExchangeBuyer_Budget
 898     */
 899    public function patch($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
 900    {
 901      $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
 902      $params = array_merge($params, $optParams);
 903      return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Budget");
 904    }
 905  
 906    /**
 907     * Updates the budget amount for the budget of the adgroup specified by the
 908     * accountId and billingId, with the budget amount in the request.
 909     * (budget.update)
 910     *
 911     * @param string $accountId The account id associated with the budget being
 912     * updated.
 913     * @param string $billingId The billing id associated with the budget being
 914     * updated.
 915     * @param Google_Budget $postBody
 916     * @param array $optParams Optional parameters.
 917     * @return Google_Service_AdExchangeBuyer_Budget
 918     */
 919    public function update($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
 920    {
 921      $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
 922      $params = array_merge($params, $optParams);
 923      return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Budget");
 924    }
 925  }
 926  
 927  /**
 928   * The "clientaccess" collection of methods.
 929   * Typical usage is:
 930   *  <code>
 931   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
 932   *   $clientaccess = $adexchangebuyerService->clientaccess;
 933   *  </code>
 934   */
 935  class Google_Service_AdExchangeBuyer_Clientaccess_Resource extends Google_Service_Resource
 936  {
 937  
 938    /**
 939     * (clientaccess.delete)
 940     *
 941     * @param string $clientAccountId
 942     * @param int $sponsorAccountId
 943     * @param array $optParams Optional parameters.
 944     */
 945    public function delete($clientAccountId, $sponsorAccountId, $optParams = array())
 946    {
 947      $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId);
 948      $params = array_merge($params, $optParams);
 949      return $this->call('delete', array($params));
 950    }
 951  
 952    /**
 953     * (clientaccess.get)
 954     *
 955     * @param string $clientAccountId
 956     * @param int $sponsorAccountId
 957     * @param array $optParams Optional parameters.
 958     * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities
 959     */
 960    public function get($clientAccountId, $sponsorAccountId, $optParams = array())
 961    {
 962      $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId);
 963      $params = array_merge($params, $optParams);
 964      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities");
 965    }
 966  
 967    /**
 968     * (clientaccess.insert)
 969     *
 970     * @param Google_ClientAccessCapabilities $postBody
 971     * @param array $optParams Optional parameters.
 972     *
 973     * @opt_param string clientAccountId
 974     * @opt_param int sponsorAccountId
 975     * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities
 976     */
 977    public function insert(Google_Service_AdExchangeBuyer_ClientAccessCapabilities $postBody, $optParams = array())
 978    {
 979      $params = array('postBody' => $postBody);
 980      $params = array_merge($params, $optParams);
 981      return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities");
 982    }
 983  
 984    /**
 985     * (clientaccess.listClientaccess)
 986     *
 987     * @param array $optParams Optional parameters.
 988     * @return Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesResponse
 989     */
 990    public function listClientaccess($optParams = array())
 991    {
 992      $params = array();
 993      $params = array_merge($params, $optParams);
 994      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesResponse");
 995    }
 996  
 997    /**
 998     * (clientaccess.patch)
 999     *
1000     * @param string $clientAccountId
1001     * @param int $sponsorAccountId
1002     * @param Google_ClientAccessCapabilities $postBody
1003     * @param array $optParams Optional parameters.
1004     * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities
1005     */
1006    public function patch($clientAccountId, $sponsorAccountId, Google_Service_AdExchangeBuyer_ClientAccessCapabilities $postBody, $optParams = array())
1007    {
1008      $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId, 'postBody' => $postBody);
1009      $params = array_merge($params, $optParams);
1010      return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities");
1011    }
1012  
1013    /**
1014     * (clientaccess.update)
1015     *
1016     * @param string $clientAccountId
1017     * @param int $sponsorAccountId
1018     * @param Google_ClientAccessCapabilities $postBody
1019     * @param array $optParams Optional parameters.
1020     * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities
1021     */
1022    public function update($clientAccountId, $sponsorAccountId, Google_Service_AdExchangeBuyer_ClientAccessCapabilities $postBody, $optParams = array())
1023    {
1024      $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId, 'postBody' => $postBody);
1025      $params = array_merge($params, $optParams);
1026      return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities");
1027    }
1028  }
1029  
1030  /**
1031   * The "creatives" collection of methods.
1032   * Typical usage is:
1033   *  <code>
1034   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1035   *   $creatives = $adexchangebuyerService->creatives;
1036   *  </code>
1037   */
1038  class Google_Service_AdExchangeBuyer_Creatives_Resource extends Google_Service_Resource
1039  {
1040  
1041    /**
1042     * Gets the status for a single creative. A creative will be available 30-40
1043     * minutes after submission. (creatives.get)
1044     *
1045     * @param int $accountId The id for the account that will serve this creative.
1046     * @param string $buyerCreativeId The buyer-specific id for this creative.
1047     * @param array $optParams Optional parameters.
1048     * @return Google_Service_AdExchangeBuyer_Creative
1049     */
1050    public function get($accountId, $buyerCreativeId, $optParams = array())
1051    {
1052      $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
1053      $params = array_merge($params, $optParams);
1054      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Creative");
1055    }
1056  
1057    /**
1058     * Submit a new creative. (creatives.insert)
1059     *
1060     * @param Google_Creative $postBody
1061     * @param array $optParams Optional parameters.
1062     * @return Google_Service_AdExchangeBuyer_Creative
1063     */
1064    public function insert(Google_Service_AdExchangeBuyer_Creative $postBody, $optParams = array())
1065    {
1066      $params = array('postBody' => $postBody);
1067      $params = array_merge($params, $optParams);
1068      return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_Creative");
1069    }
1070  
1071    /**
1072     * Retrieves a list of the authenticated user's active creatives. A creative
1073     * will be available 30-40 minutes after submission. (creatives.listCreatives)
1074     *
1075     * @param array $optParams Optional parameters.
1076     *
1077     * @opt_param string openAuctionStatusFilter When specified, only creatives
1078     * having the given open auction status are returned.
1079     * @opt_param string maxResults Maximum number of entries returned on one result
1080     * page. If not set, the default is 100. Optional.
1081     * @opt_param string pageToken A continuation token, used to page through ad
1082     * clients. To retrieve the next page, set this parameter to the value of
1083     * "nextPageToken" from the previous response. Optional.
1084     * @opt_param string buyerCreativeId When specified, only creatives for the
1085     * given buyer creative ids are returned.
1086     * @opt_param string dealsStatusFilter When specified, only creatives having the
1087     * given direct deals status are returned.
1088     * @opt_param int accountId When specified, only creatives for the given account
1089     * ids are returned.
1090     * @return Google_Service_AdExchangeBuyer_CreativesList
1091     */
1092    public function listCreatives($optParams = array())
1093    {
1094      $params = array();
1095      $params = array_merge($params, $optParams);
1096      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_CreativesList");
1097    }
1098  }
1099  
1100  /**
1101   * The "deals" collection of methods.
1102   * Typical usage is:
1103   *  <code>
1104   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1105   *   $deals = $adexchangebuyerService->deals;
1106   *  </code>
1107   */
1108  class Google_Service_AdExchangeBuyer_Deals_Resource extends Google_Service_Resource
1109  {
1110  
1111    /**
1112     * Gets the requested deal. (deals.get)
1113     *
1114     * @param string $dealId
1115     * @param array $optParams Optional parameters.
1116     * @return Google_Service_AdExchangeBuyer_NegotiationDto
1117     */
1118    public function get($dealId, $optParams = array())
1119    {
1120      $params = array('dealId' => $dealId);
1121      $params = array_merge($params, $optParams);
1122      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_NegotiationDto");
1123    }
1124  }
1125  
1126  /**
1127   * The "marketplacedeals" collection of methods.
1128   * Typical usage is:
1129   *  <code>
1130   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1131   *   $marketplacedeals = $adexchangebuyerService->marketplacedeals;
1132   *  </code>
1133   */
1134  class Google_Service_AdExchangeBuyer_Marketplacedeals_Resource extends Google_Service_Resource
1135  {
1136  
1137    /**
1138     * Delete the specified deals from the order (marketplacedeals.delete)
1139     *
1140     * @param string $orderId The orderId to delete deals from.
1141     * @param Google_DeleteOrderDealsRequest $postBody
1142     * @param array $optParams Optional parameters.
1143     * @return Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse
1144     */
1145    public function delete($orderId, Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest $postBody, $optParams = array())
1146    {
1147      $params = array('orderId' => $orderId, 'postBody' => $postBody);
1148      $params = array_merge($params, $optParams);
1149      return $this->call('delete', array($params), "Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse");
1150    }
1151  
1152    /**
1153     * Add new deals for the specified order (marketplacedeals.insert)
1154     *
1155     * @param string $orderId OrderId for which deals need to be added.
1156     * @param Google_AddOrderDealsRequest $postBody
1157     * @param array $optParams Optional parameters.
1158     * @return Google_Service_AdExchangeBuyer_AddOrderDealsResponse
1159     */
1160    public function insert($orderId, Google_Service_AdExchangeBuyer_AddOrderDealsRequest $postBody, $optParams = array())
1161    {
1162      $params = array('orderId' => $orderId, 'postBody' => $postBody);
1163      $params = array_merge($params, $optParams);
1164      return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderDealsResponse");
1165    }
1166  
1167    /**
1168     * List all the deals for a given order (marketplacedeals.listMarketplacedeals)
1169     *
1170     * @param string $orderId The orderId to get deals for.
1171     * @param array $optParams Optional parameters.
1172     * @return Google_Service_AdExchangeBuyer_GetOrderDealsResponse
1173     */
1174    public function listMarketplacedeals($orderId, $optParams = array())
1175    {
1176      $params = array('orderId' => $orderId);
1177      $params = array_merge($params, $optParams);
1178      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderDealsResponse");
1179    }
1180  
1181    /**
1182     * Replaces all the deals in the order with the passed in deals
1183     * (marketplacedeals.update)
1184     *
1185     * @param string $orderId The orderId to edit deals on.
1186     * @param Google_EditAllOrderDealsRequest $postBody
1187     * @param array $optParams Optional parameters.
1188     * @return Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse
1189     */
1190    public function update($orderId, Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest $postBody, $optParams = array())
1191    {
1192      $params = array('orderId' => $orderId, 'postBody' => $postBody);
1193      $params = array_merge($params, $optParams);
1194      return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse");
1195    }
1196  }
1197  
1198  /**
1199   * The "marketplacenotes" collection of methods.
1200   * Typical usage is:
1201   *  <code>
1202   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1203   *   $marketplacenotes = $adexchangebuyerService->marketplacenotes;
1204   *  </code>
1205   */
1206  class Google_Service_AdExchangeBuyer_Marketplacenotes_Resource extends Google_Service_Resource
1207  {
1208  
1209    /**
1210     * Add notes to the order (marketplacenotes.insert)
1211     *
1212     * @param string $orderId The orderId to add notes for.
1213     * @param Google_AddOrderNotesRequest $postBody
1214     * @param array $optParams Optional parameters.
1215     * @return Google_Service_AdExchangeBuyer_AddOrderNotesResponse
1216     */
1217    public function insert($orderId, Google_Service_AdExchangeBuyer_AddOrderNotesRequest $postBody, $optParams = array())
1218    {
1219      $params = array('orderId' => $orderId, 'postBody' => $postBody);
1220      $params = array_merge($params, $optParams);
1221      return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderNotesResponse");
1222    }
1223  
1224    /**
1225     * Get all the notes associated with an order
1226     * (marketplacenotes.listMarketplacenotes)
1227     *
1228     * @param string $orderId The orderId to get notes for.
1229     * @param array $optParams Optional parameters.
1230     * @return Google_Service_AdExchangeBuyer_GetOrderNotesResponse
1231     */
1232    public function listMarketplacenotes($orderId, $optParams = array())
1233    {
1234      $params = array('orderId' => $orderId);
1235      $params = array_merge($params, $optParams);
1236      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderNotesResponse");
1237    }
1238  }
1239  
1240  /**
1241   * The "marketplaceoffers" collection of methods.
1242   * Typical usage is:
1243   *  <code>
1244   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1245   *   $marketplaceoffers = $adexchangebuyerService->marketplaceoffers;
1246   *  </code>
1247   */
1248  class Google_Service_AdExchangeBuyer_Marketplaceoffers_Resource extends Google_Service_Resource
1249  {
1250  
1251    /**
1252     * Gets the requested negotiation. (marketplaceoffers.get)
1253     *
1254     * @param string $offerId The offerId for the offer to get the head revision
1255     * for.
1256     * @param array $optParams Optional parameters.
1257     * @return Google_Service_AdExchangeBuyer_MarketplaceOffer
1258     */
1259    public function get($offerId, $optParams = array())
1260    {
1261      $params = array('offerId' => $offerId);
1262      $params = array_merge($params, $optParams);
1263      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOffer");
1264    }
1265  
1266    /**
1267     * Gets the requested negotiation. (marketplaceoffers.search)
1268     *
1269     * @param array $optParams Optional parameters.
1270     *
1271     * @opt_param string pqlQuery The pql query used to query for offers.
1272     * @return Google_Service_AdExchangeBuyer_GetOffersResponse
1273     */
1274    public function search($optParams = array())
1275    {
1276      $params = array();
1277      $params = array_merge($params, $optParams);
1278      return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOffersResponse");
1279    }
1280  }
1281  
1282  /**
1283   * The "marketplaceorders" collection of methods.
1284   * Typical usage is:
1285   *  <code>
1286   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1287   *   $marketplaceorders = $adexchangebuyerService->marketplaceorders;
1288   *  </code>
1289   */
1290  class Google_Service_AdExchangeBuyer_Marketplaceorders_Resource extends Google_Service_Resource
1291  {
1292  
1293    /**
1294     * Get an order given its id (marketplaceorders.get)
1295     *
1296     * @param string $orderId Id of the order to retrieve.
1297     * @param array $optParams Optional parameters.
1298     * @return Google_Service_AdExchangeBuyer_MarketplaceOrder
1299     */
1300    public function get($orderId, $optParams = array())
1301    {
1302      $params = array('orderId' => $orderId);
1303      $params = array_merge($params, $optParams);
1304      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOrder");
1305    }
1306  
1307    /**
1308     * Create the given list of orders (marketplaceorders.insert)
1309     *
1310     * @param Google_CreateOrdersRequest $postBody
1311     * @param array $optParams Optional parameters.
1312     * @return Google_Service_AdExchangeBuyer_CreateOrdersResponse
1313     */
1314    public function insert(Google_Service_AdExchangeBuyer_CreateOrdersRequest $postBody, $optParams = array())
1315    {
1316      $params = array('postBody' => $postBody);
1317      $params = array_merge($params, $optParams);
1318      return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_CreateOrdersResponse");
1319    }
1320  
1321    /**
1322     * Update the given order. This method supports patch semantics.
1323     * (marketplaceorders.patch)
1324     *
1325     * @param string $orderId The order id to update.
1326     * @param string $revisionNumber The last known revision number to update. If
1327     * the head revision in the marketplace database has since changed, an error
1328     * will be thrown. The caller should then fetch the lastest order at head
1329     * revision and retry the update at that revision.
1330     * @param string $updateAction The proposed action to take on the order.
1331     * @param Google_MarketplaceOrder $postBody
1332     * @param array $optParams Optional parameters.
1333     * @return Google_Service_AdExchangeBuyer_MarketplaceOrder
1334     */
1335    public function patch($orderId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_MarketplaceOrder $postBody, $optParams = array())
1336    {
1337      $params = array('orderId' => $orderId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody);
1338      $params = array_merge($params, $optParams);
1339      return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOrder");
1340    }
1341  
1342    /**
1343     * Search for orders using pql query (marketplaceorders.search)
1344     *
1345     * @param array $optParams Optional parameters.
1346     *
1347     * @opt_param string pqlQuery Query string to retrieve specific orders.
1348     * @return Google_Service_AdExchangeBuyer_GetOrdersResponse
1349     */
1350    public function search($optParams = array())
1351    {
1352      $params = array();
1353      $params = array_merge($params, $optParams);
1354      return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOrdersResponse");
1355    }
1356  
1357    /**
1358     * Update the given order (marketplaceorders.update)
1359     *
1360     * @param string $orderId The order id to update.
1361     * @param string $revisionNumber The last known revision number to update. If
1362     * the head revision in the marketplace database has since changed, an error
1363     * will be thrown. The caller should then fetch the lastest order at head
1364     * revision and retry the update at that revision.
1365     * @param string $updateAction The proposed action to take on the order.
1366     * @param Google_MarketplaceOrder $postBody
1367     * @param array $optParams Optional parameters.
1368     * @return Google_Service_AdExchangeBuyer_MarketplaceOrder
1369     */
1370    public function update($orderId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_MarketplaceOrder $postBody, $optParams = array())
1371    {
1372      $params = array('orderId' => $orderId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody);
1373      $params = array_merge($params, $optParams);
1374      return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOrder");
1375    }
1376  }
1377  
1378  /**
1379   * The "negotiationrounds" collection of methods.
1380   * Typical usage is:
1381   *  <code>
1382   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1383   *   $negotiationrounds = $adexchangebuyerService->negotiationrounds;
1384   *  </code>
1385   */
1386  class Google_Service_AdExchangeBuyer_Negotiationrounds_Resource extends Google_Service_Resource
1387  {
1388  
1389    /**
1390     * Adds the requested negotiationRound to the requested negotiation.
1391     * (negotiationrounds.insert)
1392     *
1393     * @param string $negotiationId
1394     * @param Google_NegotiationRoundDto $postBody
1395     * @param array $optParams Optional parameters.
1396     * @return Google_Service_AdExchangeBuyer_NegotiationRoundDto
1397     */
1398    public function insert($negotiationId, Google_Service_AdExchangeBuyer_NegotiationRoundDto $postBody, $optParams = array())
1399    {
1400      $params = array('negotiationId' => $negotiationId, 'postBody' => $postBody);
1401      $params = array_merge($params, $optParams);
1402      return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_NegotiationRoundDto");
1403    }
1404  }
1405  
1406  /**
1407   * The "negotiations" collection of methods.
1408   * Typical usage is:
1409   *  <code>
1410   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1411   *   $negotiations = $adexchangebuyerService->negotiations;
1412   *  </code>
1413   */
1414  class Google_Service_AdExchangeBuyer_Negotiations_Resource extends Google_Service_Resource
1415  {
1416  
1417    /**
1418     * Gets the requested negotiation. (negotiations.get)
1419     *
1420     * @param string $negotiationId
1421     * @param array $optParams Optional parameters.
1422     * @return Google_Service_AdExchangeBuyer_NegotiationDto
1423     */
1424    public function get($negotiationId, $optParams = array())
1425    {
1426      $params = array('negotiationId' => $negotiationId);
1427      $params = array_merge($params, $optParams);
1428      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_NegotiationDto");
1429    }
1430  
1431    /**
1432     * Creates or updates the requested negotiation. (negotiations.insert)
1433     *
1434     * @param Google_NegotiationDto $postBody
1435     * @param array $optParams Optional parameters.
1436     * @return Google_Service_AdExchangeBuyer_NegotiationDto
1437     */
1438    public function insert(Google_Service_AdExchangeBuyer_NegotiationDto $postBody, $optParams = array())
1439    {
1440      $params = array('postBody' => $postBody);
1441      $params = array_merge($params, $optParams);
1442      return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_NegotiationDto");
1443    }
1444  
1445    /**
1446     * Lists all negotiations the authenticated user has access to.
1447     * (negotiations.listNegotiations)
1448     *
1449     * @param array $optParams Optional parameters.
1450     * @return Google_Service_AdExchangeBuyer_GetNegotiationsResponse
1451     */
1452    public function listNegotiations($optParams = array())
1453    {
1454      $params = array();
1455      $params = array_merge($params, $optParams);
1456      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetNegotiationsResponse");
1457    }
1458  }
1459  
1460  /**
1461   * The "offers" collection of methods.
1462   * Typical usage is:
1463   *  <code>
1464   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1465   *   $offers = $adexchangebuyerService->offers;
1466   *  </code>
1467   */
1468  class Google_Service_AdExchangeBuyer_Offers_Resource extends Google_Service_Resource
1469  {
1470  
1471    /**
1472     * Gets the requested offer. (offers.get)
1473     *
1474     * @param string $offerId
1475     * @param array $optParams Optional parameters.
1476     * @return Google_Service_AdExchangeBuyer_OfferDto
1477     */
1478    public function get($offerId, $optParams = array())
1479    {
1480      $params = array('offerId' => $offerId);
1481      $params = array_merge($params, $optParams);
1482      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_OfferDto");
1483    }
1484  
1485    /**
1486     * Creates or updates the requested offer. (offers.insert)
1487     *
1488     * @param Google_OfferDto $postBody
1489     * @param array $optParams Optional parameters.
1490     * @return Google_Service_AdExchangeBuyer_OfferDto
1491     */
1492    public function insert(Google_Service_AdExchangeBuyer_OfferDto $postBody, $optParams = array())
1493    {
1494      $params = array('postBody' => $postBody);
1495      $params = array_merge($params, $optParams);
1496      return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_OfferDto");
1497    }
1498  
1499    /**
1500     * Lists all offers the authenticated user has access to. (offers.listOffers)
1501     *
1502     * @param array $optParams Optional parameters.
1503     * @return Google_Service_AdExchangeBuyer_ListOffersResponse
1504     */
1505    public function listOffers($optParams = array())
1506    {
1507      $params = array();
1508      $params = array_merge($params, $optParams);
1509      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_ListOffersResponse");
1510    }
1511  }
1512  
1513  /**
1514   * The "performanceReport" collection of methods.
1515   * Typical usage is:
1516   *  <code>
1517   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1518   *   $performanceReport = $adexchangebuyerService->performanceReport;
1519   *  </code>
1520   */
1521  class Google_Service_AdExchangeBuyer_PerformanceReport_Resource extends Google_Service_Resource
1522  {
1523  
1524    /**
1525     * Retrieves the authenticated user's list of performance metrics.
1526     * (performanceReport.listPerformanceReport)
1527     *
1528     * @param string $accountId The account id to get the reports.
1529     * @param string $endDateTime The end time of the report in ISO 8601 timestamp
1530     * format using UTC.
1531     * @param string $startDateTime The start time of the report in ISO 8601
1532     * timestamp format using UTC.
1533     * @param array $optParams Optional parameters.
1534     *
1535     * @opt_param string pageToken A continuation token, used to page through
1536     * performance reports. To retrieve the next page, set this parameter to the
1537     * value of "nextPageToken" from the previous response. Optional.
1538     * @opt_param string maxResults Maximum number of entries returned on one result
1539     * page. If not set, the default is 100. Optional.
1540     * @return Google_Service_AdExchangeBuyer_PerformanceReportList
1541     */
1542    public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array())
1543    {
1544      $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime);
1545      $params = array_merge($params, $optParams);
1546      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PerformanceReportList");
1547    }
1548  }
1549  
1550  /**
1551   * The "pretargetingConfig" collection of methods.
1552   * Typical usage is:
1553   *  <code>
1554   *   $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
1555   *   $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
1556   *  </code>
1557   */
1558  class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_Service_Resource
1559  {
1560  
1561    /**
1562     * Deletes an existing pretargeting config. (pretargetingConfig.delete)
1563     *
1564     * @param string $accountId The account id to delete the pretargeting config
1565     * for.
1566     * @param string $configId The specific id of the configuration to delete.
1567     * @param array $optParams Optional parameters.
1568     */
1569    public function delete($accountId, $configId, $optParams = array())
1570    {
1571      $params = array('accountId' => $accountId, 'configId' => $configId);
1572      $params = array_merge($params, $optParams);
1573      return $this->call('delete', array($params));
1574    }
1575  
1576    /**
1577     * Gets a specific pretargeting configuration (pretargetingConfig.get)
1578     *
1579     * @param string $accountId The account id to get the pretargeting config for.
1580     * @param string $configId The specific id of the configuration to retrieve.
1581     * @param array $optParams Optional parameters.
1582     * @return Google_Service_AdExchangeBuyer_PretargetingConfig
1583     */
1584    public function get($accountId, $configId, $optParams = array())
1585    {
1586      $params = array('accountId' => $accountId, 'configId' => $configId);
1587      $params = array_merge($params, $optParams);
1588      return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
1589    }
1590  
1591    /**
1592     * Inserts a new pretargeting configuration. (pretargetingConfig.insert)
1593     *
1594     * @param string $accountId The account id to insert the pretargeting config
1595     * for.
1596     * @param Google_PretargetingConfig $postBody
1597     * @param array $optParams Optional parameters.
1598     * @return Google_Service_AdExchangeBuyer_PretargetingConfig
1599     */
1600    public function insert($accountId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
1601    {
1602      $params = array('accountId' => $accountId, 'postBody' => $postBody);
1603      $params = array_merge($params, $optParams);
1604      return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
1605    }
1606  
1607    /**
1608     * Retrieves a list of the authenticated user's pretargeting configurations.
1609     * (pretargetingConfig.listPretargetingConfig)
1610     *
1611     * @param string $accountId The account id to get the pretargeting configs for.
1612     * @param array $optParams Optional parameters.
1613     * @return Google_Service_AdExchangeBuyer_PretargetingConfigList
1614     */
1615    public function listPretargetingConfig($accountId, $optParams = array())
1616    {
1617      $params = array('accountId' => $accountId);
1618      $params = array_merge($params, $optParams);
1619      return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfigList");
1620    }
1621  
1622    /**
1623     * Updates an existing pretargeting config. This method supports patch
1624     * semantics. (pretargetingConfig.patch)
1625     *
1626     * @param string $accountId The account id to update the pretargeting config
1627     * for.
1628     * @param string $configId The specific id of the configuration to update.
1629     * @param Google_PretargetingConfig $postBody
1630     * @param array $optParams Optional parameters.
1631     * @return Google_Service_AdExchangeBuyer_PretargetingConfig
1632     */
1633    public function patch($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
1634    {
1635      $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
1636      $params = array_merge($params, $optParams);
1637      return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
1638    }
1639  
1640    /**
1641     * Updates an existing pretargeting config. (pretargetingConfig.update)
1642     *
1643     * @param string $accountId The account id to update the pretargeting config
1644     * for.
1645     * @param string $configId The specific id of the configuration to update.
1646     * @param Google_PretargetingConfig $postBody
1647     * @param array $optParams Optional parameters.
1648     * @return Google_Service_AdExchangeBuyer_PretargetingConfig
1649     */
1650    public function update($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
1651    {
1652      $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
1653      $params = array_merge($params, $optParams);
1654      return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
1655    }
1656  }
1657  
1658  
1659  
1660  
1661  class Google_Service_AdExchangeBuyer_Account extends Google_Collection
1662  {
1663    protected $collection_key = 'bidderLocation';
1664    protected $internal_gapi_mappings = array(
1665    );
1666    protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation';
1667    protected $bidderLocationDataType = 'array';
1668    public $cookieMatchingNid;
1669    public $cookieMatchingUrl;
1670    public $id;
1671    public $kind;
1672    public $maximumActiveCreatives;
1673    public $maximumTotalQps;
1674    public $numberActiveCreatives;
1675  
1676  
1677    public function setBidderLocation($bidderLocation)
1678    {
1679      $this->bidderLocation = $bidderLocation;
1680    }
1681    public function getBidderLocation()
1682    {
1683      return $this->bidderLocation;
1684    }
1685    public function setCookieMatchingNid($cookieMatchingNid)
1686    {
1687      $this->cookieMatchingNid = $cookieMatchingNid;
1688    }
1689    public function getCookieMatchingNid()
1690    {
1691      return $this->cookieMatchingNid;
1692    }
1693    public function setCookieMatchingUrl($cookieMatchingUrl)
1694    {
1695      $this->cookieMatchingUrl = $cookieMatchingUrl;
1696    }
1697    public function getCookieMatchingUrl()
1698    {
1699      return $this->cookieMatchingUrl;
1700    }
1701    public function setId($id)
1702    {
1703      $this->id = $id;
1704    }
1705    public function getId()
1706    {
1707      return $this->id;
1708    }
1709    public function setKind($kind)
1710    {
1711      $this->kind = $kind;
1712    }
1713    public function getKind()
1714    {
1715      return $this->kind;
1716    }
1717    public function setMaximumActiveCreatives($maximumActiveCreatives)
1718    {
1719      $this->maximumActiveCreatives = $maximumActiveCreatives;
1720    }
1721    public function getMaximumActiveCreatives()
1722    {
1723      return $this->maximumActiveCreatives;
1724    }
1725    public function setMaximumTotalQps($maximumTotalQps)
1726    {
1727      $this->maximumTotalQps = $maximumTotalQps;
1728    }
1729    public function getMaximumTotalQps()
1730    {
1731      return $this->maximumTotalQps;
1732    }
1733    public function setNumberActiveCreatives($numberActiveCreatives)
1734    {
1735      $this->numberActiveCreatives = $numberActiveCreatives;
1736    }
1737    public function getNumberActiveCreatives()
1738    {
1739      return $this->numberActiveCreatives;
1740    }
1741  }
1742  
1743  class Google_Service_AdExchangeBuyer_AccountBidderLocation extends Google_Model
1744  {
1745    protected $internal_gapi_mappings = array(
1746    );
1747    public $maximumQps;
1748    public $region;
1749    public $url;
1750  
1751  
1752    public function setMaximumQps($maximumQps)
1753    {
1754      $this->maximumQps = $maximumQps;
1755    }
1756    public function getMaximumQps()
1757    {
1758      return $this->maximumQps;
1759    }
1760    public function setRegion($region)
1761    {
1762      $this->region = $region;
1763    }
1764    public function getRegion()
1765    {
1766      return $this->region;
1767    }
1768    public function setUrl($url)
1769    {
1770      $this->url = $url;
1771    }
1772    public function getUrl()
1773    {
1774      return $this->url;
1775    }
1776  }
1777  
1778  class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
1779  {
1780    protected $collection_key = 'items';
1781    protected $internal_gapi_mappings = array(
1782    );
1783    protected $itemsType = 'Google_Service_AdExchangeBuyer_Account';
1784    protected $itemsDataType = 'array';
1785    public $kind;
1786  
1787  
1788    public function setItems($items)
1789    {
1790      $this->items = $items;
1791    }
1792    public function getItems()
1793    {
1794      return $this->items;
1795    }
1796    public function setKind($kind)
1797    {
1798      $this->kind = $kind;
1799    }
1800    public function getKind()
1801    {
1802      return $this->kind;
1803    }
1804  }
1805  
1806  class Google_Service_AdExchangeBuyer_AdSize extends Google_Model
1807  {
1808    protected $internal_gapi_mappings = array(
1809    );
1810    public $height;
1811    public $width;
1812  
1813  
1814    public function setHeight($height)
1815    {
1816      $this->height = $height;
1817    }
1818    public function getHeight()
1819    {
1820      return $this->height;
1821    }
1822    public function setWidth($width)
1823    {
1824      $this->width = $width;
1825    }
1826    public function getWidth()
1827    {
1828      return $this->width;
1829    }
1830  }
1831  
1832  class Google_Service_AdExchangeBuyer_AdSlotDto extends Google_Model
1833  {
1834    protected $internal_gapi_mappings = array(
1835    );
1836    public $channelCode;
1837    public $channelId;
1838    public $description;
1839    public $name;
1840    public $size;
1841    public $webPropertyId;
1842  
1843  
1844    public function setChannelCode($channelCode)
1845    {
1846      $this->channelCode = $channelCode;
1847    }
1848    public function getChannelCode()
1849    {
1850      return $this->channelCode;
1851    }
1852    public function setChannelId($channelId)
1853    {
1854      $this->channelId = $channelId;
1855    }
1856    public function getChannelId()
1857    {
1858      return $this->channelId;
1859    }
1860    public function setDescription($description)
1861    {
1862      $this->description = $description;
1863    }
1864    public function getDescription()
1865    {
1866      return $this->description;
1867    }
1868    public function setName($name)
1869    {
1870      $this->name = $name;
1871    }
1872    public function getName()
1873    {
1874      return $this->name;
1875    }
1876    public function setSize($size)
1877    {
1878      $this->size = $size;
1879    }
1880    public function getSize()
1881    {
1882      return $this->size;
1883    }
1884    public function setWebPropertyId($webPropertyId)
1885    {
1886      $this->webPropertyId = $webPropertyId;
1887    }
1888    public function getWebPropertyId()
1889    {
1890      return $this->webPropertyId;
1891    }
1892  }
1893  
1894  class Google_Service_AdExchangeBuyer_AddOrderDealsRequest extends Google_Collection
1895  {
1896    protected $collection_key = 'deals';
1897    protected $internal_gapi_mappings = array(
1898    );
1899    protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
1900    protected $dealsDataType = 'array';
1901    public $orderRevisionNumber;
1902    public $updateAction;
1903  
1904  
1905    public function setDeals($deals)
1906    {
1907      $this->deals = $deals;
1908    }
1909    public function getDeals()
1910    {
1911      return $this->deals;
1912    }
1913    public function setOrderRevisionNumber($orderRevisionNumber)
1914    {
1915      $this->orderRevisionNumber = $orderRevisionNumber;
1916    }
1917    public function getOrderRevisionNumber()
1918    {
1919      return $this->orderRevisionNumber;
1920    }
1921    public function setUpdateAction($updateAction)
1922    {
1923      $this->updateAction = $updateAction;
1924    }
1925    public function getUpdateAction()
1926    {
1927      return $this->updateAction;
1928    }
1929  }
1930  
1931  class Google_Service_AdExchangeBuyer_AddOrderDealsResponse extends Google_Collection
1932  {
1933    protected $collection_key = 'deals';
1934    protected $internal_gapi_mappings = array(
1935    );
1936    protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
1937    protected $dealsDataType = 'array';
1938    public $orderRevisionNumber;
1939  
1940  
1941    public function setDeals($deals)
1942    {
1943      $this->deals = $deals;
1944    }
1945    public function getDeals()
1946    {
1947      return $this->deals;
1948    }
1949    public function setOrderRevisionNumber($orderRevisionNumber)
1950    {
1951      $this->orderRevisionNumber = $orderRevisionNumber;
1952    }
1953    public function getOrderRevisionNumber()
1954    {
1955      return $this->orderRevisionNumber;
1956    }
1957  }
1958  
1959  class Google_Service_AdExchangeBuyer_AddOrderNotesRequest extends Google_Collection
1960  {
1961    protected $collection_key = 'notes';
1962    protected $internal_gapi_mappings = array(
1963    );
1964    protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
1965    protected $notesDataType = 'array';
1966  
1967  
1968    public function setNotes($notes)
1969    {
1970      $this->notes = $notes;
1971    }
1972    public function getNotes()
1973    {
1974      return $this->notes;
1975    }
1976  }
1977  
1978  class Google_Service_AdExchangeBuyer_AddOrderNotesResponse extends Google_Collection
1979  {
1980    protected $collection_key = 'notes';
1981    protected $internal_gapi_mappings = array(
1982    );
1983    protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
1984    protected $notesDataType = 'array';
1985  
1986  
1987    public function setNotes($notes)
1988    {
1989      $this->notes = $notes;
1990    }
1991    public function getNotes()
1992    {
1993      return $this->notes;
1994    }
1995  }
1996  
1997  class Google_Service_AdExchangeBuyer_AdvertiserDto extends Google_Collection
1998  {
1999    protected $collection_key = 'brands';
2000    protected $internal_gapi_mappings = array(
2001    );
2002    protected $brandsType = 'Google_Service_AdExchangeBuyer_BrandDto';
2003    protected $brandsDataType = 'array';
2004    public $id;
2005    public $name;
2006    public $status;
2007  
2008  
2009    public function setBrands($brands)
2010    {
2011      $this->brands = $brands;
2012    }
2013    public function getBrands()
2014    {
2015      return $this->brands;
2016    }
2017    public function setId($id)
2018    {
2019      $this->id = $id;
2020    }
2021    public function getId()
2022    {
2023      return $this->id;
2024    }
2025    public function setName($name)
2026    {
2027      $this->name = $name;
2028    }
2029    public function getName()
2030    {
2031      return $this->name;
2032    }
2033    public function setStatus($status)
2034    {
2035      $this->status = $status;
2036    }
2037    public function getStatus()
2038    {
2039      return $this->status;
2040    }
2041  }
2042  
2043  class Google_Service_AdExchangeBuyer_AudienceSegment extends Google_Model
2044  {
2045    protected $internal_gapi_mappings = array(
2046    );
2047    public $description;
2048    public $id;
2049    public $name;
2050    public $numCookies;
2051  
2052  
2053    public function setDescription($description)
2054    {
2055      $this->description = $description;
2056    }
2057    public function getDescription()
2058    {
2059      return $this->description;
2060    }
2061    public function setId($id)
2062    {
2063      $this->id = $id;
2064    }
2065    public function getId()
2066    {
2067      return $this->id;
2068    }
2069    public function setName($name)
2070    {
2071      $this->name = $name;
2072    }
2073    public function getName()
2074    {
2075      return $this->name;
2076    }
2077    public function setNumCookies($numCookies)
2078    {
2079      $this->numCookies = $numCookies;
2080    }
2081    public function getNumCookies()
2082    {
2083      return $this->numCookies;
2084    }
2085  }
2086  
2087  class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
2088  {
2089    protected $collection_key = 'billingId';
2090    protected $internal_gapi_mappings = array(
2091    );
2092    public $accountId;
2093    public $accountName;
2094    public $billingId;
2095    public $kind;
2096  
2097  
2098    public function setAccountId($accountId)
2099    {
2100      $this->accountId = $accountId;
2101    }
2102    public function getAccountId()
2103    {
2104      return $this->accountId;
2105    }
2106    public function setAccountName($accountName)
2107    {
2108      $this->accountName = $accountName;
2109    }
2110    public function getAccountName()
2111    {
2112      return $this->accountName;
2113    }
2114    public function setBillingId($billingId)
2115    {
2116      $this->billingId = $billingId;
2117    }
2118    public function getBillingId()
2119    {
2120      return $this->billingId;
2121    }
2122    public function setKind($kind)
2123    {
2124      $this->kind = $kind;
2125    }
2126    public function getKind()
2127    {
2128      return $this->kind;
2129    }
2130  }
2131  
2132  class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
2133  {
2134    protected $collection_key = 'items';
2135    protected $internal_gapi_mappings = array(
2136    );
2137    protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo';
2138    protected $itemsDataType = 'array';
2139    public $kind;
2140  
2141  
2142    public function setItems($items)
2143    {
2144      $this->items = $items;
2145    }
2146    public function getItems()
2147    {
2148      return $this->items;
2149    }
2150    public function setKind($kind)
2151    {
2152      $this->kind = $kind;
2153    }
2154    public function getKind()
2155    {
2156      return $this->kind;
2157    }
2158  }
2159  
2160  class Google_Service_AdExchangeBuyer_BrandDto extends Google_Model
2161  {
2162    protected $internal_gapi_mappings = array(
2163    );
2164    public $advertiserId;
2165    public $id;
2166    public $name;
2167  
2168  
2169    public function setAdvertiserId($advertiserId)
2170    {
2171      $this->advertiserId = $advertiserId;
2172    }
2173    public function getAdvertiserId()
2174    {
2175      return $this->advertiserId;
2176    }
2177    public function setId($id)
2178    {
2179      $this->id = $id;
2180    }
2181    public function getId()
2182    {
2183      return $this->id;
2184    }
2185    public function setName($name)
2186    {
2187      $this->name = $name;
2188    }
2189    public function getName()
2190    {
2191      return $this->name;
2192    }
2193  }
2194  
2195  class Google_Service_AdExchangeBuyer_Budget extends Google_Model
2196  {
2197    protected $internal_gapi_mappings = array(
2198    );
2199    public $accountId;
2200    public $billingId;
2201    public $budgetAmount;
2202    public $currencyCode;
2203    public $id;
2204    public $kind;
2205  
2206  
2207    public function setAccountId($accountId)
2208    {
2209      $this->accountId = $accountId;
2210    }
2211    public function getAccountId()
2212    {
2213      return $this->accountId;
2214    }
2215    public function setBillingId($billingId)
2216    {
2217      $this->billingId = $billingId;
2218    }
2219    public function getBillingId()
2220    {
2221      return $this->billingId;
2222    }
2223    public function setBudgetAmount($budgetAmount)
2224    {
2225      $this->budgetAmount = $budgetAmount;
2226    }
2227    public function getBudgetAmount()
2228    {
2229      return $this->budgetAmount;
2230    }
2231    public function setCurrencyCode($currencyCode)
2232    {
2233      $this->currencyCode = $currencyCode;
2234    }
2235    public function getCurrencyCode()
2236    {
2237      return $this->currencyCode;
2238    }
2239    public function setId($id)
2240    {
2241      $this->id = $id;
2242    }
2243    public function getId()
2244    {
2245      return $this->id;
2246    }
2247    public function setKind($kind)
2248    {
2249      $this->kind = $kind;
2250    }
2251    public function getKind()
2252    {
2253      return $this->kind;
2254    }
2255  }
2256  
2257  class Google_Service_AdExchangeBuyer_Buyer extends Google_Model
2258  {
2259    protected $internal_gapi_mappings = array(
2260    );
2261    public $accountId;
2262  
2263  
2264    public function setAccountId($accountId)
2265    {
2266      $this->accountId = $accountId;
2267    }
2268    public function getAccountId()
2269    {
2270      return $this->accountId;
2271    }
2272  }
2273  
2274  class Google_Service_AdExchangeBuyer_BuyerDto extends Google_Model
2275  {
2276    protected $internal_gapi_mappings = array(
2277    );
2278    public $accountId;
2279    public $customerId;
2280    public $displayName;
2281    public $enabledForInterestTargetingDeals;
2282    public $enabledForPreferredDeals;
2283    public $id;
2284    public $sponsorAccountId;
2285  
2286  
2287    public function setAccountId($accountId)
2288    {
2289      $this->accountId = $accountId;
2290    }
2291    public function getAccountId()
2292    {
2293      return $this->accountId;
2294    }
2295    public function setCustomerId($customerId)
2296    {
2297      $this->customerId = $customerId;
2298    }
2299    public function getCustomerId()
2300    {
2301      return $this->customerId;
2302    }
2303    public function setDisplayName($displayName)
2304    {
2305      $this->displayName = $displayName;
2306    }
2307    public function getDisplayName()
2308    {
2309      return $this->displayName;
2310    }
2311    public function setEnabledForInterestTargetingDeals($enabledForInterestTargetingDeals)
2312    {
2313      $this->enabledForInterestTargetingDeals = $enabledForInterestTargetingDeals;
2314    }
2315    public function getEnabledForInterestTargetingDeals()
2316    {
2317      return $this->enabledForInterestTargetingDeals;
2318    }
2319    public function setEnabledForPreferredDeals($enabledForPreferredDeals)
2320    {
2321      $this->enabledForPreferredDeals = $enabledForPreferredDeals;
2322    }
2323    public function getEnabledForPreferredDeals()
2324    {
2325      return $this->enabledForPreferredDeals;
2326    }
2327    public function setId($id)
2328    {
2329      $this->id = $id;
2330    }
2331    public function getId()
2332    {
2333      return $this->id;
2334    }
2335    public function setSponsorAccountId($sponsorAccountId)
2336    {
2337      $this->sponsorAccountId = $sponsorAccountId;
2338    }
2339    public function getSponsorAccountId()
2340    {
2341      return $this->sponsorAccountId;
2342    }
2343  }
2344  
2345  class Google_Service_AdExchangeBuyer_ClientAccessCapabilities extends Google_Collection
2346  {
2347    protected $collection_key = 'capabilities';
2348    protected $internal_gapi_mappings = array(
2349    );
2350    public $capabilities;
2351    public $clientAccountId;
2352  
2353  
2354    public function setCapabilities($capabilities)
2355    {
2356      $this->capabilities = $capabilities;
2357    }
2358    public function getCapabilities()
2359    {
2360      return $this->capabilities;
2361    }
2362    public function setClientAccountId($clientAccountId)
2363    {
2364      $this->clientAccountId = $clientAccountId;
2365    }
2366    public function getClientAccountId()
2367    {
2368      return $this->clientAccountId;
2369    }
2370  }
2371  
2372  class Google_Service_AdExchangeBuyer_ContactInformation extends Google_Model
2373  {
2374    protected $internal_gapi_mappings = array(
2375    );
2376    public $email;
2377    public $name;
2378  
2379  
2380    public function setEmail($email)
2381    {
2382      $this->email = $email;
2383    }
2384    public function getEmail()
2385    {
2386      return $this->email;
2387    }
2388    public function setName($name)
2389    {
2390      $this->name = $name;
2391    }
2392    public function getName()
2393    {
2394      return $this->name;
2395    }
2396  }
2397  
2398  class Google_Service_AdExchangeBuyer_CreateOrdersRequest extends Google_Collection
2399  {
2400    protected $collection_key = 'orders';
2401    protected $internal_gapi_mappings = array(
2402    );
2403    protected $ordersType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder';
2404    protected $ordersDataType = 'array';
2405    public $webPropertyCode;
2406  
2407  
2408    public function setOrders($orders)
2409    {
2410      $this->orders = $orders;
2411    }
2412    public function getOrders()
2413    {
2414      return $this->orders;
2415    }
2416    public function setWebPropertyCode($webPropertyCode)
2417    {
2418      $this->webPropertyCode = $webPropertyCode;
2419    }
2420    public function getWebPropertyCode()
2421    {
2422      return $this->webPropertyCode;
2423    }
2424  }
2425  
2426  class Google_Service_AdExchangeBuyer_CreateOrdersResponse extends Google_Collection
2427  {
2428    protected $collection_key = 'orders';
2429    protected $internal_gapi_mappings = array(
2430    );
2431    protected $ordersType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder';
2432    protected $ordersDataType = 'array';
2433  
2434  
2435    public function setOrders($orders)
2436    {
2437      $this->orders = $orders;
2438    }
2439    public function getOrders()
2440    {
2441      return $this->orders;
2442    }
2443  }
2444  
2445  class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
2446  {
2447    protected $collection_key = 'vendorType';
2448    protected $internal_gapi_mappings = array(
2449          "hTMLSnippet" => "HTMLSnippet",
2450          "apiUploadTimestamp" => "api_upload_timestamp",
2451    );
2452    public $hTMLSnippet;
2453    public $accountId;
2454    public $advertiserId;
2455    public $advertiserName;
2456    public $agencyId;
2457    public $apiUploadTimestamp;
2458    public $attribute;
2459    public $buyerCreativeId;
2460    public $clickThroughUrl;
2461    protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
2462    protected $correctionsDataType = 'array';
2463    public $dealsStatus;
2464    protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
2465    protected $filteringReasonsDataType = '';
2466    public $height;
2467    public $impressionTrackingUrl;
2468    public $kind;
2469    protected $nativeAdType = 'Google_Service_AdExchangeBuyer_CreativeNativeAd';
2470    protected $nativeAdDataType = '';
2471    public $openAuctionStatus;
2472    public $productCategories;
2473    public $restrictedCategories;
2474    public $sensitiveCategories;
2475    protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions';
2476    protected $servingRestrictionsDataType = 'array';
2477    public $vendorType;
2478    public $version;
2479    public $videoURL;
2480    public $width;
2481  
2482  
2483    public function setHTMLSnippet($hTMLSnippet)
2484    {
2485      $this->hTMLSnippet = $hTMLSnippet;
2486    }
2487    public function getHTMLSnippet()
2488    {
2489      return $this->hTMLSnippet;
2490    }
2491    public function setAccountId($accountId)
2492    {
2493      $this->accountId = $accountId;
2494    }
2495    public function getAccountId()
2496    {
2497      return $this->accountId;
2498    }
2499    public function setAdvertiserId($advertiserId)
2500    {
2501      $this->advertiserId = $advertiserId;
2502    }
2503    public function getAdvertiserId()
2504    {
2505      return $this->advertiserId;
2506    }
2507    public function setAdvertiserName($advertiserName)
2508    {
2509      $this->advertiserName = $advertiserName;
2510    }
2511    public function getAdvertiserName()
2512    {
2513      return $this->advertiserName;
2514    }
2515    public function setAgencyId($agencyId)
2516    {
2517      $this->agencyId = $agencyId;
2518    }
2519    public function getAgencyId()
2520    {
2521      return $this->agencyId;
2522    }
2523    public function setApiUploadTimestamp($apiUploadTimestamp)
2524    {
2525      $this->apiUploadTimestamp = $apiUploadTimestamp;
2526    }
2527    public function getApiUploadTimestamp()
2528    {
2529      return $this->apiUploadTimestamp;
2530    }
2531    public function setAttribute($attribute)
2532    {
2533      $this->attribute = $attribute;
2534    }
2535    public function getAttribute()
2536    {
2537      return $this->attribute;
2538    }
2539    public function setBuyerCreativeId($buyerCreativeId)
2540    {
2541      $this->buyerCreativeId = $buyerCreativeId;
2542    }
2543    public function getBuyerCreativeId()
2544    {
2545      return $this->buyerCreativeId;
2546    }
2547    public function setClickThroughUrl($clickThroughUrl)
2548    {
2549      $this->clickThroughUrl = $clickThroughUrl;
2550    }
2551    public function getClickThroughUrl()
2552    {
2553      return $this->clickThroughUrl;
2554    }
2555    public function setCorrections($corrections)
2556    {
2557      $this->corrections = $corrections;
2558    }
2559    public function getCorrections()
2560    {
2561      return $this->corrections;
2562    }
2563    public function setDealsStatus($dealsStatus)
2564    {
2565      $this->dealsStatus = $dealsStatus;
2566    }
2567    public function getDealsStatus()
2568    {
2569      return $this->dealsStatus;
2570    }
2571    public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
2572    {
2573      $this->filteringReasons = $filteringReasons;
2574    }
2575    public function getFilteringReasons()
2576    {
2577      return $this->filteringReasons;
2578    }
2579    public function setHeight($height)
2580    {
2581      $this->height = $height;
2582    }
2583    public function getHeight()
2584    {
2585      return $this->height;
2586    }
2587    public function setImpressionTrackingUrl($impressionTrackingUrl)
2588    {
2589      $this->impressionTrackingUrl = $impressionTrackingUrl;
2590    }
2591    public function getImpressionTrackingUrl()
2592    {
2593      return $this->impressionTrackingUrl;
2594    }
2595    public function setKind($kind)
2596    {
2597      $this->kind = $kind;
2598    }
2599    public function getKind()
2600    {
2601      return $this->kind;
2602    }
2603    public function setNativeAd(Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd)
2604    {
2605      $this->nativeAd = $nativeAd;
2606    }
2607    public function getNativeAd()
2608    {
2609      return $this->nativeAd;
2610    }
2611    public function setOpenAuctionStatus($openAuctionStatus)
2612    {
2613      $this->openAuctionStatus = $openAuctionStatus;
2614    }
2615    public function getOpenAuctionStatus()
2616    {
2617      return $this->openAuctionStatus;
2618    }
2619    public function setProductCategories($productCategories)
2620    {
2621      $this->productCategories = $productCategories;
2622    }
2623    public function getProductCategories()
2624    {
2625      return $this->productCategories;
2626    }
2627    public function setRestrictedCategories($restrictedCategories)
2628    {
2629      $this->restrictedCategories = $restrictedCategories;
2630    }
2631    public function getRestrictedCategories()
2632    {
2633      return $this->restrictedCategories;
2634    }
2635    public function setSensitiveCategories($sensitiveCategories)
2636    {
2637      $this->sensitiveCategories = $sensitiveCategories;
2638    }
2639    public function getSensitiveCategories()
2640    {
2641      return $this->sensitiveCategories;
2642    }
2643    public function setServingRestrictions($servingRestrictions)
2644    {
2645      $this->servingRestrictions = $servingRestrictions;
2646    }
2647    public function getServingRestrictions()
2648    {
2649      return $this->servingRestrictions;
2650    }
2651    public function setVendorType($vendorType)
2652    {
2653      $this->vendorType = $vendorType;
2654    }
2655    public function getVendorType()
2656    {
2657      return $this->vendorType;
2658    }
2659    public function setVersion($version)
2660    {
2661      $this->version = $version;
2662    }
2663    public function getVersion()
2664    {
2665      return $this->version;
2666    }
2667    public function setVideoURL($videoURL)
2668    {
2669      $this->videoURL = $videoURL;
2670    }
2671    public function getVideoURL()
2672    {
2673      return $this->videoURL;
2674    }
2675    public function setWidth($width)
2676    {
2677      $this->width = $width;
2678    }
2679    public function getWidth()
2680    {
2681      return $this->width;
2682    }
2683  }
2684  
2685  class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection
2686  {
2687    protected $collection_key = 'details';
2688    protected $internal_gapi_mappings = array(
2689    );
2690    public $details;
2691    public $reason;
2692  
2693  
2694    public function setDetails($details)
2695    {
2696      $this->details = $details;
2697    }
2698    public function getDetails()
2699    {
2700      return $this->details;
2701    }
2702    public function setReason($reason)
2703    {
2704      $this->reason = $reason;
2705    }
2706    public function getReason()
2707    {
2708      return $this->reason;
2709    }
2710  }
2711  
2712  class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
2713  {
2714    protected $collection_key = 'reasons';
2715    protected $internal_gapi_mappings = array(
2716    );
2717    public $date;
2718    protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
2719    protected $reasonsDataType = 'array';
2720  
2721  
2722    public function setDate($date)
2723    {
2724      $this->date = $date;
2725    }
2726    public function getDate()
2727    {
2728      return $this->date;
2729    }
2730    public function setReasons($reasons)
2731    {
2732      $this->reasons = $reasons;
2733    }
2734    public function getReasons()
2735    {
2736      return $this->reasons;
2737    }
2738  }
2739  
2740  class Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Google_Model
2741  {
2742    protected $internal_gapi_mappings = array(
2743    );
2744    public $filteringCount;
2745    public $filteringStatus;
2746  
2747  
2748    public function setFilteringCount($filteringCount)
2749    {
2750      $this->filteringCount = $filteringCount;
2751    }
2752    public function getFilteringCount()
2753    {
2754      return $this->filteringCount;
2755    }
2756    public function setFilteringStatus($filteringStatus)
2757    {
2758      $this->filteringStatus = $filteringStatus;
2759    }
2760    public function getFilteringStatus()
2761    {
2762      return $this->filteringStatus;
2763    }
2764  }
2765  
2766  class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
2767  {
2768    protected $collection_key = 'impressionTrackingUrl';
2769    protected $internal_gapi_mappings = array(
2770    );
2771    public $advertiser;
2772    protected $appIconType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon';
2773    protected $appIconDataType = '';
2774    public $body;
2775    public $callToAction;
2776    public $clickTrackingUrl;
2777    public $headline;
2778    protected $imageType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdImage';
2779    protected $imageDataType = '';
2780    public $impressionTrackingUrl;
2781    protected $logoType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdLogo';
2782    protected $logoDataType = '';
2783    public $price;
2784    public $starRating;
2785    public $store;
2786  
2787  
2788    public function setAdvertiser($advertiser)
2789    {
2790      $this->advertiser = $advertiser;
2791    }
2792    public function getAdvertiser()
2793    {
2794      return $this->advertiser;
2795    }
2796    public function setAppIcon(Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon $appIcon)
2797    {
2798      $this->appIcon = $appIcon;
2799    }
2800    public function getAppIcon()
2801    {
2802      return $this->appIcon;
2803    }
2804    public function setBody($body)
2805    {
2806      $this->body = $body;
2807    }
2808    public function getBody()
2809    {
2810      return $this->body;
2811    }
2812    public function setCallToAction($callToAction)
2813    {
2814      $this->callToAction = $callToAction;
2815    }
2816    public function getCallToAction()
2817    {
2818      return $this->callToAction;
2819    }
2820    public function setClickTrackingUrl($clickTrackingUrl)
2821    {
2822      $this->clickTrackingUrl = $clickTrackingUrl;
2823    }
2824    public function getClickTrackingUrl()
2825    {
2826      return $this->clickTrackingUrl;
2827    }
2828    public function setHeadline($headline)
2829    {
2830      $this->headline = $headline;
2831    }
2832    public function getHeadline()
2833    {
2834      return $this->headline;
2835    }
2836    public function setImage(Google_Service_AdExchangeBuyer_CreativeNativeAdImage $image)
2837    {
2838      $this->image = $image;
2839    }
2840    public function getImage()
2841    {
2842      return $this->image;
2843    }
2844    public function setImpressionTrackingUrl($impressionTrackingUrl)
2845    {
2846      $this->impressionTrackingUrl = $impressionTrackingUrl;
2847    }
2848    public function getImpressionTrackingUrl()
2849    {
2850      return $this->impressionTrackingUrl;
2851    }
2852    public function setLogo(Google_Service_AdExchangeBuyer_CreativeNativeAdLogo $logo)
2853    {
2854      $this->logo = $logo;
2855    }
2856    public function getLogo()
2857    {
2858      return $this->logo;
2859    }
2860    public function setPrice($price)
2861    {
2862      $this->price = $price;
2863    }
2864    public function getPrice()
2865    {
2866      return $this->price;
2867    }
2868    public function setStarRating($starRating)
2869    {
2870      $this->starRating = $starRating;
2871    }
2872    public function getStarRating()
2873    {
2874      return $this->starRating;
2875    }
2876    public function setStore($store)
2877    {
2878      $this->store = $store;
2879    }
2880    public function getStore()
2881    {
2882      return $this->store;
2883    }
2884  }
2885  
2886  class Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon extends Google_Model
2887  {
2888    protected $internal_gapi_mappings = array(
2889    );
2890    public $height;
2891    public $url;
2892    public $width;
2893  
2894  
2895    public function setHeight($height)
2896    {
2897      $this->height = $height;
2898    }
2899    public function getHeight()
2900    {
2901      return $this->height;
2902    }
2903    public function setUrl($url)
2904    {
2905      $this->url = $url;
2906    }
2907    public function getUrl()
2908    {
2909      return $this->url;
2910    }
2911    public function setWidth($width)
2912    {
2913      $this->width = $width;
2914    }
2915    public function getWidth()
2916    {
2917      return $this->width;
2918    }
2919  }
2920  
2921  class Google_Service_AdExchangeBuyer_CreativeNativeAdImage extends Google_Model
2922  {
2923    protected $internal_gapi_mappings = array(
2924    );
2925    public $height;
2926    public $url;
2927    public $width;
2928  
2929  
2930    public function setHeight($height)
2931    {
2932      $this->height = $height;
2933    }
2934    public function getHeight()
2935    {
2936      return $this->height;
2937    }
2938    public function setUrl($url)
2939    {
2940      $this->url = $url;
2941    }
2942    public function getUrl()
2943    {
2944      return $this->url;
2945    }
2946    public function setWidth($width)
2947    {
2948      $this->width = $width;
2949    }
2950    public function getWidth()
2951    {
2952      return $this->width;
2953    }
2954  }
2955  
2956  class Google_Service_AdExchangeBuyer_CreativeNativeAdLogo extends Google_Model
2957  {
2958    protected $internal_gapi_mappings = array(
2959    );
2960    public $height;
2961    public $url;
2962    public $width;
2963  
2964  
2965    public function setHeight($height)
2966    {
2967      $this->height = $height;
2968    }
2969    public function getHeight()
2970    {
2971      return $this->height;
2972    }
2973    public function setUrl($url)
2974    {
2975      $this->url = $url;
2976    }
2977    public function getUrl()
2978    {
2979      return $this->url;
2980    }
2981    public function setWidth($width)
2982    {
2983      $this->width = $width;
2984    }
2985    public function getWidth()
2986    {
2987      return $this->width;
2988    }
2989  }
2990  
2991  class Google_Service_AdExchangeBuyer_CreativeServingRestrictions extends Google_Collection
2992  {
2993    protected $collection_key = 'disapprovalReasons';
2994    protected $internal_gapi_mappings = array(
2995    );
2996    protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts';
2997    protected $contextsDataType = 'array';
2998    protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons';
2999    protected $disapprovalReasonsDataType = 'array';
3000    public $reason;
3001  
3002  
3003    public function setContexts($contexts)
3004    {
3005      $this->contexts = $contexts;
3006    }
3007    public function getContexts()
3008    {
3009      return $this->contexts;
3010    }
3011    public function setDisapprovalReasons($disapprovalReasons)
3012    {
3013      $this->disapprovalReasons = $disapprovalReasons;
3014    }
3015    public function getDisapprovalReasons()
3016    {
3017      return $this->disapprovalReasons;
3018    }
3019    public function setReason($reason)
3020    {
3021      $this->reason = $reason;
3022    }
3023    public function getReason()
3024    {
3025      return $this->reason;
3026    }
3027  }
3028  
3029  class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts extends Google_Collection
3030  {
3031    protected $collection_key = 'platform';
3032    protected $internal_gapi_mappings = array(
3033    );
3034    public $auctionType;
3035    public $contextType;
3036    public $geoCriteriaId;
3037    public $platform;
3038  
3039  
3040    public function setAuctionType($auctionType)
3041    {
3042      $this->auctionType = $auctionType;
3043    }
3044    public function getAuctionType()
3045    {
3046      return $this->auctionType;
3047    }
3048    public function setContextType($contextType)
3049    {
3050      $this->contextType = $contextType;
3051    }
3052    public function getContextType()
3053    {
3054      return $this->contextType;
3055    }
3056    public function setGeoCriteriaId($geoCriteriaId)
3057    {
3058      $this->geoCriteriaId = $geoCriteriaId;
3059    }
3060    public function getGeoCriteriaId()
3061    {
3062      return $this->geoCriteriaId;
3063    }
3064    public function setPlatform($platform)
3065    {
3066      $this->platform = $platform;
3067    }
3068    public function getPlatform()
3069    {
3070      return $this->platform;
3071    }
3072  }
3073  
3074  class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons extends Google_Collection
3075  {
3076    protected $collection_key = 'details';
3077    protected $internal_gapi_mappings = array(
3078    );
3079    public $details;
3080    public $reason;
3081  
3082  
3083    public function setDetails($details)
3084    {
3085      $this->details = $details;
3086    }
3087    public function getDetails()
3088    {
3089      return $this->details;
3090    }
3091    public function setReason($reason)
3092    {
3093      $this->reason = $reason;
3094    }
3095    public function getReason()
3096    {
3097      return $this->reason;
3098    }
3099  }
3100  
3101  class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
3102  {
3103    protected $collection_key = 'items';
3104    protected $internal_gapi_mappings = array(
3105    );
3106    protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative';
3107    protected $itemsDataType = 'array';
3108    public $kind;
3109    public $nextPageToken;
3110  
3111  
3112    public function setItems($items)
3113    {
3114      $this->items = $items;
3115    }
3116    public function getItems()
3117    {
3118      return $this->items;
3119    }
3120    public function setKind($kind)
3121    {
3122      $this->kind = $kind;
3123    }
3124    public function getKind()
3125    {
3126      return $this->kind;
3127    }
3128    public function setNextPageToken($nextPageToken)
3129    {
3130      $this->nextPageToken = $nextPageToken;
3131    }
3132    public function getNextPageToken()
3133    {
3134      return $this->nextPageToken;
3135    }
3136  }
3137  
3138  class Google_Service_AdExchangeBuyer_DateTime extends Google_Model
3139  {
3140    protected $internal_gapi_mappings = array(
3141    );
3142    public $day;
3143    public $hour;
3144    public $minute;
3145    public $month;
3146    public $second;
3147    public $timeZoneId;
3148    public $year;
3149  
3150  
3151    public function setDay($day)
3152    {
3153      $this->day = $day;
3154    }
3155    public function getDay()
3156    {
3157      return $this->day;
3158    }
3159    public function setHour($hour)
3160    {
3161      $this->hour = $hour;
3162    }
3163    public function getHour()
3164    {
3165      return $this->hour;
3166    }
3167    public function setMinute($minute)
3168    {
3169      $this->minute = $minute;
3170    }
3171    public function getMinute()
3172    {
3173      return $this->minute;
3174    }
3175    public function setMonth($month)
3176    {
3177      $this->month = $month;
3178    }
3179    public function getMonth()
3180    {
3181      return $this->month;
3182    }
3183    public function setSecond($second)
3184    {
3185      $this->second = $second;
3186    }
3187    public function getSecond()
3188    {
3189      return $this->second;
3190    }
3191    public function setTimeZoneId($timeZoneId)
3192    {
3193      $this->timeZoneId = $timeZoneId;
3194    }
3195    public function getTimeZoneId()
3196    {
3197      return $this->timeZoneId;
3198    }
3199    public function setYear($year)
3200    {
3201      $this->year = $year;
3202    }
3203    public function getYear()
3204    {
3205      return $this->year;
3206    }
3207  }
3208  
3209  class Google_Service_AdExchangeBuyer_DealPartyDto extends Google_Model
3210  {
3211    protected $internal_gapi_mappings = array(
3212    );
3213    protected $buyerType = 'Google_Service_AdExchangeBuyer_BuyerDto';
3214    protected $buyerDataType = '';
3215    public $buyerSellerRole;
3216    public $customerId;
3217    public $name;
3218    protected $webPropertyType = 'Google_Service_AdExchangeBuyer_WebPropertyDto';
3219    protected $webPropertyDataType = '';
3220  
3221  
3222    public function setBuyer(Google_Service_AdExchangeBuyer_BuyerDto $buyer)
3223    {
3224      $this->buyer = $buyer;
3225    }
3226    public function getBuyer()
3227    {
3228      return $this->buyer;
3229    }
3230    public function setBuyerSellerRole($buyerSellerRole)
3231    {
3232      $this->buyerSellerRole = $buyerSellerRole;
3233    }
3234    public function getBuyerSellerRole()
3235    {
3236      return $this->buyerSellerRole;
3237    }
3238    public function setCustomerId($customerId)
3239    {
3240      $this->customerId = $customerId;
3241    }
3242    public function getCustomerId()
3243    {
3244      return $this->customerId;
3245    }
3246    public function setName($name)
3247    {
3248      $this->name = $name;
3249    }
3250    public function getName()
3251    {
3252      return $this->name;
3253    }
3254    public function setWebProperty(Google_Service_AdExchangeBuyer_WebPropertyDto $webProperty)
3255    {
3256      $this->webProperty = $webProperty;
3257    }
3258    public function getWebProperty()
3259    {
3260      return $this->webProperty;
3261    }
3262  }
3263  
3264  class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
3265  {
3266    protected $internal_gapi_mappings = array(
3267    );
3268    public $description;
3269    protected $guaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms';
3270    protected $guaranteedFixedPriceTermsDataType = '';
3271    protected $nonGuaranteedAuctionTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms';
3272    protected $nonGuaranteedAuctionTermsDataType = '';
3273    protected $nonGuaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms';
3274    protected $nonGuaranteedFixedPriceTermsDataType = '';
3275  
3276  
3277    public function setDescription($description)
3278    {
3279      $this->description = $description;
3280    }
3281    public function getDescription()
3282    {
3283      return $this->description;
3284    }
3285    public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
3286    {
3287      $this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
3288    }
3289    public function getGuaranteedFixedPriceTerms()
3290    {
3291      return $this->guaranteedFixedPriceTerms;
3292    }
3293    public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
3294    {
3295      $this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
3296    }
3297    public function getNonGuaranteedAuctionTerms()
3298    {
3299      return $this->nonGuaranteedAuctionTerms;
3300    }
3301    public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
3302    {
3303      $this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
3304    }
3305    public function getNonGuaranteedFixedPriceTerms()
3306    {
3307      return $this->nonGuaranteedFixedPriceTerms;
3308    }
3309  }
3310  
3311  class Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms extends Google_Collection
3312  {
3313    protected $collection_key = 'fixedPrices';
3314    protected $internal_gapi_mappings = array(
3315    );
3316    protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
3317    protected $fixedPricesDataType = 'array';
3318    public $guaranteedImpressions;
3319    public $guaranteedLooks;
3320  
3321  
3322    public function setFixedPrices($fixedPrices)
3323    {
3324      $this->fixedPrices = $fixedPrices;
3325    }
3326    public function getFixedPrices()
3327    {
3328      return $this->fixedPrices;
3329    }
3330    public function setGuaranteedImpressions($guaranteedImpressions)
3331    {
3332      $this->guaranteedImpressions = $guaranteedImpressions;
3333    }
3334    public function getGuaranteedImpressions()
3335    {
3336      return $this->guaranteedImpressions;
3337    }
3338    public function setGuaranteedLooks($guaranteedLooks)
3339    {
3340      $this->guaranteedLooks = $guaranteedLooks;
3341    }
3342    public function getGuaranteedLooks()
3343    {
3344      return $this->guaranteedLooks;
3345    }
3346  }
3347  
3348  class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms extends Google_Collection
3349  {
3350    protected $collection_key = 'reservePricePerBuyers';
3351    protected $internal_gapi_mappings = array(
3352    );
3353    public $privateAuctionId;
3354    protected $reservePricePerBuyersType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
3355    protected $reservePricePerBuyersDataType = 'array';
3356  
3357  
3358    public function setPrivateAuctionId($privateAuctionId)
3359    {
3360      $this->privateAuctionId = $privateAuctionId;
3361    }
3362    public function getPrivateAuctionId()
3363    {
3364      return $this->privateAuctionId;
3365    }
3366    public function setReservePricePerBuyers($reservePricePerBuyers)
3367    {
3368      $this->reservePricePerBuyers = $reservePricePerBuyers;
3369    }
3370    public function getReservePricePerBuyers()
3371    {
3372      return $this->reservePricePerBuyers;
3373    }
3374  }
3375  
3376  class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms extends Google_Collection
3377  {
3378    protected $collection_key = 'fixedPrices';
3379    protected $internal_gapi_mappings = array(
3380    );
3381    protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
3382    protected $fixedPricesDataType = 'array';
3383  
3384  
3385    public function setFixedPrices($fixedPrices)
3386    {
3387      $this->fixedPrices = $fixedPrices;
3388    }
3389    public function getFixedPrices()
3390    {
3391      return $this->fixedPrices;
3392    }
3393  }
3394  
3395  class Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest extends Google_Collection
3396  {
3397    protected $collection_key = 'dealIds';
3398    protected $internal_gapi_mappings = array(
3399    );
3400    public $dealIds;
3401    public $orderRevisionNumber;
3402    public $updateAction;
3403  
3404  
3405    public function setDealIds($dealIds)
3406    {
3407      $this->dealIds = $dealIds;
3408    }
3409    public function getDealIds()
3410    {
3411      return $this->dealIds;
3412    }
3413    public function setOrderRevisionNumber($orderRevisionNumber)
3414    {
3415      $this->orderRevisionNumber = $orderRevisionNumber;
3416    }
3417    public function getOrderRevisionNumber()
3418    {
3419      return $this->orderRevisionNumber;
3420    }
3421    public function setUpdateAction($updateAction)
3422    {
3423      $this->updateAction = $updateAction;
3424    }
3425    public function getUpdateAction()
3426    {
3427      return $this->updateAction;
3428    }
3429  }
3430  
3431  class Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse extends Google_Collection
3432  {
3433    protected $collection_key = 'deals';
3434    protected $internal_gapi_mappings = array(
3435    );
3436    protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
3437    protected $dealsDataType = 'array';
3438    public $orderRevisionNumber;
3439  
3440  
3441    public function setDeals($deals)
3442    {
3443      $this->deals = $deals;
3444    }
3445    public function getDeals()
3446    {
3447      return $this->deals;
3448    }
3449    public function setOrderRevisionNumber($orderRevisionNumber)
3450    {
3451      $this->orderRevisionNumber = $orderRevisionNumber;
3452    }
3453    public function getOrderRevisionNumber()
3454    {
3455      return $this->orderRevisionNumber;
3456    }
3457  }
3458  
3459  class Google_Service_AdExchangeBuyer_DeliveryControl extends Google_Collection
3460  {
3461    protected $collection_key = 'frequencyCaps';
3462    protected $internal_gapi_mappings = array(
3463    );
3464    public $deliveryRateType;
3465    protected $frequencyCapsType = 'Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap';
3466    protected $frequencyCapsDataType = 'array';
3467  
3468  
3469    public function setDeliveryRateType($deliveryRateType)
3470    {
3471      $this->deliveryRateType = $deliveryRateType;
3472    }
3473    public function getDeliveryRateType()
3474    {
3475      return $this->deliveryRateType;
3476    }
3477    public function setFrequencyCaps($frequencyCaps)
3478    {
3479      $this->frequencyCaps = $frequencyCaps;
3480    }
3481    public function getFrequencyCaps()
3482    {
3483      return $this->frequencyCaps;
3484    }
3485  }
3486  
3487  class Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap extends Google_Model
3488  {
3489    protected $internal_gapi_mappings = array(
3490    );
3491    public $maxImpressions;
3492    public $numTimeUnits;
3493    public $timeUnitType;
3494  
3495  
3496    public function setMaxImpressions($maxImpressions)
3497    {
3498      $this->maxImpressions = $maxImpressions;
3499    }
3500    public function getMaxImpressions()
3501    {
3502      return $this->maxImpressions;
3503    }
3504    public function setNumTimeUnits($numTimeUnits)
3505    {
3506      $this->numTimeUnits = $numTimeUnits;
3507    }
3508    public function getNumTimeUnits()
3509    {
3510      return $this->numTimeUnits;
3511    }
3512    public function setTimeUnitType($timeUnitType)
3513    {
3514      $this->timeUnitType = $timeUnitType;
3515    }
3516    public function getTimeUnitType()
3517    {
3518      return $this->timeUnitType;
3519    }
3520  }
3521  
3522  class Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest extends Google_Collection
3523  {
3524    protected $collection_key = 'deals';
3525    protected $internal_gapi_mappings = array(
3526    );
3527    protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
3528    protected $dealsDataType = 'array';
3529    protected $orderType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder';
3530    protected $orderDataType = '';
3531    public $orderRevisionNumber;
3532    public $updateAction;
3533  
3534  
3535    public function setDeals($deals)
3536    {
3537      $this->deals = $deals;
3538    }
3539    public function getDeals()
3540    {
3541      return $this->deals;
3542    }
3543    public function setOrder(Google_Service_AdExchangeBuyer_MarketplaceOrder $order)
3544    {
3545      $this->order = $order;
3546    }
3547    public function getOrder()
3548    {
3549      return $this->order;
3550    }
3551    public function setOrderRevisionNumber($orderRevisionNumber)
3552    {
3553      $this->orderRevisionNumber = $orderRevisionNumber;
3554    }
3555    public function getOrderRevisionNumber()
3556    {
3557      return $this->orderRevisionNumber;
3558    }
3559    public function setUpdateAction($updateAction)
3560    {
3561      $this->updateAction = $updateAction;
3562    }
3563    public function getUpdateAction()
3564    {
3565      return $this->updateAction;
3566    }
3567  }
3568  
3569  class Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse extends Google_Collection
3570  {
3571    protected $collection_key = 'deals';
3572    protected $internal_gapi_mappings = array(
3573    );
3574    protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
3575    protected $dealsDataType = 'array';
3576  
3577  
3578    public function setDeals($deals)
3579    {
3580      $this->deals = $deals;
3581    }
3582    public function getDeals()
3583    {
3584      return $this->deals;
3585    }
3586  }
3587  
3588  class Google_Service_AdExchangeBuyer_EditHistoryDto extends Google_Model
3589  {
3590    protected $internal_gapi_mappings = array(
3591    );
3592    public $createdByLoginName;
3593    public $createdTimeStamp;
3594    public $lastUpdateTimeStamp;
3595    public $lastUpdatedByLoginName;
3596  
3597  
3598    public function setCreatedByLoginName($createdByLoginName)
3599    {
3600      $this->createdByLoginName = $createdByLoginName;
3601    }
3602    public function getCreatedByLoginName()
3603    {
3604      return $this->createdByLoginName;
3605    }
3606    public function setCreatedTimeStamp($createdTimeStamp)
3607    {
3608      $this->createdTimeStamp = $createdTimeStamp;
3609    }
3610    public function getCreatedTimeStamp()
3611    {
3612      return $this->createdTimeStamp;
3613    }
3614    public function setLastUpdateTimeStamp($lastUpdateTimeStamp)
3615    {
3616      $this->lastUpdateTimeStamp = $lastUpdateTimeStamp;
3617    }
3618    public function getLastUpdateTimeStamp()
3619    {
3620      return $this->lastUpdateTimeStamp;
3621    }
3622    public function setLastUpdatedByLoginName($lastUpdatedByLoginName)
3623    {
3624      $this->lastUpdatedByLoginName = $lastUpdatedByLoginName;
3625    }
3626    public function getLastUpdatedByLoginName()
3627    {
3628      return $this->lastUpdatedByLoginName;
3629    }
3630  }
3631  
3632  class Google_Service_AdExchangeBuyer_GetFinalizedNegotiationByExternalDealIdRequest extends Google_Model
3633  {
3634    protected $internal_gapi_mappings = array(
3635    );
3636    public $includePrivateAuctions;
3637  
3638  
3639    public function setIncludePrivateAuctions($includePrivateAuctions)
3640    {
3641      $this->includePrivateAuctions = $includePrivateAuctions;
3642    }
3643    public function getIncludePrivateAuctions()
3644    {
3645      return $this->includePrivateAuctions;
3646    }
3647  }
3648  
3649  class Google_Service_AdExchangeBuyer_GetNegotiationByIdRequest extends Google_Model
3650  {
3651    protected $internal_gapi_mappings = array(
3652    );
3653    public $includePrivateAuctions;
3654  
3655  
3656    public function setIncludePrivateAuctions($includePrivateAuctions)
3657    {
3658      $this->includePrivateAuctions = $includePrivateAuctions;
3659    }
3660    public function getIncludePrivateAuctions()
3661    {
3662      return $this->includePrivateAuctions;
3663    }
3664  }
3665  
3666  class Google_Service_AdExchangeBuyer_GetNegotiationsRequest extends Google_Model
3667  {
3668    protected $internal_gapi_mappings = array(
3669    );
3670    public $finalized;
3671    public $includePrivateAuctions;
3672    public $sinceTimestampMillis;
3673  
3674  
3675    public function setFinalized($finalized)
3676    {
3677      $this->finalized = $finalized;
3678    }
3679    public function getFinalized()
3680    {
3681      return $this->finalized;
3682    }
3683    public function setIncludePrivateAuctions($includePrivateAuctions)
3684    {
3685      $this->includePrivateAuctions = $includePrivateAuctions;
3686    }
3687    public function getIncludePrivateAuctions()
3688    {
3689      return $this->includePrivateAuctions;
3690    }
3691    public function setSinceTimestampMillis($sinceTimestampMillis)
3692    {
3693      $this->sinceTimestampMillis = $sinceTimestampMillis;
3694    }
3695    public function getSinceTimestampMillis()
3696    {
3697      return $this->sinceTimestampMillis;
3698    }
3699  }
3700  
3701  class Google_Service_AdExchangeBuyer_GetNegotiationsResponse extends Google_Collection
3702  {
3703    protected $collection_key = 'negotiations';
3704    protected $internal_gapi_mappings = array(
3705    );
3706    public $kind;
3707    protected $negotiationsType = 'Google_Service_AdExchangeBuyer_NegotiationDto';
3708    protected $negotiationsDataType = 'array';
3709  
3710  
3711    public function setKind($kind)
3712    {
3713      $this->kind = $kind;
3714    }
3715    public function getKind()
3716    {
3717      return $this->kind;
3718    }
3719    public function setNegotiations($negotiations)
3720    {
3721      $this->negotiations = $negotiations;
3722    }
3723    public function getNegotiations()
3724    {
3725      return $this->negotiations;
3726    }
3727  }
3728  
3729  class Google_Service_AdExchangeBuyer_GetOffersResponse extends Google_Collection
3730  {
3731    protected $collection_key = 'offers';
3732    protected $internal_gapi_mappings = array(
3733    );
3734    protected $offersType = 'Google_Service_AdExchangeBuyer_MarketplaceOffer';
3735    protected $offersDataType = 'array';
3736  
3737  
3738    public function setOffers($offers)
3739    {
3740      $this->offers = $offers;
3741    }
3742    public function getOffers()
3743    {
3744      return $this->offers;
3745    }
3746  }
3747  
3748  class Google_Service_AdExchangeBuyer_GetOrderDealsResponse extends Google_Collection
3749  {
3750    protected $collection_key = 'deals';
3751    protected $internal_gapi_mappings = array(
3752    );
3753    protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
3754    protected $dealsDataType = 'array';
3755  
3756  
3757    public function setDeals($deals)
3758    {
3759      $this->deals = $deals;
3760    }
3761    public function getDeals()
3762    {
3763      return $this->deals;
3764    }
3765  }
3766  
3767  class Google_Service_AdExchangeBuyer_GetOrderNotesResponse extends Google_Collection
3768  {
3769    protected $collection_key = 'notes';
3770    protected $internal_gapi_mappings = array(
3771    );
3772    protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
3773    protected $notesDataType = 'array';
3774  
3775  
3776    public function setNotes($notes)
3777    {
3778      $this->notes = $notes;
3779    }
3780    public function getNotes()
3781    {
3782      return $this->notes;
3783    }
3784  }
3785  
3786  class Google_Service_AdExchangeBuyer_GetOrdersResponse extends Google_Collection
3787  {
3788    protected $collection_key = 'orders';
3789    protected $internal_gapi_mappings = array(
3790    );
3791    protected $ordersType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder';
3792    protected $ordersDataType = 'array';
3793  
3794  
3795    public function setOrders($orders)
3796    {
3797      $this->orders = $orders;
3798    }
3799    public function getOrders()
3800    {
3801      return $this->orders;
3802    }
3803  }
3804  
3805  class Google_Service_AdExchangeBuyer_InventorySegmentTargeting extends Google_Collection
3806  {
3807    protected $collection_key = 'positiveXfpPlacements';
3808    protected $internal_gapi_mappings = array(
3809    );
3810    protected $negativeAdSizesType = 'Google_Service_AdExchangeBuyer_AdSize';
3811    protected $negativeAdSizesDataType = 'array';
3812    public $negativeAdTypeSegments;
3813    public $negativeAudienceSegments;
3814    public $negativeDeviceCategories;
3815    public $negativeIcmBrands;
3816    public $negativeIcmInterests;
3817    public $negativeInventorySlots;
3818    protected $negativeKeyValuesType = 'Google_Service_AdExchangeBuyer_RuleKeyValuePair';
3819    protected $negativeKeyValuesDataType = 'array';
3820    public $negativeLocations;
3821    public $negativeMobileApps;
3822    public $negativeOperatingSystemVersions;
3823    public $negativeOperatingSystems;
3824    public $negativeSiteUrls;
3825    public $negativeSizes;
3826    public $negativeVideoAdPositionSegments;
3827    public $negativeVideoDurationSegments;
3828    public $negativeXfpAdSlots;
3829    public $negativeXfpPlacements;
3830    protected $positiveAdSizesType = 'Google_Service_AdExchangeBuyer_AdSize';
3831    protected $positiveAdSizesDataType = 'array';
3832    public $positiveAdTypeSegments;
3833    public $positiveAudienceSegments;
3834    public $positiveDeviceCategories;
3835    public $positiveIcmBrands;
3836    public $positiveIcmInterests;
3837    public $positiveInventorySlots;
3838    protected $positiveKeyValuesType = 'Google_Service_AdExchangeBuyer_RuleKeyValuePair';
3839    protected $positiveKeyValuesDataType = 'array';
3840    public $positiveLocations;
3841    public $positiveMobileApps;
3842    public $positiveOperatingSystemVersions;
3843    public $positiveOperatingSystems;
3844    public $positiveSiteUrls;
3845    public $positiveSizes;
3846    public $positiveVideoAdPositionSegments;
3847    public $positiveVideoDurationSegments;
3848    public $positiveXfpAdSlots;
3849    public $positiveXfpPlacements;
3850  
3851  
3852    public function setNegativeAdSizes($negativeAdSizes)
3853    {
3854      $this->negativeAdSizes = $negativeAdSizes;
3855    }
3856    public function getNegativeAdSizes()
3857    {
3858      return $this->negativeAdSizes;
3859    }
3860    public function setNegativeAdTypeSegments($negativeAdTypeSegments)
3861    {
3862      $this->negativeAdTypeSegments = $negativeAdTypeSegments;
3863    }
3864    public function getNegativeAdTypeSegments()
3865    {
3866      return $this->negativeAdTypeSegments;
3867    }
3868    public function setNegativeAudienceSegments($negativeAudienceSegments)
3869    {
3870      $this->negativeAudienceSegments = $negativeAudienceSegments;
3871    }
3872    public function getNegativeAudienceSegments()
3873    {
3874      return $this->negativeAudienceSegments;
3875    }
3876    public function setNegativeDeviceCategories($negativeDeviceCategories)
3877    {
3878      $this->negativeDeviceCategories = $negativeDeviceCategories;
3879    }
3880    public function getNegativeDeviceCategories()
3881    {
3882      return $this->negativeDeviceCategories;
3883    }
3884    public function setNegativeIcmBrands($negativeIcmBrands)
3885    {
3886      $this->negativeIcmBrands = $negativeIcmBrands;
3887    }
3888    public function getNegativeIcmBrands()
3889    {
3890      return $this->negativeIcmBrands;
3891    }
3892    public function setNegativeIcmInterests($negativeIcmInterests)
3893    {
3894      $this->negativeIcmInterests = $negativeIcmInterests;
3895    }
3896    public function getNegativeIcmInterests()
3897    {
3898      return $this->negativeIcmInterests;
3899    }
3900    public function setNegativeInventorySlots($negativeInventorySlots)
3901    {
3902      $this->negativeInventorySlots = $negativeInventorySlots;
3903    }
3904    public function getNegativeInventorySlots()
3905    {
3906      return $this->negativeInventorySlots;
3907    }
3908    public function setNegativeKeyValues($negativeKeyValues)
3909    {
3910      $this->negativeKeyValues = $negativeKeyValues;
3911    }
3912    public function getNegativeKeyValues()
3913    {
3914      return $this->negativeKeyValues;
3915    }
3916    public function setNegativeLocations($negativeLocations)
3917    {
3918      $this->negativeLocations = $negativeLocations;
3919    }
3920    public function getNegativeLocations()
3921    {
3922      return $this->negativeLocations;
3923    }
3924    public function setNegativeMobileApps($negativeMobileApps)
3925    {
3926      $this->negativeMobileApps = $negativeMobileApps;
3927    }
3928    public function getNegativeMobileApps()
3929    {
3930      return $this->negativeMobileApps;
3931    }
3932    public function setNegativeOperatingSystemVersions($negativeOperatingSystemVersions)
3933    {
3934      $this->negativeOperatingSystemVersions = $negativeOperatingSystemVersions;
3935    }
3936    public function getNegativeOperatingSystemVersions()
3937    {
3938      return $this->negativeOperatingSystemVersions;
3939    }
3940    public function setNegativeOperatingSystems($negativeOperatingSystems)
3941    {
3942      $this->negativeOperatingSystems = $negativeOperatingSystems;
3943    }
3944    public function getNegativeOperatingSystems()
3945    {
3946      return $this->negativeOperatingSystems;
3947    }
3948    public function setNegativeSiteUrls($negativeSiteUrls)
3949    {
3950      $this->negativeSiteUrls = $negativeSiteUrls;
3951    }
3952    public function getNegativeSiteUrls()
3953    {
3954      return $this->negativeSiteUrls;
3955    }
3956    public function setNegativeSizes($negativeSizes)
3957    {
3958      $this->negativeSizes = $negativeSizes;
3959    }
3960    public function getNegativeSizes()
3961    {
3962      return $this->negativeSizes;
3963    }
3964    public function setNegativeVideoAdPositionSegments($negativeVideoAdPositionSegments)
3965    {
3966      $this->negativeVideoAdPositionSegments = $negativeVideoAdPositionSegments;
3967    }
3968    public function getNegativeVideoAdPositionSegments()
3969    {
3970      return $this->negativeVideoAdPositionSegments;
3971    }
3972    public function setNegativeVideoDurationSegments($negativeVideoDurationSegments)
3973    {
3974      $this->negativeVideoDurationSegments = $negativeVideoDurationSegments;
3975    }
3976    public function getNegativeVideoDurationSegments()
3977    {
3978      return $this->negativeVideoDurationSegments;
3979    }
3980    public function setNegativeXfpAdSlots($negativeXfpAdSlots)
3981    {
3982      $this->negativeXfpAdSlots = $negativeXfpAdSlots;
3983    }
3984    public function getNegativeXfpAdSlots()
3985    {
3986      return $this->negativeXfpAdSlots;
3987    }
3988    public function setNegativeXfpPlacements($negativeXfpPlacements)
3989    {
3990      $this->negativeXfpPlacements = $negativeXfpPlacements;
3991    }
3992    public function getNegativeXfpPlacements()
3993    {
3994      return $this->negativeXfpPlacements;
3995    }
3996    public function setPositiveAdSizes($positiveAdSizes)
3997    {
3998      $this->positiveAdSizes = $positiveAdSizes;
3999    }
4000    public function getPositiveAdSizes()
4001    {
4002      return $this->positiveAdSizes;
4003    }
4004    public function setPositiveAdTypeSegments($positiveAdTypeSegments)
4005    {
4006      $this->positiveAdTypeSegments = $positiveAdTypeSegments;
4007    }
4008    public function getPositiveAdTypeSegments()
4009    {
4010      return $this->positiveAdTypeSegments;
4011    }
4012    public function setPositiveAudienceSegments($positiveAudienceSegments)
4013    {
4014      $this->positiveAudienceSegments = $positiveAudienceSegments;
4015    }
4016    public function getPositiveAudienceSegments()
4017    {
4018      return $this->positiveAudienceSegments;
4019    }
4020    public function setPositiveDeviceCategories($positiveDeviceCategories)
4021    {
4022      $this->positiveDeviceCategories = $positiveDeviceCategories;
4023    }
4024    public function getPositiveDeviceCategories()
4025    {
4026      return $this->positiveDeviceCategories;
4027    }
4028    public function setPositiveIcmBrands($positiveIcmBrands)
4029    {
4030      $this->positiveIcmBrands = $positiveIcmBrands;
4031    }
4032    public function getPositiveIcmBrands()
4033    {
4034      return $this->positiveIcmBrands;
4035    }
4036    public function setPositiveIcmInterests($positiveIcmInterests)
4037    {
4038      $this->positiveIcmInterests = $positiveIcmInterests;
4039    }
4040    public function getPositiveIcmInterests()
4041    {
4042      return $this->positiveIcmInterests;
4043    }
4044    public function setPositiveInventorySlots($positiveInventorySlots)
4045    {
4046      $this->positiveInventorySlots = $positiveInventorySlots;
4047    }
4048    public function getPositiveInventorySlots()
4049    {
4050      return $this->positiveInventorySlots;
4051    }
4052    public function setPositiveKeyValues($positiveKeyValues)
4053    {
4054      $this->positiveKeyValues = $positiveKeyValues;
4055    }
4056    public function getPositiveKeyValues()
4057    {
4058      return $this->positiveKeyValues;
4059    }
4060    public function setPositiveLocations($positiveLocations)
4061    {
4062      $this->positiveLocations = $positiveLocations;
4063    }
4064    public function getPositiveLocations()
4065    {
4066      return $this->positiveLocations;
4067    }
4068    public function setPositiveMobileApps($positiveMobileApps)
4069    {
4070      $this->positiveMobileApps = $positiveMobileApps;
4071    }
4072    public function getPositiveMobileApps()
4073    {
4074      return $this->positiveMobileApps;
4075    }
4076    public function setPositiveOperatingSystemVersions($positiveOperatingSystemVersions)
4077    {
4078      $this->positiveOperatingSystemVersions = $positiveOperatingSystemVersions;
4079    }
4080    public function getPositiveOperatingSystemVersions()
4081    {
4082      return $this->positiveOperatingSystemVersions;
4083    }
4084    public function setPositiveOperatingSystems($positiveOperatingSystems)
4085    {
4086      $this->positiveOperatingSystems = $positiveOperatingSystems;
4087    }
4088    public function getPositiveOperatingSystems()
4089    {
4090      return $this->positiveOperatingSystems;
4091    }
4092    public function setPositiveSiteUrls($positiveSiteUrls)
4093    {
4094      $this->positiveSiteUrls = $positiveSiteUrls;
4095    }
4096    public function getPositiveSiteUrls()
4097    {
4098      return $this->positiveSiteUrls;
4099    }
4100    public function setPositiveSizes($positiveSizes)
4101    {
4102      $this->positiveSizes = $positiveSizes;
4103    }
4104    public function getPositiveSizes()
4105    {
4106      return $this->positiveSizes;
4107    }
4108    public function setPositiveVideoAdPositionSegments($positiveVideoAdPositionSegments)
4109    {
4110      $this->positiveVideoAdPositionSegments = $positiveVideoAdPositionSegments;
4111    }
4112    public function getPositiveVideoAdPositionSegments()
4113    {
4114      return $this->positiveVideoAdPositionSegments;
4115    }
4116    public function setPositiveVideoDurationSegments($positiveVideoDurationSegments)
4117    {
4118      $this->positiveVideoDurationSegments = $positiveVideoDurationSegments;
4119    }
4120    public function getPositiveVideoDurationSegments()
4121    {
4122      return $this->positiveVideoDurationSegments;
4123    }
4124    public function setPositiveXfpAdSlots($positiveXfpAdSlots)
4125    {
4126      $this->positiveXfpAdSlots = $positiveXfpAdSlots;
4127    }
4128    public function getPositiveXfpAdSlots()
4129    {
4130      return $this->positiveXfpAdSlots;
4131    }
4132    public function setPositiveXfpPlacements($positiveXfpPlacements)
4133    {
4134      $this->positiveXfpPlacements = $positiveXfpPlacements;
4135    }
4136    public function getPositiveXfpPlacements()
4137    {
4138      return $this->positiveXfpPlacements;
4139    }
4140  }
4141  
4142  class Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesRequest extends Google_Model
4143  {
4144    protected $internal_gapi_mappings = array(
4145    );
4146    public $sponsorAccountId;
4147  
4148  
4149    public function setSponsorAccountId($sponsorAccountId)
4150    {
4151      $this->sponsorAccountId = $sponsorAccountId;
4152    }
4153    public function getSponsorAccountId()
4154    {
4155      return $this->sponsorAccountId;
4156    }
4157  }
4158  
4159  class Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesResponse extends Google_Collection
4160  {
4161    protected $collection_key = 'clientAccessPermissions';
4162    protected $internal_gapi_mappings = array(
4163    );
4164    protected $clientAccessPermissionsType = 'Google_Service_AdExchangeBuyer_ClientAccessCapabilities';
4165    protected $clientAccessPermissionsDataType = 'array';
4166  
4167  
4168    public function setClientAccessPermissions($clientAccessPermissions)
4169    {
4170      $this->clientAccessPermissions = $clientAccessPermissions;
4171    }
4172    public function getClientAccessPermissions()
4173    {
4174      return $this->clientAccessPermissions;
4175    }
4176  }
4177  
4178  class Google_Service_AdExchangeBuyer_ListOffersRequest extends Google_Model
4179  {
4180    protected $internal_gapi_mappings = array(
4181    );
4182    public $sinceTimestampMillis;
4183  
4184  
4185    public function setSinceTimestampMillis($sinceTimestampMillis)
4186    {
4187      $this->sinceTimestampMillis = $sinceTimestampMillis;
4188    }
4189    public function getSinceTimestampMillis()
4190    {
4191      return $this->sinceTimestampMillis;
4192    }
4193  }
4194  
4195  class Google_Service_AdExchangeBuyer_ListOffersResponse extends Google_Collection
4196  {
4197    protected $collection_key = 'offers';
4198    protected $internal_gapi_mappings = array(
4199    );
4200    public $kind;
4201    protected $offersType = 'Google_Service_AdExchangeBuyer_OfferDto';
4202    protected $offersDataType = 'array';
4203  
4204  
4205    public function setKind($kind)
4206    {
4207      $this->kind = $kind;
4208    }
4209    public function getKind()
4210    {
4211      return $this->kind;
4212    }
4213    public function setOffers($offers)
4214    {
4215      $this->offers = $offers;
4216    }
4217    public function getOffers()
4218    {
4219      return $this->offers;
4220    }
4221  }
4222  
4223  class Google_Service_AdExchangeBuyer_MarketplaceDeal extends Google_Collection
4224  {
4225    protected $collection_key = 'sharedTargetings';
4226    protected $internal_gapi_mappings = array(
4227    );
4228    protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData';
4229    protected $buyerPrivateDataDataType = '';
4230    public $creationTimeMs;
4231    public $dealId;
4232    protected $deliveryControlType = 'Google_Service_AdExchangeBuyer_DeliveryControl';
4233    protected $deliveryControlDataType = '';
4234    public $externalDealId;
4235    public $flightEndTimeMs;
4236    public $flightStartTimeMs;
4237    public $inventoryDescription;
4238    public $kind;
4239    public $lastUpdateTimeMs;
4240    public $name;
4241    public $offerId;
4242    public $offerRevisionNumber;
4243    public $orderId;
4244    protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
4245    protected $sellerContactsDataType = 'array';
4246    protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting';
4247    protected $sharedTargetingsDataType = 'array';
4248    public $syndicationProduct;
4249    protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms';
4250    protected $termsDataType = '';
4251    public $webPropertyCode;
4252  
4253  
4254    public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
4255    {
4256      $this->buyerPrivateData = $buyerPrivateData;
4257    }
4258    public function getBuyerPrivateData()
4259    {
4260      return $this->buyerPrivateData;
4261    }
4262    public function setCreationTimeMs($creationTimeMs)
4263    {
4264      $this->creationTimeMs = $creationTimeMs;
4265    }
4266    public function getCreationTimeMs()
4267    {
4268      return $this->creationTimeMs;
4269    }
4270    public function setDealId($dealId)
4271    {
4272      $this->dealId = $dealId;
4273    }
4274    public function getDealId()
4275    {
4276      return $this->dealId;
4277    }
4278    public function setDeliveryControl(Google_Service_AdExchangeBuyer_DeliveryControl $deliveryControl)
4279    {
4280      $this->deliveryControl = $deliveryControl;
4281    }
4282    public function getDeliveryControl()
4283    {
4284      return $this->deliveryControl;
4285    }
4286    public function setExternalDealId($externalDealId)
4287    {
4288      $this->externalDealId = $externalDealId;
4289    }
4290    public function getExternalDealId()
4291    {
4292      return $this->externalDealId;
4293    }
4294    public function setFlightEndTimeMs($flightEndTimeMs)
4295    {
4296      $this->flightEndTimeMs = $flightEndTimeMs;
4297    }
4298    public function getFlightEndTimeMs()
4299    {
4300      return $this->flightEndTimeMs;
4301    }
4302    public function setFlightStartTimeMs($flightStartTimeMs)
4303    {
4304      $this->flightStartTimeMs = $flightStartTimeMs;
4305    }
4306    public function getFlightStartTimeMs()
4307    {
4308      return $this->flightStartTimeMs;
4309    }
4310    public function setInventoryDescription($inventoryDescription)
4311    {
4312      $this->inventoryDescription = $inventoryDescription;
4313    }
4314    public function getInventoryDescription()
4315    {
4316      return $this->inventoryDescription;
4317    }
4318    public function setKind($kind)
4319    {
4320      $this->kind = $kind;
4321    }
4322    public function getKind()
4323    {
4324      return $this->kind;
4325    }
4326    public function setLastUpdateTimeMs($lastUpdateTimeMs)
4327    {
4328      $this->lastUpdateTimeMs = $lastUpdateTimeMs;
4329    }
4330    public function getLastUpdateTimeMs()
4331    {
4332      return $this->lastUpdateTimeMs;
4333    }
4334    public function setName($name)
4335    {
4336      $this->name = $name;
4337    }
4338    public function getName()
4339    {
4340      return $this->name;
4341    }
4342    public function setOfferId($offerId)
4343    {
4344      $this->offerId = $offerId;
4345    }
4346    public function getOfferId()
4347    {
4348      return $this->offerId;
4349    }
4350    public function setOfferRevisionNumber($offerRevisionNumber)
4351    {
4352      $this->offerRevisionNumber = $offerRevisionNumber;
4353    }
4354    public function getOfferRevisionNumber()
4355    {
4356      return $this->offerRevisionNumber;
4357    }
4358    public function setOrderId($orderId)
4359    {
4360      $this->orderId = $orderId;
4361    }
4362    public function getOrderId()
4363    {
4364      return $this->orderId;
4365    }
4366    public function setSellerContacts($sellerContacts)
4367    {
4368      $this->sellerContacts = $sellerContacts;
4369    }
4370    public function getSellerContacts()
4371    {
4372      return $this->sellerContacts;
4373    }
4374    public function setSharedTargetings($sharedTargetings)
4375    {
4376      $this->sharedTargetings = $sharedTargetings;
4377    }
4378    public function getSharedTargetings()
4379    {
4380      return $this->sharedTargetings;
4381    }
4382    public function setSyndicationProduct($syndicationProduct)
4383    {
4384      $this->syndicationProduct = $syndicationProduct;
4385    }
4386    public function getSyndicationProduct()
4387    {
4388      return $this->syndicationProduct;
4389    }
4390    public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms)
4391    {
4392      $this->terms = $terms;
4393    }
4394    public function getTerms()
4395    {
4396      return $this->terms;
4397    }
4398    public function setWebPropertyCode($webPropertyCode)
4399    {
4400      $this->webPropertyCode = $webPropertyCode;
4401    }
4402    public function getWebPropertyCode()
4403    {
4404      return $this->webPropertyCode;
4405    }
4406  }
4407  
4408  class Google_Service_AdExchangeBuyer_MarketplaceDealParty extends Google_Model
4409  {
4410    protected $internal_gapi_mappings = array(
4411    );
4412    protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
4413    protected $buyerDataType = '';
4414    protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
4415    protected $sellerDataType = '';
4416  
4417  
4418    public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
4419    {
4420      $this->buyer = $buyer;
4421    }
4422    public function getBuyer()
4423    {
4424      return $this->buyer;
4425    }
4426    public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
4427    {
4428      $this->seller = $seller;
4429    }
4430    public function getSeller()
4431    {
4432      return $this->seller;
4433    }
4434  }
4435  
4436  class Google_Service_AdExchangeBuyer_MarketplaceLabel extends Google_Model
4437  {
4438    protected $internal_gapi_mappings = array(
4439    );
4440    public $accountId;
4441    public $createTimeMs;
4442    protected $deprecatedMarketplaceDealPartyType = 'Google_Service_AdExchangeBuyer_MarketplaceDealParty';
4443    protected $deprecatedMarketplaceDealPartyDataType = '';
4444    public $label;
4445  
4446  
4447    public function setAccountId($accountId)
4448    {
4449      $this->accountId = $accountId;
4450    }
4451    public function getAccountId()
4452    {
4453      return $this->accountId;
4454    }
4455    public function setCreateTimeMs($createTimeMs)
4456    {
4457      $this->createTimeMs = $createTimeMs;
4458    }
4459    public function getCreateTimeMs()
4460    {
4461      return $this->createTimeMs;
4462    }
4463    public function setDeprecatedMarketplaceDealParty(Google_Service_AdExchangeBuyer_MarketplaceDealParty $deprecatedMarketplaceDealParty)
4464    {
4465      $this->deprecatedMarketplaceDealParty = $deprecatedMarketplaceDealParty;
4466    }
4467    public function getDeprecatedMarketplaceDealParty()
4468    {
4469      return $this->deprecatedMarketplaceDealParty;
4470    }
4471    public function setLabel($label)
4472    {
4473      $this->label = $label;
4474    }
4475    public function getLabel()
4476    {
4477      return $this->label;
4478    }
4479  }
4480  
4481  class Google_Service_AdExchangeBuyer_MarketplaceNote extends Google_Model
4482  {
4483    protected $internal_gapi_mappings = array(
4484    );
4485    public $creatorRole;
4486    public $dealId;
4487    public $kind;
4488    public $note;
4489    public $noteId;
4490    public $orderId;
4491    public $orderRevisionNumber;
4492    public $timestampMs;
4493  
4494  
4495    public function setCreatorRole($creatorRole)
4496    {
4497      $this->creatorRole = $creatorRole;
4498    }
4499    public function getCreatorRole()
4500    {
4501      return $this->creatorRole;
4502    }
4503    public function setDealId($dealId)
4504    {
4505      $this->dealId = $dealId;
4506    }
4507    public function getDealId()
4508    {
4509      return $this->dealId;
4510    }
4511    public function setKind($kind)
4512    {
4513      $this->kind = $kind;
4514    }
4515    public function getKind()
4516    {
4517      return $this->kind;
4518    }
4519    public function setNote($note)
4520    {
4521      $this->note = $note;
4522    }
4523    public function getNote()
4524    {
4525      return $this->note;
4526    }
4527    public function setNoteId($noteId)
4528    {
4529      $this->noteId = $noteId;
4530    }
4531    public function getNoteId()
4532    {
4533      return $this->noteId;
4534    }
4535    public function setOrderId($orderId)
4536    {
4537      $this->orderId = $orderId;
4538    }
4539    public function getOrderId()
4540    {
4541      return $this->orderId;
4542    }
4543    public function setOrderRevisionNumber($orderRevisionNumber)
4544    {
4545      $this->orderRevisionNumber = $orderRevisionNumber;
4546    }
4547    public function getOrderRevisionNumber()
4548    {
4549      return $this->orderRevisionNumber;
4550    }
4551    public function setTimestampMs($timestampMs)
4552    {
4553      $this->timestampMs = $timestampMs;
4554    }
4555    public function getTimestampMs()
4556    {
4557      return $this->timestampMs;
4558    }
4559  }
4560  
4561  class Google_Service_AdExchangeBuyer_MarketplaceOffer extends Google_Collection
4562  {
4563    protected $collection_key = 'sharedTargetings';
4564    protected $internal_gapi_mappings = array(
4565    );
4566    public $creationTimeMs;
4567    protected $creatorContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
4568    protected $creatorContactsDataType = 'array';
4569    public $flightEndTimeMs;
4570    public $flightStartTimeMs;
4571    public $hasCreatorSignedOff;
4572    public $kind;
4573    protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel';
4574    protected $labelsDataType = 'array';
4575    public $lastUpdateTimeMs;
4576    public $name;
4577    public $offerId;
4578    public $revisionNumber;
4579    protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
4580    protected $sellerDataType = '';
4581    protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting';
4582    protected $sharedTargetingsDataType = 'array';
4583    public $state;
4584    public $syndicationProduct;
4585    protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms';
4586    protected $termsDataType = '';
4587    public $webPropertyCode;
4588  
4589  
4590    public function setCreationTimeMs($creationTimeMs)
4591    {
4592      $this->creationTimeMs = $creationTimeMs;
4593    }
4594    public function getCreationTimeMs()
4595    {
4596      return $this->creationTimeMs;
4597    }
4598    public function setCreatorContacts($creatorContacts)
4599    {
4600      $this->creatorContacts = $creatorContacts;
4601    }
4602    public function getCreatorContacts()
4603    {
4604      return $this->creatorContacts;
4605    }
4606    public function setFlightEndTimeMs($flightEndTimeMs)
4607    {
4608      $this->flightEndTimeMs = $flightEndTimeMs;
4609    }
4610    public function getFlightEndTimeMs()
4611    {
4612      return $this->flightEndTimeMs;
4613    }
4614    public function setFlightStartTimeMs($flightStartTimeMs)
4615    {
4616      $this->flightStartTimeMs = $flightStartTimeMs;
4617    }
4618    public function getFlightStartTimeMs()
4619    {
4620      return $this->flightStartTimeMs;
4621    }
4622    public function setHasCreatorSignedOff($hasCreatorSignedOff)
4623    {
4624      $this->hasCreatorSignedOff = $hasCreatorSignedOff;
4625    }
4626    public function getHasCreatorSignedOff()
4627    {
4628      return $this->hasCreatorSignedOff;
4629    }
4630    public function setKind($kind)
4631    {
4632      $this->kind = $kind;
4633    }
4634    public function getKind()
4635    {
4636      return $this->kind;
4637    }
4638    public function setLabels($labels)
4639    {
4640      $this->labels = $labels;
4641    }
4642    public function getLabels()
4643    {
4644      return $this->labels;
4645    }
4646    public function setLastUpdateTimeMs($lastUpdateTimeMs)
4647    {
4648      $this->lastUpdateTimeMs = $lastUpdateTimeMs;
4649    }
4650    public function getLastUpdateTimeMs()
4651    {
4652      return $this->lastUpdateTimeMs;
4653    }
4654    public function setName($name)
4655    {
4656      $this->name = $name;
4657    }
4658    public function getName()
4659    {
4660      return $this->name;
4661    }
4662    public function setOfferId($offerId)
4663    {
4664      $this->offerId = $offerId;
4665    }
4666    public function getOfferId()
4667    {
4668      return $this->offerId;
4669    }
4670    public function setRevisionNumber($revisionNumber)
4671    {
4672      $this->revisionNumber = $revisionNumber;
4673    }
4674    public function getRevisionNumber()
4675    {
4676      return $this->revisionNumber;
4677    }
4678    public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
4679    {
4680      $this->seller = $seller;
4681    }
4682    public function getSeller()
4683    {
4684      return $this->seller;
4685    }
4686    public function setSharedTargetings($sharedTargetings)
4687    {
4688      $this->sharedTargetings = $sharedTargetings;
4689    }
4690    public function getSharedTargetings()
4691    {
4692      return $this->sharedTargetings;
4693    }
4694    public function setState($state)
4695    {
4696      $this->state = $state;
4697    }
4698    public function getState()
4699    {
4700      return $this->state;
4701    }
4702    public function setSyndicationProduct($syndicationProduct)
4703    {
4704      $this->syndicationProduct = $syndicationProduct;
4705    }
4706    public function getSyndicationProduct()
4707    {
4708      return $this->syndicationProduct;
4709    }
4710    public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms)
4711    {
4712      $this->terms = $terms;
4713    }
4714    public function getTerms()
4715    {
4716      return $this->terms;
4717    }
4718    public function setWebPropertyCode($webPropertyCode)
4719    {
4720      $this->webPropertyCode = $webPropertyCode;
4721    }
4722    public function getWebPropertyCode()
4723    {
4724      return $this->webPropertyCode;
4725    }
4726  }
4727  
4728  class Google_Service_AdExchangeBuyer_MarketplaceOrder extends Google_Collection
4729  {
4730    protected $collection_key = 'sellerContacts';
4731    protected $internal_gapi_mappings = array(
4732    );
4733    protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_Buyer';
4734    protected $billedBuyerDataType = '';
4735    protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
4736    protected $buyerDataType = '';
4737    protected $buyerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
4738    protected $buyerContactsDataType = 'array';
4739    protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData';
4740    protected $buyerPrivateDataDataType = '';
4741    public $hasBuyerSignedOff;
4742    public $hasSellerSignedOff;
4743    public $isRenegotiating;
4744    public $isSetupComplete;
4745    public $kind;
4746    protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel';
4747    protected $labelsDataType = 'array';
4748    public $lastUpdaterOrCommentorRole;
4749    public $lastUpdaterRole;
4750    public $name;
4751    public $orderId;
4752    public $orderState;
4753    public $originatorRole;
4754    public $revisionNumber;
4755    public $revisionTimeMs;
4756    protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
4757    protected $sellerDataType = '';
4758    protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
4759    protected $sellerContactsDataType = 'array';
4760  
4761  
4762    public function setBilledBuyer(Google_Service_AdExchangeBuyer_Buyer $billedBuyer)
4763    {
4764      $this->billedBuyer = $billedBuyer;
4765    }
4766    public function getBilledBuyer()
4767    {
4768      return $this->billedBuyer;
4769    }
4770    public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
4771    {
4772      $this->buyer = $buyer;
4773    }
4774    public function getBuyer()
4775    {
4776      return $this->buyer;
4777    }
4778    public function setBuyerContacts($buyerContacts)
4779    {
4780      $this->buyerContacts = $buyerContacts;
4781    }
4782    public function getBuyerContacts()
4783    {
4784      return $this->buyerContacts;
4785    }
4786    public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
4787    {
4788      $this->buyerPrivateData = $buyerPrivateData;
4789    }
4790    public function getBuyerPrivateData()
4791    {
4792      return $this->buyerPrivateData;
4793    }
4794    public function setHasBuyerSignedOff($hasBuyerSignedOff)
4795    {
4796      $this->hasBuyerSignedOff = $hasBuyerSignedOff;
4797    }
4798    public function getHasBuyerSignedOff()
4799    {
4800      return $this->hasBuyerSignedOff;
4801    }
4802    public function setHasSellerSignedOff($hasSellerSignedOff)
4803    {
4804      $this->hasSellerSignedOff = $hasSellerSignedOff;
4805    }
4806    public function getHasSellerSignedOff()
4807    {
4808      return $this->hasSellerSignedOff;
4809    }
4810    public function setIsRenegotiating($isRenegotiating)
4811    {
4812      $this->isRenegotiating = $isRenegotiating;
4813    }
4814    public function getIsRenegotiating()
4815    {
4816      return $this->isRenegotiating;
4817    }
4818    public function setIsSetupComplete($isSetupComplete)
4819    {
4820      $this->isSetupComplete = $isSetupComplete;
4821    }
4822    public function getIsSetupComplete()
4823    {
4824      return $this->isSetupComplete;
4825    }
4826    public function setKind($kind)
4827    {
4828      $this->kind = $kind;
4829    }
4830    public function getKind()
4831    {
4832      return $this->kind;
4833    }
4834    public function setLabels($labels)
4835    {
4836      $this->labels = $labels;
4837    }
4838    public function getLabels()
4839    {
4840      return $this->labels;
4841    }
4842    public function setLastUpdaterOrCommentorRole($lastUpdaterOrCommentorRole)
4843    {
4844      $this->lastUpdaterOrCommentorRole = $lastUpdaterOrCommentorRole;
4845    }
4846    public function getLastUpdaterOrCommentorRole()
4847    {
4848      return $this->lastUpdaterOrCommentorRole;
4849    }
4850    public function setLastUpdaterRole($lastUpdaterRole)
4851    {
4852      $this->lastUpdaterRole = $lastUpdaterRole;
4853    }
4854    public function getLastUpdaterRole()
4855    {
4856      return $this->lastUpdaterRole;
4857    }
4858    public function setName($name)
4859    {
4860      $this->name = $name;
4861    }
4862    public function getName()
4863    {
4864      return $this->name;
4865    }
4866    public function setOrderId($orderId)
4867    {
4868      $this->orderId = $orderId;
4869    }
4870    public function getOrderId()
4871    {
4872      return $this->orderId;
4873    }
4874    public function setOrderState($orderState)
4875    {
4876      $this->orderState = $orderState;
4877    }
4878    public function getOrderState()
4879    {
4880      return $this->orderState;
4881    }
4882    public function setOriginatorRole($originatorRole)
4883    {
4884      $this->originatorRole = $originatorRole;
4885    }
4886    public function getOriginatorRole()
4887    {
4888      return $this->originatorRole;
4889    }
4890    public function setRevisionNumber($revisionNumber)
4891    {
4892      $this->revisionNumber = $revisionNumber;
4893    }
4894    public function getRevisionNumber()
4895    {
4896      return $this->revisionNumber;
4897    }
4898    public function setRevisionTimeMs($revisionTimeMs)
4899    {
4900      $this->revisionTimeMs = $revisionTimeMs;
4901    }
4902    public function getRevisionTimeMs()
4903    {
4904      return $this->revisionTimeMs;
4905    }
4906    public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
4907    {
4908      $this->seller = $seller;
4909    }
4910    public function getSeller()
4911    {
4912      return $this->seller;
4913    }
4914    public function setSellerContacts($sellerContacts)
4915    {
4916      $this->sellerContacts = $sellerContacts;
4917    }
4918    public function getSellerContacts()
4919    {
4920      return $this->sellerContacts;
4921    }
4922  }
4923  
4924  class Google_Service_AdExchangeBuyer_MoneyDto extends Google_Model
4925  {
4926    protected $internal_gapi_mappings = array(
4927    );
4928    public $currencyCode;
4929    public $micros;
4930  
4931  
4932    public function setCurrencyCode($currencyCode)
4933    {
4934      $this->currencyCode = $currencyCode;
4935    }
4936    public function getCurrencyCode()
4937    {
4938      return $this->currencyCode;
4939    }
4940    public function setMicros($micros)
4941    {
4942      $this->micros = $micros;
4943    }
4944    public function getMicros()
4945    {
4946      return $this->micros;
4947    }
4948  }
4949  
4950  class Google_Service_AdExchangeBuyer_NegotiationDto extends Google_Collection
4951  {
4952    protected $collection_key = 'sellerEmailContacts';
4953    protected $internal_gapi_mappings = array(
4954    );
4955    protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
4956    protected $billedBuyerDataType = '';
4957    protected $buyerType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
4958    protected $buyerDataType = '';
4959    public $buyerEmailContacts;
4960    public $dealType;
4961    public $externalDealId;
4962    public $kind;
4963    public $labelNames;
4964    public $negotiationId;
4965    protected $negotiationRoundsType = 'Google_Service_AdExchangeBuyer_NegotiationRoundDto';
4966    protected $negotiationRoundsDataType = 'array';
4967    public $negotiationState;
4968    public $offerId;
4969    protected $sellerType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
4970    protected $sellerDataType = '';
4971    public $sellerEmailContacts;
4972    protected $statsType = 'Google_Service_AdExchangeBuyer_StatsDto';
4973    protected $statsDataType = '';
4974    public $status;
4975  
4976  
4977    public function setBilledBuyer(Google_Service_AdExchangeBuyer_DealPartyDto $billedBuyer)
4978    {
4979      $this->billedBuyer = $billedBuyer;
4980    }
4981    public function getBilledBuyer()
4982    {
4983      return $this->billedBuyer;
4984    }
4985    public function setBuyer(Google_Service_AdExchangeBuyer_DealPartyDto $buyer)
4986    {
4987      $this->buyer = $buyer;
4988    }
4989    public function getBuyer()
4990    {
4991      return $this->buyer;
4992    }
4993    public function setBuyerEmailContacts($buyerEmailContacts)
4994    {
4995      $this->buyerEmailContacts = $buyerEmailContacts;
4996    }
4997    public function getBuyerEmailContacts()
4998    {
4999      return $this->buyerEmailContacts;
5000    }
5001    public function setDealType($dealType)
5002    {
5003      $this->dealType = $dealType;
5004    }
5005    public function getDealType()
5006    {
5007      return $this->dealType;
5008    }
5009    public function setExternalDealId($externalDealId)
5010    {
5011      $this->externalDealId = $externalDealId;
5012    }
5013    public function getExternalDealId()
5014    {
5015      return $this->externalDealId;
5016    }
5017    public function setKind($kind)
5018    {
5019      $this->kind = $kind;
5020    }
5021    public function getKind()
5022    {
5023      return $this->kind;
5024    }
5025    public function setLabelNames($labelNames)
5026    {
5027      $this->labelNames = $labelNames;
5028    }
5029    public function getLabelNames()
5030    {
5031      return $this->labelNames;
5032    }
5033    public function setNegotiationId($negotiationId)
5034    {
5035      $this->negotiationId = $negotiationId;
5036    }
5037    public function getNegotiationId()
5038    {
5039      return $this->negotiationId;
5040    }
5041    public function setNegotiationRounds($negotiationRounds)
5042    {
5043      $this->negotiationRounds = $negotiationRounds;
5044    }
5045    public function getNegotiationRounds()
5046    {
5047      return $this->negotiationRounds;
5048    }
5049    public function setNegotiationState($negotiationState)
5050    {
5051      $this->negotiationState = $negotiationState;
5052    }
5053    public function getNegotiationState()
5054    {
5055      return $this->negotiationState;
5056    }
5057    public function setOfferId($offerId)
5058    {
5059      $this->offerId = $offerId;
5060    }
5061    public function getOfferId()
5062    {
5063      return $this->offerId;
5064    }
5065    public function setSeller(Google_Service_AdExchangeBuyer_DealPartyDto $seller)
5066    {
5067      $this->seller = $seller;
5068    }
5069    public function getSeller()
5070    {
5071      return $this->seller;
5072    }
5073    public function setSellerEmailContacts($sellerEmailContacts)
5074    {
5075      $this->sellerEmailContacts = $sellerEmailContacts;
5076    }
5077    public function getSellerEmailContacts()
5078    {
5079      return $this->sellerEmailContacts;
5080    }
5081    public function setStats(Google_Service_AdExchangeBuyer_StatsDto $stats)
5082    {
5083      $this->stats = $stats;
5084    }
5085    public function getStats()
5086    {
5087      return $this->stats;
5088    }
5089    public function setStatus($status)
5090    {
5091      $this->status = $status;
5092    }
5093    public function getStatus()
5094    {
5095      return $this->status;
5096    }
5097  }
5098  
5099  class Google_Service_AdExchangeBuyer_NegotiationRoundDto extends Google_Model
5100  {
5101    protected $internal_gapi_mappings = array(
5102    );
5103    public $action;
5104    public $dbmPartnerId;
5105    protected $editHistoryType = 'Google_Service_AdExchangeBuyer_EditHistoryDto';
5106    protected $editHistoryDataType = '';
5107    public $kind;
5108    public $negotiationId;
5109    public $notes;
5110    public $originatorRole;
5111    public $roundNumber;
5112    protected $termsType = 'Google_Service_AdExchangeBuyer_TermsDto';
5113    protected $termsDataType = '';
5114  
5115  
5116    public function setAction($action)
5117    {
5118      $this->action = $action;
5119    }
5120    public function getAction()
5121    {
5122      return $this->action;
5123    }
5124    public function setDbmPartnerId($dbmPartnerId)
5125    {
5126      $this->dbmPartnerId = $dbmPartnerId;
5127    }
5128    public function getDbmPartnerId()
5129    {
5130      return $this->dbmPartnerId;
5131    }
5132    public function setEditHistory(Google_Service_AdExchangeBuyer_EditHistoryDto $editHistory)
5133    {
5134      $this->editHistory = $editHistory;
5135    }
5136    public function getEditHistory()
5137    {
5138      return $this->editHistory;
5139    }
5140    public function setKind($kind)
5141    {
5142      $this->kind = $kind;
5143    }
5144    public function getKind()
5145    {
5146      return $this->kind;
5147    }
5148    public function setNegotiationId($negotiationId)
5149    {
5150      $this->negotiationId = $negotiationId;
5151    }
5152    public function getNegotiationId()
5153    {
5154      return $this->negotiationId;
5155    }
5156    public function setNotes($notes)
5157    {
5158      $this->notes = $notes;
5159    }
5160    public function getNotes()
5161    {
5162      return $this->notes;
5163    }
5164    public function setOriginatorRole($originatorRole)
5165    {
5166      $this->originatorRole = $originatorRole;
5167    }
5168    public function getOriginatorRole()
5169    {
5170      return $this->originatorRole;
5171    }
5172    public function setRoundNumber($roundNumber)
5173    {
5174      $this->roundNumber = $roundNumber;
5175    }
5176    public function getRoundNumber()
5177    {
5178      return $this->roundNumber;
5179    }
5180    public function setTerms(Google_Service_AdExchangeBuyer_TermsDto $terms)
5181    {
5182      $this->terms = $terms;
5183    }
5184    public function getTerms()
5185    {
5186      return $this->terms;
5187    }
5188  }
5189  
5190  class Google_Service_AdExchangeBuyer_OfferDto extends Google_Collection
5191  {
5192    protected $collection_key = 'openToDealParties';
5193    protected $internal_gapi_mappings = array(
5194    );
5195    public $anonymous;
5196    protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
5197    protected $billedBuyerDataType = '';
5198    protected $closedToDealPartiesType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
5199    protected $closedToDealPartiesDataType = 'array';
5200    protected $creatorType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
5201    protected $creatorDataType = '';
5202    public $emailContacts;
5203    public $isOpen;
5204    public $kind;
5205    public $labelNames;
5206    public $offerId;
5207    public $offerState;
5208    protected $openToDealPartiesType = 'Google_Service_AdExchangeBuyer_DealPartyDto';
5209    protected $openToDealPartiesDataType = 'array';
5210    public $pointOfContact;
5211    public $status;
5212    protected $termsType = 'Google_Service_AdExchangeBuyer_TermsDto';
5213    protected $termsDataType = '';
5214  
5215  
5216    public function setAnonymous($anonymous)
5217    {
5218      $this->anonymous = $anonymous;
5219    }
5220    public function getAnonymous()
5221    {
5222      return $this->anonymous;
5223    }
5224    public function setBilledBuyer(Google_Service_AdExchangeBuyer_DealPartyDto $billedBuyer)
5225    {
5226      $this->billedBuyer = $billedBuyer;
5227    }
5228    public function getBilledBuyer()
5229    {
5230      return $this->billedBuyer;
5231    }
5232    public function setClosedToDealParties($closedToDealParties)
5233    {
5234      $this->closedToDealParties = $closedToDealParties;
5235    }
5236    public function getClosedToDealParties()
5237    {
5238      return $this->closedToDealParties;
5239    }
5240    public function setCreator(Google_Service_AdExchangeBuyer_DealPartyDto $creator)
5241    {
5242      $this->creator = $creator;
5243    }
5244    public function getCreator()
5245    {
5246      return $this->creator;
5247    }
5248    public function setEmailContacts($emailContacts)
5249    {
5250      $this->emailContacts = $emailContacts;
5251    }
5252    public function getEmailContacts()
5253    {
5254      return $this->emailContacts;
5255    }
5256    public function setIsOpen($isOpen)
5257    {
5258      $this->isOpen = $isOpen;
5259    }
5260    public function getIsOpen()
5261    {
5262      return $this->isOpen;
5263    }
5264    public function setKind($kind)
5265    {
5266      $this->kind = $kind;
5267    }
5268    public function getKind()
5269    {
5270      return $this->kind;
5271    }
5272    public function setLabelNames($labelNames)
5273    {
5274      $this->labelNames = $labelNames;
5275    }
5276    public function getLabelNames()
5277    {
5278      return $this->labelNames;
5279    }
5280    public function setOfferId($offerId)
5281    {
5282      $this->offerId = $offerId;
5283    }
5284    public function getOfferId()
5285    {
5286      return $this->offerId;
5287    }
5288    public function setOfferState($offerState)
5289    {
5290      $this->offerState = $offerState;
5291    }
5292    public function getOfferState()
5293    {
5294      return $this->offerState;
5295    }
5296    public function setOpenToDealParties($openToDealParties)
5297    {
5298      $this->openToDealParties = $openToDealParties;
5299    }
5300    public function getOpenToDealParties()
5301    {
5302      return $this->openToDealParties;
5303    }
5304    public function setPointOfContact($pointOfContact)
5305    {
5306      $this->pointOfContact = $pointOfContact;
5307    }
5308    public function getPointOfContact()
5309    {
5310      return $this->pointOfContact;
5311    }
5312    public function setStatus($status)
5313    {
5314      $this->status = $status;
5315    }
5316    public function getStatus()
5317    {
5318      return $this->status;
5319    }
5320    public function setTerms(Google_Service_AdExchangeBuyer_TermsDto $terms)
5321    {
5322      $this->terms = $terms;
5323    }
5324    public function getTerms()
5325    {
5326      return $this->terms;
5327    }
5328  }
5329  
5330  class Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection
5331  {
5332    protected $collection_key = 'hostedMatchStatusRate';
5333    protected $internal_gapi_mappings = array(
5334    );
5335    public $bidRate;
5336    public $bidRequestRate;
5337    public $calloutStatusRate;
5338    public $cookieMatcherStatusRate;
5339    public $creativeStatusRate;
5340    public $filteredBidRate;
5341    public $hostedMatchStatusRate;
5342    public $inventoryMatchRate;
5343    public $kind;
5344    public $latency50thPercentile;
5345    public $latency85thPercentile;
5346    public $latency95thPercentile;
5347    public $noQuotaInRegion;
5348    public $outOfQuota;
5349    public $pixelMatchRequests;
5350    public $pixelMatchResponses;
5351    public $quotaConfiguredLimit;
5352    public $quotaThrottledLimit;
5353    public $region;
5354    public $successfulRequestRate;
5355    public $timestamp;
5356    public $unsuccessfulRequestRate;
5357  
5358  
5359    public function setBidRate($bidRate)
5360    {
5361      $this->bidRate = $bidRate;
5362    }
5363    public function getBidRate()
5364    {
5365      return $this->bidRate;
5366    }
5367    public function setBidRequestRate($bidRequestRate)
5368    {
5369      $this->bidRequestRate = $bidRequestRate;
5370    }
5371    public function getBidRequestRate()
5372    {
5373      return $this->bidRequestRate;
5374    }
5375    public function setCalloutStatusRate($calloutStatusRate)
5376    {
5377      $this->calloutStatusRate = $calloutStatusRate;
5378    }
5379    public function getCalloutStatusRate()
5380    {
5381      return $this->calloutStatusRate;
5382    }
5383    public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
5384    {
5385      $this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
5386    }
5387    public function getCookieMatcherStatusRate()
5388    {
5389      return $this->cookieMatcherStatusRate;
5390    }
5391    public function setCreativeStatusRate($creativeStatusRate)
5392    {
5393      $this->creativeStatusRate = $creativeStatusRate;
5394    }
5395    public function getCreativeStatusRate()
5396    {
5397      return $this->creativeStatusRate;
5398    }
5399    public function setFilteredBidRate($filteredBidRate)
5400    {
5401      $this->filteredBidRate = $filteredBidRate;
5402    }
5403    public function getFilteredBidRate()
5404    {
5405      return $this->filteredBidRate;
5406    }
5407    public function setHostedMatchStatusRate($hostedMatchStatusRate)
5408    {
5409      $this->hostedMatchStatusRate = $hostedMatchStatusRate;
5410    }
5411    public function getHostedMatchStatusRate()
5412    {
5413      return $this->hostedMatchStatusRate;
5414    }
5415    public function setInventoryMatchRate($inventoryMatchRate)
5416    {
5417      $this->inventoryMatchRate = $inventoryMatchRate;
5418    }
5419    public function getInventoryMatchRate()
5420    {
5421      return $this->inventoryMatchRate;
5422    }
5423    public function setKind($kind)
5424    {
5425      $this->kind = $kind;
5426    }
5427    public function getKind()
5428    {
5429      return $this->kind;
5430    }
5431    public function setLatency50thPercentile($latency50thPercentile)
5432    {
5433      $this->latency50thPercentile = $latency50thPercentile;
5434    }
5435    public function getLatency50thPercentile()
5436    {
5437      return $this->latency50thPercentile;
5438    }
5439    public function setLatency85thPercentile($latency85thPercentile)
5440    {
5441      $this->latency85thPercentile = $latency85thPercentile;
5442    }
5443    public function getLatency85thPercentile()
5444    {
5445      return $this->latency85thPercentile;
5446    }
5447    public function setLatency95thPercentile($latency95thPercentile)
5448    {
5449      $this->latency95thPercentile = $latency95thPercentile;
5450    }
5451    public function getLatency95thPercentile()
5452    {
5453      return $this->latency95thPercentile;
5454    }
5455    public function setNoQuotaInRegion($noQuotaInRegion)
5456    {
5457      $this->noQuotaInRegion = $noQuotaInRegion;
5458    }
5459    public function getNoQuotaInRegion()
5460    {
5461      return $this->noQuotaInRegion;
5462    }
5463    public function setOutOfQuota($outOfQuota)
5464    {
5465      $this->outOfQuota = $outOfQuota;
5466    }
5467    public function getOutOfQuota()
5468    {
5469      return $this->outOfQuota;
5470    }
5471    public function setPixelMatchRequests($pixelMatchRequests)
5472    {
5473      $this->pixelMatchRequests = $pixelMatchRequests;
5474    }
5475    public function getPixelMatchRequests()
5476    {
5477      return $this->pixelMatchRequests;
5478    }
5479    public function setPixelMatchResponses($pixelMatchResponses)
5480    {
5481      $this->pixelMatchResponses = $pixelMatchResponses;
5482    }
5483    public function getPixelMatchResponses()
5484    {
5485      return $this->pixelMatchResponses;
5486    }
5487    public function setQuotaConfiguredLimit($quotaConfiguredLimit)
5488    {
5489      $this->quotaConfiguredLimit = $quotaConfiguredLimit;
5490    }
5491    public function getQuotaConfiguredLimit()
5492    {
5493      return $this->quotaConfiguredLimit;
5494    }
5495    public function setQuotaThrottledLimit($quotaThrottledLimit)
5496    {
5497      $this->quotaThrottledLimit = $quotaThrottledLimit;
5498    }
5499    public function getQuotaThrottledLimit()
5500    {
5501      return $this->quotaThrottledLimit;
5502    }
5503    public function setRegion($region)
5504    {
5505      $this->region = $region;
5506    }
5507    public function getRegion()
5508    {
5509      return $this->region;
5510    }
5511    public function setSuccessfulRequestRate($successfulRequestRate)
5512    {
5513      $this->successfulRequestRate = $successfulRequestRate;
5514    }
5515    public function getSuccessfulRequestRate()
5516    {
5517      return $this->successfulRequestRate;
5518    }
5519    public function setTimestamp($timestamp)
5520    {
5521      $this->timestamp = $timestamp;
5522    }
5523    public function getTimestamp()
5524    {
5525      return $this->timestamp;
5526    }
5527    public function setUnsuccessfulRequestRate($unsuccessfulRequestRate)
5528    {
5529      $this->unsuccessfulRequestRate = $unsuccessfulRequestRate;
5530    }
5531    public function getUnsuccessfulRequestRate()
5532    {
5533      return $this->unsuccessfulRequestRate;
5534    }
5535  }
5536  
5537  class Google_Service_AdExchangeBuyer_PerformanceReportList extends Google_Collection
5538  {
5539    protected $collection_key = 'performanceReport';
5540    protected $internal_gapi_mappings = array(
5541    );
5542    public $kind;
5543    protected $performanceReportType = 'Google_Service_AdExchangeBuyer_PerformanceReport';
5544    protected $performanceReportDataType = 'array';
5545  
5546  
5547    public function setKind($kind)
5548    {
5549      $this->kind = $kind;
5550    }
5551    public function getKind()
5552    {
5553      return $this->kind;
5554    }
5555    public function setPerformanceReport($performanceReport)
5556    {
5557      $this->performanceReport = $performanceReport;
5558    }
5559    public function getPerformanceReport()
5560    {
5561      return $this->performanceReport;
5562    }
5563  }
5564  
5565  class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection
5566  {
5567    protected $collection_key = 'verticals';
5568    protected $internal_gapi_mappings = array(
5569    );
5570    public $billingId;
5571    public $configId;
5572    public $configName;
5573    public $creativeType;
5574    protected $dimensionsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
5575    protected $dimensionsDataType = 'array';
5576    public $excludedContentLabels;
5577    public $excludedGeoCriteriaIds;
5578    protected $excludedPlacementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
5579    protected $excludedPlacementsDataType = 'array';
5580    public $excludedUserLists;
5581    public $excludedVerticals;
5582    public $geoCriteriaIds;
5583    public $isActive;
5584    public $kind;
5585    public $languages;
5586    public $mobileCarriers;
5587    public $mobileDevices;
5588    public $mobileOperatingSystemVersions;
5589    protected $placementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
5590    protected $placementsDataType = 'array';
5591    public $platforms;
5592    public $supportedCreativeAttributes;
5593    public $userLists;
5594    public $vendorTypes;
5595    public $verticals;
5596  
5597  
5598    public function setBillingId($billingId)
5599    {
5600      $this->billingId = $billingId;
5601    }
5602    public function getBillingId()
5603    {
5604      return $this->billingId;
5605    }
5606    public function setConfigId($configId)
5607    {
5608      $this->configId = $configId;
5609    }
5610    public function getConfigId()
5611    {
5612      return $this->configId;
5613    }
5614    public function setConfigName($configName)
5615    {
5616      $this->configName = $configName;
5617    }
5618    public function getConfigName()
5619    {
5620      return $this->configName;
5621    }
5622    public function setCreativeType($creativeType)
5623    {
5624      $this->creativeType = $creativeType;
5625    }
5626    public function getCreativeType()
5627    {
5628      return $this->creativeType;
5629    }
5630    public function setDimensions($dimensions)
5631    {
5632      $this->dimensions = $dimensions;
5633    }
5634    public function getDimensions()
5635    {
5636      return $this->dimensions;
5637    }
5638    public function setExcludedContentLabels($excludedContentLabels)
5639    {
5640      $this->excludedContentLabels = $excludedContentLabels;
5641    }
5642    public function getExcludedContentLabels()
5643    {
5644      return $this->excludedContentLabels;
5645    }
5646    public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds)
5647    {
5648      $this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds;
5649    }
5650    public function getExcludedGeoCriteriaIds()
5651    {
5652      return $this->excludedGeoCriteriaIds;
5653    }
5654    public function setExcludedPlacements($excludedPlacements)
5655    {
5656      $this->excludedPlacements = $excludedPlacements;
5657    }
5658    public function getExcludedPlacements()
5659    {
5660      return $this->excludedPlacements;
5661    }
5662    public function setExcludedUserLists($excludedUserLists)
5663    {
5664      $this->excludedUserLists = $excludedUserLists;
5665    }
5666    public function getExcludedUserLists()
5667    {
5668      return $this->excludedUserLists;
5669    }
5670    public function setExcludedVerticals($excludedVerticals)
5671    {
5672      $this->excludedVerticals = $excludedVerticals;
5673    }
5674    public function getExcludedVerticals()
5675    {
5676      return $this->excludedVerticals;
5677    }
5678    public function setGeoCriteriaIds($geoCriteriaIds)
5679    {
5680      $this->geoCriteriaIds = $geoCriteriaIds;
5681    }
5682    public function getGeoCriteriaIds()
5683    {
5684      return $this->geoCriteriaIds;
5685    }
5686    public function setIsActive($isActive)
5687    {
5688      $this->isActive = $isActive;
5689    }
5690    public function getIsActive()
5691    {
5692      return $this->isActive;
5693    }
5694    public function setKind($kind)
5695    {
5696      $this->kind = $kind;
5697    }
5698    public function getKind()
5699    {
5700      return $this->kind;
5701    }
5702    public function setLanguages($languages)
5703    {
5704      $this->languages = $languages;
5705    }
5706    public function getLanguages()
5707    {
5708      return $this->languages;
5709    }
5710    public function setMobileCarriers($mobileCarriers)
5711    {
5712      $this->mobileCarriers = $mobileCarriers;
5713    }
5714    public function getMobileCarriers()
5715    {
5716      return $this->mobileCarriers;
5717    }
5718    public function setMobileDevices($mobileDevices)
5719    {
5720      $this->mobileDevices = $mobileDevices;
5721    }
5722    public function getMobileDevices()
5723    {
5724      return $this->mobileDevices;
5725    }
5726    public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions)
5727    {
5728      $this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions;
5729    }
5730    public function getMobileOperatingSystemVersions()
5731    {
5732      return $this->mobileOperatingSystemVersions;
5733    }
5734    public function setPlacements($placements)
5735    {
5736      $this->placements = $placements;
5737    }
5738    public function getPlacements()
5739    {
5740      return $this->placements;
5741    }
5742    public function setPlatforms($platforms)
5743    {
5744      $this->platforms = $platforms;
5745    }
5746    public function getPlatforms()
5747    {
5748      return $this->platforms;
5749    }
5750    public function setSupportedCreativeAttributes($supportedCreativeAttributes)
5751    {
5752      $this->supportedCreativeAttributes = $supportedCreativeAttributes;
5753    }
5754    public function getSupportedCreativeAttributes()
5755    {
5756      return $this->supportedCreativeAttributes;
5757    }
5758    public function setUserLists($userLists)
5759    {
5760      $this->userLists = $userLists;
5761    }
5762    public function getUserLists()
5763    {
5764      return $this->userLists;
5765    }
5766    public function setVendorTypes($vendorTypes)
5767    {
5768      $this->vendorTypes = $vendorTypes;
5769    }
5770    public function getVendorTypes()
5771    {
5772      return $this->vendorTypes;
5773    }
5774    public function setVerticals($verticals)
5775    {
5776      $this->verticals = $verticals;
5777    }
5778    public function getVerticals()
5779    {
5780      return $this->verticals;
5781    }
5782  }
5783  
5784  class Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Google_Model
5785  {
5786    protected $internal_gapi_mappings = array(
5787    );
5788    public $height;
5789    public $width;
5790  
5791  
5792    public function setHeight($height)
5793    {
5794      $this->height = $height;
5795    }
5796    public function getHeight()
5797    {
5798      return $this->height;
5799    }
5800    public function setWidth($width)
5801    {
5802      $this->width = $width;
5803    }
5804    public function getWidth()
5805    {
5806      return $this->width;
5807    }
5808  }
5809  
5810  class Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Google_Model
5811  {
5812    protected $internal_gapi_mappings = array(
5813    );
5814    public $token;
5815    public $type;
5816  
5817  
5818    public function setToken($token)
5819    {
5820      $this->token = $token;
5821    }
5822    public function getToken()
5823    {
5824      return $this->token;
5825    }
5826    public function setType($type)
5827    {
5828      $this->type = $type;
5829    }
5830    public function getType()
5831    {
5832      return $this->type;
5833    }
5834  }
5835  
5836  class Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Collection
5837  {
5838    protected $collection_key = 'items';
5839    protected $internal_gapi_mappings = array(
5840    );
5841    protected $itemsType = 'Google_Service_AdExchangeBuyer_PretargetingConfig';
5842    protected $itemsDataType = 'array';
5843    public $kind;
5844  
5845  
5846    public function setItems($items)
5847    {
5848      $this->items = $items;
5849    }
5850    public function getItems()
5851    {
5852      return $this->items;
5853    }
5854    public function setKind($kind)
5855    {
5856      $this->kind = $kind;
5857    }
5858    public function getKind()
5859    {
5860      return $this->kind;
5861    }
5862  }
5863  
5864  class Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Google_Model
5865  {
5866    protected $internal_gapi_mappings = array(
5867    );
5868    public $token;
5869    public $type;
5870  
5871  
5872    public function setToken($token)
5873    {
5874      $this->token = $token;
5875    }
5876    public function getToken()
5877    {
5878      return $this->token;
5879    }
5880    public function setType($type)
5881    {
5882      $this->type = $type;
5883    }
5884    public function getType()
5885    {
5886      return $this->type;
5887    }
5888  }
5889  
5890  class Google_Service_AdExchangeBuyer_Price extends Google_Model
5891  {
5892    protected $internal_gapi_mappings = array(
5893    );
5894    public $amountMicros;
5895    public $currencyCode;
5896  
5897  
5898    public function setAmountMicros($amountMicros)
5899    {
5900      $this->amountMicros = $amountMicros;
5901    }
5902    public function getAmountMicros()
5903    {
5904      return $this->amountMicros;
5905    }
5906    public function setCurrencyCode($currencyCode)
5907    {
5908      $this->currencyCode = $currencyCode;
5909    }
5910    public function getCurrencyCode()
5911    {
5912      return $this->currencyCode;
5913    }
5914  }
5915  
5916  class Google_Service_AdExchangeBuyer_PricePerBuyer extends Google_Model
5917  {
5918    protected $internal_gapi_mappings = array(
5919    );
5920    protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
5921    protected $buyerDataType = '';
5922    protected $priceType = 'Google_Service_AdExchangeBuyer_Price';
5923    protected $priceDataType = '';
5924  
5925  
5926    public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
5927    {
5928      $this->buyer = $buyer;
5929    }
5930    public function getBuyer()
5931    {
5932      return $this->buyer;
5933    }
5934    public function setPrice(Google_Service_AdExchangeBuyer_Price $price)
5935    {
5936      $this->price = $price;
5937    }
5938    public function getPrice()
5939    {
5940      return $this->price;
5941    }
5942  }
5943  
5944  class Google_Service_AdExchangeBuyer_PrivateData extends Google_Model
5945  {
5946    protected $internal_gapi_mappings = array(
5947    );
5948    public $referenceId;
5949    public $referencePayload;
5950  
5951  
5952    public function setReferenceId($referenceId)
5953    {
5954      $this->referenceId = $referenceId;
5955    }
5956    public function getReferenceId()
5957    {
5958      return $this->referenceId;
5959    }
5960    public function setReferencePayload($referencePayload)
5961    {
5962      $this->referencePayload = $referencePayload;
5963    }
5964    public function getReferencePayload()
5965    {
5966      return $this->referencePayload;
5967    }
5968  }
5969  
5970  class Google_Service_AdExchangeBuyer_RuleKeyValuePair extends Google_Model
5971  {
5972    protected $internal_gapi_mappings = array(
5973    );
5974    public $keyName;
5975    public $value;
5976  
5977  
5978    public function setKeyName($keyName)
5979    {
5980      $this->keyName = $keyName;
5981    }
5982    public function getKeyName()
5983    {
5984      return $this->keyName;
5985    }
5986    public function setValue($value)
5987    {
5988      $this->value = $value;
5989    }
5990    public function getValue()
5991    {
5992      return $this->value;
5993    }
5994  }
5995  
5996  class Google_Service_AdExchangeBuyer_Seller extends Google_Model
5997  {
5998    protected $internal_gapi_mappings = array(
5999    );
6000    public $accountId;
6001    public $subAccountId;
6002  
6003  
6004    public function setAccountId($accountId)
6005    {
6006      $this->accountId = $accountId;
6007    }
6008    public function getAccountId()
6009    {
6010      return $this->accountId;
6011    }
6012    public function setSubAccountId($subAccountId)
6013    {
6014      $this->subAccountId = $subAccountId;
6015    }
6016    public function getSubAccountId()
6017    {
6018      return $this->subAccountId;
6019    }
6020  }
6021  
6022  class Google_Service_AdExchangeBuyer_SharedTargeting extends Google_Collection
6023  {
6024    protected $collection_key = 'inclusions';
6025    protected $internal_gapi_mappings = array(
6026    );
6027    protected $exclusionsType = 'Google_Service_AdExchangeBuyer_TargetingValue';
6028    protected $exclusionsDataType = 'array';
6029    protected $inclusionsType = 'Google_Service_AdExchangeBuyer_TargetingValue';
6030    protected $inclusionsDataType = 'array';
6031    public $key;
6032  
6033  
6034    public function setExclusions($exclusions)
6035    {
6036      $this->exclusions = $exclusions;
6037    }
6038    public function getExclusions()
6039    {
6040      return $this->exclusions;
6041    }
6042    public function setInclusions($inclusions)
6043    {
6044      $this->inclusions = $inclusions;
6045    }
6046    public function getInclusions()
6047    {
6048      return $this->inclusions;
6049    }
6050    public function setKey($key)
6051    {
6052      $this->key = $key;
6053    }
6054    public function getKey()
6055    {
6056      return $this->key;
6057    }
6058  }
6059  
6060  class Google_Service_AdExchangeBuyer_StatsDto extends Google_Model
6061  {
6062    protected $internal_gapi_mappings = array(
6063    );
6064    public $bids;
6065    public $goodBids;
6066    public $impressions;
6067    public $requests;
6068    protected $revenueType = 'Google_Service_AdExchangeBuyer_MoneyDto';
6069    protected $revenueDataType = '';
6070    protected $spendType = 'Google_Service_AdExchangeBuyer_MoneyDto';
6071    protected $spendDataType = '';
6072  
6073  
6074    public function setBids($bids)
6075    {
6076      $this->bids = $bids;
6077    }
6078    public function getBids()
6079    {
6080      return $this->bids;
6081    }
6082    public function setGoodBids($goodBids)
6083    {
6084      $this->goodBids = $goodBids;
6085    }
6086    public function getGoodBids()
6087    {
6088      return $this->goodBids;
6089    }
6090    public function setImpressions($impressions)
6091    {
6092      $this->impressions = $impressions;
6093    }
6094    public function getImpressions()
6095    {
6096      return $this->impressions;
6097    }
6098    public function setRequests($requests)
6099    {
6100      $this->requests = $requests;
6101    }
6102    public function getRequests()
6103    {
6104      return $this->requests;
6105    }
6106    public function setRevenue(Google_Service_AdExchangeBuyer_MoneyDto $revenue)
6107    {
6108      $this->revenue = $revenue;
6109    }
6110    public function getRevenue()
6111    {
6112      return $this->revenue;
6113    }
6114    public function setSpend(Google_Service_AdExchangeBuyer_MoneyDto $spend)
6115    {
6116      $this->spend = $spend;
6117    }
6118    public function getSpend()
6119    {
6120      return $this->spend;
6121    }
6122  }
6123  
6124  class Google_Service_AdExchangeBuyer_TargetingValue extends Google_Model
6125  {
6126    protected $internal_gapi_mappings = array(
6127    );
6128    protected $creativeSizeValueType = 'Google_Service_AdExchangeBuyer_TargetingValueCreativeSize';
6129    protected $creativeSizeValueDataType = '';
6130    protected $dayPartTargetingValueType = 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting';
6131    protected $dayPartTargetingValueDataType = '';
6132    public $longValue;
6133    public $stringValue;
6134  
6135  
6136    public function setCreativeSizeValue(Google_Service_AdExchangeBuyer_TargetingValueCreativeSize $creativeSizeValue)
6137    {
6138      $this->creativeSizeValue = $creativeSizeValue;
6139    }
6140    public function getCreativeSizeValue()
6141    {
6142      return $this->creativeSizeValue;
6143    }
6144    public function setDayPartTargetingValue(Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting $dayPartTargetingValue)
6145    {
6146      $this->dayPartTargetingValue = $dayPartTargetingValue;
6147    }
6148    public function getDayPartTargetingValue()
6149    {
6150      return $this->dayPartTargetingValue;
6151    }
6152    public function setLongValue($longValue)
6153    {
6154      $this->longValue = $longValue;
6155    }
6156    public function getLongValue()
6157    {
6158      return $this->longValue;
6159    }
6160    public function setStringValue($stringValue)
6161    {
6162      $this->stringValue = $stringValue;
6163    }
6164    public function getStringValue()
6165    {
6166      return $this->stringValue;
6167    }
6168  }
6169  
6170  class Google_Service_AdExchangeBuyer_TargetingValueCreativeSize extends Google_Collection
6171  {
6172    protected $collection_key = 'companionSizes';
6173    protected $internal_gapi_mappings = array(
6174    );
6175    protected $companionSizesType = 'Google_Service_AdExchangeBuyer_TargetingValueSize';
6176    protected $companionSizesDataType = 'array';
6177    public $creativeSizeType;
6178    protected $sizeType = 'Google_Service_AdExchangeBuyer_TargetingValueSize';
6179    protected $sizeDataType = '';
6180  
6181  
6182    public function setCompanionSizes($companionSizes)
6183    {
6184      $this->companionSizes = $companionSizes;
6185    }
6186    public function getCompanionSizes()
6187    {
6188      return $this->companionSizes;
6189    }
6190    public function setCreativeSizeType($creativeSizeType)
6191    {
6192      $this->creativeSizeType = $creativeSizeType;
6193    }
6194    public function getCreativeSizeType()
6195    {
6196      return $this->creativeSizeType;
6197    }
6198    public function setSize(Google_Service_AdExchangeBuyer_TargetingValueSize $size)
6199    {
6200      $this->size = $size;
6201    }
6202    public function getSize()
6203    {
6204      return $this->size;
6205    }
6206  }
6207  
6208  class Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting extends Google_Collection
6209  {
6210    protected $collection_key = 'dayParts';
6211    protected $internal_gapi_mappings = array(
6212    );
6213    protected $dayPartsType = 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart';
6214    protected $dayPartsDataType = 'array';
6215    public $timeZoneType;
6216  
6217  
6218    public function setDayParts($dayParts)
6219    {
6220      $this->dayParts = $dayParts;
6221    }
6222    public function getDayParts()
6223    {
6224      return $this->dayParts;
6225    }
6226    public function setTimeZoneType($timeZoneType)
6227    {
6228      $this->timeZoneType = $timeZoneType;
6229    }
6230    public function getTimeZoneType()
6231    {
6232      return $this->timeZoneType;
6233    }
6234  }
6235  
6236  class Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart extends Google_Model
6237  {
6238    protected $internal_gapi_mappings = array(
6239    );
6240    public $dayOfWeek;
6241    public $endHour;
6242    public $endMinute;
6243    public $startHour;
6244    public $startMinute;
6245  
6246  
6247    public function setDayOfWeek($dayOfWeek)
6248    {
6249      $this->dayOfWeek = $dayOfWeek;
6250    }
6251    public function getDayOfWeek()
6252    {
6253      return $this->dayOfWeek;
6254    }
6255    public function setEndHour($endHour)
6256    {
6257      $this->endHour = $endHour;
6258    }
6259    public function getEndHour()
6260    {
6261      return $this->endHour;
6262    }
6263    public function setEndMinute($endMinute)
6264    {
6265      $this->endMinute = $endMinute;
6266    }
6267    public function getEndMinute()
6268    {
6269      return $this->endMinute;
6270    }
6271    public function setStartHour($startHour)
6272    {
6273      $this->startHour = $startHour;
6274    }
6275    public function getStartHour()
6276    {
6277      return $this->startHour;
6278    }
6279    public function setStartMinute($startMinute)
6280    {
6281      $this->startMinute = $startMinute;
6282    }
6283    public function getStartMinute()
6284    {
6285      return $this->startMinute;
6286    }
6287  }
6288  
6289  class Google_Service_AdExchangeBuyer_TargetingValueSize extends Google_Model
6290  {
6291    protected $internal_gapi_mappings = array(
6292    );
6293    public $height;
6294    public $width;
6295  
6296  
6297    public function setHeight($height)
6298    {
6299      $this->height = $height;
6300    }
6301    public function getHeight()
6302    {
6303      return $this->height;
6304    }
6305    public function setWidth($width)
6306    {
6307      $this->width = $width;
6308    }
6309    public function getWidth()
6310    {
6311      return $this->width;
6312    }
6313  }
6314  
6315  class Google_Service_AdExchangeBuyer_TermsDto extends Google_Collection
6316  {
6317    protected $collection_key = 'urls';
6318    protected $internal_gapi_mappings = array(
6319    );
6320    protected $adSlotsType = 'Google_Service_AdExchangeBuyer_AdSlotDto';
6321    protected $adSlotsDataType = 'array';
6322    protected $advertisersType = 'Google_Service_AdExchangeBuyer_AdvertiserDto';
6323    protected $advertisersDataType = 'array';
6324    protected $audienceSegmentType = 'Google_Service_AdExchangeBuyer_AudienceSegment';
6325    protected $audienceSegmentDataType = '';
6326    public $audienceSegmentDescription;
6327    public $billingTerms;
6328    public $buyerBillingType;
6329    protected $cpmType = 'Google_Service_AdExchangeBuyer_MoneyDto';
6330    protected $cpmDataType = '';
6331    public $creativeBlockingLevel;
6332    public $creativeReviewPolicy;
6333    protected $dealPremiumType = 'Google_Service_AdExchangeBuyer_MoneyDto';
6334    protected $dealPremiumDataType = '';
6335    public $description;
6336    public $descriptiveName;
6337    protected $endDateType = 'Google_Service_AdExchangeBuyer_DateTime';
6338    protected $endDateDataType = '';
6339    public $estimatedImpressionsPerDay;
6340    protected $estimatedSpendType = 'Google_Service_AdExchangeBuyer_MoneyDto';
6341    protected $estimatedSpendDataType = '';
6342    public $finalizeAutomatically;
6343    protected $inventorySegmentTargetingType = 'Google_Service_AdExchangeBuyer_InventorySegmentTargeting';
6344    protected $inventorySegmentTargetingDataType = '';
6345    public $isReservation;
6346    public $minimumSpendMicros;
6347    public $minimumTrueLooks;
6348    public $monetizerType;
6349    public $semiTransparent;
6350    protected $startDateType = 'Google_Service_AdExchangeBuyer_DateTime';
6351    protected $startDateDataType = '';
6352    public $targetByDealId;
6353    public $targetingAllAdSlots;
6354    public $termsAttributes;
6355    public $urls;
6356  
6357  
6358    public function setAdSlots($adSlots)
6359    {
6360      $this->adSlots = $adSlots;
6361    }
6362    public function getAdSlots()
6363    {
6364      return $this->adSlots;
6365    }
6366    public function setAdvertisers($advertisers)
6367    {
6368      $this->advertisers = $advertisers;
6369    }
6370    public function getAdvertisers()
6371    {
6372      return $this->advertisers;
6373    }
6374    public function setAudienceSegment(Google_Service_AdExchangeBuyer_AudienceSegment $audienceSegment)
6375    {
6376      $this->audienceSegment = $audienceSegment;
6377    }
6378    public function getAudienceSegment()
6379    {
6380      return $this->audienceSegment;
6381    }
6382    public function setAudienceSegmentDescription($audienceSegmentDescription)
6383    {
6384      $this->audienceSegmentDescription = $audienceSegmentDescription;
6385    }
6386    public function getAudienceSegmentDescription()
6387    {
6388      return $this->audienceSegmentDescription;
6389    }
6390    public function setBillingTerms($billingTerms)
6391    {
6392      $this->billingTerms = $billingTerms;
6393    }
6394    public function getBillingTerms()
6395    {
6396      return $this->billingTerms;
6397    }
6398    public function setBuyerBillingType($buyerBillingType)
6399    {
6400      $this->buyerBillingType = $buyerBillingType;
6401    }
6402    public function getBuyerBillingType()
6403    {
6404      return $this->buyerBillingType;
6405    }
6406    public function setCpm(Google_Service_AdExchangeBuyer_MoneyDto $cpm)
6407    {
6408      $this->cpm = $cpm;
6409    }
6410    public function getCpm()
6411    {
6412      return $this->cpm;
6413    }
6414    public function setCreativeBlockingLevel($creativeBlockingLevel)
6415    {
6416      $this->creativeBlockingLevel = $creativeBlockingLevel;
6417    }
6418    public function getCreativeBlockingLevel()
6419    {
6420      return $this->creativeBlockingLevel;
6421    }
6422    public function setCreativeReviewPolicy($creativeReviewPolicy)
6423    {
6424      $this->creativeReviewPolicy = $creativeReviewPolicy;
6425    }
6426    public function getCreativeReviewPolicy()
6427    {
6428      return $this->creativeReviewPolicy;
6429    }
6430    public function setDealPremium(Google_Service_AdExchangeBuyer_MoneyDto $dealPremium)
6431    {
6432      $this->dealPremium = $dealPremium;
6433    }
6434    public function getDealPremium()
6435    {
6436      return $this->dealPremium;
6437    }
6438    public function setDescription($description)
6439    {
6440      $this->description = $description;
6441    }
6442    public function getDescription()
6443    {
6444      return $this->description;
6445    }
6446    public function setDescriptiveName($descriptiveName)
6447    {
6448      $this->descriptiveName = $descriptiveName;
6449    }
6450    public function getDescriptiveName()
6451    {
6452      return $this->descriptiveName;
6453    }
6454    public function setEndDate(Google_Service_AdExchangeBuyer_DateTime $endDate)
6455    {
6456      $this->endDate = $endDate;
6457    }
6458    public function getEndDate()
6459    {
6460      return $this->endDate;
6461    }
6462    public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay)
6463    {
6464      $this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay;
6465    }
6466    public function getEstimatedImpressionsPerDay()
6467    {
6468      return $this->estimatedImpressionsPerDay;
6469    }
6470    public function setEstimatedSpend(Google_Service_AdExchangeBuyer_MoneyDto $estimatedSpend)
6471    {
6472      $this->estimatedSpend = $estimatedSpend;
6473    }
6474    public function getEstimatedSpend()
6475    {
6476      return $this->estimatedSpend;
6477    }
6478    public function setFinalizeAutomatically($finalizeAutomatically)
6479    {
6480      $this->finalizeAutomatically = $finalizeAutomatically;
6481    }
6482    public function getFinalizeAutomatically()
6483    {
6484      return $this->finalizeAutomatically;
6485    }
6486    public function setInventorySegmentTargeting(Google_Service_AdExchangeBuyer_InventorySegmentTargeting $inventorySegmentTargeting)
6487    {
6488      $this->inventorySegmentTargeting = $inventorySegmentTargeting;
6489    }
6490    public function getInventorySegmentTargeting()
6491    {
6492      return $this->inventorySegmentTargeting;
6493    }
6494    public function setIsReservation($isReservation)
6495    {
6496      $this->isReservation = $isReservation;
6497    }
6498    public function getIsReservation()
6499    {
6500      return $this->isReservation;
6501    }
6502    public function setMinimumSpendMicros($minimumSpendMicros)
6503    {
6504      $this->minimumSpendMicros = $minimumSpendMicros;
6505    }
6506    public function getMinimumSpendMicros()
6507    {
6508      return $this->minimumSpendMicros;
6509    }
6510    public function setMinimumTrueLooks($minimumTrueLooks)
6511    {
6512      $this->minimumTrueLooks = $minimumTrueLooks;
6513    }
6514    public function getMinimumTrueLooks()
6515    {
6516      return $this->minimumTrueLooks;
6517    }
6518    public function setMonetizerType($monetizerType)
6519    {
6520      $this->monetizerType = $monetizerType;
6521    }
6522    public function getMonetizerType()
6523    {
6524      return $this->monetizerType;
6525    }
6526    public function setSemiTransparent($semiTransparent)
6527    {
6528      $this->semiTransparent = $semiTransparent;
6529    }
6530    public function getSemiTransparent()
6531    {
6532      return $this->semiTransparent;
6533    }
6534    public function setStartDate(Google_Service_AdExchangeBuyer_DateTime $startDate)
6535    {
6536      $this->startDate = $startDate;
6537    }
6538    public function getStartDate()
6539    {
6540      return $this->startDate;
6541    }
6542    public function setTargetByDealId($targetByDealId)
6543    {
6544      $this->targetByDealId = $targetByDealId;
6545    }
6546    public function getTargetByDealId()
6547    {
6548      return $this->targetByDealId;
6549    }
6550    public function setTargetingAllAdSlots($targetingAllAdSlots)
6551    {
6552      $this->targetingAllAdSlots = $targetingAllAdSlots;
6553    }
6554    public function getTargetingAllAdSlots()
6555    {
6556      return $this->targetingAllAdSlots;
6557    }
6558    public function setTermsAttributes($termsAttributes)
6559    {
6560      $this->termsAttributes = $termsAttributes;
6561    }
6562    public function getTermsAttributes()
6563    {
6564      return $this->termsAttributes;
6565    }
6566    public function setUrls($urls)
6567    {
6568      $this->urls = $urls;
6569    }
6570    public function getUrls()
6571    {
6572      return $this->urls;
6573    }
6574  }
6575  
6576  class Google_Service_AdExchangeBuyer_WebPropertyDto extends Google_Collection
6577  {
6578    protected $collection_key = 'siteUrls';
6579    protected $internal_gapi_mappings = array(
6580    );
6581    public $allowInterestTargetedAds;
6582    public $enabledForPreferredDeals;
6583    public $id;
6584    public $name;
6585    public $propertyCode;
6586    public $siteUrls;
6587    public $syndicationProduct;
6588  
6589  
6590    public function setAllowInterestTargetedAds($allowInterestTargetedAds)
6591    {
6592      $this->allowInterestTargetedAds = $allowInterestTargetedAds;
6593    }
6594    public function getAllowInterestTargetedAds()
6595    {
6596      return $this->allowInterestTargetedAds;
6597    }
6598    public function setEnabledForPreferredDeals($enabledForPreferredDeals)
6599    {
6600      $this->enabledForPreferredDeals = $enabledForPreferredDeals;
6601    }
6602    public function getEnabledForPreferredDeals()
6603    {
6604      return $this->enabledForPreferredDeals;
6605    }
6606    public function setId($id)
6607    {
6608      $this->id = $id;
6609    }
6610    public function getId()
6611    {
6612      return $this->id;
6613    }
6614    public function setName($name)
6615    {
6616      $this->name = $name;
6617    }
6618    public function getName()
6619    {
6620      return $this->name;
6621    }
6622    public function setPropertyCode($propertyCode)
6623    {
6624      $this->propertyCode = $propertyCode;
6625    }
6626    public function getPropertyCode()
6627    {
6628      return $this->propertyCode;
6629    }
6630    public function setSiteUrls($siteUrls)
6631    {
6632      $this->siteUrls = $siteUrls;
6633    }
6634    public function getSiteUrls()
6635    {
6636      return $this->siteUrls;
6637    }
6638    public function setSyndicationProduct($syndicationProduct)
6639    {
6640      $this->syndicationProduct = $syndicationProduct;
6641    }
6642    public function getSyndicationProduct()
6643    {
6644      return $this->syndicationProduct;
6645    }
6646  }