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