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 DisplayVideo (v1).
24 *
25 * <p>
26 * Display & Video 360 API allows users to automate complex Display & Video 360
27 * workflows, such as creating insertion orders and setting targeting options
28 * for individual line items.</p>
29 *
30 * <p>
31 * For more information about this service, see the API
32 * <a href="https://developers.google.com/display-video/" target="_blank">Documentation</a>
33 * </p>
34 *
35 * @author Google, Inc.
36 */
37class DisplayVideo extends \Google\Service
38{
39  /** Create, see, edit, and permanently delete your Display & Video 360 entities and reports. */
40  const DISPLAY_VIDEO =
41      "https://www.googleapis.com/auth/display-video";
42  /** Create, see, and edit Display & Video 360 Campaign entities and see billing invoices. */
43  const DISPLAY_VIDEO_MEDIAPLANNING =
44      "https://www.googleapis.com/auth/display-video-mediaplanning";
45  /** Private Service: https://www.googleapis.com/auth/display-video-user-management. */
46  const DISPLAY_VIDEO_USER_MANAGEMENT =
47      "https://www.googleapis.com/auth/display-video-user-management";
48  /** View and manage your reports in DoubleClick Bid Manager. */
49  const DOUBLECLICKBIDMANAGER =
50      "https://www.googleapis.com/auth/doubleclickbidmanager";
51
52  public $advertisers;
53  public $advertisers_assets;
54  public $advertisers_campaigns;
55  public $advertisers_campaigns_targetingTypes_assignedTargetingOptions;
56  public $advertisers_channels;
57  public $advertisers_channels_sites;
58  public $advertisers_creatives;
59  public $advertisers_insertionOrders;
60  public $advertisers_insertionOrders_targetingTypes_assignedTargetingOptions;
61  public $advertisers_invoices;
62  public $advertisers_lineItems;
63  public $advertisers_lineItems_targetingTypes_assignedTargetingOptions;
64  public $advertisers_locationLists;
65  public $advertisers_locationLists_assignedLocations;
66  public $advertisers_manualTriggers;
67  public $advertisers_negativeKeywordLists;
68  public $advertisers_negativeKeywordLists_negativeKeywords;
69  public $advertisers_targetingTypes_assignedTargetingOptions;
70  public $combinedAudiences;
71  public $customBiddingAlgorithms;
72  public $customBiddingAlgorithms_scripts;
73  public $customLists;
74  public $firstAndThirdPartyAudiences;
75  public $floodlightGroups;
76  public $googleAudiences;
77  public $inventorySourceGroups;
78  public $inventorySourceGroups_assignedInventorySources;
79  public $inventorySources;
80  public $media;
81  public $partners;
82  public $partners_channels;
83  public $partners_channels_sites;
84  public $partners_targetingTypes_assignedTargetingOptions;
85  public $sdfdownloadtasks;
86  public $sdfdownloadtasks_operations;
87  public $targetingTypes_targetingOptions;
88  public $users;
89
90  /**
91   * Constructs the internal representation of the DisplayVideo service.
92   *
93   * @param Client|array $clientOrConfig The client used to deliver requests, or a
94   *                                     config array to pass to a new Client instance.
95   * @param string $rootUrl The root URL used for requests to the service.
96   */
97  public function __construct($clientOrConfig = [], $rootUrl = null)
98  {
99    parent::__construct($clientOrConfig);
100    $this->rootUrl = $rootUrl ?: 'https://displayvideo.googleapis.com/';
101    $this->servicePath = '';
102    $this->batchPath = 'batch';
103    $this->version = 'v1';
104    $this->serviceName = 'displayvideo';
105
106    $this->advertisers = new DisplayVideo\Resource\Advertisers(
107        $this,
108        $this->serviceName,
109        'advertisers',
110        [
111          'methods' => [
112            'audit' => [
113              'path' => 'v1/advertisers/{+advertiserId}:audit',
114              'httpMethod' => 'GET',
115              'parameters' => [
116                'advertiserId' => [
117                  'location' => 'path',
118                  'type' => 'string',
119                  'required' => true,
120                ],
121                'readMask' => [
122                  'location' => 'query',
123                  'type' => 'string',
124                ],
125              ],
126            ],'bulkEditAdvertiserAssignedTargetingOptions' => [
127              'path' => 'v1/advertisers/{+advertiserId}:bulkEditAdvertiserAssignedTargetingOptions',
128              'httpMethod' => 'POST',
129              'parameters' => [
130                'advertiserId' => [
131                  'location' => 'path',
132                  'type' => 'string',
133                  'required' => true,
134                ],
135              ],
136            ],'bulkListAdvertiserAssignedTargetingOptions' => [
137              'path' => 'v1/advertisers/{+advertiserId}:bulkListAdvertiserAssignedTargetingOptions',
138              'httpMethod' => 'GET',
139              'parameters' => [
140                'advertiserId' => [
141                  'location' => 'path',
142                  'type' => 'string',
143                  'required' => true,
144                ],
145                'filter' => [
146                  'location' => 'query',
147                  'type' => 'string',
148                ],
149                'orderBy' => [
150                  'location' => 'query',
151                  'type' => 'string',
152                ],
153                'pageSize' => [
154                  'location' => 'query',
155                  'type' => 'integer',
156                ],
157                'pageToken' => [
158                  'location' => 'query',
159                  'type' => 'string',
160                ],
161              ],
162            ],'create' => [
163              'path' => 'v1/advertisers',
164              'httpMethod' => 'POST',
165              'parameters' => [],
166            ],'delete' => [
167              'path' => 'v1/advertisers/{+advertiserId}',
168              'httpMethod' => 'DELETE',
169              'parameters' => [
170                'advertiserId' => [
171                  'location' => 'path',
172                  'type' => 'string',
173                  'required' => true,
174                ],
175              ],
176            ],'get' => [
177              'path' => 'v1/advertisers/{+advertiserId}',
178              'httpMethod' => 'GET',
179              'parameters' => [
180                'advertiserId' => [
181                  'location' => 'path',
182                  'type' => 'string',
183                  'required' => true,
184                ],
185              ],
186            ],'list' => [
187              'path' => 'v1/advertisers',
188              'httpMethod' => 'GET',
189              'parameters' => [
190                'filter' => [
191                  'location' => 'query',
192                  'type' => 'string',
193                ],
194                'orderBy' => [
195                  'location' => 'query',
196                  'type' => 'string',
197                ],
198                'pageSize' => [
199                  'location' => 'query',
200                  'type' => 'integer',
201                ],
202                'pageToken' => [
203                  'location' => 'query',
204                  'type' => 'string',
205                ],
206                'partnerId' => [
207                  'location' => 'query',
208                  'type' => 'string',
209                ],
210              ],
211            ],'patch' => [
212              'path' => 'v1/advertisers/{+advertiserId}',
213              'httpMethod' => 'PATCH',
214              'parameters' => [
215                'advertiserId' => [
216                  'location' => 'path',
217                  'type' => 'string',
218                  'required' => true,
219                ],
220                'updateMask' => [
221                  'location' => 'query',
222                  'type' => 'string',
223                ],
224              ],
225            ],
226          ]
227        ]
228    );
229    $this->advertisers_assets = new DisplayVideo\Resource\AdvertisersAssets(
230        $this,
231        $this->serviceName,
232        'assets',
233        [
234          'methods' => [
235            'upload' => [
236              'path' => 'v1/advertisers/{+advertiserId}/assets',
237              'httpMethod' => 'POST',
238              'parameters' => [
239                'advertiserId' => [
240                  'location' => 'path',
241                  'type' => 'string',
242                  'required' => true,
243                ],
244              ],
245            ],
246          ]
247        ]
248    );
249    $this->advertisers_campaigns = new DisplayVideo\Resource\AdvertisersCampaigns(
250        $this,
251        $this->serviceName,
252        'campaigns',
253        [
254          'methods' => [
255            'bulkListCampaignAssignedTargetingOptions' => [
256              'path' => 'v1/advertisers/{+advertiserId}/campaigns/{+campaignId}:bulkListCampaignAssignedTargetingOptions',
257              'httpMethod' => 'GET',
258              'parameters' => [
259                'advertiserId' => [
260                  'location' => 'path',
261                  'type' => 'string',
262                  'required' => true,
263                ],
264                'campaignId' => [
265                  'location' => 'path',
266                  'type' => 'string',
267                  'required' => true,
268                ],
269                'filter' => [
270                  'location' => 'query',
271                  'type' => 'string',
272                ],
273                'orderBy' => [
274                  'location' => 'query',
275                  'type' => 'string',
276                ],
277                'pageSize' => [
278                  'location' => 'query',
279                  'type' => 'integer',
280                ],
281                'pageToken' => [
282                  'location' => 'query',
283                  'type' => 'string',
284                ],
285              ],
286            ],'create' => [
287              'path' => 'v1/advertisers/{+advertiserId}/campaigns',
288              'httpMethod' => 'POST',
289              'parameters' => [
290                'advertiserId' => [
291                  'location' => 'path',
292                  'type' => 'string',
293                  'required' => true,
294                ],
295              ],
296            ],'delete' => [
297              'path' => 'v1/advertisers/{+advertiserId}/campaigns/{+campaignId}',
298              'httpMethod' => 'DELETE',
299              'parameters' => [
300                'advertiserId' => [
301                  'location' => 'path',
302                  'type' => 'string',
303                  'required' => true,
304                ],
305                'campaignId' => [
306                  'location' => 'path',
307                  'type' => 'string',
308                  'required' => true,
309                ],
310              ],
311            ],'get' => [
312              'path' => 'v1/advertisers/{+advertiserId}/campaigns/{+campaignId}',
313              'httpMethod' => 'GET',
314              'parameters' => [
315                'advertiserId' => [
316                  'location' => 'path',
317                  'type' => 'string',
318                  'required' => true,
319                ],
320                'campaignId' => [
321                  'location' => 'path',
322                  'type' => 'string',
323                  'required' => true,
324                ],
325              ],
326            ],'list' => [
327              'path' => 'v1/advertisers/{+advertiserId}/campaigns',
328              'httpMethod' => 'GET',
329              'parameters' => [
330                'advertiserId' => [
331                  'location' => 'path',
332                  'type' => 'string',
333                  'required' => true,
334                ],
335                'filter' => [
336                  'location' => 'query',
337                  'type' => 'string',
338                ],
339                'orderBy' => [
340                  'location' => 'query',
341                  'type' => 'string',
342                ],
343                'pageSize' => [
344                  'location' => 'query',
345                  'type' => 'integer',
346                ],
347                'pageToken' => [
348                  'location' => 'query',
349                  'type' => 'string',
350                ],
351              ],
352            ],'patch' => [
353              'path' => 'v1/advertisers/{+advertiserId}/campaigns/{+campaignId}',
354              'httpMethod' => 'PATCH',
355              'parameters' => [
356                'advertiserId' => [
357                  'location' => 'path',
358                  'type' => 'string',
359                  'required' => true,
360                ],
361                'campaignId' => [
362                  'location' => 'path',
363                  'type' => 'string',
364                  'required' => true,
365                ],
366                'updateMask' => [
367                  'location' => 'query',
368                  'type' => 'string',
369                ],
370              ],
371            ],
372          ]
373        ]
374    );
375    $this->advertisers_campaigns_targetingTypes_assignedTargetingOptions = new DisplayVideo\Resource\AdvertisersCampaignsTargetingTypesAssignedTargetingOptions(
376        $this,
377        $this->serviceName,
378        'assignedTargetingOptions',
379        [
380          'methods' => [
381            'get' => [
382              'path' => 'v1/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}',
383              'httpMethod' => 'GET',
384              'parameters' => [
385                'advertiserId' => [
386                  'location' => 'path',
387                  'type' => 'string',
388                  'required' => true,
389                ],
390                'campaignId' => [
391                  'location' => 'path',
392                  'type' => 'string',
393                  'required' => true,
394                ],
395                'targetingType' => [
396                  'location' => 'path',
397                  'type' => 'string',
398                  'required' => true,
399                ],
400                'assignedTargetingOptionId' => [
401                  'location' => 'path',
402                  'type' => 'string',
403                  'required' => true,
404                ],
405              ],
406            ],'list' => [
407              'path' => 'v1/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions',
408              'httpMethod' => 'GET',
409              'parameters' => [
410                'advertiserId' => [
411                  'location' => 'path',
412                  'type' => 'string',
413                  'required' => true,
414                ],
415                'campaignId' => [
416                  'location' => 'path',
417                  'type' => 'string',
418                  'required' => true,
419                ],
420                'targetingType' => [
421                  'location' => 'path',
422                  'type' => 'string',
423                  'required' => true,
424                ],
425                'filter' => [
426                  'location' => 'query',
427                  'type' => 'string',
428                ],
429                'orderBy' => [
430                  'location' => 'query',
431                  'type' => 'string',
432                ],
433                'pageSize' => [
434                  'location' => 'query',
435                  'type' => 'integer',
436                ],
437                'pageToken' => [
438                  'location' => 'query',
439                  'type' => 'string',
440                ],
441              ],
442            ],
443          ]
444        ]
445    );
446    $this->advertisers_channels = new DisplayVideo\Resource\AdvertisersChannels(
447        $this,
448        $this->serviceName,
449        'channels',
450        [
451          'methods' => [
452            'create' => [
453              'path' => 'v1/advertisers/{+advertiserId}/channels',
454              'httpMethod' => 'POST',
455              'parameters' => [
456                'advertiserId' => [
457                  'location' => 'path',
458                  'type' => 'string',
459                  'required' => true,
460                ],
461                'partnerId' => [
462                  'location' => 'query',
463                  'type' => 'string',
464                ],
465              ],
466            ],'get' => [
467              'path' => 'v1/advertisers/{+advertiserId}/channels/{+channelId}',
468              'httpMethod' => 'GET',
469              'parameters' => [
470                'advertiserId' => [
471                  'location' => 'path',
472                  'type' => 'string',
473                  'required' => true,
474                ],
475                'channelId' => [
476                  'location' => 'path',
477                  'type' => 'string',
478                  'required' => true,
479                ],
480                'partnerId' => [
481                  'location' => 'query',
482                  'type' => 'string',
483                ],
484              ],
485            ],'list' => [
486              'path' => 'v1/advertisers/{+advertiserId}/channels',
487              'httpMethod' => 'GET',
488              'parameters' => [
489                'advertiserId' => [
490                  'location' => 'path',
491                  'type' => 'string',
492                  'required' => true,
493                ],
494                'filter' => [
495                  'location' => 'query',
496                  'type' => 'string',
497                ],
498                'orderBy' => [
499                  'location' => 'query',
500                  'type' => 'string',
501                ],
502                'pageSize' => [
503                  'location' => 'query',
504                  'type' => 'integer',
505                ],
506                'pageToken' => [
507                  'location' => 'query',
508                  'type' => 'string',
509                ],
510                'partnerId' => [
511                  'location' => 'query',
512                  'type' => 'string',
513                ],
514              ],
515            ],'patch' => [
516              'path' => 'v1/advertisers/{+advertiserId}/channels/{channelId}',
517              'httpMethod' => 'PATCH',
518              'parameters' => [
519                'advertiserId' => [
520                  'location' => 'path',
521                  'type' => 'string',
522                  'required' => true,
523                ],
524                'channelId' => [
525                  'location' => 'path',
526                  'type' => 'string',
527                  'required' => true,
528                ],
529                'partnerId' => [
530                  'location' => 'query',
531                  'type' => 'string',
532                ],
533                'updateMask' => [
534                  'location' => 'query',
535                  'type' => 'string',
536                ],
537              ],
538            ],
539          ]
540        ]
541    );
542    $this->advertisers_channels_sites = new DisplayVideo\Resource\AdvertisersChannelsSites(
543        $this,
544        $this->serviceName,
545        'sites',
546        [
547          'methods' => [
548            'bulkEdit' => [
549              'path' => 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit',
550              'httpMethod' => 'POST',
551              'parameters' => [
552                'advertiserId' => [
553                  'location' => 'path',
554                  'type' => 'string',
555                  'required' => true,
556                ],
557                'channelId' => [
558                  'location' => 'path',
559                  'type' => 'string',
560                  'required' => true,
561                ],
562              ],
563            ],'create' => [
564              'path' => 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites',
565              'httpMethod' => 'POST',
566              'parameters' => [
567                'advertiserId' => [
568                  'location' => 'path',
569                  'type' => 'string',
570                  'required' => true,
571                ],
572                'channelId' => [
573                  'location' => 'path',
574                  'type' => 'string',
575                  'required' => true,
576                ],
577                'partnerId' => [
578                  'location' => 'query',
579                  'type' => 'string',
580                ],
581              ],
582            ],'delete' => [
583              'path' => 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}',
584              'httpMethod' => 'DELETE',
585              'parameters' => [
586                'advertiserId' => [
587                  'location' => 'path',
588                  'type' => 'string',
589                  'required' => true,
590                ],
591                'channelId' => [
592                  'location' => 'path',
593                  'type' => 'string',
594                  'required' => true,
595                ],
596                'urlOrAppId' => [
597                  'location' => 'path',
598                  'type' => 'string',
599                  'required' => true,
600                ],
601                'partnerId' => [
602                  'location' => 'query',
603                  'type' => 'string',
604                ],
605              ],
606            ],'list' => [
607              'path' => 'v1/advertisers/{+advertiserId}/channels/{+channelId}/sites',
608              'httpMethod' => 'GET',
609              'parameters' => [
610                'advertiserId' => [
611                  'location' => 'path',
612                  'type' => 'string',
613                  'required' => true,
614                ],
615                'channelId' => [
616                  'location' => 'path',
617                  'type' => 'string',
618                  'required' => true,
619                ],
620                'filter' => [
621                  'location' => 'query',
622                  'type' => 'string',
623                ],
624                'orderBy' => [
625                  'location' => 'query',
626                  'type' => 'string',
627                ],
628                'pageSize' => [
629                  'location' => 'query',
630                  'type' => 'integer',
631                ],
632                'pageToken' => [
633                  'location' => 'query',
634                  'type' => 'string',
635                ],
636                'partnerId' => [
637                  'location' => 'query',
638                  'type' => 'string',
639                ],
640              ],
641            ],'replace' => [
642              'path' => 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites:replace',
643              'httpMethod' => 'POST',
644              'parameters' => [
645                'advertiserId' => [
646                  'location' => 'path',
647                  'type' => 'string',
648                  'required' => true,
649                ],
650                'channelId' => [
651                  'location' => 'path',
652                  'type' => 'string',
653                  'required' => true,
654                ],
655              ],
656            ],
657          ]
658        ]
659    );
660    $this->advertisers_creatives = new DisplayVideo\Resource\AdvertisersCreatives(
661        $this,
662        $this->serviceName,
663        'creatives',
664        [
665          'methods' => [
666            'create' => [
667              'path' => 'v1/advertisers/{+advertiserId}/creatives',
668              'httpMethod' => 'POST',
669              'parameters' => [
670                'advertiserId' => [
671                  'location' => 'path',
672                  'type' => 'string',
673                  'required' => true,
674                ],
675              ],
676            ],'delete' => [
677              'path' => 'v1/advertisers/{+advertiserId}/creatives/{+creativeId}',
678              'httpMethod' => 'DELETE',
679              'parameters' => [
680                'advertiserId' => [
681                  'location' => 'path',
682                  'type' => 'string',
683                  'required' => true,
684                ],
685                'creativeId' => [
686                  'location' => 'path',
687                  'type' => 'string',
688                  'required' => true,
689                ],
690              ],
691            ],'get' => [
692              'path' => 'v1/advertisers/{+advertiserId}/creatives/{+creativeId}',
693              'httpMethod' => 'GET',
694              'parameters' => [
695                'advertiserId' => [
696                  'location' => 'path',
697                  'type' => 'string',
698                  'required' => true,
699                ],
700                'creativeId' => [
701                  'location' => 'path',
702                  'type' => 'string',
703                  'required' => true,
704                ],
705              ],
706            ],'list' => [
707              'path' => 'v1/advertisers/{+advertiserId}/creatives',
708              'httpMethod' => 'GET',
709              'parameters' => [
710                'advertiserId' => [
711                  'location' => 'path',
712                  'type' => 'string',
713                  'required' => true,
714                ],
715                'filter' => [
716                  'location' => 'query',
717                  'type' => 'string',
718                ],
719                'orderBy' => [
720                  'location' => 'query',
721                  'type' => 'string',
722                ],
723                'pageSize' => [
724                  'location' => 'query',
725                  'type' => 'integer',
726                ],
727                'pageToken' => [
728                  'location' => 'query',
729                  'type' => 'string',
730                ],
731              ],
732            ],'patch' => [
733              'path' => 'v1/advertisers/{+advertiserId}/creatives/{+creativeId}',
734              'httpMethod' => 'PATCH',
735              'parameters' => [
736                'advertiserId' => [
737                  'location' => 'path',
738                  'type' => 'string',
739                  'required' => true,
740                ],
741                'creativeId' => [
742                  'location' => 'path',
743                  'type' => 'string',
744                  'required' => true,
745                ],
746                'updateMask' => [
747                  'location' => 'query',
748                  'type' => 'string',
749                ],
750              ],
751            ],
752          ]
753        ]
754    );
755    $this->advertisers_insertionOrders = new DisplayVideo\Resource\AdvertisersInsertionOrders(
756        $this,
757        $this->serviceName,
758        'insertionOrders',
759        [
760          'methods' => [
761            'bulkListInsertionOrderAssignedTargetingOptions' => [
762              'path' => 'v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}:bulkListInsertionOrderAssignedTargetingOptions',
763              'httpMethod' => 'GET',
764              'parameters' => [
765                'advertiserId' => [
766                  'location' => 'path',
767                  'type' => 'string',
768                  'required' => true,
769                ],
770                'insertionOrderId' => [
771                  'location' => 'path',
772                  'type' => 'string',
773                  'required' => true,
774                ],
775                'filter' => [
776                  'location' => 'query',
777                  'type' => 'string',
778                ],
779                'orderBy' => [
780                  'location' => 'query',
781                  'type' => 'string',
782                ],
783                'pageSize' => [
784                  'location' => 'query',
785                  'type' => 'integer',
786                ],
787                'pageToken' => [
788                  'location' => 'query',
789                  'type' => 'string',
790                ],
791              ],
792            ],'create' => [
793              'path' => 'v1/advertisers/{+advertiserId}/insertionOrders',
794              'httpMethod' => 'POST',
795              'parameters' => [
796                'advertiserId' => [
797                  'location' => 'path',
798                  'type' => 'string',
799                  'required' => true,
800                ],
801              ],
802            ],'delete' => [
803              'path' => 'v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}',
804              'httpMethod' => 'DELETE',
805              'parameters' => [
806                'advertiserId' => [
807                  'location' => 'path',
808                  'type' => 'string',
809                  'required' => true,
810                ],
811                'insertionOrderId' => [
812                  'location' => 'path',
813                  'type' => 'string',
814                  'required' => true,
815                ],
816              ],
817            ],'get' => [
818              'path' => 'v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}',
819              'httpMethod' => 'GET',
820              'parameters' => [
821                'advertiserId' => [
822                  'location' => 'path',
823                  'type' => 'string',
824                  'required' => true,
825                ],
826                'insertionOrderId' => [
827                  'location' => 'path',
828                  'type' => 'string',
829                  'required' => true,
830                ],
831              ],
832            ],'list' => [
833              'path' => 'v1/advertisers/{+advertiserId}/insertionOrders',
834              'httpMethod' => 'GET',
835              'parameters' => [
836                'advertiserId' => [
837                  'location' => 'path',
838                  'type' => 'string',
839                  'required' => true,
840                ],
841                'filter' => [
842                  'location' => 'query',
843                  'type' => 'string',
844                ],
845                'orderBy' => [
846                  'location' => 'query',
847                  'type' => 'string',
848                ],
849                'pageSize' => [
850                  'location' => 'query',
851                  'type' => 'integer',
852                ],
853                'pageToken' => [
854                  'location' => 'query',
855                  'type' => 'string',
856                ],
857              ],
858            ],'patch' => [
859              'path' => 'v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}',
860              'httpMethod' => 'PATCH',
861              'parameters' => [
862                'advertiserId' => [
863                  'location' => 'path',
864                  'type' => 'string',
865                  'required' => true,
866                ],
867                'insertionOrderId' => [
868                  'location' => 'path',
869                  'type' => 'string',
870                  'required' => true,
871                ],
872                'updateMask' => [
873                  'location' => 'query',
874                  'type' => 'string',
875                ],
876              ],
877            ],
878          ]
879        ]
880    );
881    $this->advertisers_insertionOrders_targetingTypes_assignedTargetingOptions = new DisplayVideo\Resource\AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptions(
882        $this,
883        $this->serviceName,
884        'assignedTargetingOptions',
885        [
886          'methods' => [
887            'get' => [
888              'path' => 'v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}',
889              'httpMethod' => 'GET',
890              'parameters' => [
891                'advertiserId' => [
892                  'location' => 'path',
893                  'type' => 'string',
894                  'required' => true,
895                ],
896                'insertionOrderId' => [
897                  'location' => 'path',
898                  'type' => 'string',
899                  'required' => true,
900                ],
901                'targetingType' => [
902                  'location' => 'path',
903                  'type' => 'string',
904                  'required' => true,
905                ],
906                'assignedTargetingOptionId' => [
907                  'location' => 'path',
908                  'type' => 'string',
909                  'required' => true,
910                ],
911              ],
912            ],'list' => [
913              'path' => 'v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions',
914              'httpMethod' => 'GET',
915              'parameters' => [
916                'advertiserId' => [
917                  'location' => 'path',
918                  'type' => 'string',
919                  'required' => true,
920                ],
921                'insertionOrderId' => [
922                  'location' => 'path',
923                  'type' => 'string',
924                  'required' => true,
925                ],
926                'targetingType' => [
927                  'location' => 'path',
928                  'type' => 'string',
929                  'required' => true,
930                ],
931                'filter' => [
932                  'location' => 'query',
933                  'type' => 'string',
934                ],
935                'orderBy' => [
936                  'location' => 'query',
937                  'type' => 'string',
938                ],
939                'pageSize' => [
940                  'location' => 'query',
941                  'type' => 'integer',
942                ],
943                'pageToken' => [
944                  'location' => 'query',
945                  'type' => 'string',
946                ],
947              ],
948            ],
949          ]
950        ]
951    );
952    $this->advertisers_invoices = new DisplayVideo\Resource\AdvertisersInvoices(
953        $this,
954        $this->serviceName,
955        'invoices',
956        [
957          'methods' => [
958            'list' => [
959              'path' => 'v1/advertisers/{+advertiserId}/invoices',
960              'httpMethod' => 'GET',
961              'parameters' => [
962                'advertiserId' => [
963                  'location' => 'path',
964                  'type' => 'string',
965                  'required' => true,
966                ],
967                'issueMonth' => [
968                  'location' => 'query',
969                  'type' => 'string',
970                ],
971                'loiSapinInvoiceType' => [
972                  'location' => 'query',
973                  'type' => 'string',
974                ],
975                'pageSize' => [
976                  'location' => 'query',
977                  'type' => 'integer',
978                ],
979                'pageToken' => [
980                  'location' => 'query',
981                  'type' => 'string',
982                ],
983              ],
984            ],'lookupInvoiceCurrency' => [
985              'path' => 'v1/advertisers/{+advertiserId}/invoices:lookupInvoiceCurrency',
986              'httpMethod' => 'GET',
987              'parameters' => [
988                'advertiserId' => [
989                  'location' => 'path',
990                  'type' => 'string',
991                  'required' => true,
992                ],
993                'invoiceMonth' => [
994                  'location' => 'query',
995                  'type' => 'string',
996                ],
997              ],
998            ],
999          ]
1000        ]
1001    );
1002    $this->advertisers_lineItems = new DisplayVideo\Resource\AdvertisersLineItems(
1003        $this,
1004        $this->serviceName,
1005        'lineItems',
1006        [
1007          'methods' => [
1008            'bulkEditLineItemAssignedTargetingOptions' => [
1009              'path' => 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}:bulkEditLineItemAssignedTargetingOptions',
1010              'httpMethod' => 'POST',
1011              'parameters' => [
1012                'advertiserId' => [
1013                  'location' => 'path',
1014                  'type' => 'string',
1015                  'required' => true,
1016                ],
1017                'lineItemId' => [
1018                  'location' => 'path',
1019                  'type' => 'string',
1020                  'required' => true,
1021                ],
1022              ],
1023            ],'bulkListLineItemAssignedTargetingOptions' => [
1024              'path' => 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}:bulkListLineItemAssignedTargetingOptions',
1025              'httpMethod' => 'GET',
1026              'parameters' => [
1027                'advertiserId' => [
1028                  'location' => 'path',
1029                  'type' => 'string',
1030                  'required' => true,
1031                ],
1032                'lineItemId' => [
1033                  'location' => 'path',
1034                  'type' => 'string',
1035                  'required' => true,
1036                ],
1037                'filter' => [
1038                  'location' => 'query',
1039                  'type' => 'string',
1040                ],
1041                'orderBy' => [
1042                  'location' => 'query',
1043                  'type' => 'string',
1044                ],
1045                'pageSize' => [
1046                  'location' => 'query',
1047                  'type' => 'integer',
1048                ],
1049                'pageToken' => [
1050                  'location' => 'query',
1051                  'type' => 'string',
1052                ],
1053              ],
1054            ],'create' => [
1055              'path' => 'v1/advertisers/{+advertiserId}/lineItems',
1056              'httpMethod' => 'POST',
1057              'parameters' => [
1058                'advertiserId' => [
1059                  'location' => 'path',
1060                  'type' => 'string',
1061                  'required' => true,
1062                ],
1063              ],
1064            ],'delete' => [
1065              'path' => 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}',
1066              'httpMethod' => 'DELETE',
1067              'parameters' => [
1068                'advertiserId' => [
1069                  'location' => 'path',
1070                  'type' => 'string',
1071                  'required' => true,
1072                ],
1073                'lineItemId' => [
1074                  'location' => 'path',
1075                  'type' => 'string',
1076                  'required' => true,
1077                ],
1078              ],
1079            ],'generateDefault' => [
1080              'path' => 'v1/advertisers/{+advertiserId}/lineItems:generateDefault',
1081              'httpMethod' => 'POST',
1082              'parameters' => [
1083                'advertiserId' => [
1084                  'location' => 'path',
1085                  'type' => 'string',
1086                  'required' => true,
1087                ],
1088              ],
1089            ],'get' => [
1090              'path' => 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}',
1091              'httpMethod' => 'GET',
1092              'parameters' => [
1093                'advertiserId' => [
1094                  'location' => 'path',
1095                  'type' => 'string',
1096                  'required' => true,
1097                ],
1098                'lineItemId' => [
1099                  'location' => 'path',
1100                  'type' => 'string',
1101                  'required' => true,
1102                ],
1103              ],
1104            ],'list' => [
1105              'path' => 'v1/advertisers/{+advertiserId}/lineItems',
1106              'httpMethod' => 'GET',
1107              'parameters' => [
1108                'advertiserId' => [
1109                  'location' => 'path',
1110                  'type' => 'string',
1111                  'required' => true,
1112                ],
1113                'filter' => [
1114                  'location' => 'query',
1115                  'type' => 'string',
1116                ],
1117                'orderBy' => [
1118                  'location' => 'query',
1119                  'type' => 'string',
1120                ],
1121                'pageSize' => [
1122                  'location' => 'query',
1123                  'type' => 'integer',
1124                ],
1125                'pageToken' => [
1126                  'location' => 'query',
1127                  'type' => 'string',
1128                ],
1129              ],
1130            ],'patch' => [
1131              'path' => 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}',
1132              'httpMethod' => 'PATCH',
1133              'parameters' => [
1134                'advertiserId' => [
1135                  'location' => 'path',
1136                  'type' => 'string',
1137                  'required' => true,
1138                ],
1139                'lineItemId' => [
1140                  'location' => 'path',
1141                  'type' => 'string',
1142                  'required' => true,
1143                ],
1144                'updateMask' => [
1145                  'location' => 'query',
1146                  'type' => 'string',
1147                ],
1148              ],
1149            ],
1150          ]
1151        ]
1152    );
1153    $this->advertisers_lineItems_targetingTypes_assignedTargetingOptions = new DisplayVideo\Resource\AdvertisersLineItemsTargetingTypesAssignedTargetingOptions(
1154        $this,
1155        $this->serviceName,
1156        'assignedTargetingOptions',
1157        [
1158          'methods' => [
1159            'create' => [
1160              'path' => 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions',
1161              'httpMethod' => 'POST',
1162              'parameters' => [
1163                'advertiserId' => [
1164                  'location' => 'path',
1165                  'type' => 'string',
1166                  'required' => true,
1167                ],
1168                'lineItemId' => [
1169                  'location' => 'path',
1170                  'type' => 'string',
1171                  'required' => true,
1172                ],
1173                'targetingType' => [
1174                  'location' => 'path',
1175                  'type' => 'string',
1176                  'required' => true,
1177                ],
1178              ],
1179            ],'delete' => [
1180              'path' => 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}',
1181              'httpMethod' => 'DELETE',
1182              'parameters' => [
1183                'advertiserId' => [
1184                  'location' => 'path',
1185                  'type' => 'string',
1186                  'required' => true,
1187                ],
1188                'lineItemId' => [
1189                  'location' => 'path',
1190                  'type' => 'string',
1191                  'required' => true,
1192                ],
1193                'targetingType' => [
1194                  'location' => 'path',
1195                  'type' => 'string',
1196                  'required' => true,
1197                ],
1198                'assignedTargetingOptionId' => [
1199                  'location' => 'path',
1200                  'type' => 'string',
1201                  'required' => true,
1202                ],
1203              ],
1204            ],'get' => [
1205              'path' => 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}',
1206              'httpMethod' => 'GET',
1207              'parameters' => [
1208                'advertiserId' => [
1209                  'location' => 'path',
1210                  'type' => 'string',
1211                  'required' => true,
1212                ],
1213                'lineItemId' => [
1214                  'location' => 'path',
1215                  'type' => 'string',
1216                  'required' => true,
1217                ],
1218                'targetingType' => [
1219                  'location' => 'path',
1220                  'type' => 'string',
1221                  'required' => true,
1222                ],
1223                'assignedTargetingOptionId' => [
1224                  'location' => 'path',
1225                  'type' => 'string',
1226                  'required' => true,
1227                ],
1228              ],
1229            ],'list' => [
1230              'path' => 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions',
1231              'httpMethod' => 'GET',
1232              'parameters' => [
1233                'advertiserId' => [
1234                  'location' => 'path',
1235                  'type' => 'string',
1236                  'required' => true,
1237                ],
1238                'lineItemId' => [
1239                  'location' => 'path',
1240                  'type' => 'string',
1241                  'required' => true,
1242                ],
1243                'targetingType' => [
1244                  'location' => 'path',
1245                  'type' => 'string',
1246                  'required' => true,
1247                ],
1248                'filter' => [
1249                  'location' => 'query',
1250                  'type' => 'string',
1251                ],
1252                'orderBy' => [
1253                  'location' => 'query',
1254                  'type' => 'string',
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->advertisers_locationLists = new DisplayVideo\Resource\AdvertisersLocationLists(
1270        $this,
1271        $this->serviceName,
1272        'locationLists',
1273        [
1274          'methods' => [
1275            'create' => [
1276              'path' => 'v1/advertisers/{+advertiserId}/locationLists',
1277              'httpMethod' => 'POST',
1278              'parameters' => [
1279                'advertiserId' => [
1280                  'location' => 'path',
1281                  'type' => 'string',
1282                  'required' => true,
1283                ],
1284              ],
1285            ],'get' => [
1286              'path' => 'v1/advertisers/{+advertiserId}/locationLists/{+locationListId}',
1287              'httpMethod' => 'GET',
1288              'parameters' => [
1289                'advertiserId' => [
1290                  'location' => 'path',
1291                  'type' => 'string',
1292                  'required' => true,
1293                ],
1294                'locationListId' => [
1295                  'location' => 'path',
1296                  'type' => 'string',
1297                  'required' => true,
1298                ],
1299              ],
1300            ],'list' => [
1301              'path' => 'v1/advertisers/{+advertiserId}/locationLists',
1302              'httpMethod' => 'GET',
1303              'parameters' => [
1304                'advertiserId' => [
1305                  'location' => 'path',
1306                  'type' => 'string',
1307                  'required' => true,
1308                ],
1309                'filter' => [
1310                  'location' => 'query',
1311                  'type' => 'string',
1312                ],
1313                'orderBy' => [
1314                  'location' => 'query',
1315                  'type' => 'string',
1316                ],
1317                'pageSize' => [
1318                  'location' => 'query',
1319                  'type' => 'integer',
1320                ],
1321                'pageToken' => [
1322                  'location' => 'query',
1323                  'type' => 'string',
1324                ],
1325              ],
1326            ],'patch' => [
1327              'path' => 'v1/advertisers/{+advertiserId}/locationLists/{locationListId}',
1328              'httpMethod' => 'PATCH',
1329              'parameters' => [
1330                'advertiserId' => [
1331                  'location' => 'path',
1332                  'type' => 'string',
1333                  'required' => true,
1334                ],
1335                'locationListId' => [
1336                  'location' => 'path',
1337                  'type' => 'string',
1338                  'required' => true,
1339                ],
1340                'updateMask' => [
1341                  'location' => 'query',
1342                  'type' => 'string',
1343                ],
1344              ],
1345            ],
1346          ]
1347        ]
1348    );
1349    $this->advertisers_locationLists_assignedLocations = new DisplayVideo\Resource\AdvertisersLocationListsAssignedLocations(
1350        $this,
1351        $this->serviceName,
1352        'assignedLocations',
1353        [
1354          'methods' => [
1355            'bulkEdit' => [
1356              'path' => 'v1/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit',
1357              'httpMethod' => 'POST',
1358              'parameters' => [
1359                'advertiserId' => [
1360                  'location' => 'path',
1361                  'type' => 'string',
1362                  'required' => true,
1363                ],
1364                'locationListId' => [
1365                  'location' => 'path',
1366                  'type' => 'string',
1367                  'required' => true,
1368                ],
1369              ],
1370            ],'create' => [
1371              'path' => 'v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations',
1372              'httpMethod' => 'POST',
1373              'parameters' => [
1374                'advertiserId' => [
1375                  'location' => 'path',
1376                  'type' => 'string',
1377                  'required' => true,
1378                ],
1379                'locationListId' => [
1380                  'location' => 'path',
1381                  'type' => 'string',
1382                  'required' => true,
1383                ],
1384              ],
1385            ],'delete' => [
1386              'path' => 'v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{+assignedLocationId}',
1387              'httpMethod' => 'DELETE',
1388              'parameters' => [
1389                'advertiserId' => [
1390                  'location' => 'path',
1391                  'type' => 'string',
1392                  'required' => true,
1393                ],
1394                'locationListId' => [
1395                  'location' => 'path',
1396                  'type' => 'string',
1397                  'required' => true,
1398                ],
1399                'assignedLocationId' => [
1400                  'location' => 'path',
1401                  'type' => 'string',
1402                  'required' => true,
1403                ],
1404              ],
1405            ],'list' => [
1406              'path' => 'v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations',
1407              'httpMethod' => 'GET',
1408              'parameters' => [
1409                'advertiserId' => [
1410                  'location' => 'path',
1411                  'type' => 'string',
1412                  'required' => true,
1413                ],
1414                'locationListId' => [
1415                  'location' => 'path',
1416                  'type' => 'string',
1417                  'required' => true,
1418                ],
1419                'filter' => [
1420                  'location' => 'query',
1421                  'type' => 'string',
1422                ],
1423                'orderBy' => [
1424                  'location' => 'query',
1425                  'type' => 'string',
1426                ],
1427                'pageSize' => [
1428                  'location' => 'query',
1429                  'type' => 'integer',
1430                ],
1431                'pageToken' => [
1432                  'location' => 'query',
1433                  'type' => 'string',
1434                ],
1435              ],
1436            ],
1437          ]
1438        ]
1439    );
1440    $this->advertisers_manualTriggers = new DisplayVideo\Resource\AdvertisersManualTriggers(
1441        $this,
1442        $this->serviceName,
1443        'manualTriggers',
1444        [
1445          'methods' => [
1446            'activate' => [
1447              'path' => 'v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}:activate',
1448              'httpMethod' => 'POST',
1449              'parameters' => [
1450                'advertiserId' => [
1451                  'location' => 'path',
1452                  'type' => 'string',
1453                  'required' => true,
1454                ],
1455                'triggerId' => [
1456                  'location' => 'path',
1457                  'type' => 'string',
1458                  'required' => true,
1459                ],
1460              ],
1461            ],'create' => [
1462              'path' => 'v1/advertisers/{+advertiserId}/manualTriggers',
1463              'httpMethod' => 'POST',
1464              'parameters' => [
1465                'advertiserId' => [
1466                  'location' => 'path',
1467                  'type' => 'string',
1468                  'required' => true,
1469                ],
1470              ],
1471            ],'deactivate' => [
1472              'path' => 'v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}:deactivate',
1473              'httpMethod' => 'POST',
1474              'parameters' => [
1475                'advertiserId' => [
1476                  'location' => 'path',
1477                  'type' => 'string',
1478                  'required' => true,
1479                ],
1480                'triggerId' => [
1481                  'location' => 'path',
1482                  'type' => 'string',
1483                  'required' => true,
1484                ],
1485              ],
1486            ],'get' => [
1487              'path' => 'v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}',
1488              'httpMethod' => 'GET',
1489              'parameters' => [
1490                'advertiserId' => [
1491                  'location' => 'path',
1492                  'type' => 'string',
1493                  'required' => true,
1494                ],
1495                'triggerId' => [
1496                  'location' => 'path',
1497                  'type' => 'string',
1498                  'required' => true,
1499                ],
1500              ],
1501            ],'list' => [
1502              'path' => 'v1/advertisers/{+advertiserId}/manualTriggers',
1503              'httpMethod' => 'GET',
1504              'parameters' => [
1505                'advertiserId' => [
1506                  'location' => 'path',
1507                  'type' => 'string',
1508                  'required' => true,
1509                ],
1510                'filter' => [
1511                  'location' => 'query',
1512                  'type' => 'string',
1513                ],
1514                'orderBy' => [
1515                  'location' => 'query',
1516                  'type' => 'string',
1517                ],
1518                'pageSize' => [
1519                  'location' => 'query',
1520                  'type' => 'integer',
1521                ],
1522                'pageToken' => [
1523                  'location' => 'query',
1524                  'type' => 'string',
1525                ],
1526              ],
1527            ],'patch' => [
1528              'path' => 'v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}',
1529              'httpMethod' => 'PATCH',
1530              'parameters' => [
1531                'advertiserId' => [
1532                  'location' => 'path',
1533                  'type' => 'string',
1534                  'required' => true,
1535                ],
1536                'triggerId' => [
1537                  'location' => 'path',
1538                  'type' => 'string',
1539                  'required' => true,
1540                ],
1541                'updateMask' => [
1542                  'location' => 'query',
1543                  'type' => 'string',
1544                ],
1545              ],
1546            ],
1547          ]
1548        ]
1549    );
1550    $this->advertisers_negativeKeywordLists = new DisplayVideo\Resource\AdvertisersNegativeKeywordLists(
1551        $this,
1552        $this->serviceName,
1553        'negativeKeywordLists',
1554        [
1555          'methods' => [
1556            'create' => [
1557              'path' => 'v1/advertisers/{+advertiserId}/negativeKeywordLists',
1558              'httpMethod' => 'POST',
1559              'parameters' => [
1560                'advertiserId' => [
1561                  'location' => 'path',
1562                  'type' => 'string',
1563                  'required' => true,
1564                ],
1565              ],
1566            ],'delete' => [
1567              'path' => 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}',
1568              'httpMethod' => 'DELETE',
1569              'parameters' => [
1570                'advertiserId' => [
1571                  'location' => 'path',
1572                  'type' => 'string',
1573                  'required' => true,
1574                ],
1575                'negativeKeywordListId' => [
1576                  'location' => 'path',
1577                  'type' => 'string',
1578                  'required' => true,
1579                ],
1580              ],
1581            ],'get' => [
1582              'path' => 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}',
1583              'httpMethod' => 'GET',
1584              'parameters' => [
1585                'advertiserId' => [
1586                  'location' => 'path',
1587                  'type' => 'string',
1588                  'required' => true,
1589                ],
1590                'negativeKeywordListId' => [
1591                  'location' => 'path',
1592                  'type' => 'string',
1593                  'required' => true,
1594                ],
1595              ],
1596            ],'list' => [
1597              'path' => 'v1/advertisers/{+advertiserId}/negativeKeywordLists',
1598              'httpMethod' => 'GET',
1599              'parameters' => [
1600                'advertiserId' => [
1601                  'location' => 'path',
1602                  'type' => 'string',
1603                  'required' => true,
1604                ],
1605                'pageSize' => [
1606                  'location' => 'query',
1607                  'type' => 'integer',
1608                ],
1609                'pageToken' => [
1610                  'location' => 'query',
1611                  'type' => 'string',
1612                ],
1613              ],
1614            ],'patch' => [
1615              'path' => 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{negativeKeywordListId}',
1616              'httpMethod' => 'PATCH',
1617              'parameters' => [
1618                'advertiserId' => [
1619                  'location' => 'path',
1620                  'type' => 'string',
1621                  'required' => true,
1622                ],
1623                'negativeKeywordListId' => [
1624                  'location' => 'path',
1625                  'type' => 'string',
1626                  'required' => true,
1627                ],
1628                'updateMask' => [
1629                  'location' => 'query',
1630                  'type' => 'string',
1631                ],
1632              ],
1633            ],
1634          ]
1635        ]
1636    );
1637    $this->advertisers_negativeKeywordLists_negativeKeywords = new DisplayVideo\Resource\AdvertisersNegativeKeywordListsNegativeKeywords(
1638        $this,
1639        $this->serviceName,
1640        'negativeKeywords',
1641        [
1642          'methods' => [
1643            'bulkEdit' => [
1644              'path' => 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:bulkEdit',
1645              'httpMethod' => 'POST',
1646              'parameters' => [
1647                'advertiserId' => [
1648                  'location' => 'path',
1649                  'type' => 'string',
1650                  'required' => true,
1651                ],
1652                'negativeKeywordListId' => [
1653                  'location' => 'path',
1654                  'type' => 'string',
1655                  'required' => true,
1656                ],
1657              ],
1658            ],'create' => [
1659              'path' => 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords',
1660              'httpMethod' => 'POST',
1661              'parameters' => [
1662                'advertiserId' => [
1663                  'location' => 'path',
1664                  'type' => 'string',
1665                  'required' => true,
1666                ],
1667                'negativeKeywordListId' => [
1668                  'location' => 'path',
1669                  'type' => 'string',
1670                  'required' => true,
1671                ],
1672              ],
1673            ],'delete' => [
1674              'path' => 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords/{+keywordValue}',
1675              'httpMethod' => 'DELETE',
1676              'parameters' => [
1677                'advertiserId' => [
1678                  'location' => 'path',
1679                  'type' => 'string',
1680                  'required' => true,
1681                ],
1682                'negativeKeywordListId' => [
1683                  'location' => 'path',
1684                  'type' => 'string',
1685                  'required' => true,
1686                ],
1687                'keywordValue' => [
1688                  'location' => 'path',
1689                  'type' => 'string',
1690                  'required' => true,
1691                ],
1692              ],
1693            ],'list' => [
1694              'path' => 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords',
1695              'httpMethod' => 'GET',
1696              'parameters' => [
1697                'advertiserId' => [
1698                  'location' => 'path',
1699                  'type' => 'string',
1700                  'required' => true,
1701                ],
1702                'negativeKeywordListId' => [
1703                  'location' => 'path',
1704                  'type' => 'string',
1705                  'required' => true,
1706                ],
1707                'filter' => [
1708                  'location' => 'query',
1709                  'type' => 'string',
1710                ],
1711                'orderBy' => [
1712                  'location' => 'query',
1713                  'type' => 'string',
1714                ],
1715                'pageSize' => [
1716                  'location' => 'query',
1717                  'type' => 'integer',
1718                ],
1719                'pageToken' => [
1720                  'location' => 'query',
1721                  'type' => 'string',
1722                ],
1723              ],
1724            ],'replace' => [
1725              'path' => 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:replace',
1726              'httpMethod' => 'POST',
1727              'parameters' => [
1728                'advertiserId' => [
1729                  'location' => 'path',
1730                  'type' => 'string',
1731                  'required' => true,
1732                ],
1733                'negativeKeywordListId' => [
1734                  'location' => 'path',
1735                  'type' => 'string',
1736                  'required' => true,
1737                ],
1738              ],
1739            ],
1740          ]
1741        ]
1742    );
1743    $this->advertisers_targetingTypes_assignedTargetingOptions = new DisplayVideo\Resource\AdvertisersTargetingTypesAssignedTargetingOptions(
1744        $this,
1745        $this->serviceName,
1746        'assignedTargetingOptions',
1747        [
1748          'methods' => [
1749            'create' => [
1750              'path' => 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions',
1751              'httpMethod' => 'POST',
1752              'parameters' => [
1753                'advertiserId' => [
1754                  'location' => 'path',
1755                  'type' => 'string',
1756                  'required' => true,
1757                ],
1758                'targetingType' => [
1759                  'location' => 'path',
1760                  'type' => 'string',
1761                  'required' => true,
1762                ],
1763              ],
1764            ],'delete' => [
1765              'path' => 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}',
1766              'httpMethod' => 'DELETE',
1767              'parameters' => [
1768                'advertiserId' => [
1769                  'location' => 'path',
1770                  'type' => 'string',
1771                  'required' => true,
1772                ],
1773                'targetingType' => [
1774                  'location' => 'path',
1775                  'type' => 'string',
1776                  'required' => true,
1777                ],
1778                'assignedTargetingOptionId' => [
1779                  'location' => 'path',
1780                  'type' => 'string',
1781                  'required' => true,
1782                ],
1783              ],
1784            ],'get' => [
1785              'path' => 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}',
1786              'httpMethod' => 'GET',
1787              'parameters' => [
1788                'advertiserId' => [
1789                  'location' => 'path',
1790                  'type' => 'string',
1791                  'required' => true,
1792                ],
1793                'targetingType' => [
1794                  'location' => 'path',
1795                  'type' => 'string',
1796                  'required' => true,
1797                ],
1798                'assignedTargetingOptionId' => [
1799                  'location' => 'path',
1800                  'type' => 'string',
1801                  'required' => true,
1802                ],
1803              ],
1804            ],'list' => [
1805              'path' => 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions',
1806              'httpMethod' => 'GET',
1807              'parameters' => [
1808                'advertiserId' => [
1809                  'location' => 'path',
1810                  'type' => 'string',
1811                  'required' => true,
1812                ],
1813                'targetingType' => [
1814                  'location' => 'path',
1815                  'type' => 'string',
1816                  'required' => true,
1817                ],
1818                'filter' => [
1819                  'location' => 'query',
1820                  'type' => 'string',
1821                ],
1822                'orderBy' => [
1823                  'location' => 'query',
1824                  'type' => 'string',
1825                ],
1826                'pageSize' => [
1827                  'location' => 'query',
1828                  'type' => 'integer',
1829                ],
1830                'pageToken' => [
1831                  'location' => 'query',
1832                  'type' => 'string',
1833                ],
1834              ],
1835            ],
1836          ]
1837        ]
1838    );
1839    $this->combinedAudiences = new DisplayVideo\Resource\CombinedAudiences(
1840        $this,
1841        $this->serviceName,
1842        'combinedAudiences',
1843        [
1844          'methods' => [
1845            'get' => [
1846              'path' => 'v1/combinedAudiences/{+combinedAudienceId}',
1847              'httpMethod' => 'GET',
1848              'parameters' => [
1849                'combinedAudienceId' => [
1850                  'location' => 'path',
1851                  'type' => 'string',
1852                  'required' => true,
1853                ],
1854                'advertiserId' => [
1855                  'location' => 'query',
1856                  'type' => 'string',
1857                ],
1858                'partnerId' => [
1859                  'location' => 'query',
1860                  'type' => 'string',
1861                ],
1862              ],
1863            ],'list' => [
1864              'path' => 'v1/combinedAudiences',
1865              'httpMethod' => 'GET',
1866              'parameters' => [
1867                'advertiserId' => [
1868                  'location' => 'query',
1869                  'type' => 'string',
1870                ],
1871                'filter' => [
1872                  'location' => 'query',
1873                  'type' => 'string',
1874                ],
1875                'orderBy' => [
1876                  'location' => 'query',
1877                  'type' => 'string',
1878                ],
1879                'pageSize' => [
1880                  'location' => 'query',
1881                  'type' => 'integer',
1882                ],
1883                'pageToken' => [
1884                  'location' => 'query',
1885                  'type' => 'string',
1886                ],
1887                'partnerId' => [
1888                  'location' => 'query',
1889                  'type' => 'string',
1890                ],
1891              ],
1892            ],
1893          ]
1894        ]
1895    );
1896    $this->customBiddingAlgorithms = new DisplayVideo\Resource\CustomBiddingAlgorithms(
1897        $this,
1898        $this->serviceName,
1899        'customBiddingAlgorithms',
1900        [
1901          'methods' => [
1902            'create' => [
1903              'path' => 'v1/customBiddingAlgorithms',
1904              'httpMethod' => 'POST',
1905              'parameters' => [],
1906            ],'get' => [
1907              'path' => 'v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}',
1908              'httpMethod' => 'GET',
1909              'parameters' => [
1910                'customBiddingAlgorithmId' => [
1911                  'location' => 'path',
1912                  'type' => 'string',
1913                  'required' => true,
1914                ],
1915                'advertiserId' => [
1916                  'location' => 'query',
1917                  'type' => 'string',
1918                ],
1919                'partnerId' => [
1920                  'location' => 'query',
1921                  'type' => 'string',
1922                ],
1923              ],
1924            ],'list' => [
1925              'path' => 'v1/customBiddingAlgorithms',
1926              'httpMethod' => 'GET',
1927              'parameters' => [
1928                'advertiserId' => [
1929                  'location' => 'query',
1930                  'type' => 'string',
1931                ],
1932                'filter' => [
1933                  'location' => 'query',
1934                  'type' => 'string',
1935                ],
1936                'orderBy' => [
1937                  'location' => 'query',
1938                  'type' => 'string',
1939                ],
1940                'pageSize' => [
1941                  'location' => 'query',
1942                  'type' => 'integer',
1943                ],
1944                'pageToken' => [
1945                  'location' => 'query',
1946                  'type' => 'string',
1947                ],
1948                'partnerId' => [
1949                  'location' => 'query',
1950                  'type' => 'string',
1951                ],
1952              ],
1953            ],'patch' => [
1954              'path' => 'v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}',
1955              'httpMethod' => 'PATCH',
1956              'parameters' => [
1957                'customBiddingAlgorithmId' => [
1958                  'location' => 'path',
1959                  'type' => 'string',
1960                  'required' => true,
1961                ],
1962                'updateMask' => [
1963                  'location' => 'query',
1964                  'type' => 'string',
1965                ],
1966              ],
1967            ],'uploadScript' => [
1968              'path' => 'v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}:uploadScript',
1969              'httpMethod' => 'GET',
1970              'parameters' => [
1971                'customBiddingAlgorithmId' => [
1972                  'location' => 'path',
1973                  'type' => 'string',
1974                  'required' => true,
1975                ],
1976                'advertiserId' => [
1977                  'location' => 'query',
1978                  'type' => 'string',
1979                ],
1980                'partnerId' => [
1981                  'location' => 'query',
1982                  'type' => 'string',
1983                ],
1984              ],
1985            ],
1986          ]
1987        ]
1988    );
1989    $this->customBiddingAlgorithms_scripts = new DisplayVideo\Resource\CustomBiddingAlgorithmsScripts(
1990        $this,
1991        $this->serviceName,
1992        'scripts',
1993        [
1994          'methods' => [
1995            'create' => [
1996              'path' => 'v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts',
1997              'httpMethod' => 'POST',
1998              'parameters' => [
1999                'customBiddingAlgorithmId' => [
2000                  'location' => 'path',
2001                  'type' => 'string',
2002                  'required' => true,
2003                ],
2004                'advertiserId' => [
2005                  'location' => 'query',
2006                  'type' => 'string',
2007                ],
2008                'partnerId' => [
2009                  'location' => 'query',
2010                  'type' => 'string',
2011                ],
2012              ],
2013            ],'get' => [
2014              'path' => 'v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts/{+customBiddingScriptId}',
2015              'httpMethod' => 'GET',
2016              'parameters' => [
2017                'customBiddingAlgorithmId' => [
2018                  'location' => 'path',
2019                  'type' => 'string',
2020                  'required' => true,
2021                ],
2022                'customBiddingScriptId' => [
2023                  'location' => 'path',
2024                  'type' => 'string',
2025                  'required' => true,
2026                ],
2027                'advertiserId' => [
2028                  'location' => 'query',
2029                  'type' => 'string',
2030                ],
2031                'partnerId' => [
2032                  'location' => 'query',
2033                  'type' => 'string',
2034                ],
2035              ],
2036            ],'list' => [
2037              'path' => 'v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts',
2038              'httpMethod' => 'GET',
2039              'parameters' => [
2040                'customBiddingAlgorithmId' => [
2041                  'location' => 'path',
2042                  'type' => 'string',
2043                  'required' => true,
2044                ],
2045                'advertiserId' => [
2046                  'location' => 'query',
2047                  'type' => 'string',
2048                ],
2049                'orderBy' => [
2050                  'location' => 'query',
2051                  'type' => 'string',
2052                ],
2053                'pageSize' => [
2054                  'location' => 'query',
2055                  'type' => 'integer',
2056                ],
2057                'pageToken' => [
2058                  'location' => 'query',
2059                  'type' => 'string',
2060                ],
2061                'partnerId' => [
2062                  'location' => 'query',
2063                  'type' => 'string',
2064                ],
2065              ],
2066            ],
2067          ]
2068        ]
2069    );
2070    $this->customLists = new DisplayVideo\Resource\CustomLists(
2071        $this,
2072        $this->serviceName,
2073        'customLists',
2074        [
2075          'methods' => [
2076            'get' => [
2077              'path' => 'v1/customLists/{+customListId}',
2078              'httpMethod' => 'GET',
2079              'parameters' => [
2080                'customListId' => [
2081                  'location' => 'path',
2082                  'type' => 'string',
2083                  'required' => true,
2084                ],
2085                'advertiserId' => [
2086                  'location' => 'query',
2087                  'type' => 'string',
2088                ],
2089              ],
2090            ],'list' => [
2091              'path' => 'v1/customLists',
2092              'httpMethod' => 'GET',
2093              'parameters' => [
2094                'advertiserId' => [
2095                  'location' => 'query',
2096                  'type' => 'string',
2097                ],
2098                'filter' => [
2099                  'location' => 'query',
2100                  'type' => 'string',
2101                ],
2102                'orderBy' => [
2103                  'location' => 'query',
2104                  'type' => 'string',
2105                ],
2106                'pageSize' => [
2107                  'location' => 'query',
2108                  'type' => 'integer',
2109                ],
2110                'pageToken' => [
2111                  'location' => 'query',
2112                  'type' => 'string',
2113                ],
2114              ],
2115            ],
2116          ]
2117        ]
2118    );
2119    $this->firstAndThirdPartyAudiences = new DisplayVideo\Resource\FirstAndThirdPartyAudiences(
2120        $this,
2121        $this->serviceName,
2122        'firstAndThirdPartyAudiences',
2123        [
2124          'methods' => [
2125            'create' => [
2126              'path' => 'v1/firstAndThirdPartyAudiences',
2127              'httpMethod' => 'POST',
2128              'parameters' => [
2129                'advertiserId' => [
2130                  'location' => 'query',
2131                  'type' => 'string',
2132                ],
2133              ],
2134            ],'editCustomerMatchMembers' => [
2135              'path' => 'v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}:editCustomerMatchMembers',
2136              'httpMethod' => 'POST',
2137              'parameters' => [
2138                'firstAndThirdPartyAudienceId' => [
2139                  'location' => 'path',
2140                  'type' => 'string',
2141                  'required' => true,
2142                ],
2143              ],
2144            ],'get' => [
2145              'path' => 'v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}',
2146              'httpMethod' => 'GET',
2147              'parameters' => [
2148                'firstAndThirdPartyAudienceId' => [
2149                  'location' => 'path',
2150                  'type' => 'string',
2151                  'required' => true,
2152                ],
2153                'advertiserId' => [
2154                  'location' => 'query',
2155                  'type' => 'string',
2156                ],
2157                'partnerId' => [
2158                  'location' => 'query',
2159                  'type' => 'string',
2160                ],
2161              ],
2162            ],'list' => [
2163              'path' => 'v1/firstAndThirdPartyAudiences',
2164              'httpMethod' => 'GET',
2165              'parameters' => [
2166                'advertiserId' => [
2167                  'location' => 'query',
2168                  'type' => 'string',
2169                ],
2170                'filter' => [
2171                  'location' => 'query',
2172                  'type' => 'string',
2173                ],
2174                'orderBy' => [
2175                  'location' => 'query',
2176                  'type' => 'string',
2177                ],
2178                'pageSize' => [
2179                  'location' => 'query',
2180                  'type' => 'integer',
2181                ],
2182                'pageToken' => [
2183                  'location' => 'query',
2184                  'type' => 'string',
2185                ],
2186                'partnerId' => [
2187                  'location' => 'query',
2188                  'type' => 'string',
2189                ],
2190              ],
2191            ],'patch' => [
2192              'path' => 'v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}',
2193              'httpMethod' => 'PATCH',
2194              'parameters' => [
2195                'firstAndThirdPartyAudienceId' => [
2196                  'location' => 'path',
2197                  'type' => 'string',
2198                  'required' => true,
2199                ],
2200                'advertiserId' => [
2201                  'location' => 'query',
2202                  'type' => 'string',
2203                ],
2204                'updateMask' => [
2205                  'location' => 'query',
2206                  'type' => 'string',
2207                ],
2208              ],
2209            ],
2210          ]
2211        ]
2212    );
2213    $this->floodlightGroups = new DisplayVideo\Resource\FloodlightGroups(
2214        $this,
2215        $this->serviceName,
2216        'floodlightGroups',
2217        [
2218          'methods' => [
2219            'get' => [
2220              'path' => 'v1/floodlightGroups/{+floodlightGroupId}',
2221              'httpMethod' => 'GET',
2222              'parameters' => [
2223                'floodlightGroupId' => [
2224                  'location' => 'path',
2225                  'type' => 'string',
2226                  'required' => true,
2227                ],
2228                'partnerId' => [
2229                  'location' => 'query',
2230                  'type' => 'string',
2231                ],
2232              ],
2233            ],'patch' => [
2234              'path' => 'v1/floodlightGroups/{floodlightGroupId}',
2235              'httpMethod' => 'PATCH',
2236              'parameters' => [
2237                'floodlightGroupId' => [
2238                  'location' => 'path',
2239                  'type' => 'string',
2240                  'required' => true,
2241                ],
2242                'partnerId' => [
2243                  'location' => 'query',
2244                  'type' => 'string',
2245                ],
2246                'updateMask' => [
2247                  'location' => 'query',
2248                  'type' => 'string',
2249                ],
2250              ],
2251            ],
2252          ]
2253        ]
2254    );
2255    $this->googleAudiences = new DisplayVideo\Resource\GoogleAudiences(
2256        $this,
2257        $this->serviceName,
2258        'googleAudiences',
2259        [
2260          'methods' => [
2261            'get' => [
2262              'path' => 'v1/googleAudiences/{+googleAudienceId}',
2263              'httpMethod' => 'GET',
2264              'parameters' => [
2265                'googleAudienceId' => [
2266                  'location' => 'path',
2267                  'type' => 'string',
2268                  'required' => true,
2269                ],
2270                'advertiserId' => [
2271                  'location' => 'query',
2272                  'type' => 'string',
2273                ],
2274                'partnerId' => [
2275                  'location' => 'query',
2276                  'type' => 'string',
2277                ],
2278              ],
2279            ],'list' => [
2280              'path' => 'v1/googleAudiences',
2281              'httpMethod' => 'GET',
2282              'parameters' => [
2283                'advertiserId' => [
2284                  'location' => 'query',
2285                  'type' => 'string',
2286                ],
2287                'filter' => [
2288                  'location' => 'query',
2289                  'type' => 'string',
2290                ],
2291                'orderBy' => [
2292                  'location' => 'query',
2293                  'type' => 'string',
2294                ],
2295                'pageSize' => [
2296                  'location' => 'query',
2297                  'type' => 'integer',
2298                ],
2299                'pageToken' => [
2300                  'location' => 'query',
2301                  'type' => 'string',
2302                ],
2303                'partnerId' => [
2304                  'location' => 'query',
2305                  'type' => 'string',
2306                ],
2307              ],
2308            ],
2309          ]
2310        ]
2311    );
2312    $this->inventorySourceGroups = new DisplayVideo\Resource\InventorySourceGroups(
2313        $this,
2314        $this->serviceName,
2315        'inventorySourceGroups',
2316        [
2317          'methods' => [
2318            'create' => [
2319              'path' => 'v1/inventorySourceGroups',
2320              'httpMethod' => 'POST',
2321              'parameters' => [
2322                'advertiserId' => [
2323                  'location' => 'query',
2324                  'type' => 'string',
2325                ],
2326                'partnerId' => [
2327                  'location' => 'query',
2328                  'type' => 'string',
2329                ],
2330              ],
2331            ],'delete' => [
2332              'path' => 'v1/inventorySourceGroups/{+inventorySourceGroupId}',
2333              'httpMethod' => 'DELETE',
2334              'parameters' => [
2335                'inventorySourceGroupId' => [
2336                  'location' => 'path',
2337                  'type' => 'string',
2338                  'required' => true,
2339                ],
2340                'advertiserId' => [
2341                  'location' => 'query',
2342                  'type' => 'string',
2343                ],
2344                'partnerId' => [
2345                  'location' => 'query',
2346                  'type' => 'string',
2347                ],
2348              ],
2349            ],'get' => [
2350              'path' => 'v1/inventorySourceGroups/{+inventorySourceGroupId}',
2351              'httpMethod' => 'GET',
2352              'parameters' => [
2353                'inventorySourceGroupId' => [
2354                  'location' => 'path',
2355                  'type' => 'string',
2356                  'required' => true,
2357                ],
2358                'advertiserId' => [
2359                  'location' => 'query',
2360                  'type' => 'string',
2361                ],
2362                'partnerId' => [
2363                  'location' => 'query',
2364                  'type' => 'string',
2365                ],
2366              ],
2367            ],'list' => [
2368              'path' => 'v1/inventorySourceGroups',
2369              'httpMethod' => 'GET',
2370              'parameters' => [
2371                'advertiserId' => [
2372                  'location' => 'query',
2373                  'type' => 'string',
2374                ],
2375                'filter' => [
2376                  'location' => 'query',
2377                  'type' => 'string',
2378                ],
2379                'orderBy' => [
2380                  'location' => 'query',
2381                  'type' => 'string',
2382                ],
2383                'pageSize' => [
2384                  'location' => 'query',
2385                  'type' => 'integer',
2386                ],
2387                'pageToken' => [
2388                  'location' => 'query',
2389                  'type' => 'string',
2390                ],
2391                'partnerId' => [
2392                  'location' => 'query',
2393                  'type' => 'string',
2394                ],
2395              ],
2396            ],'patch' => [
2397              'path' => 'v1/inventorySourceGroups/{inventorySourceGroupId}',
2398              'httpMethod' => 'PATCH',
2399              'parameters' => [
2400                'inventorySourceGroupId' => [
2401                  'location' => 'path',
2402                  'type' => 'string',
2403                  'required' => true,
2404                ],
2405                'advertiserId' => [
2406                  'location' => 'query',
2407                  'type' => 'string',
2408                ],
2409                'partnerId' => [
2410                  'location' => 'query',
2411                  'type' => 'string',
2412                ],
2413                'updateMask' => [
2414                  'location' => 'query',
2415                  'type' => 'string',
2416                ],
2417              ],
2418            ],
2419          ]
2420        ]
2421    );
2422    $this->inventorySourceGroups_assignedInventorySources = new DisplayVideo\Resource\InventorySourceGroupsAssignedInventorySources(
2423        $this,
2424        $this->serviceName,
2425        'assignedInventorySources',
2426        [
2427          'methods' => [
2428            'bulkEdit' => [
2429              'path' => 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit',
2430              'httpMethod' => 'POST',
2431              'parameters' => [
2432                'inventorySourceGroupId' => [
2433                  'location' => 'path',
2434                  'type' => 'string',
2435                  'required' => true,
2436                ],
2437              ],
2438            ],'create' => [
2439              'path' => 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources',
2440              'httpMethod' => 'POST',
2441              'parameters' => [
2442                'inventorySourceGroupId' => [
2443                  'location' => 'path',
2444                  'type' => 'string',
2445                  'required' => true,
2446                ],
2447                'advertiserId' => [
2448                  'location' => 'query',
2449                  'type' => 'string',
2450                ],
2451                'partnerId' => [
2452                  'location' => 'query',
2453                  'type' => 'string',
2454                ],
2455              ],
2456            ],'delete' => [
2457              'path' => 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources/{+assignedInventorySourceId}',
2458              'httpMethod' => 'DELETE',
2459              'parameters' => [
2460                'inventorySourceGroupId' => [
2461                  'location' => 'path',
2462                  'type' => 'string',
2463                  'required' => true,
2464                ],
2465                'assignedInventorySourceId' => [
2466                  'location' => 'path',
2467                  'type' => 'string',
2468                  'required' => true,
2469                ],
2470                'advertiserId' => [
2471                  'location' => 'query',
2472                  'type' => 'string',
2473                ],
2474                'partnerId' => [
2475                  'location' => 'query',
2476                  'type' => 'string',
2477                ],
2478              ],
2479            ],'list' => [
2480              'path' => 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources',
2481              'httpMethod' => 'GET',
2482              'parameters' => [
2483                'inventorySourceGroupId' => [
2484                  'location' => 'path',
2485                  'type' => 'string',
2486                  'required' => true,
2487                ],
2488                'advertiserId' => [
2489                  'location' => 'query',
2490                  'type' => 'string',
2491                ],
2492                'filter' => [
2493                  'location' => 'query',
2494                  'type' => 'string',
2495                ],
2496                'orderBy' => [
2497                  'location' => 'query',
2498                  'type' => 'string',
2499                ],
2500                'pageSize' => [
2501                  'location' => 'query',
2502                  'type' => 'integer',
2503                ],
2504                'pageToken' => [
2505                  'location' => 'query',
2506                  'type' => 'string',
2507                ],
2508                'partnerId' => [
2509                  'location' => 'query',
2510                  'type' => 'string',
2511                ],
2512              ],
2513            ],
2514          ]
2515        ]
2516    );
2517    $this->inventorySources = new DisplayVideo\Resource\InventorySources(
2518        $this,
2519        $this->serviceName,
2520        'inventorySources',
2521        [
2522          'methods' => [
2523            'get' => [
2524              'path' => 'v1/inventorySources/{+inventorySourceId}',
2525              'httpMethod' => 'GET',
2526              'parameters' => [
2527                'inventorySourceId' => [
2528                  'location' => 'path',
2529                  'type' => 'string',
2530                  'required' => true,
2531                ],
2532                'partnerId' => [
2533                  'location' => 'query',
2534                  'type' => 'string',
2535                ],
2536              ],
2537            ],'list' => [
2538              'path' => 'v1/inventorySources',
2539              'httpMethod' => 'GET',
2540              'parameters' => [
2541                'advertiserId' => [
2542                  'location' => 'query',
2543                  'type' => 'string',
2544                ],
2545                'filter' => [
2546                  'location' => 'query',
2547                  'type' => 'string',
2548                ],
2549                'orderBy' => [
2550                  'location' => 'query',
2551                  'type' => 'string',
2552                ],
2553                'pageSize' => [
2554                  'location' => 'query',
2555                  'type' => 'integer',
2556                ],
2557                'pageToken' => [
2558                  'location' => 'query',
2559                  'type' => 'string',
2560                ],
2561                'partnerId' => [
2562                  'location' => 'query',
2563                  'type' => 'string',
2564                ],
2565              ],
2566            ],
2567          ]
2568        ]
2569    );
2570    $this->media = new DisplayVideo\Resource\Media(
2571        $this,
2572        $this->serviceName,
2573        'media',
2574        [
2575          'methods' => [
2576            'download' => [
2577              'path' => 'download/{+resourceName}',
2578              'httpMethod' => 'GET',
2579              'parameters' => [
2580                'resourceName' => [
2581                  'location' => 'path',
2582                  'type' => 'string',
2583                  'required' => true,
2584                ],
2585              ],
2586            ],'upload' => [
2587              'path' => 'media/{+resourceName}',
2588              'httpMethod' => 'POST',
2589              'parameters' => [
2590                'resourceName' => [
2591                  'location' => 'path',
2592                  'type' => 'string',
2593                  'required' => true,
2594                ],
2595              ],
2596            ],
2597          ]
2598        ]
2599    );
2600    $this->partners = new DisplayVideo\Resource\Partners(
2601        $this,
2602        $this->serviceName,
2603        'partners',
2604        [
2605          'methods' => [
2606            'bulkEditPartnerAssignedTargetingOptions' => [
2607              'path' => 'v1/partners/{+partnerId}:bulkEditPartnerAssignedTargetingOptions',
2608              'httpMethod' => 'POST',
2609              'parameters' => [
2610                'partnerId' => [
2611                  'location' => 'path',
2612                  'type' => 'string',
2613                  'required' => true,
2614                ],
2615              ],
2616            ],'get' => [
2617              'path' => 'v1/partners/{+partnerId}',
2618              'httpMethod' => 'GET',
2619              'parameters' => [
2620                'partnerId' => [
2621                  'location' => 'path',
2622                  'type' => 'string',
2623                  'required' => true,
2624                ],
2625              ],
2626            ],'list' => [
2627              'path' => 'v1/partners',
2628              'httpMethod' => 'GET',
2629              'parameters' => [
2630                'filter' => [
2631                  'location' => 'query',
2632                  'type' => 'string',
2633                ],
2634                'orderBy' => [
2635                  'location' => 'query',
2636                  'type' => 'string',
2637                ],
2638                'pageSize' => [
2639                  'location' => 'query',
2640                  'type' => 'integer',
2641                ],
2642                'pageToken' => [
2643                  'location' => 'query',
2644                  'type' => 'string',
2645                ],
2646              ],
2647            ],
2648          ]
2649        ]
2650    );
2651    $this->partners_channels = new DisplayVideo\Resource\PartnersChannels(
2652        $this,
2653        $this->serviceName,
2654        'channels',
2655        [
2656          'methods' => [
2657            'create' => [
2658              'path' => 'v1/partners/{+partnerId}/channels',
2659              'httpMethod' => 'POST',
2660              'parameters' => [
2661                'partnerId' => [
2662                  'location' => 'path',
2663                  'type' => 'string',
2664                  'required' => true,
2665                ],
2666                'advertiserId' => [
2667                  'location' => 'query',
2668                  'type' => 'string',
2669                ],
2670              ],
2671            ],'get' => [
2672              'path' => 'v1/partners/{+partnerId}/channels/{+channelId}',
2673              'httpMethod' => 'GET',
2674              'parameters' => [
2675                'partnerId' => [
2676                  'location' => 'path',
2677                  'type' => 'string',
2678                  'required' => true,
2679                ],
2680                'channelId' => [
2681                  'location' => 'path',
2682                  'type' => 'string',
2683                  'required' => true,
2684                ],
2685                'advertiserId' => [
2686                  'location' => 'query',
2687                  'type' => 'string',
2688                ],
2689              ],
2690            ],'list' => [
2691              'path' => 'v1/partners/{+partnerId}/channels',
2692              'httpMethod' => 'GET',
2693              'parameters' => [
2694                'partnerId' => [
2695                  'location' => 'path',
2696                  'type' => 'string',
2697                  'required' => true,
2698                ],
2699                'advertiserId' => [
2700                  'location' => 'query',
2701                  'type' => 'string',
2702                ],
2703                'filter' => [
2704                  'location' => 'query',
2705                  'type' => 'string',
2706                ],
2707                'orderBy' => [
2708                  'location' => 'query',
2709                  'type' => 'string',
2710                ],
2711                'pageSize' => [
2712                  'location' => 'query',
2713                  'type' => 'integer',
2714                ],
2715                'pageToken' => [
2716                  'location' => 'query',
2717                  'type' => 'string',
2718                ],
2719              ],
2720            ],'patch' => [
2721              'path' => 'v1/partners/{+partnerId}/channels/{channelId}',
2722              'httpMethod' => 'PATCH',
2723              'parameters' => [
2724                'partnerId' => [
2725                  'location' => 'path',
2726                  'type' => 'string',
2727                  'required' => true,
2728                ],
2729                'channelId' => [
2730                  'location' => 'path',
2731                  'type' => 'string',
2732                  'required' => true,
2733                ],
2734                'advertiserId' => [
2735                  'location' => 'query',
2736                  'type' => 'string',
2737                ],
2738                'updateMask' => [
2739                  'location' => 'query',
2740                  'type' => 'string',
2741                ],
2742              ],
2743            ],
2744          ]
2745        ]
2746    );
2747    $this->partners_channels_sites = new DisplayVideo\Resource\PartnersChannelsSites(
2748        $this,
2749        $this->serviceName,
2750        'sites',
2751        [
2752          'methods' => [
2753            'bulkEdit' => [
2754              'path' => 'v1/partners/{partnerId}/channels/{+channelId}/sites:bulkEdit',
2755              'httpMethod' => 'POST',
2756              'parameters' => [
2757                'partnerId' => [
2758                  'location' => 'path',
2759                  'type' => 'string',
2760                  'required' => true,
2761                ],
2762                'channelId' => [
2763                  'location' => 'path',
2764                  'type' => 'string',
2765                  'required' => true,
2766                ],
2767              ],
2768            ],'create' => [
2769              'path' => 'v1/partners/{partnerId}/channels/{+channelId}/sites',
2770              'httpMethod' => 'POST',
2771              'parameters' => [
2772                'partnerId' => [
2773                  'location' => 'path',
2774                  'type' => 'string',
2775                  'required' => true,
2776                ],
2777                'channelId' => [
2778                  'location' => 'path',
2779                  'type' => 'string',
2780                  'required' => true,
2781                ],
2782                'advertiserId' => [
2783                  'location' => 'query',
2784                  'type' => 'string',
2785                ],
2786              ],
2787            ],'delete' => [
2788              'path' => 'v1/partners/{partnerId}/channels/{+channelId}/sites/{+urlOrAppId}',
2789              'httpMethod' => 'DELETE',
2790              'parameters' => [
2791                'partnerId' => [
2792                  'location' => 'path',
2793                  'type' => 'string',
2794                  'required' => true,
2795                ],
2796                'channelId' => [
2797                  'location' => 'path',
2798                  'type' => 'string',
2799                  'required' => true,
2800                ],
2801                'urlOrAppId' => [
2802                  'location' => 'path',
2803                  'type' => 'string',
2804                  'required' => true,
2805                ],
2806                'advertiserId' => [
2807                  'location' => 'query',
2808                  'type' => 'string',
2809                ],
2810              ],
2811            ],'list' => [
2812              'path' => 'v1/partners/{+partnerId}/channels/{+channelId}/sites',
2813              'httpMethod' => 'GET',
2814              'parameters' => [
2815                'partnerId' => [
2816                  'location' => 'path',
2817                  'type' => 'string',
2818                  'required' => true,
2819                ],
2820                'channelId' => [
2821                  'location' => 'path',
2822                  'type' => 'string',
2823                  'required' => true,
2824                ],
2825                'advertiserId' => [
2826                  'location' => 'query',
2827                  'type' => 'string',
2828                ],
2829                'filter' => [
2830                  'location' => 'query',
2831                  'type' => 'string',
2832                ],
2833                'orderBy' => [
2834                  'location' => 'query',
2835                  'type' => 'string',
2836                ],
2837                'pageSize' => [
2838                  'location' => 'query',
2839                  'type' => 'integer',
2840                ],
2841                'pageToken' => [
2842                  'location' => 'query',
2843                  'type' => 'string',
2844                ],
2845              ],
2846            ],'replace' => [
2847              'path' => 'v1/partners/{partnerId}/channels/{+channelId}/sites:replace',
2848              'httpMethod' => 'POST',
2849              'parameters' => [
2850                'partnerId' => [
2851                  'location' => 'path',
2852                  'type' => 'string',
2853                  'required' => true,
2854                ],
2855                'channelId' => [
2856                  'location' => 'path',
2857                  'type' => 'string',
2858                  'required' => true,
2859                ],
2860              ],
2861            ],
2862          ]
2863        ]
2864    );
2865    $this->partners_targetingTypes_assignedTargetingOptions = new DisplayVideo\Resource\PartnersTargetingTypesAssignedTargetingOptions(
2866        $this,
2867        $this->serviceName,
2868        'assignedTargetingOptions',
2869        [
2870          'methods' => [
2871            'create' => [
2872              'path' => 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions',
2873              'httpMethod' => 'POST',
2874              'parameters' => [
2875                'partnerId' => [
2876                  'location' => 'path',
2877                  'type' => 'string',
2878                  'required' => true,
2879                ],
2880                'targetingType' => [
2881                  'location' => 'path',
2882                  'type' => 'string',
2883                  'required' => true,
2884                ],
2885              ],
2886            ],'delete' => [
2887              'path' => 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}',
2888              'httpMethod' => 'DELETE',
2889              'parameters' => [
2890                'partnerId' => [
2891                  'location' => 'path',
2892                  'type' => 'string',
2893                  'required' => true,
2894                ],
2895                'targetingType' => [
2896                  'location' => 'path',
2897                  'type' => 'string',
2898                  'required' => true,
2899                ],
2900                'assignedTargetingOptionId' => [
2901                  'location' => 'path',
2902                  'type' => 'string',
2903                  'required' => true,
2904                ],
2905              ],
2906            ],'get' => [
2907              'path' => 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}',
2908              'httpMethod' => 'GET',
2909              'parameters' => [
2910                'partnerId' => [
2911                  'location' => 'path',
2912                  'type' => 'string',
2913                  'required' => true,
2914                ],
2915                'targetingType' => [
2916                  'location' => 'path',
2917                  'type' => 'string',
2918                  'required' => true,
2919                ],
2920                'assignedTargetingOptionId' => [
2921                  'location' => 'path',
2922                  'type' => 'string',
2923                  'required' => true,
2924                ],
2925              ],
2926            ],'list' => [
2927              'path' => 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions',
2928              'httpMethod' => 'GET',
2929              'parameters' => [
2930                'partnerId' => [
2931                  'location' => 'path',
2932                  'type' => 'string',
2933                  'required' => true,
2934                ],
2935                'targetingType' => [
2936                  'location' => 'path',
2937                  'type' => 'string',
2938                  'required' => true,
2939                ],
2940                'filter' => [
2941                  'location' => 'query',
2942                  'type' => 'string',
2943                ],
2944                'orderBy' => [
2945                  'location' => 'query',
2946                  'type' => 'string',
2947                ],
2948                'pageSize' => [
2949                  'location' => 'query',
2950                  'type' => 'integer',
2951                ],
2952                'pageToken' => [
2953                  'location' => 'query',
2954                  'type' => 'string',
2955                ],
2956              ],
2957            ],
2958          ]
2959        ]
2960    );
2961    $this->sdfdownloadtasks = new DisplayVideo\Resource\Sdfdownloadtasks(
2962        $this,
2963        $this->serviceName,
2964        'sdfdownloadtasks',
2965        [
2966          'methods' => [
2967            'create' => [
2968              'path' => 'v1/sdfdownloadtasks',
2969              'httpMethod' => 'POST',
2970              'parameters' => [],
2971            ],
2972          ]
2973        ]
2974    );
2975    $this->sdfdownloadtasks_operations = new DisplayVideo\Resource\SdfdownloadtasksOperations(
2976        $this,
2977        $this->serviceName,
2978        'operations',
2979        [
2980          'methods' => [
2981            'get' => [
2982              'path' => 'v1/{+name}',
2983              'httpMethod' => 'GET',
2984              'parameters' => [
2985                'name' => [
2986                  'location' => 'path',
2987                  'type' => 'string',
2988                  'required' => true,
2989                ],
2990              ],
2991            ],
2992          ]
2993        ]
2994    );
2995    $this->targetingTypes_targetingOptions = new DisplayVideo\Resource\TargetingTypesTargetingOptions(
2996        $this,
2997        $this->serviceName,
2998        'targetingOptions',
2999        [
3000          'methods' => [
3001            'get' => [
3002              'path' => 'v1/targetingTypes/{+targetingType}/targetingOptions/{+targetingOptionId}',
3003              'httpMethod' => 'GET',
3004              'parameters' => [
3005                'targetingType' => [
3006                  'location' => 'path',
3007                  'type' => 'string',
3008                  'required' => true,
3009                ],
3010                'targetingOptionId' => [
3011                  'location' => 'path',
3012                  'type' => 'string',
3013                  'required' => true,
3014                ],
3015                'advertiserId' => [
3016                  'location' => 'query',
3017                  'type' => 'string',
3018                ],
3019              ],
3020            ],'list' => [
3021              'path' => 'v1/targetingTypes/{+targetingType}/targetingOptions',
3022              'httpMethod' => 'GET',
3023              'parameters' => [
3024                'targetingType' => [
3025                  'location' => 'path',
3026                  'type' => 'string',
3027                  'required' => true,
3028                ],
3029                'advertiserId' => [
3030                  'location' => 'query',
3031                  'type' => 'string',
3032                ],
3033                'filter' => [
3034                  'location' => 'query',
3035                  'type' => 'string',
3036                ],
3037                'orderBy' => [
3038                  'location' => 'query',
3039                  'type' => 'string',
3040                ],
3041                'pageSize' => [
3042                  'location' => 'query',
3043                  'type' => 'integer',
3044                ],
3045                'pageToken' => [
3046                  'location' => 'query',
3047                  'type' => 'string',
3048                ],
3049              ],
3050            ],'search' => [
3051              'path' => 'v1/targetingTypes/{+targetingType}/targetingOptions:search',
3052              'httpMethod' => 'POST',
3053              'parameters' => [
3054                'targetingType' => [
3055                  'location' => 'path',
3056                  'type' => 'string',
3057                  'required' => true,
3058                ],
3059              ],
3060            ],
3061          ]
3062        ]
3063    );
3064    $this->users = new DisplayVideo\Resource\Users(
3065        $this,
3066        $this->serviceName,
3067        'users',
3068        [
3069          'methods' => [
3070            'bulkEditAssignedUserRoles' => [
3071              'path' => 'v1/users/{+userId}:bulkEditAssignedUserRoles',
3072              'httpMethod' => 'POST',
3073              'parameters' => [
3074                'userId' => [
3075                  'location' => 'path',
3076                  'type' => 'string',
3077                  'required' => true,
3078                ],
3079              ],
3080            ],'create' => [
3081              'path' => 'v1/users',
3082              'httpMethod' => 'POST',
3083              'parameters' => [],
3084            ],'delete' => [
3085              'path' => 'v1/users/{+userId}',
3086              'httpMethod' => 'DELETE',
3087              'parameters' => [
3088                'userId' => [
3089                  'location' => 'path',
3090                  'type' => 'string',
3091                  'required' => true,
3092                ],
3093              ],
3094            ],'get' => [
3095              'path' => 'v1/users/{+userId}',
3096              'httpMethod' => 'GET',
3097              'parameters' => [
3098                'userId' => [
3099                  'location' => 'path',
3100                  'type' => 'string',
3101                  'required' => true,
3102                ],
3103              ],
3104            ],'list' => [
3105              'path' => 'v1/users',
3106              'httpMethod' => 'GET',
3107              'parameters' => [
3108                'filter' => [
3109                  'location' => 'query',
3110                  'type' => 'string',
3111                ],
3112                'orderBy' => [
3113                  'location' => 'query',
3114                  'type' => 'string',
3115                ],
3116                'pageSize' => [
3117                  'location' => 'query',
3118                  'type' => 'integer',
3119                ],
3120                'pageToken' => [
3121                  'location' => 'query',
3122                  'type' => 'string',
3123                ],
3124              ],
3125            ],'patch' => [
3126              'path' => 'v1/users/{+userId}',
3127              'httpMethod' => 'PATCH',
3128              'parameters' => [
3129                'userId' => [
3130                  'location' => 'path',
3131                  'type' => 'string',
3132                  'required' => true,
3133                ],
3134                'updateMask' => [
3135                  'location' => 'query',
3136                  'type' => 'string',
3137                ],
3138              ],
3139            ],
3140          ]
3141        ]
3142    );
3143  }
3144}
3145
3146// Adding a class alias for backwards compatibility with the previous class name.
3147class_alias(DisplayVideo::class, 'Google_Service_DisplayVideo');
3148