1<?php 2/* 3 * Copyright 2014 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 18namespace Google\Service; 19 20use Google\Client; 21 22/** 23 * Service definition for AdExchangeBuyerII (v2beta1). 24 * 25 * <p> 26 * Accesses the latest features for managing Authorized Buyers accounts, Real- 27 * Time Bidding configurations and auction metrics, and Marketplace programmatic 28 * deals.</p> 29 * 30 * <p> 31 * For more information about this service, see the API 32 * <a href="https://developers.google.com/authorized-buyers/apis/reference/rest/" target="_blank">Documentation</a> 33 * </p> 34 * 35 * @author Google, Inc. 36 */ 37class AdExchangeBuyerII extends \Google\Service 38{ 39 /** Manage your Ad Exchange buyer account configuration. */ 40 const ADEXCHANGE_BUYER = 41 "https://www.googleapis.com/auth/adexchange.buyer"; 42 43 public $accounts_clients; 44 public $accounts_clients_invitations; 45 public $accounts_clients_users; 46 public $accounts_creatives; 47 public $accounts_creatives_dealAssociations; 48 public $accounts_finalizedProposals; 49 public $accounts_products; 50 public $accounts_proposals; 51 public $accounts_publisherProfiles; 52 public $bidders_accounts_filterSets; 53 public $bidders_accounts_filterSets_bidMetrics; 54 public $bidders_accounts_filterSets_bidResponseErrors; 55 public $bidders_accounts_filterSets_bidResponsesWithoutBids; 56 public $bidders_accounts_filterSets_filteredBidRequests; 57 public $bidders_accounts_filterSets_filteredBids; 58 public $bidders_accounts_filterSets_filteredBids_creatives; 59 public $bidders_accounts_filterSets_filteredBids_details; 60 public $bidders_accounts_filterSets_impressionMetrics; 61 public $bidders_accounts_filterSets_losingBids; 62 public $bidders_accounts_filterSets_nonBillableWinningBids; 63 public $bidders_filterSets; 64 public $bidders_filterSets_bidMetrics; 65 public $bidders_filterSets_bidResponseErrors; 66 public $bidders_filterSets_bidResponsesWithoutBids; 67 public $bidders_filterSets_filteredBidRequests; 68 public $bidders_filterSets_filteredBids; 69 public $bidders_filterSets_filteredBids_creatives; 70 public $bidders_filterSets_filteredBids_details; 71 public $bidders_filterSets_impressionMetrics; 72 public $bidders_filterSets_losingBids; 73 public $bidders_filterSets_nonBillableWinningBids; 74 75 /** 76 * Constructs the internal representation of the AdExchangeBuyerII service. 77 * 78 * @param Client|array $clientOrConfig The client used to deliver requests, or a 79 * config array to pass to a new Client instance. 80 * @param string $rootUrl The root URL used for requests to the service. 81 */ 82 public function __construct($clientOrConfig = [], $rootUrl = null) 83 { 84 parent::__construct($clientOrConfig); 85 $this->rootUrl = $rootUrl ?: 'https://adexchangebuyer.googleapis.com/'; 86 $this->servicePath = ''; 87 $this->batchPath = 'batch'; 88 $this->version = 'v2beta1'; 89 $this->serviceName = 'adexchangebuyer2'; 90 91 $this->accounts_clients = new AdExchangeBuyerII\Resource\AccountsClients( 92 $this, 93 $this->serviceName, 94 'clients', 95 [ 96 'methods' => [ 97 'create' => [ 98 'path' => 'v2beta1/accounts/{accountId}/clients', 99 'httpMethod' => 'POST', 100 'parameters' => [ 101 'accountId' => [ 102 'location' => 'path', 103 'type' => 'string', 104 'required' => true, 105 ], 106 ], 107 ],'get' => [ 108 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', 109 'httpMethod' => 'GET', 110 'parameters' => [ 111 'accountId' => [ 112 'location' => 'path', 113 'type' => 'string', 114 'required' => true, 115 ], 116 'clientAccountId' => [ 117 'location' => 'path', 118 'type' => 'string', 119 'required' => true, 120 ], 121 ], 122 ],'list' => [ 123 'path' => 'v2beta1/accounts/{accountId}/clients', 124 'httpMethod' => 'GET', 125 'parameters' => [ 126 'accountId' => [ 127 'location' => 'path', 128 'type' => 'string', 129 'required' => true, 130 ], 131 'pageSize' => [ 132 'location' => 'query', 133 'type' => 'integer', 134 ], 135 'pageToken' => [ 136 'location' => 'query', 137 'type' => 'string', 138 ], 139 'partnerClientId' => [ 140 'location' => 'query', 141 'type' => 'string', 142 ], 143 ], 144 ],'update' => [ 145 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', 146 'httpMethod' => 'PUT', 147 'parameters' => [ 148 'accountId' => [ 149 'location' => 'path', 150 'type' => 'string', 151 'required' => true, 152 ], 153 'clientAccountId' => [ 154 'location' => 'path', 155 'type' => 'string', 156 'required' => true, 157 ], 158 ], 159 ], 160 ] 161 ] 162 ); 163 $this->accounts_clients_invitations = new AdExchangeBuyerII\Resource\AccountsClientsInvitations( 164 $this, 165 $this->serviceName, 166 'invitations', 167 [ 168 'methods' => [ 169 'create' => [ 170 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', 171 'httpMethod' => 'POST', 172 'parameters' => [ 173 'accountId' => [ 174 'location' => 'path', 175 'type' => 'string', 176 'required' => true, 177 ], 178 'clientAccountId' => [ 179 'location' => 'path', 180 'type' => 'string', 181 'required' => true, 182 ], 183 ], 184 ],'get' => [ 185 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}', 186 'httpMethod' => 'GET', 187 'parameters' => [ 188 'accountId' => [ 189 'location' => 'path', 190 'type' => 'string', 191 'required' => true, 192 ], 193 'clientAccountId' => [ 194 'location' => 'path', 195 'type' => 'string', 196 'required' => true, 197 ], 198 'invitationId' => [ 199 'location' => 'path', 200 'type' => 'string', 201 'required' => true, 202 ], 203 ], 204 ],'list' => [ 205 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', 206 'httpMethod' => 'GET', 207 'parameters' => [ 208 'accountId' => [ 209 'location' => 'path', 210 'type' => 'string', 211 'required' => true, 212 ], 213 'clientAccountId' => [ 214 'location' => 'path', 215 'type' => 'string', 216 'required' => true, 217 ], 218 'pageSize' => [ 219 'location' => 'query', 220 'type' => 'integer', 221 ], 222 'pageToken' => [ 223 'location' => 'query', 224 'type' => 'string', 225 ], 226 ], 227 ], 228 ] 229 ] 230 ); 231 $this->accounts_clients_users = new AdExchangeBuyerII\Resource\AccountsClientsUsers( 232 $this, 233 $this->serviceName, 234 'users', 235 [ 236 'methods' => [ 237 'get' => [ 238 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', 239 'httpMethod' => 'GET', 240 'parameters' => [ 241 'accountId' => [ 242 'location' => 'path', 243 'type' => 'string', 244 'required' => true, 245 ], 246 'clientAccountId' => [ 247 'location' => 'path', 248 'type' => 'string', 249 'required' => true, 250 ], 251 'userId' => [ 252 'location' => 'path', 253 'type' => 'string', 254 'required' => true, 255 ], 256 ], 257 ],'list' => [ 258 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users', 259 'httpMethod' => 'GET', 260 'parameters' => [ 261 'accountId' => [ 262 'location' => 'path', 263 'type' => 'string', 264 'required' => true, 265 ], 266 'clientAccountId' => [ 267 'location' => 'path', 268 'type' => 'string', 269 'required' => true, 270 ], 271 'pageSize' => [ 272 'location' => 'query', 273 'type' => 'integer', 274 ], 275 'pageToken' => [ 276 'location' => 'query', 277 'type' => 'string', 278 ], 279 ], 280 ],'update' => [ 281 'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', 282 'httpMethod' => 'PUT', 283 'parameters' => [ 284 'accountId' => [ 285 'location' => 'path', 286 'type' => 'string', 287 'required' => true, 288 ], 289 'clientAccountId' => [ 290 'location' => 'path', 291 'type' => 'string', 292 'required' => true, 293 ], 294 'userId' => [ 295 'location' => 'path', 296 'type' => 'string', 297 'required' => true, 298 ], 299 ], 300 ], 301 ] 302 ] 303 ); 304 $this->accounts_creatives = new AdExchangeBuyerII\Resource\AccountsCreatives( 305 $this, 306 $this->serviceName, 307 'creatives', 308 [ 309 'methods' => [ 310 'create' => [ 311 'path' => 'v2beta1/accounts/{accountId}/creatives', 312 'httpMethod' => 'POST', 313 'parameters' => [ 314 'accountId' => [ 315 'location' => 'path', 316 'type' => 'string', 317 'required' => true, 318 ], 319 'duplicateIdMode' => [ 320 'location' => 'query', 321 'type' => 'string', 322 ], 323 ], 324 ],'get' => [ 325 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}', 326 'httpMethod' => 'GET', 327 'parameters' => [ 328 'accountId' => [ 329 'location' => 'path', 330 'type' => 'string', 331 'required' => true, 332 ], 333 'creativeId' => [ 334 'location' => 'path', 335 'type' => 'string', 336 'required' => true, 337 ], 338 ], 339 ],'list' => [ 340 'path' => 'v2beta1/accounts/{accountId}/creatives', 341 'httpMethod' => 'GET', 342 'parameters' => [ 343 'accountId' => [ 344 'location' => 'path', 345 'type' => 'string', 346 'required' => true, 347 ], 348 'pageSize' => [ 349 'location' => 'query', 350 'type' => 'integer', 351 ], 352 'pageToken' => [ 353 'location' => 'query', 354 'type' => 'string', 355 ], 356 'query' => [ 357 'location' => 'query', 358 'type' => 'string', 359 ], 360 ], 361 ],'stopWatching' => [ 362 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching', 363 'httpMethod' => 'POST', 364 'parameters' => [ 365 'accountId' => [ 366 'location' => 'path', 367 'type' => 'string', 368 'required' => true, 369 ], 370 'creativeId' => [ 371 'location' => 'path', 372 'type' => 'string', 373 'required' => true, 374 ], 375 ], 376 ],'update' => [ 377 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}', 378 'httpMethod' => 'PUT', 379 'parameters' => [ 380 'accountId' => [ 381 'location' => 'path', 382 'type' => 'string', 383 'required' => true, 384 ], 385 'creativeId' => [ 386 'location' => 'path', 387 'type' => 'string', 388 'required' => true, 389 ], 390 ], 391 ],'watch' => [ 392 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', 393 'httpMethod' => 'POST', 394 'parameters' => [ 395 'accountId' => [ 396 'location' => 'path', 397 'type' => 'string', 398 'required' => true, 399 ], 400 'creativeId' => [ 401 'location' => 'path', 402 'type' => 'string', 403 'required' => true, 404 ], 405 ], 406 ], 407 ] 408 ] 409 ); 410 $this->accounts_creatives_dealAssociations = new AdExchangeBuyerII\Resource\AccountsCreativesDealAssociations( 411 $this, 412 $this->serviceName, 413 'dealAssociations', 414 [ 415 'methods' => [ 416 'add' => [ 417 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add', 418 'httpMethod' => 'POST', 419 'parameters' => [ 420 'accountId' => [ 421 'location' => 'path', 422 'type' => 'string', 423 'required' => true, 424 ], 425 'creativeId' => [ 426 'location' => 'path', 427 'type' => 'string', 428 'required' => true, 429 ], 430 ], 431 ],'list' => [ 432 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', 433 'httpMethod' => 'GET', 434 'parameters' => [ 435 'accountId' => [ 436 'location' => 'path', 437 'type' => 'string', 438 'required' => true, 439 ], 440 'creativeId' => [ 441 'location' => 'path', 442 'type' => 'string', 443 'required' => true, 444 ], 445 'pageSize' => [ 446 'location' => 'query', 447 'type' => 'integer', 448 ], 449 'pageToken' => [ 450 'location' => 'query', 451 'type' => 'string', 452 ], 453 'query' => [ 454 'location' => 'query', 455 'type' => 'string', 456 ], 457 ], 458 ],'remove' => [ 459 'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove', 460 'httpMethod' => 'POST', 461 'parameters' => [ 462 'accountId' => [ 463 'location' => 'path', 464 'type' => 'string', 465 'required' => true, 466 ], 467 'creativeId' => [ 468 'location' => 'path', 469 'type' => 'string', 470 'required' => true, 471 ], 472 ], 473 ], 474 ] 475 ] 476 ); 477 $this->accounts_finalizedProposals = new AdExchangeBuyerII\Resource\AccountsFinalizedProposals( 478 $this, 479 $this->serviceName, 480 'finalizedProposals', 481 [ 482 'methods' => [ 483 'list' => [ 484 'path' => 'v2beta1/accounts/{accountId}/finalizedProposals', 485 'httpMethod' => 'GET', 486 'parameters' => [ 487 'accountId' => [ 488 'location' => 'path', 489 'type' => 'string', 490 'required' => true, 491 ], 492 'filter' => [ 493 'location' => 'query', 494 'type' => 'string', 495 ], 496 'filterSyntax' => [ 497 'location' => 'query', 498 'type' => 'string', 499 ], 500 'pageSize' => [ 501 'location' => 'query', 502 'type' => 'integer', 503 ], 504 'pageToken' => [ 505 'location' => 'query', 506 'type' => 'string', 507 ], 508 ], 509 ],'pause' => [ 510 'path' => 'v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:pause', 511 'httpMethod' => 'POST', 512 'parameters' => [ 513 'accountId' => [ 514 'location' => 'path', 515 'type' => 'string', 516 'required' => true, 517 ], 518 'proposalId' => [ 519 'location' => 'path', 520 'type' => 'string', 521 'required' => true, 522 ], 523 ], 524 ],'resume' => [ 525 'path' => 'v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:resume', 526 'httpMethod' => 'POST', 527 'parameters' => [ 528 'accountId' => [ 529 'location' => 'path', 530 'type' => 'string', 531 'required' => true, 532 ], 533 'proposalId' => [ 534 'location' => 'path', 535 'type' => 'string', 536 'required' => true, 537 ], 538 ], 539 ], 540 ] 541 ] 542 ); 543 $this->accounts_products = new AdExchangeBuyerII\Resource\AccountsProducts( 544 $this, 545 $this->serviceName, 546 'products', 547 [ 548 'methods' => [ 549 'get' => [ 550 'path' => 'v2beta1/accounts/{accountId}/products/{productId}', 551 'httpMethod' => 'GET', 552 'parameters' => [ 553 'accountId' => [ 554 'location' => 'path', 555 'type' => 'string', 556 'required' => true, 557 ], 558 'productId' => [ 559 'location' => 'path', 560 'type' => 'string', 561 'required' => true, 562 ], 563 ], 564 ],'list' => [ 565 'path' => 'v2beta1/accounts/{accountId}/products', 566 'httpMethod' => 'GET', 567 'parameters' => [ 568 'accountId' => [ 569 'location' => 'path', 570 'type' => 'string', 571 'required' => true, 572 ], 573 'filter' => [ 574 'location' => 'query', 575 'type' => 'string', 576 ], 577 'pageSize' => [ 578 'location' => 'query', 579 'type' => 'integer', 580 ], 581 'pageToken' => [ 582 'location' => 'query', 583 'type' => 'string', 584 ], 585 ], 586 ], 587 ] 588 ] 589 ); 590 $this->accounts_proposals = new AdExchangeBuyerII\Resource\AccountsProposals( 591 $this, 592 $this->serviceName, 593 'proposals', 594 [ 595 'methods' => [ 596 'accept' => [ 597 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:accept', 598 'httpMethod' => 'POST', 599 'parameters' => [ 600 'accountId' => [ 601 'location' => 'path', 602 'type' => 'string', 603 'required' => true, 604 ], 605 'proposalId' => [ 606 'location' => 'path', 607 'type' => 'string', 608 'required' => true, 609 ], 610 ], 611 ],'addNote' => [ 612 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote', 613 'httpMethod' => 'POST', 614 'parameters' => [ 615 'accountId' => [ 616 'location' => 'path', 617 'type' => 'string', 618 'required' => true, 619 ], 620 'proposalId' => [ 621 'location' => 'path', 622 'type' => 'string', 623 'required' => true, 624 ], 625 ], 626 ],'cancelNegotiation' => [ 627 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation', 628 'httpMethod' => 'POST', 629 'parameters' => [ 630 'accountId' => [ 631 'location' => 'path', 632 'type' => 'string', 633 'required' => true, 634 ], 635 'proposalId' => [ 636 'location' => 'path', 637 'type' => 'string', 638 'required' => true, 639 ], 640 ], 641 ],'completeSetup' => [ 642 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup', 643 'httpMethod' => 'POST', 644 'parameters' => [ 645 'accountId' => [ 646 'location' => 'path', 647 'type' => 'string', 648 'required' => true, 649 ], 650 'proposalId' => [ 651 'location' => 'path', 652 'type' => 'string', 653 'required' => true, 654 ], 655 ], 656 ],'create' => [ 657 'path' => 'v2beta1/accounts/{accountId}/proposals', 658 'httpMethod' => 'POST', 659 'parameters' => [ 660 'accountId' => [ 661 'location' => 'path', 662 'type' => 'string', 663 'required' => true, 664 ], 665 ], 666 ],'get' => [ 667 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}', 668 'httpMethod' => 'GET', 669 'parameters' => [ 670 'accountId' => [ 671 'location' => 'path', 672 'type' => 'string', 673 'required' => true, 674 ], 675 'proposalId' => [ 676 'location' => 'path', 677 'type' => 'string', 678 'required' => true, 679 ], 680 ], 681 ],'list' => [ 682 'path' => 'v2beta1/accounts/{accountId}/proposals', 683 'httpMethod' => 'GET', 684 'parameters' => [ 685 'accountId' => [ 686 'location' => 'path', 687 'type' => 'string', 688 'required' => true, 689 ], 690 'filter' => [ 691 'location' => 'query', 692 'type' => 'string', 693 ], 694 'filterSyntax' => [ 695 'location' => 'query', 696 'type' => 'string', 697 ], 698 'pageSize' => [ 699 'location' => 'query', 700 'type' => 'integer', 701 ], 702 'pageToken' => [ 703 'location' => 'query', 704 'type' => 'string', 705 ], 706 ], 707 ],'pause' => [ 708 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:pause', 709 'httpMethod' => 'POST', 710 'parameters' => [ 711 'accountId' => [ 712 'location' => 'path', 713 'type' => 'string', 714 'required' => true, 715 ], 716 'proposalId' => [ 717 'location' => 'path', 718 'type' => 'string', 719 'required' => true, 720 ], 721 ], 722 ],'resume' => [ 723 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:resume', 724 'httpMethod' => 'POST', 725 'parameters' => [ 726 'accountId' => [ 727 'location' => 'path', 728 'type' => 'string', 729 'required' => true, 730 ], 731 'proposalId' => [ 732 'location' => 'path', 733 'type' => 'string', 734 'required' => true, 735 ], 736 ], 737 ],'update' => [ 738 'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}', 739 'httpMethod' => 'PUT', 740 'parameters' => [ 741 'accountId' => [ 742 'location' => 'path', 743 'type' => 'string', 744 'required' => true, 745 ], 746 'proposalId' => [ 747 'location' => 'path', 748 'type' => 'string', 749 'required' => true, 750 ], 751 ], 752 ], 753 ] 754 ] 755 ); 756 $this->accounts_publisherProfiles = new AdExchangeBuyerII\Resource\AccountsPublisherProfiles( 757 $this, 758 $this->serviceName, 759 'publisherProfiles', 760 [ 761 'methods' => [ 762 'get' => [ 763 'path' => 'v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId}', 764 'httpMethod' => 'GET', 765 'parameters' => [ 766 'accountId' => [ 767 'location' => 'path', 768 'type' => 'string', 769 'required' => true, 770 ], 771 'publisherProfileId' => [ 772 'location' => 'path', 773 'type' => 'string', 774 'required' => true, 775 ], 776 ], 777 ],'list' => [ 778 'path' => 'v2beta1/accounts/{accountId}/publisherProfiles', 779 'httpMethod' => 'GET', 780 'parameters' => [ 781 'accountId' => [ 782 'location' => 'path', 783 'type' => 'string', 784 'required' => true, 785 ], 786 'pageSize' => [ 787 'location' => 'query', 788 'type' => 'integer', 789 ], 790 'pageToken' => [ 791 'location' => 'query', 792 'type' => 'string', 793 ], 794 ], 795 ], 796 ] 797 ] 798 ); 799 $this->bidders_accounts_filterSets = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSets( 800 $this, 801 $this->serviceName, 802 'filterSets', 803 [ 804 'methods' => [ 805 'create' => [ 806 'path' => 'v2beta1/{+ownerName}/filterSets', 807 'httpMethod' => 'POST', 808 'parameters' => [ 809 'ownerName' => [ 810 'location' => 'path', 811 'type' => 'string', 812 'required' => true, 813 ], 814 'isTransient' => [ 815 'location' => 'query', 816 'type' => 'boolean', 817 ], 818 ], 819 ],'delete' => [ 820 'path' => 'v2beta1/{+name}', 821 'httpMethod' => 'DELETE', 822 'parameters' => [ 823 'name' => [ 824 'location' => 'path', 825 'type' => 'string', 826 'required' => true, 827 ], 828 ], 829 ],'get' => [ 830 'path' => 'v2beta1/{+name}', 831 'httpMethod' => 'GET', 832 'parameters' => [ 833 'name' => [ 834 'location' => 'path', 835 'type' => 'string', 836 'required' => true, 837 ], 838 ], 839 ],'list' => [ 840 'path' => 'v2beta1/{+ownerName}/filterSets', 841 'httpMethod' => 'GET', 842 'parameters' => [ 843 'ownerName' => [ 844 'location' => 'path', 845 'type' => 'string', 846 'required' => true, 847 ], 848 'pageSize' => [ 849 'location' => 'query', 850 'type' => 'integer', 851 ], 852 'pageToken' => [ 853 'location' => 'query', 854 'type' => 'string', 855 ], 856 ], 857 ], 858 ] 859 ] 860 ); 861 $this->bidders_accounts_filterSets_bidMetrics = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsBidMetrics( 862 $this, 863 $this->serviceName, 864 'bidMetrics', 865 [ 866 'methods' => [ 867 'list' => [ 868 'path' => 'v2beta1/{+filterSetName}/bidMetrics', 869 'httpMethod' => 'GET', 870 'parameters' => [ 871 'filterSetName' => [ 872 'location' => 'path', 873 'type' => 'string', 874 'required' => true, 875 ], 876 'pageSize' => [ 877 'location' => 'query', 878 'type' => 'integer', 879 ], 880 'pageToken' => [ 881 'location' => 'query', 882 'type' => 'string', 883 ], 884 ], 885 ], 886 ] 887 ] 888 ); 889 $this->bidders_accounts_filterSets_bidResponseErrors = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsBidResponseErrors( 890 $this, 891 $this->serviceName, 892 'bidResponseErrors', 893 [ 894 'methods' => [ 895 'list' => [ 896 'path' => 'v2beta1/{+filterSetName}/bidResponseErrors', 897 'httpMethod' => 'GET', 898 'parameters' => [ 899 'filterSetName' => [ 900 'location' => 'path', 901 'type' => 'string', 902 'required' => true, 903 ], 904 'pageSize' => [ 905 'location' => 'query', 906 'type' => 'integer', 907 ], 908 'pageToken' => [ 909 'location' => 'query', 910 'type' => 'string', 911 ], 912 ], 913 ], 914 ] 915 ] 916 ); 917 $this->bidders_accounts_filterSets_bidResponsesWithoutBids = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsBidResponsesWithoutBids( 918 $this, 919 $this->serviceName, 920 'bidResponsesWithoutBids', 921 [ 922 'methods' => [ 923 'list' => [ 924 'path' => 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', 925 'httpMethod' => 'GET', 926 'parameters' => [ 927 'filterSetName' => [ 928 'location' => 'path', 929 'type' => 'string', 930 'required' => true, 931 ], 932 'pageSize' => [ 933 'location' => 'query', 934 'type' => 'integer', 935 ], 936 'pageToken' => [ 937 'location' => 'query', 938 'type' => 'string', 939 ], 940 ], 941 ], 942 ] 943 ] 944 ); 945 $this->bidders_accounts_filterSets_filteredBidRequests = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsFilteredBidRequests( 946 $this, 947 $this->serviceName, 948 'filteredBidRequests', 949 [ 950 'methods' => [ 951 'list' => [ 952 'path' => 'v2beta1/{+filterSetName}/filteredBidRequests', 953 'httpMethod' => 'GET', 954 'parameters' => [ 955 'filterSetName' => [ 956 'location' => 'path', 957 'type' => 'string', 958 'required' => true, 959 ], 960 'pageSize' => [ 961 'location' => 'query', 962 'type' => 'integer', 963 ], 964 'pageToken' => [ 965 'location' => 'query', 966 'type' => 'string', 967 ], 968 ], 969 ], 970 ] 971 ] 972 ); 973 $this->bidders_accounts_filterSets_filteredBids = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsFilteredBids( 974 $this, 975 $this->serviceName, 976 'filteredBids', 977 [ 978 'methods' => [ 979 'list' => [ 980 'path' => 'v2beta1/{+filterSetName}/filteredBids', 981 'httpMethod' => 'GET', 982 'parameters' => [ 983 'filterSetName' => [ 984 'location' => 'path', 985 'type' => 'string', 986 'required' => true, 987 ], 988 'pageSize' => [ 989 'location' => 'query', 990 'type' => 'integer', 991 ], 992 'pageToken' => [ 993 'location' => 'query', 994 'type' => 'string', 995 ], 996 ], 997 ], 998 ] 999 ] 1000 ); 1001 $this->bidders_accounts_filterSets_filteredBids_creatives = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsFilteredBidsCreatives( 1002 $this, 1003 $this->serviceName, 1004 'creatives', 1005 [ 1006 'methods' => [ 1007 'list' => [ 1008 'path' => 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', 1009 'httpMethod' => 'GET', 1010 'parameters' => [ 1011 'filterSetName' => [ 1012 'location' => 'path', 1013 'type' => 'string', 1014 'required' => true, 1015 ], 1016 'creativeStatusId' => [ 1017 'location' => 'path', 1018 'type' => 'integer', 1019 'required' => true, 1020 ], 1021 'pageSize' => [ 1022 'location' => 'query', 1023 'type' => 'integer', 1024 ], 1025 'pageToken' => [ 1026 'location' => 'query', 1027 'type' => 'string', 1028 ], 1029 ], 1030 ], 1031 ] 1032 ] 1033 ); 1034 $this->bidders_accounts_filterSets_filteredBids_details = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsFilteredBidsDetails( 1035 $this, 1036 $this->serviceName, 1037 'details', 1038 [ 1039 'methods' => [ 1040 'list' => [ 1041 'path' => 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', 1042 'httpMethod' => 'GET', 1043 'parameters' => [ 1044 'filterSetName' => [ 1045 'location' => 'path', 1046 'type' => 'string', 1047 'required' => true, 1048 ], 1049 'creativeStatusId' => [ 1050 'location' => 'path', 1051 'type' => 'integer', 1052 'required' => true, 1053 ], 1054 'pageSize' => [ 1055 'location' => 'query', 1056 'type' => 'integer', 1057 ], 1058 'pageToken' => [ 1059 'location' => 'query', 1060 'type' => 'string', 1061 ], 1062 ], 1063 ], 1064 ] 1065 ] 1066 ); 1067 $this->bidders_accounts_filterSets_impressionMetrics = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsImpressionMetrics( 1068 $this, 1069 $this->serviceName, 1070 'impressionMetrics', 1071 [ 1072 'methods' => [ 1073 'list' => [ 1074 'path' => 'v2beta1/{+filterSetName}/impressionMetrics', 1075 'httpMethod' => 'GET', 1076 'parameters' => [ 1077 'filterSetName' => [ 1078 'location' => 'path', 1079 'type' => 'string', 1080 'required' => true, 1081 ], 1082 'pageSize' => [ 1083 'location' => 'query', 1084 'type' => 'integer', 1085 ], 1086 'pageToken' => [ 1087 'location' => 'query', 1088 'type' => 'string', 1089 ], 1090 ], 1091 ], 1092 ] 1093 ] 1094 ); 1095 $this->bidders_accounts_filterSets_losingBids = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsLosingBids( 1096 $this, 1097 $this->serviceName, 1098 'losingBids', 1099 [ 1100 'methods' => [ 1101 'list' => [ 1102 'path' => 'v2beta1/{+filterSetName}/losingBids', 1103 'httpMethod' => 'GET', 1104 'parameters' => [ 1105 'filterSetName' => [ 1106 'location' => 'path', 1107 'type' => 'string', 1108 'required' => true, 1109 ], 1110 'pageSize' => [ 1111 'location' => 'query', 1112 'type' => 'integer', 1113 ], 1114 'pageToken' => [ 1115 'location' => 'query', 1116 'type' => 'string', 1117 ], 1118 ], 1119 ], 1120 ] 1121 ] 1122 ); 1123 $this->bidders_accounts_filterSets_nonBillableWinningBids = new AdExchangeBuyerII\Resource\BiddersAccountsFilterSetsNonBillableWinningBids( 1124 $this, 1125 $this->serviceName, 1126 'nonBillableWinningBids', 1127 [ 1128 'methods' => [ 1129 'list' => [ 1130 'path' => 'v2beta1/{+filterSetName}/nonBillableWinningBids', 1131 'httpMethod' => 'GET', 1132 'parameters' => [ 1133 'filterSetName' => [ 1134 'location' => 'path', 1135 'type' => 'string', 1136 'required' => true, 1137 ], 1138 'pageSize' => [ 1139 'location' => 'query', 1140 'type' => 'integer', 1141 ], 1142 'pageToken' => [ 1143 'location' => 'query', 1144 'type' => 'string', 1145 ], 1146 ], 1147 ], 1148 ] 1149 ] 1150 ); 1151 $this->bidders_filterSets = new AdExchangeBuyerII\Resource\BiddersFilterSets( 1152 $this, 1153 $this->serviceName, 1154 'filterSets', 1155 [ 1156 'methods' => [ 1157 'create' => [ 1158 'path' => 'v2beta1/{+ownerName}/filterSets', 1159 'httpMethod' => 'POST', 1160 'parameters' => [ 1161 'ownerName' => [ 1162 'location' => 'path', 1163 'type' => 'string', 1164 'required' => true, 1165 ], 1166 'isTransient' => [ 1167 'location' => 'query', 1168 'type' => 'boolean', 1169 ], 1170 ], 1171 ],'delete' => [ 1172 'path' => 'v2beta1/{+name}', 1173 'httpMethod' => 'DELETE', 1174 'parameters' => [ 1175 'name' => [ 1176 'location' => 'path', 1177 'type' => 'string', 1178 'required' => true, 1179 ], 1180 ], 1181 ],'get' => [ 1182 'path' => 'v2beta1/{+name}', 1183 'httpMethod' => 'GET', 1184 'parameters' => [ 1185 'name' => [ 1186 'location' => 'path', 1187 'type' => 'string', 1188 'required' => true, 1189 ], 1190 ], 1191 ],'list' => [ 1192 'path' => 'v2beta1/{+ownerName}/filterSets', 1193 'httpMethod' => 'GET', 1194 'parameters' => [ 1195 'ownerName' => [ 1196 'location' => 'path', 1197 'type' => 'string', 1198 'required' => true, 1199 ], 1200 'pageSize' => [ 1201 'location' => 'query', 1202 'type' => 'integer', 1203 ], 1204 'pageToken' => [ 1205 'location' => 'query', 1206 'type' => 'string', 1207 ], 1208 ], 1209 ], 1210 ] 1211 ] 1212 ); 1213 $this->bidders_filterSets_bidMetrics = new AdExchangeBuyerII\Resource\BiddersFilterSetsBidMetrics( 1214 $this, 1215 $this->serviceName, 1216 'bidMetrics', 1217 [ 1218 'methods' => [ 1219 'list' => [ 1220 'path' => 'v2beta1/{+filterSetName}/bidMetrics', 1221 'httpMethod' => 'GET', 1222 'parameters' => [ 1223 'filterSetName' => [ 1224 'location' => 'path', 1225 'type' => 'string', 1226 'required' => true, 1227 ], 1228 'pageSize' => [ 1229 'location' => 'query', 1230 'type' => 'integer', 1231 ], 1232 'pageToken' => [ 1233 'location' => 'query', 1234 'type' => 'string', 1235 ], 1236 ], 1237 ], 1238 ] 1239 ] 1240 ); 1241 $this->bidders_filterSets_bidResponseErrors = new AdExchangeBuyerII\Resource\BiddersFilterSetsBidResponseErrors( 1242 $this, 1243 $this->serviceName, 1244 'bidResponseErrors', 1245 [ 1246 'methods' => [ 1247 'list' => [ 1248 'path' => 'v2beta1/{+filterSetName}/bidResponseErrors', 1249 'httpMethod' => 'GET', 1250 'parameters' => [ 1251 'filterSetName' => [ 1252 'location' => 'path', 1253 'type' => 'string', 1254 'required' => true, 1255 ], 1256 'pageSize' => [ 1257 'location' => 'query', 1258 'type' => 'integer', 1259 ], 1260 'pageToken' => [ 1261 'location' => 'query', 1262 'type' => 'string', 1263 ], 1264 ], 1265 ], 1266 ] 1267 ] 1268 ); 1269 $this->bidders_filterSets_bidResponsesWithoutBids = new AdExchangeBuyerII\Resource\BiddersFilterSetsBidResponsesWithoutBids( 1270 $this, 1271 $this->serviceName, 1272 'bidResponsesWithoutBids', 1273 [ 1274 'methods' => [ 1275 'list' => [ 1276 'path' => 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', 1277 'httpMethod' => 'GET', 1278 'parameters' => [ 1279 'filterSetName' => [ 1280 'location' => 'path', 1281 'type' => 'string', 1282 'required' => true, 1283 ], 1284 'pageSize' => [ 1285 'location' => 'query', 1286 'type' => 'integer', 1287 ], 1288 'pageToken' => [ 1289 'location' => 'query', 1290 'type' => 'string', 1291 ], 1292 ], 1293 ], 1294 ] 1295 ] 1296 ); 1297 $this->bidders_filterSets_filteredBidRequests = new AdExchangeBuyerII\Resource\BiddersFilterSetsFilteredBidRequests( 1298 $this, 1299 $this->serviceName, 1300 'filteredBidRequests', 1301 [ 1302 'methods' => [ 1303 'list' => [ 1304 'path' => 'v2beta1/{+filterSetName}/filteredBidRequests', 1305 'httpMethod' => 'GET', 1306 'parameters' => [ 1307 'filterSetName' => [ 1308 'location' => 'path', 1309 'type' => 'string', 1310 'required' => true, 1311 ], 1312 'pageSize' => [ 1313 'location' => 'query', 1314 'type' => 'integer', 1315 ], 1316 'pageToken' => [ 1317 'location' => 'query', 1318 'type' => 'string', 1319 ], 1320 ], 1321 ], 1322 ] 1323 ] 1324 ); 1325 $this->bidders_filterSets_filteredBids = new AdExchangeBuyerII\Resource\BiddersFilterSetsFilteredBids( 1326 $this, 1327 $this->serviceName, 1328 'filteredBids', 1329 [ 1330 'methods' => [ 1331 'list' => [ 1332 'path' => 'v2beta1/{+filterSetName}/filteredBids', 1333 'httpMethod' => 'GET', 1334 'parameters' => [ 1335 'filterSetName' => [ 1336 'location' => 'path', 1337 'type' => 'string', 1338 'required' => true, 1339 ], 1340 'pageSize' => [ 1341 'location' => 'query', 1342 'type' => 'integer', 1343 ], 1344 'pageToken' => [ 1345 'location' => 'query', 1346 'type' => 'string', 1347 ], 1348 ], 1349 ], 1350 ] 1351 ] 1352 ); 1353 $this->bidders_filterSets_filteredBids_creatives = new AdExchangeBuyerII\Resource\BiddersFilterSetsFilteredBidsCreatives( 1354 $this, 1355 $this->serviceName, 1356 'creatives', 1357 [ 1358 'methods' => [ 1359 'list' => [ 1360 'path' => 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', 1361 'httpMethod' => 'GET', 1362 'parameters' => [ 1363 'filterSetName' => [ 1364 'location' => 'path', 1365 'type' => 'string', 1366 'required' => true, 1367 ], 1368 'creativeStatusId' => [ 1369 'location' => 'path', 1370 'type' => 'integer', 1371 'required' => true, 1372 ], 1373 'pageSize' => [ 1374 'location' => 'query', 1375 'type' => 'integer', 1376 ], 1377 'pageToken' => [ 1378 'location' => 'query', 1379 'type' => 'string', 1380 ], 1381 ], 1382 ], 1383 ] 1384 ] 1385 ); 1386 $this->bidders_filterSets_filteredBids_details = new AdExchangeBuyerII\Resource\BiddersFilterSetsFilteredBidsDetails( 1387 $this, 1388 $this->serviceName, 1389 'details', 1390 [ 1391 'methods' => [ 1392 'list' => [ 1393 'path' => 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', 1394 'httpMethod' => 'GET', 1395 'parameters' => [ 1396 'filterSetName' => [ 1397 'location' => 'path', 1398 'type' => 'string', 1399 'required' => true, 1400 ], 1401 'creativeStatusId' => [ 1402 'location' => 'path', 1403 'type' => 'integer', 1404 'required' => true, 1405 ], 1406 'pageSize' => [ 1407 'location' => 'query', 1408 'type' => 'integer', 1409 ], 1410 'pageToken' => [ 1411 'location' => 'query', 1412 'type' => 'string', 1413 ], 1414 ], 1415 ], 1416 ] 1417 ] 1418 ); 1419 $this->bidders_filterSets_impressionMetrics = new AdExchangeBuyerII\Resource\BiddersFilterSetsImpressionMetrics( 1420 $this, 1421 $this->serviceName, 1422 'impressionMetrics', 1423 [ 1424 'methods' => [ 1425 'list' => [ 1426 'path' => 'v2beta1/{+filterSetName}/impressionMetrics', 1427 'httpMethod' => 'GET', 1428 'parameters' => [ 1429 'filterSetName' => [ 1430 'location' => 'path', 1431 'type' => 'string', 1432 'required' => true, 1433 ], 1434 'pageSize' => [ 1435 'location' => 'query', 1436 'type' => 'integer', 1437 ], 1438 'pageToken' => [ 1439 'location' => 'query', 1440 'type' => 'string', 1441 ], 1442 ], 1443 ], 1444 ] 1445 ] 1446 ); 1447 $this->bidders_filterSets_losingBids = new AdExchangeBuyerII\Resource\BiddersFilterSetsLosingBids( 1448 $this, 1449 $this->serviceName, 1450 'losingBids', 1451 [ 1452 'methods' => [ 1453 'list' => [ 1454 'path' => 'v2beta1/{+filterSetName}/losingBids', 1455 'httpMethod' => 'GET', 1456 'parameters' => [ 1457 'filterSetName' => [ 1458 'location' => 'path', 1459 'type' => 'string', 1460 'required' => true, 1461 ], 1462 'pageSize' => [ 1463 'location' => 'query', 1464 'type' => 'integer', 1465 ], 1466 'pageToken' => [ 1467 'location' => 'query', 1468 'type' => 'string', 1469 ], 1470 ], 1471 ], 1472 ] 1473 ] 1474 ); 1475 $this->bidders_filterSets_nonBillableWinningBids = new AdExchangeBuyerII\Resource\BiddersFilterSetsNonBillableWinningBids( 1476 $this, 1477 $this->serviceName, 1478 'nonBillableWinningBids', 1479 [ 1480 'methods' => [ 1481 'list' => [ 1482 'path' => 'v2beta1/{+filterSetName}/nonBillableWinningBids', 1483 'httpMethod' => 'GET', 1484 'parameters' => [ 1485 'filterSetName' => [ 1486 'location' => 'path', 1487 'type' => 'string', 1488 'required' => true, 1489 ], 1490 'pageSize' => [ 1491 'location' => 'query', 1492 'type' => 'integer', 1493 ], 1494 'pageToken' => [ 1495 'location' => 'query', 1496 'type' => 'string', 1497 ], 1498 ], 1499 ], 1500 ] 1501 ] 1502 ); 1503 } 1504} 1505 1506// Adding a class alias for backwards compatibility with the previous class name. 1507class_alias(AdExchangeBuyerII::class, 'Google_Service_AdExchangeBuyerII'); 1508