source: vendor/google/apiclient-services/src/DisplayVideo.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

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