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 Dfareporting (v3.5).
24 *
25 * <p>
26 * Build applications to efficiently manage large or complex trafficking,
27 * reporting, and attribution workflows for Campaign Manager 360.</p>
28 *
29 * <p>
30 * For more information about this service, see the API
31 * <a href="https://developers.google.com/doubleclick-advertisers/" target="_blank">Documentation</a>
32 * </p>
33 *
34 * @author Google, Inc.
35 */
36class Dfareporting extends \Google\Service
37{
38  /** Manage DoubleClick Digital Marketing conversions. */
39  const DDMCONVERSIONS =
40      "https://www.googleapis.com/auth/ddmconversions";
41  /** View and manage DoubleClick for Advertisers reports. */
42  const DFAREPORTING =
43      "https://www.googleapis.com/auth/dfareporting";
44  /** View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns. */
45  const DFATRAFFICKING =
46      "https://www.googleapis.com/auth/dfatrafficking";
47
48  public $accountActiveAdSummaries;
49  public $accountPermissionGroups;
50  public $accountPermissions;
51  public $accountUserProfiles;
52  public $accounts;
53  public $ads;
54  public $advertiserGroups;
55  public $advertiserLandingPages;
56  public $advertisers;
57  public $browsers;
58  public $campaignCreativeAssociations;
59  public $campaigns;
60  public $changeLogs;
61  public $cities;
62  public $connectionTypes;
63  public $contentCategories;
64  public $conversions;
65  public $countries;
66  public $creativeAssets;
67  public $creativeFieldValues;
68  public $creativeFields;
69  public $creativeGroups;
70  public $creatives;
71  public $dimensionValues;
72  public $directorySites;
73  public $dynamicTargetingKeys;
74  public $eventTags;
75  public $files;
76  public $floodlightActivities;
77  public $floodlightActivityGroups;
78  public $floodlightConfigurations;
79  public $inventoryItems;
80  public $languages;
81  public $metros;
82  public $mobileApps;
83  public $mobileCarriers;
84  public $operatingSystemVersions;
85  public $operatingSystems;
86  public $orderDocuments;
87  public $orders;
88  public $placementGroups;
89  public $placementStrategies;
90  public $placements;
91  public $platformTypes;
92  public $postalCodes;
93  public $projects;
94  public $regions;
95  public $remarketingListShares;
96  public $remarketingLists;
97  public $reports;
98  public $reports_compatibleFields;
99  public $reports_files;
100  public $sites;
101  public $sizes;
102  public $subaccounts;
103  public $targetableRemarketingLists;
104  public $targetingTemplates;
105  public $userProfiles;
106  public $userRolePermissionGroups;
107  public $userRolePermissions;
108  public $userRoles;
109  public $videoFormats;
110
111  /**
112   * Constructs the internal representation of the Dfareporting service.
113   *
114   * @param Client|array $clientOrConfig The client used to deliver requests, or a
115   *                                     config array to pass to a new Client instance.
116   * @param string $rootUrl The root URL used for requests to the service.
117   */
118  public function __construct($clientOrConfig = [], $rootUrl = null)
119  {
120    parent::__construct($clientOrConfig);
121    $this->rootUrl = $rootUrl ?: 'https://dfareporting.googleapis.com/';
122    $this->servicePath = '';
123    $this->batchPath = 'batch';
124    $this->version = 'v3.5';
125    $this->serviceName = 'dfareporting';
126
127    $this->accountActiveAdSummaries = new Dfareporting\Resource\AccountActiveAdSummaries(
128        $this,
129        $this->serviceName,
130        'accountActiveAdSummaries',
131        [
132          'methods' => [
133            'get' => [
134              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}',
135              'httpMethod' => 'GET',
136              'parameters' => [
137                'profileId' => [
138                  'location' => 'path',
139                  'type' => 'string',
140                  'required' => true,
141                ],
142                'summaryAccountId' => [
143                  'location' => 'path',
144                  'type' => 'string',
145                  'required' => true,
146                ],
147              ],
148            ],
149          ]
150        ]
151    );
152    $this->accountPermissionGroups = new Dfareporting\Resource\AccountPermissionGroups(
153        $this,
154        $this->serviceName,
155        'accountPermissionGroups',
156        [
157          'methods' => [
158            'get' => [
159              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accountPermissionGroups/{id}',
160              'httpMethod' => 'GET',
161              'parameters' => [
162                'profileId' => [
163                  'location' => 'path',
164                  'type' => 'string',
165                  'required' => true,
166                ],
167                'id' => [
168                  'location' => 'path',
169                  'type' => 'string',
170                  'required' => true,
171                ],
172              ],
173            ],'list' => [
174              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accountPermissionGroups',
175              'httpMethod' => 'GET',
176              'parameters' => [
177                'profileId' => [
178                  'location' => 'path',
179                  'type' => 'string',
180                  'required' => true,
181                ],
182              ],
183            ],
184          ]
185        ]
186    );
187    $this->accountPermissions = new Dfareporting\Resource\AccountPermissions(
188        $this,
189        $this->serviceName,
190        'accountPermissions',
191        [
192          'methods' => [
193            'get' => [
194              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accountPermissions/{id}',
195              'httpMethod' => 'GET',
196              'parameters' => [
197                'profileId' => [
198                  'location' => 'path',
199                  'type' => 'string',
200                  'required' => true,
201                ],
202                'id' => [
203                  'location' => 'path',
204                  'type' => 'string',
205                  'required' => true,
206                ],
207              ],
208            ],'list' => [
209              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accountPermissions',
210              'httpMethod' => 'GET',
211              'parameters' => [
212                'profileId' => [
213                  'location' => 'path',
214                  'type' => 'string',
215                  'required' => true,
216                ],
217              ],
218            ],
219          ]
220        ]
221    );
222    $this->accountUserProfiles = new Dfareporting\Resource\AccountUserProfiles(
223        $this,
224        $this->serviceName,
225        'accountUserProfiles',
226        [
227          'methods' => [
228            'get' => [
229              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accountUserProfiles/{id}',
230              'httpMethod' => 'GET',
231              'parameters' => [
232                'profileId' => [
233                  'location' => 'path',
234                  'type' => 'string',
235                  'required' => true,
236                ],
237                'id' => [
238                  'location' => 'path',
239                  'type' => 'string',
240                  'required' => true,
241                ],
242              ],
243            ],'insert' => [
244              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accountUserProfiles',
245              'httpMethod' => 'POST',
246              'parameters' => [
247                'profileId' => [
248                  'location' => 'path',
249                  'type' => 'string',
250                  'required' => true,
251                ],
252              ],
253            ],'list' => [
254              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accountUserProfiles',
255              'httpMethod' => 'GET',
256              'parameters' => [
257                'profileId' => [
258                  'location' => 'path',
259                  'type' => 'string',
260                  'required' => true,
261                ],
262                'active' => [
263                  'location' => 'query',
264                  'type' => 'boolean',
265                ],
266                'ids' => [
267                  'location' => 'query',
268                  'type' => 'string',
269                  'repeated' => true,
270                ],
271                'maxResults' => [
272                  'location' => 'query',
273                  'type' => 'integer',
274                ],
275                'pageToken' => [
276                  'location' => 'query',
277                  'type' => 'string',
278                ],
279                'searchString' => [
280                  'location' => 'query',
281                  'type' => 'string',
282                ],
283                'sortField' => [
284                  'location' => 'query',
285                  'type' => 'string',
286                ],
287                'sortOrder' => [
288                  'location' => 'query',
289                  'type' => 'string',
290                ],
291                'subaccountId' => [
292                  'location' => 'query',
293                  'type' => 'string',
294                ],
295                'userRoleId' => [
296                  'location' => 'query',
297                  'type' => 'string',
298                ],
299              ],
300            ],'patch' => [
301              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accountUserProfiles',
302              'httpMethod' => 'PATCH',
303              'parameters' => [
304                'profileId' => [
305                  'location' => 'path',
306                  'type' => 'string',
307                  'required' => true,
308                ],
309                'id' => [
310                  'location' => 'query',
311                  'type' => 'string',
312                  'required' => true,
313                ],
314              ],
315            ],'update' => [
316              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accountUserProfiles',
317              'httpMethod' => 'PUT',
318              'parameters' => [
319                'profileId' => [
320                  'location' => 'path',
321                  'type' => 'string',
322                  'required' => true,
323                ],
324              ],
325            ],
326          ]
327        ]
328    );
329    $this->accounts = new Dfareporting\Resource\Accounts(
330        $this,
331        $this->serviceName,
332        'accounts',
333        [
334          'methods' => [
335            'get' => [
336              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accounts/{id}',
337              'httpMethod' => 'GET',
338              'parameters' => [
339                'profileId' => [
340                  'location' => 'path',
341                  'type' => 'string',
342                  'required' => true,
343                ],
344                'id' => [
345                  'location' => 'path',
346                  'type' => 'string',
347                  'required' => true,
348                ],
349              ],
350            ],'list' => [
351              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accounts',
352              'httpMethod' => 'GET',
353              'parameters' => [
354                'profileId' => [
355                  'location' => 'path',
356                  'type' => 'string',
357                  'required' => true,
358                ],
359                'active' => [
360                  'location' => 'query',
361                  'type' => 'boolean',
362                ],
363                'ids' => [
364                  'location' => 'query',
365                  'type' => 'string',
366                  'repeated' => true,
367                ],
368                'maxResults' => [
369                  'location' => 'query',
370                  'type' => 'integer',
371                ],
372                'pageToken' => [
373                  'location' => 'query',
374                  'type' => 'string',
375                ],
376                'searchString' => [
377                  'location' => 'query',
378                  'type' => 'string',
379                ],
380                'sortField' => [
381                  'location' => 'query',
382                  'type' => 'string',
383                ],
384                'sortOrder' => [
385                  'location' => 'query',
386                  'type' => 'string',
387                ],
388              ],
389            ],'patch' => [
390              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accounts',
391              'httpMethod' => 'PATCH',
392              'parameters' => [
393                'profileId' => [
394                  'location' => 'path',
395                  'type' => 'string',
396                  'required' => true,
397                ],
398                'id' => [
399                  'location' => 'query',
400                  'type' => 'string',
401                  'required' => true,
402                ],
403              ],
404            ],'update' => [
405              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/accounts',
406              'httpMethod' => 'PUT',
407              'parameters' => [
408                'profileId' => [
409                  'location' => 'path',
410                  'type' => 'string',
411                  'required' => true,
412                ],
413              ],
414            ],
415          ]
416        ]
417    );
418    $this->ads = new Dfareporting\Resource\Ads(
419        $this,
420        $this->serviceName,
421        'ads',
422        [
423          'methods' => [
424            'get' => [
425              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/ads/{id}',
426              'httpMethod' => 'GET',
427              'parameters' => [
428                'profileId' => [
429                  'location' => 'path',
430                  'type' => 'string',
431                  'required' => true,
432                ],
433                'id' => [
434                  'location' => 'path',
435                  'type' => 'string',
436                  'required' => true,
437                ],
438              ],
439            ],'insert' => [
440              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/ads',
441              'httpMethod' => 'POST',
442              'parameters' => [
443                'profileId' => [
444                  'location' => 'path',
445                  'type' => 'string',
446                  'required' => true,
447                ],
448              ],
449            ],'list' => [
450              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/ads',
451              'httpMethod' => 'GET',
452              'parameters' => [
453                'profileId' => [
454                  'location' => 'path',
455                  'type' => 'string',
456                  'required' => true,
457                ],
458                'active' => [
459                  'location' => 'query',
460                  'type' => 'boolean',
461                ],
462                'advertiserId' => [
463                  'location' => 'query',
464                  'type' => 'string',
465                ],
466                'archived' => [
467                  'location' => 'query',
468                  'type' => 'boolean',
469                ],
470                'audienceSegmentIds' => [
471                  'location' => 'query',
472                  'type' => 'string',
473                  'repeated' => true,
474                ],
475                'campaignIds' => [
476                  'location' => 'query',
477                  'type' => 'string',
478                  'repeated' => true,
479                ],
480                'compatibility' => [
481                  'location' => 'query',
482                  'type' => 'string',
483                ],
484                'creativeIds' => [
485                  'location' => 'query',
486                  'type' => 'string',
487                  'repeated' => true,
488                ],
489                'creativeOptimizationConfigurationIds' => [
490                  'location' => 'query',
491                  'type' => 'string',
492                  'repeated' => true,
493                ],
494                'dynamicClickTracker' => [
495                  'location' => 'query',
496                  'type' => 'boolean',
497                ],
498                'ids' => [
499                  'location' => 'query',
500                  'type' => 'string',
501                  'repeated' => true,
502                ],
503                'landingPageIds' => [
504                  'location' => 'query',
505                  'type' => 'string',
506                  'repeated' => true,
507                ],
508                'maxResults' => [
509                  'location' => 'query',
510                  'type' => 'integer',
511                ],
512                'overriddenEventTagId' => [
513                  'location' => 'query',
514                  'type' => 'string',
515                ],
516                'pageToken' => [
517                  'location' => 'query',
518                  'type' => 'string',
519                ],
520                'placementIds' => [
521                  'location' => 'query',
522                  'type' => 'string',
523                  'repeated' => true,
524                ],
525                'remarketingListIds' => [
526                  'location' => 'query',
527                  'type' => 'string',
528                  'repeated' => true,
529                ],
530                'searchString' => [
531                  'location' => 'query',
532                  'type' => 'string',
533                ],
534                'sizeIds' => [
535                  'location' => 'query',
536                  'type' => 'string',
537                  'repeated' => true,
538                ],
539                'sortField' => [
540                  'location' => 'query',
541                  'type' => 'string',
542                ],
543                'sortOrder' => [
544                  'location' => 'query',
545                  'type' => 'string',
546                ],
547                'sslCompliant' => [
548                  'location' => 'query',
549                  'type' => 'boolean',
550                ],
551                'sslRequired' => [
552                  'location' => 'query',
553                  'type' => 'boolean',
554                ],
555                'type' => [
556                  'location' => 'query',
557                  'type' => 'string',
558                  'repeated' => true,
559                ],
560              ],
561            ],'patch' => [
562              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/ads',
563              'httpMethod' => 'PATCH',
564              'parameters' => [
565                'profileId' => [
566                  'location' => 'path',
567                  'type' => 'string',
568                  'required' => true,
569                ],
570                'id' => [
571                  'location' => 'query',
572                  'type' => 'string',
573                  'required' => true,
574                ],
575              ],
576            ],'update' => [
577              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/ads',
578              'httpMethod' => 'PUT',
579              'parameters' => [
580                'profileId' => [
581                  'location' => 'path',
582                  'type' => 'string',
583                  'required' => true,
584                ],
585              ],
586            ],
587          ]
588        ]
589    );
590    $this->advertiserGroups = new Dfareporting\Resource\AdvertiserGroups(
591        $this,
592        $this->serviceName,
593        'advertiserGroups',
594        [
595          'methods' => [
596            'delete' => [
597              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertiserGroups/{id}',
598              'httpMethod' => 'DELETE',
599              'parameters' => [
600                'profileId' => [
601                  'location' => 'path',
602                  'type' => 'string',
603                  'required' => true,
604                ],
605                'id' => [
606                  'location' => 'path',
607                  'type' => 'string',
608                  'required' => true,
609                ],
610              ],
611            ],'get' => [
612              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertiserGroups/{id}',
613              'httpMethod' => 'GET',
614              'parameters' => [
615                'profileId' => [
616                  'location' => 'path',
617                  'type' => 'string',
618                  'required' => true,
619                ],
620                'id' => [
621                  'location' => 'path',
622                  'type' => 'string',
623                  'required' => true,
624                ],
625              ],
626            ],'insert' => [
627              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertiserGroups',
628              'httpMethod' => 'POST',
629              'parameters' => [
630                'profileId' => [
631                  'location' => 'path',
632                  'type' => 'string',
633                  'required' => true,
634                ],
635              ],
636            ],'list' => [
637              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertiserGroups',
638              'httpMethod' => 'GET',
639              'parameters' => [
640                'profileId' => [
641                  'location' => 'path',
642                  'type' => 'string',
643                  'required' => true,
644                ],
645                'ids' => [
646                  'location' => 'query',
647                  'type' => 'string',
648                  'repeated' => true,
649                ],
650                'maxResults' => [
651                  'location' => 'query',
652                  'type' => 'integer',
653                ],
654                'pageToken' => [
655                  'location' => 'query',
656                  'type' => 'string',
657                ],
658                'searchString' => [
659                  'location' => 'query',
660                  'type' => 'string',
661                ],
662                'sortField' => [
663                  'location' => 'query',
664                  'type' => 'string',
665                ],
666                'sortOrder' => [
667                  'location' => 'query',
668                  'type' => 'string',
669                ],
670              ],
671            ],'patch' => [
672              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertiserGroups',
673              'httpMethod' => 'PATCH',
674              'parameters' => [
675                'profileId' => [
676                  'location' => 'path',
677                  'type' => 'string',
678                  'required' => true,
679                ],
680                'id' => [
681                  'location' => 'query',
682                  'type' => 'string',
683                  'required' => true,
684                ],
685              ],
686            ],'update' => [
687              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertiserGroups',
688              'httpMethod' => 'PUT',
689              'parameters' => [
690                'profileId' => [
691                  'location' => 'path',
692                  'type' => 'string',
693                  'required' => true,
694                ],
695              ],
696            ],
697          ]
698        ]
699    );
700    $this->advertiserLandingPages = new Dfareporting\Resource\AdvertiserLandingPages(
701        $this,
702        $this->serviceName,
703        'advertiserLandingPages',
704        [
705          'methods' => [
706            'get' => [
707              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertiserLandingPages/{id}',
708              'httpMethod' => 'GET',
709              'parameters' => [
710                'profileId' => [
711                  'location' => 'path',
712                  'type' => 'string',
713                  'required' => true,
714                ],
715                'id' => [
716                  'location' => 'path',
717                  'type' => 'string',
718                  'required' => true,
719                ],
720              ],
721            ],'insert' => [
722              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertiserLandingPages',
723              'httpMethod' => 'POST',
724              'parameters' => [
725                'profileId' => [
726                  'location' => 'path',
727                  'type' => 'string',
728                  'required' => true,
729                ],
730              ],
731            ],'list' => [
732              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertiserLandingPages',
733              'httpMethod' => 'GET',
734              'parameters' => [
735                'profileId' => [
736                  'location' => 'path',
737                  'type' => 'string',
738                  'required' => true,
739                ],
740                'advertiserIds' => [
741                  'location' => 'query',
742                  'type' => 'string',
743                  'repeated' => true,
744                ],
745                'archived' => [
746                  'location' => 'query',
747                  'type' => 'boolean',
748                ],
749                'campaignIds' => [
750                  'location' => 'query',
751                  'type' => 'string',
752                  'repeated' => true,
753                ],
754                'ids' => [
755                  'location' => 'query',
756                  'type' => 'string',
757                  'repeated' => true,
758                ],
759                'maxResults' => [
760                  'location' => 'query',
761                  'type' => 'integer',
762                ],
763                'pageToken' => [
764                  'location' => 'query',
765                  'type' => 'string',
766                ],
767                'searchString' => [
768                  'location' => 'query',
769                  'type' => 'string',
770                ],
771                'sortField' => [
772                  'location' => 'query',
773                  'type' => 'string',
774                ],
775                'sortOrder' => [
776                  'location' => 'query',
777                  'type' => 'string',
778                ],
779                'subaccountId' => [
780                  'location' => 'query',
781                  'type' => 'string',
782                ],
783              ],
784            ],'patch' => [
785              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertiserLandingPages',
786              'httpMethod' => 'PATCH',
787              'parameters' => [
788                'profileId' => [
789                  'location' => 'path',
790                  'type' => 'string',
791                  'required' => true,
792                ],
793                'id' => [
794                  'location' => 'query',
795                  'type' => 'string',
796                  'required' => true,
797                ],
798              ],
799            ],'update' => [
800              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertiserLandingPages',
801              'httpMethod' => 'PUT',
802              'parameters' => [
803                'profileId' => [
804                  'location' => 'path',
805                  'type' => 'string',
806                  'required' => true,
807                ],
808              ],
809            ],
810          ]
811        ]
812    );
813    $this->advertisers = new Dfareporting\Resource\Advertisers(
814        $this,
815        $this->serviceName,
816        'advertisers',
817        [
818          'methods' => [
819            'get' => [
820              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertisers/{id}',
821              'httpMethod' => 'GET',
822              'parameters' => [
823                'profileId' => [
824                  'location' => 'path',
825                  'type' => 'string',
826                  'required' => true,
827                ],
828                'id' => [
829                  'location' => 'path',
830                  'type' => 'string',
831                  'required' => true,
832                ],
833              ],
834            ],'insert' => [
835              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertisers',
836              'httpMethod' => 'POST',
837              'parameters' => [
838                'profileId' => [
839                  'location' => 'path',
840                  'type' => 'string',
841                  'required' => true,
842                ],
843              ],
844            ],'list' => [
845              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertisers',
846              'httpMethod' => 'GET',
847              'parameters' => [
848                'profileId' => [
849                  'location' => 'path',
850                  'type' => 'string',
851                  'required' => true,
852                ],
853                'advertiserGroupIds' => [
854                  'location' => 'query',
855                  'type' => 'string',
856                  'repeated' => true,
857                ],
858                'floodlightConfigurationIds' => [
859                  'location' => 'query',
860                  'type' => 'string',
861                  'repeated' => true,
862                ],
863                'ids' => [
864                  'location' => 'query',
865                  'type' => 'string',
866                  'repeated' => true,
867                ],
868                'includeAdvertisersWithoutGroupsOnly' => [
869                  'location' => 'query',
870                  'type' => 'boolean',
871                ],
872                'maxResults' => [
873                  'location' => 'query',
874                  'type' => 'integer',
875                ],
876                'onlyParent' => [
877                  'location' => 'query',
878                  'type' => 'boolean',
879                ],
880                'pageToken' => [
881                  'location' => 'query',
882                  'type' => 'string',
883                ],
884                'searchString' => [
885                  'location' => 'query',
886                  'type' => 'string',
887                ],
888                'sortField' => [
889                  'location' => 'query',
890                  'type' => 'string',
891                ],
892                'sortOrder' => [
893                  'location' => 'query',
894                  'type' => 'string',
895                ],
896                'status' => [
897                  'location' => 'query',
898                  'type' => 'string',
899                ],
900                'subaccountId' => [
901                  'location' => 'query',
902                  'type' => 'string',
903                ],
904              ],
905            ],'patch' => [
906              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertisers',
907              'httpMethod' => 'PATCH',
908              'parameters' => [
909                'profileId' => [
910                  'location' => 'path',
911                  'type' => 'string',
912                  'required' => true,
913                ],
914                'id' => [
915                  'location' => 'query',
916                  'type' => 'string',
917                  'required' => true,
918                ],
919              ],
920            ],'update' => [
921              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/advertisers',
922              'httpMethod' => 'PUT',
923              'parameters' => [
924                'profileId' => [
925                  'location' => 'path',
926                  'type' => 'string',
927                  'required' => true,
928                ],
929              ],
930            ],
931          ]
932        ]
933    );
934    $this->browsers = new Dfareporting\Resource\Browsers(
935        $this,
936        $this->serviceName,
937        'browsers',
938        [
939          'methods' => [
940            'list' => [
941              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/browsers',
942              'httpMethod' => 'GET',
943              'parameters' => [
944                'profileId' => [
945                  'location' => 'path',
946                  'type' => 'string',
947                  'required' => true,
948                ],
949              ],
950            ],
951          ]
952        ]
953    );
954    $this->campaignCreativeAssociations = new Dfareporting\Resource\CampaignCreativeAssociations(
955        $this,
956        $this->serviceName,
957        'campaignCreativeAssociations',
958        [
959          'methods' => [
960            'insert' => [
961              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations',
962              'httpMethod' => 'POST',
963              'parameters' => [
964                'profileId' => [
965                  'location' => 'path',
966                  'type' => 'string',
967                  'required' => true,
968                ],
969                'campaignId' => [
970                  'location' => 'path',
971                  'type' => 'string',
972                  'required' => true,
973                ],
974              ],
975            ],'list' => [
976              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations',
977              'httpMethod' => 'GET',
978              'parameters' => [
979                'profileId' => [
980                  'location' => 'path',
981                  'type' => 'string',
982                  'required' => true,
983                ],
984                'campaignId' => [
985                  'location' => 'path',
986                  'type' => 'string',
987                  'required' => true,
988                ],
989                'maxResults' => [
990                  'location' => 'query',
991                  'type' => 'integer',
992                ],
993                'pageToken' => [
994                  'location' => 'query',
995                  'type' => 'string',
996                ],
997                'sortOrder' => [
998                  'location' => 'query',
999                  'type' => 'string',
1000                ],
1001              ],
1002            ],
1003          ]
1004        ]
1005    );
1006    $this->campaigns = new Dfareporting\Resource\Campaigns(
1007        $this,
1008        $this->serviceName,
1009        'campaigns',
1010        [
1011          'methods' => [
1012            'get' => [
1013              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/campaigns/{id}',
1014              'httpMethod' => 'GET',
1015              'parameters' => [
1016                'profileId' => [
1017                  'location' => 'path',
1018                  'type' => 'string',
1019                  'required' => true,
1020                ],
1021                'id' => [
1022                  'location' => 'path',
1023                  'type' => 'string',
1024                  'required' => true,
1025                ],
1026              ],
1027            ],'insert' => [
1028              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/campaigns',
1029              'httpMethod' => 'POST',
1030              'parameters' => [
1031                'profileId' => [
1032                  'location' => 'path',
1033                  'type' => 'string',
1034                  'required' => true,
1035                ],
1036              ],
1037            ],'list' => [
1038              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/campaigns',
1039              'httpMethod' => 'GET',
1040              'parameters' => [
1041                'profileId' => [
1042                  'location' => 'path',
1043                  'type' => 'string',
1044                  'required' => true,
1045                ],
1046                'advertiserGroupIds' => [
1047                  'location' => 'query',
1048                  'type' => 'string',
1049                  'repeated' => true,
1050                ],
1051                'advertiserIds' => [
1052                  'location' => 'query',
1053                  'type' => 'string',
1054                  'repeated' => true,
1055                ],
1056                'archived' => [
1057                  'location' => 'query',
1058                  'type' => 'boolean',
1059                ],
1060                'atLeastOneOptimizationActivity' => [
1061                  'location' => 'query',
1062                  'type' => 'boolean',
1063                ],
1064                'excludedIds' => [
1065                  'location' => 'query',
1066                  'type' => 'string',
1067                  'repeated' => true,
1068                ],
1069                'ids' => [
1070                  'location' => 'query',
1071                  'type' => 'string',
1072                  'repeated' => true,
1073                ],
1074                'maxResults' => [
1075                  'location' => 'query',
1076                  'type' => 'integer',
1077                ],
1078                'overriddenEventTagId' => [
1079                  'location' => 'query',
1080                  'type' => 'string',
1081                ],
1082                'pageToken' => [
1083                  'location' => 'query',
1084                  'type' => 'string',
1085                ],
1086                'searchString' => [
1087                  'location' => 'query',
1088                  'type' => 'string',
1089                ],
1090                'sortField' => [
1091                  'location' => 'query',
1092                  'type' => 'string',
1093                ],
1094                'sortOrder' => [
1095                  'location' => 'query',
1096                  'type' => 'string',
1097                ],
1098                'subaccountId' => [
1099                  'location' => 'query',
1100                  'type' => 'string',
1101                ],
1102              ],
1103            ],'patch' => [
1104              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/campaigns',
1105              'httpMethod' => 'PATCH',
1106              'parameters' => [
1107                'profileId' => [
1108                  'location' => 'path',
1109                  'type' => 'string',
1110                  'required' => true,
1111                ],
1112                'id' => [
1113                  'location' => 'query',
1114                  'type' => 'string',
1115                  'required' => true,
1116                ],
1117              ],
1118            ],'update' => [
1119              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/campaigns',
1120              'httpMethod' => 'PUT',
1121              'parameters' => [
1122                'profileId' => [
1123                  'location' => 'path',
1124                  'type' => 'string',
1125                  'required' => true,
1126                ],
1127              ],
1128            ],
1129          ]
1130        ]
1131    );
1132    $this->changeLogs = new Dfareporting\Resource\ChangeLogs(
1133        $this,
1134        $this->serviceName,
1135        'changeLogs',
1136        [
1137          'methods' => [
1138            'get' => [
1139              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/changeLogs/{id}',
1140              'httpMethod' => 'GET',
1141              'parameters' => [
1142                'profileId' => [
1143                  'location' => 'path',
1144                  'type' => 'string',
1145                  'required' => true,
1146                ],
1147                'id' => [
1148                  'location' => 'path',
1149                  'type' => 'string',
1150                  'required' => true,
1151                ],
1152              ],
1153            ],'list' => [
1154              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/changeLogs',
1155              'httpMethod' => 'GET',
1156              'parameters' => [
1157                'profileId' => [
1158                  'location' => 'path',
1159                  'type' => 'string',
1160                  'required' => true,
1161                ],
1162                'action' => [
1163                  'location' => 'query',
1164                  'type' => 'string',
1165                ],
1166                'ids' => [
1167                  'location' => 'query',
1168                  'type' => 'string',
1169                  'repeated' => true,
1170                ],
1171                'maxChangeTime' => [
1172                  'location' => 'query',
1173                  'type' => 'string',
1174                ],
1175                'maxResults' => [
1176                  'location' => 'query',
1177                  'type' => 'integer',
1178                ],
1179                'minChangeTime' => [
1180                  'location' => 'query',
1181                  'type' => 'string',
1182                ],
1183                'objectIds' => [
1184                  'location' => 'query',
1185                  'type' => 'string',
1186                  'repeated' => true,
1187                ],
1188                'objectType' => [
1189                  'location' => 'query',
1190                  'type' => 'string',
1191                ],
1192                'pageToken' => [
1193                  'location' => 'query',
1194                  'type' => 'string',
1195                ],
1196                'searchString' => [
1197                  'location' => 'query',
1198                  'type' => 'string',
1199                ],
1200                'userProfileIds' => [
1201                  'location' => 'query',
1202                  'type' => 'string',
1203                  'repeated' => true,
1204                ],
1205              ],
1206            ],
1207          ]
1208        ]
1209    );
1210    $this->cities = new Dfareporting\Resource\Cities(
1211        $this,
1212        $this->serviceName,
1213        'cities',
1214        [
1215          'methods' => [
1216            'list' => [
1217              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/cities',
1218              'httpMethod' => 'GET',
1219              'parameters' => [
1220                'profileId' => [
1221                  'location' => 'path',
1222                  'type' => 'string',
1223                  'required' => true,
1224                ],
1225                'countryDartIds' => [
1226                  'location' => 'query',
1227                  'type' => 'string',
1228                  'repeated' => true,
1229                ],
1230                'dartIds' => [
1231                  'location' => 'query',
1232                  'type' => 'string',
1233                  'repeated' => true,
1234                ],
1235                'namePrefix' => [
1236                  'location' => 'query',
1237                  'type' => 'string',
1238                ],
1239                'regionDartIds' => [
1240                  'location' => 'query',
1241                  'type' => 'string',
1242                  'repeated' => true,
1243                ],
1244              ],
1245            ],
1246          ]
1247        ]
1248    );
1249    $this->connectionTypes = new Dfareporting\Resource\ConnectionTypes(
1250        $this,
1251        $this->serviceName,
1252        'connectionTypes',
1253        [
1254          'methods' => [
1255            'get' => [
1256              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/connectionTypes/{id}',
1257              'httpMethod' => 'GET',
1258              'parameters' => [
1259                'profileId' => [
1260                  'location' => 'path',
1261                  'type' => 'string',
1262                  'required' => true,
1263                ],
1264                'id' => [
1265                  'location' => 'path',
1266                  'type' => 'string',
1267                  'required' => true,
1268                ],
1269              ],
1270            ],'list' => [
1271              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/connectionTypes',
1272              'httpMethod' => 'GET',
1273              'parameters' => [
1274                'profileId' => [
1275                  'location' => 'path',
1276                  'type' => 'string',
1277                  'required' => true,
1278                ],
1279              ],
1280            ],
1281          ]
1282        ]
1283    );
1284    $this->contentCategories = new Dfareporting\Resource\ContentCategories(
1285        $this,
1286        $this->serviceName,
1287        'contentCategories',
1288        [
1289          'methods' => [
1290            'delete' => [
1291              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/contentCategories/{id}',
1292              'httpMethod' => 'DELETE',
1293              'parameters' => [
1294                'profileId' => [
1295                  'location' => 'path',
1296                  'type' => 'string',
1297                  'required' => true,
1298                ],
1299                'id' => [
1300                  'location' => 'path',
1301                  'type' => 'string',
1302                  'required' => true,
1303                ],
1304              ],
1305            ],'get' => [
1306              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/contentCategories/{id}',
1307              'httpMethod' => 'GET',
1308              'parameters' => [
1309                'profileId' => [
1310                  'location' => 'path',
1311                  'type' => 'string',
1312                  'required' => true,
1313                ],
1314                'id' => [
1315                  'location' => 'path',
1316                  'type' => 'string',
1317                  'required' => true,
1318                ],
1319              ],
1320            ],'insert' => [
1321              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/contentCategories',
1322              'httpMethod' => 'POST',
1323              'parameters' => [
1324                'profileId' => [
1325                  'location' => 'path',
1326                  'type' => 'string',
1327                  'required' => true,
1328                ],
1329              ],
1330            ],'list' => [
1331              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/contentCategories',
1332              'httpMethod' => 'GET',
1333              'parameters' => [
1334                'profileId' => [
1335                  'location' => 'path',
1336                  'type' => 'string',
1337                  'required' => true,
1338                ],
1339                'ids' => [
1340                  'location' => 'query',
1341                  'type' => 'string',
1342                  'repeated' => true,
1343                ],
1344                'maxResults' => [
1345                  'location' => 'query',
1346                  'type' => 'integer',
1347                ],
1348                'pageToken' => [
1349                  'location' => 'query',
1350                  'type' => 'string',
1351                ],
1352                'searchString' => [
1353                  'location' => 'query',
1354                  'type' => 'string',
1355                ],
1356                'sortField' => [
1357                  'location' => 'query',
1358                  'type' => 'string',
1359                ],
1360                'sortOrder' => [
1361                  'location' => 'query',
1362                  'type' => 'string',
1363                ],
1364              ],
1365            ],'patch' => [
1366              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/contentCategories',
1367              'httpMethod' => 'PATCH',
1368              'parameters' => [
1369                'profileId' => [
1370                  'location' => 'path',
1371                  'type' => 'string',
1372                  'required' => true,
1373                ],
1374                'id' => [
1375                  'location' => 'query',
1376                  'type' => 'string',
1377                  'required' => true,
1378                ],
1379              ],
1380            ],'update' => [
1381              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/contentCategories',
1382              'httpMethod' => 'PUT',
1383              'parameters' => [
1384                'profileId' => [
1385                  'location' => 'path',
1386                  'type' => 'string',
1387                  'required' => true,
1388                ],
1389              ],
1390            ],
1391          ]
1392        ]
1393    );
1394    $this->conversions = new Dfareporting\Resource\Conversions(
1395        $this,
1396        $this->serviceName,
1397        'conversions',
1398        [
1399          'methods' => [
1400            'batchinsert' => [
1401              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/conversions/batchinsert',
1402              'httpMethod' => 'POST',
1403              'parameters' => [
1404                'profileId' => [
1405                  'location' => 'path',
1406                  'type' => 'string',
1407                  'required' => true,
1408                ],
1409              ],
1410            ],'batchupdate' => [
1411              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/conversions/batchupdate',
1412              'httpMethod' => 'POST',
1413              'parameters' => [
1414                'profileId' => [
1415                  'location' => 'path',
1416                  'type' => 'string',
1417                  'required' => true,
1418                ],
1419              ],
1420            ],
1421          ]
1422        ]
1423    );
1424    $this->countries = new Dfareporting\Resource\Countries(
1425        $this,
1426        $this->serviceName,
1427        'countries',
1428        [
1429          'methods' => [
1430            'get' => [
1431              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/countries/{dartId}',
1432              'httpMethod' => 'GET',
1433              'parameters' => [
1434                'profileId' => [
1435                  'location' => 'path',
1436                  'type' => 'string',
1437                  'required' => true,
1438                ],
1439                'dartId' => [
1440                  'location' => 'path',
1441                  'type' => 'string',
1442                  'required' => true,
1443                ],
1444              ],
1445            ],'list' => [
1446              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/countries',
1447              'httpMethod' => 'GET',
1448              'parameters' => [
1449                'profileId' => [
1450                  'location' => 'path',
1451                  'type' => 'string',
1452                  'required' => true,
1453                ],
1454              ],
1455            ],
1456          ]
1457        ]
1458    );
1459    $this->creativeAssets = new Dfareporting\Resource\CreativeAssets(
1460        $this,
1461        $this->serviceName,
1462        'creativeAssets',
1463        [
1464          'methods' => [
1465            'insert' => [
1466              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets',
1467              'httpMethod' => 'POST',
1468              'parameters' => [
1469                'profileId' => [
1470                  'location' => 'path',
1471                  'type' => 'string',
1472                  'required' => true,
1473                ],
1474                'advertiserId' => [
1475                  'location' => 'path',
1476                  'type' => 'string',
1477                  'required' => true,
1478                ],
1479              ],
1480            ],
1481          ]
1482        ]
1483    );
1484    $this->creativeFieldValues = new Dfareporting\Resource\CreativeFieldValues(
1485        $this,
1486        $this->serviceName,
1487        'creativeFieldValues',
1488        [
1489          'methods' => [
1490            'delete' => [
1491              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}',
1492              'httpMethod' => 'DELETE',
1493              'parameters' => [
1494                'profileId' => [
1495                  'location' => 'path',
1496                  'type' => 'string',
1497                  'required' => true,
1498                ],
1499                'creativeFieldId' => [
1500                  'location' => 'path',
1501                  'type' => 'string',
1502                  'required' => true,
1503                ],
1504                'id' => [
1505                  'location' => 'path',
1506                  'type' => 'string',
1507                  'required' => true,
1508                ],
1509              ],
1510            ],'get' => [
1511              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}',
1512              'httpMethod' => 'GET',
1513              'parameters' => [
1514                'profileId' => [
1515                  'location' => 'path',
1516                  'type' => 'string',
1517                  'required' => true,
1518                ],
1519                'creativeFieldId' => [
1520                  'location' => 'path',
1521                  'type' => 'string',
1522                  'required' => true,
1523                ],
1524                'id' => [
1525                  'location' => 'path',
1526                  'type' => 'string',
1527                  'required' => true,
1528                ],
1529              ],
1530            ],'insert' => [
1531              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues',
1532              'httpMethod' => 'POST',
1533              'parameters' => [
1534                'profileId' => [
1535                  'location' => 'path',
1536                  'type' => 'string',
1537                  'required' => true,
1538                ],
1539                'creativeFieldId' => [
1540                  'location' => 'path',
1541                  'type' => 'string',
1542                  'required' => true,
1543                ],
1544              ],
1545            ],'list' => [
1546              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues',
1547              'httpMethod' => 'GET',
1548              'parameters' => [
1549                'profileId' => [
1550                  'location' => 'path',
1551                  'type' => 'string',
1552                  'required' => true,
1553                ],
1554                'creativeFieldId' => [
1555                  'location' => 'path',
1556                  'type' => 'string',
1557                  'required' => true,
1558                ],
1559                'ids' => [
1560                  'location' => 'query',
1561                  'type' => 'string',
1562                  'repeated' => true,
1563                ],
1564                'maxResults' => [
1565                  'location' => 'query',
1566                  'type' => 'integer',
1567                ],
1568                'pageToken' => [
1569                  'location' => 'query',
1570                  'type' => 'string',
1571                ],
1572                'searchString' => [
1573                  'location' => 'query',
1574                  'type' => 'string',
1575                ],
1576                'sortField' => [
1577                  'location' => 'query',
1578                  'type' => 'string',
1579                ],
1580                'sortOrder' => [
1581                  'location' => 'query',
1582                  'type' => 'string',
1583                ],
1584              ],
1585            ],'patch' => [
1586              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues',
1587              'httpMethod' => 'PATCH',
1588              'parameters' => [
1589                'profileId' => [
1590                  'location' => 'path',
1591                  'type' => 'string',
1592                  'required' => true,
1593                ],
1594                'creativeFieldId' => [
1595                  'location' => 'path',
1596                  'type' => 'string',
1597                  'required' => true,
1598                ],
1599                'id' => [
1600                  'location' => 'query',
1601                  'type' => 'string',
1602                  'required' => true,
1603                ],
1604              ],
1605            ],'update' => [
1606              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues',
1607              'httpMethod' => 'PUT',
1608              'parameters' => [
1609                'profileId' => [
1610                  'location' => 'path',
1611                  'type' => 'string',
1612                  'required' => true,
1613                ],
1614                'creativeFieldId' => [
1615                  'location' => 'path',
1616                  'type' => 'string',
1617                  'required' => true,
1618                ],
1619              ],
1620            ],
1621          ]
1622        ]
1623    );
1624    $this->creativeFields = new Dfareporting\Resource\CreativeFields(
1625        $this,
1626        $this->serviceName,
1627        'creativeFields',
1628        [
1629          'methods' => [
1630            'delete' => [
1631              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{id}',
1632              'httpMethod' => 'DELETE',
1633              'parameters' => [
1634                'profileId' => [
1635                  'location' => 'path',
1636                  'type' => 'string',
1637                  'required' => true,
1638                ],
1639                'id' => [
1640                  'location' => 'path',
1641                  'type' => 'string',
1642                  'required' => true,
1643                ],
1644              ],
1645            ],'get' => [
1646              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeFields/{id}',
1647              'httpMethod' => 'GET',
1648              'parameters' => [
1649                'profileId' => [
1650                  'location' => 'path',
1651                  'type' => 'string',
1652                  'required' => true,
1653                ],
1654                'id' => [
1655                  'location' => 'path',
1656                  'type' => 'string',
1657                  'required' => true,
1658                ],
1659              ],
1660            ],'insert' => [
1661              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeFields',
1662              'httpMethod' => 'POST',
1663              'parameters' => [
1664                'profileId' => [
1665                  'location' => 'path',
1666                  'type' => 'string',
1667                  'required' => true,
1668                ],
1669              ],
1670            ],'list' => [
1671              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeFields',
1672              'httpMethod' => 'GET',
1673              'parameters' => [
1674                'profileId' => [
1675                  'location' => 'path',
1676                  'type' => 'string',
1677                  'required' => true,
1678                ],
1679                'advertiserIds' => [
1680                  'location' => 'query',
1681                  'type' => 'string',
1682                  'repeated' => true,
1683                ],
1684                'ids' => [
1685                  'location' => 'query',
1686                  'type' => 'string',
1687                  'repeated' => true,
1688                ],
1689                'maxResults' => [
1690                  'location' => 'query',
1691                  'type' => 'integer',
1692                ],
1693                'pageToken' => [
1694                  'location' => 'query',
1695                  'type' => 'string',
1696                ],
1697                'searchString' => [
1698                  'location' => 'query',
1699                  'type' => 'string',
1700                ],
1701                'sortField' => [
1702                  'location' => 'query',
1703                  'type' => 'string',
1704                ],
1705                'sortOrder' => [
1706                  'location' => 'query',
1707                  'type' => 'string',
1708                ],
1709              ],
1710            ],'patch' => [
1711              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeFields',
1712              'httpMethod' => 'PATCH',
1713              'parameters' => [
1714                'profileId' => [
1715                  'location' => 'path',
1716                  'type' => 'string',
1717                  'required' => true,
1718                ],
1719                'id' => [
1720                  'location' => 'query',
1721                  'type' => 'string',
1722                  'required' => true,
1723                ],
1724              ],
1725            ],'update' => [
1726              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeFields',
1727              'httpMethod' => 'PUT',
1728              'parameters' => [
1729                'profileId' => [
1730                  'location' => 'path',
1731                  'type' => 'string',
1732                  'required' => true,
1733                ],
1734              ],
1735            ],
1736          ]
1737        ]
1738    );
1739    $this->creativeGroups = new Dfareporting\Resource\CreativeGroups(
1740        $this,
1741        $this->serviceName,
1742        'creativeGroups',
1743        [
1744          'methods' => [
1745            'get' => [
1746              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeGroups/{id}',
1747              'httpMethod' => 'GET',
1748              'parameters' => [
1749                'profileId' => [
1750                  'location' => 'path',
1751                  'type' => 'string',
1752                  'required' => true,
1753                ],
1754                'id' => [
1755                  'location' => 'path',
1756                  'type' => 'string',
1757                  'required' => true,
1758                ],
1759              ],
1760            ],'insert' => [
1761              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeGroups',
1762              'httpMethod' => 'POST',
1763              'parameters' => [
1764                'profileId' => [
1765                  'location' => 'path',
1766                  'type' => 'string',
1767                  'required' => true,
1768                ],
1769              ],
1770            ],'list' => [
1771              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeGroups',
1772              'httpMethod' => 'GET',
1773              'parameters' => [
1774                'profileId' => [
1775                  'location' => 'path',
1776                  'type' => 'string',
1777                  'required' => true,
1778                ],
1779                'advertiserIds' => [
1780                  'location' => 'query',
1781                  'type' => 'string',
1782                  'repeated' => true,
1783                ],
1784                'groupNumber' => [
1785                  'location' => 'query',
1786                  'type' => 'integer',
1787                ],
1788                'ids' => [
1789                  'location' => 'query',
1790                  'type' => 'string',
1791                  'repeated' => true,
1792                ],
1793                'maxResults' => [
1794                  'location' => 'query',
1795                  'type' => 'integer',
1796                ],
1797                'pageToken' => [
1798                  'location' => 'query',
1799                  'type' => 'string',
1800                ],
1801                'searchString' => [
1802                  'location' => 'query',
1803                  'type' => 'string',
1804                ],
1805                'sortField' => [
1806                  'location' => 'query',
1807                  'type' => 'string',
1808                ],
1809                'sortOrder' => [
1810                  'location' => 'query',
1811                  'type' => 'string',
1812                ],
1813              ],
1814            ],'patch' => [
1815              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeGroups',
1816              'httpMethod' => 'PATCH',
1817              'parameters' => [
1818                'profileId' => [
1819                  'location' => 'path',
1820                  'type' => 'string',
1821                  'required' => true,
1822                ],
1823                'id' => [
1824                  'location' => 'query',
1825                  'type' => 'string',
1826                  'required' => true,
1827                ],
1828              ],
1829            ],'update' => [
1830              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creativeGroups',
1831              'httpMethod' => 'PUT',
1832              'parameters' => [
1833                'profileId' => [
1834                  'location' => 'path',
1835                  'type' => 'string',
1836                  'required' => true,
1837                ],
1838              ],
1839            ],
1840          ]
1841        ]
1842    );
1843    $this->creatives = new Dfareporting\Resource\Creatives(
1844        $this,
1845        $this->serviceName,
1846        'creatives',
1847        [
1848          'methods' => [
1849            'get' => [
1850              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creatives/{id}',
1851              'httpMethod' => 'GET',
1852              'parameters' => [
1853                'profileId' => [
1854                  'location' => 'path',
1855                  'type' => 'string',
1856                  'required' => true,
1857                ],
1858                'id' => [
1859                  'location' => 'path',
1860                  'type' => 'string',
1861                  'required' => true,
1862                ],
1863              ],
1864            ],'insert' => [
1865              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creatives',
1866              'httpMethod' => 'POST',
1867              'parameters' => [
1868                'profileId' => [
1869                  'location' => 'path',
1870                  'type' => 'string',
1871                  'required' => true,
1872                ],
1873              ],
1874            ],'list' => [
1875              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creatives',
1876              'httpMethod' => 'GET',
1877              'parameters' => [
1878                'profileId' => [
1879                  'location' => 'path',
1880                  'type' => 'string',
1881                  'required' => true,
1882                ],
1883                'active' => [
1884                  'location' => 'query',
1885                  'type' => 'boolean',
1886                ],
1887                'advertiserId' => [
1888                  'location' => 'query',
1889                  'type' => 'string',
1890                ],
1891                'archived' => [
1892                  'location' => 'query',
1893                  'type' => 'boolean',
1894                ],
1895                'campaignId' => [
1896                  'location' => 'query',
1897                  'type' => 'string',
1898                ],
1899                'companionCreativeIds' => [
1900                  'location' => 'query',
1901                  'type' => 'string',
1902                  'repeated' => true,
1903                ],
1904                'creativeFieldIds' => [
1905                  'location' => 'query',
1906                  'type' => 'string',
1907                  'repeated' => true,
1908                ],
1909                'ids' => [
1910                  'location' => 'query',
1911                  'type' => 'string',
1912                  'repeated' => true,
1913                ],
1914                'maxResults' => [
1915                  'location' => 'query',
1916                  'type' => 'integer',
1917                ],
1918                'pageToken' => [
1919                  'location' => 'query',
1920                  'type' => 'string',
1921                ],
1922                'renderingIds' => [
1923                  'location' => 'query',
1924                  'type' => 'string',
1925                  'repeated' => true,
1926                ],
1927                'searchString' => [
1928                  'location' => 'query',
1929                  'type' => 'string',
1930                ],
1931                'sizeIds' => [
1932                  'location' => 'query',
1933                  'type' => 'string',
1934                  'repeated' => true,
1935                ],
1936                'sortField' => [
1937                  'location' => 'query',
1938                  'type' => 'string',
1939                ],
1940                'sortOrder' => [
1941                  'location' => 'query',
1942                  'type' => 'string',
1943                ],
1944                'studioCreativeId' => [
1945                  'location' => 'query',
1946                  'type' => 'string',
1947                ],
1948                'types' => [
1949                  'location' => 'query',
1950                  'type' => 'string',
1951                  'repeated' => true,
1952                ],
1953              ],
1954            ],'patch' => [
1955              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creatives',
1956              'httpMethod' => 'PATCH',
1957              'parameters' => [
1958                'profileId' => [
1959                  'location' => 'path',
1960                  'type' => 'string',
1961                  'required' => true,
1962                ],
1963                'id' => [
1964                  'location' => 'query',
1965                  'type' => 'string',
1966                  'required' => true,
1967                ],
1968              ],
1969            ],'update' => [
1970              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/creatives',
1971              'httpMethod' => 'PUT',
1972              'parameters' => [
1973                'profileId' => [
1974                  'location' => 'path',
1975                  'type' => 'string',
1976                  'required' => true,
1977                ],
1978              ],
1979            ],
1980          ]
1981        ]
1982    );
1983    $this->dimensionValues = new Dfareporting\Resource\DimensionValues(
1984        $this,
1985        $this->serviceName,
1986        'dimensionValues',
1987        [
1988          'methods' => [
1989            'query' => [
1990              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/dimensionvalues/query',
1991              'httpMethod' => 'POST',
1992              'parameters' => [
1993                'profileId' => [
1994                  'location' => 'path',
1995                  'type' => 'string',
1996                  'required' => true,
1997                ],
1998                'maxResults' => [
1999                  'location' => 'query',
2000                  'type' => 'integer',
2001                ],
2002                'pageToken' => [
2003                  'location' => 'query',
2004                  'type' => 'string',
2005                ],
2006              ],
2007            ],
2008          ]
2009        ]
2010    );
2011    $this->directorySites = new Dfareporting\Resource\DirectorySites(
2012        $this,
2013        $this->serviceName,
2014        'directorySites',
2015        [
2016          'methods' => [
2017            'get' => [
2018              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/directorySites/{id}',
2019              'httpMethod' => 'GET',
2020              'parameters' => [
2021                'profileId' => [
2022                  'location' => 'path',
2023                  'type' => 'string',
2024                  'required' => true,
2025                ],
2026                'id' => [
2027                  'location' => 'path',
2028                  'type' => 'string',
2029                  'required' => true,
2030                ],
2031              ],
2032            ],'insert' => [
2033              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/directorySites',
2034              'httpMethod' => 'POST',
2035              'parameters' => [
2036                'profileId' => [
2037                  'location' => 'path',
2038                  'type' => 'string',
2039                  'required' => true,
2040                ],
2041              ],
2042            ],'list' => [
2043              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/directorySites',
2044              'httpMethod' => 'GET',
2045              'parameters' => [
2046                'profileId' => [
2047                  'location' => 'path',
2048                  'type' => 'string',
2049                  'required' => true,
2050                ],
2051                'acceptsInStreamVideoPlacements' => [
2052                  'location' => 'query',
2053                  'type' => 'boolean',
2054                ],
2055                'acceptsInterstitialPlacements' => [
2056                  'location' => 'query',
2057                  'type' => 'boolean',
2058                ],
2059                'acceptsPublisherPaidPlacements' => [
2060                  'location' => 'query',
2061                  'type' => 'boolean',
2062                ],
2063                'active' => [
2064                  'location' => 'query',
2065                  'type' => 'boolean',
2066                ],
2067                'dfpNetworkCode' => [
2068                  'location' => 'query',
2069                  'type' => 'string',
2070                ],
2071                'ids' => [
2072                  'location' => 'query',
2073                  'type' => 'string',
2074                  'repeated' => true,
2075                ],
2076                'maxResults' => [
2077                  'location' => 'query',
2078                  'type' => 'integer',
2079                ],
2080                'pageToken' => [
2081                  'location' => 'query',
2082                  'type' => 'string',
2083                ],
2084                'searchString' => [
2085                  'location' => 'query',
2086                  'type' => 'string',
2087                ],
2088                'sortField' => [
2089                  'location' => 'query',
2090                  'type' => 'string',
2091                ],
2092                'sortOrder' => [
2093                  'location' => 'query',
2094                  'type' => 'string',
2095                ],
2096              ],
2097            ],
2098          ]
2099        ]
2100    );
2101    $this->dynamicTargetingKeys = new Dfareporting\Resource\DynamicTargetingKeys(
2102        $this,
2103        $this->serviceName,
2104        'dynamicTargetingKeys',
2105        [
2106          'methods' => [
2107            'delete' => [
2108              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/dynamicTargetingKeys/{objectId}',
2109              'httpMethod' => 'DELETE',
2110              'parameters' => [
2111                'profileId' => [
2112                  'location' => 'path',
2113                  'type' => 'string',
2114                  'required' => true,
2115                ],
2116                'objectId' => [
2117                  'location' => 'path',
2118                  'type' => 'string',
2119                  'required' => true,
2120                ],
2121                'name' => [
2122                  'location' => 'query',
2123                  'type' => 'string',
2124                  'required' => true,
2125                ],
2126                'objectType' => [
2127                  'location' => 'query',
2128                  'type' => 'string',
2129                  'required' => true,
2130                ],
2131              ],
2132            ],'insert' => [
2133              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/dynamicTargetingKeys',
2134              'httpMethod' => 'POST',
2135              'parameters' => [
2136                'profileId' => [
2137                  'location' => 'path',
2138                  'type' => 'string',
2139                  'required' => true,
2140                ],
2141              ],
2142            ],'list' => [
2143              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/dynamicTargetingKeys',
2144              'httpMethod' => 'GET',
2145              'parameters' => [
2146                'profileId' => [
2147                  'location' => 'path',
2148                  'type' => 'string',
2149                  'required' => true,
2150                ],
2151                'advertiserId' => [
2152                  'location' => 'query',
2153                  'type' => 'string',
2154                ],
2155                'names' => [
2156                  'location' => 'query',
2157                  'type' => 'string',
2158                  'repeated' => true,
2159                ],
2160                'objectId' => [
2161                  'location' => 'query',
2162                  'type' => 'string',
2163                ],
2164                'objectType' => [
2165                  'location' => 'query',
2166                  'type' => 'string',
2167                ],
2168              ],
2169            ],
2170          ]
2171        ]
2172    );
2173    $this->eventTags = new Dfareporting\Resource\EventTags(
2174        $this,
2175        $this->serviceName,
2176        'eventTags',
2177        [
2178          'methods' => [
2179            'delete' => [
2180              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/eventTags/{id}',
2181              'httpMethod' => 'DELETE',
2182              'parameters' => [
2183                'profileId' => [
2184                  'location' => 'path',
2185                  'type' => 'string',
2186                  'required' => true,
2187                ],
2188                'id' => [
2189                  'location' => 'path',
2190                  'type' => 'string',
2191                  'required' => true,
2192                ],
2193              ],
2194            ],'get' => [
2195              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/eventTags/{id}',
2196              'httpMethod' => 'GET',
2197              'parameters' => [
2198                'profileId' => [
2199                  'location' => 'path',
2200                  'type' => 'string',
2201                  'required' => true,
2202                ],
2203                'id' => [
2204                  'location' => 'path',
2205                  'type' => 'string',
2206                  'required' => true,
2207                ],
2208              ],
2209            ],'insert' => [
2210              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/eventTags',
2211              'httpMethod' => 'POST',
2212              'parameters' => [
2213                'profileId' => [
2214                  'location' => 'path',
2215                  'type' => 'string',
2216                  'required' => true,
2217                ],
2218              ],
2219            ],'list' => [
2220              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/eventTags',
2221              'httpMethod' => 'GET',
2222              'parameters' => [
2223                'profileId' => [
2224                  'location' => 'path',
2225                  'type' => 'string',
2226                  'required' => true,
2227                ],
2228                'adId' => [
2229                  'location' => 'query',
2230                  'type' => 'string',
2231                ],
2232                'advertiserId' => [
2233                  'location' => 'query',
2234                  'type' => 'string',
2235                ],
2236                'campaignId' => [
2237                  'location' => 'query',
2238                  'type' => 'string',
2239                ],
2240                'definitionsOnly' => [
2241                  'location' => 'query',
2242                  'type' => 'boolean',
2243                ],
2244                'enabled' => [
2245                  'location' => 'query',
2246                  'type' => 'boolean',
2247                ],
2248                'eventTagTypes' => [
2249                  'location' => 'query',
2250                  'type' => 'string',
2251                  'repeated' => true,
2252                ],
2253                'ids' => [
2254                  'location' => 'query',
2255                  'type' => 'string',
2256                  'repeated' => true,
2257                ],
2258                'searchString' => [
2259                  'location' => 'query',
2260                  'type' => 'string',
2261                ],
2262                'sortField' => [
2263                  'location' => 'query',
2264                  'type' => 'string',
2265                ],
2266                'sortOrder' => [
2267                  'location' => 'query',
2268                  'type' => 'string',
2269                ],
2270              ],
2271            ],'patch' => [
2272              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/eventTags',
2273              'httpMethod' => 'PATCH',
2274              'parameters' => [
2275                'profileId' => [
2276                  'location' => 'path',
2277                  'type' => 'string',
2278                  'required' => true,
2279                ],
2280                'id' => [
2281                  'location' => 'query',
2282                  'type' => 'string',
2283                  'required' => true,
2284                ],
2285              ],
2286            ],'update' => [
2287              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/eventTags',
2288              'httpMethod' => 'PUT',
2289              'parameters' => [
2290                'profileId' => [
2291                  'location' => 'path',
2292                  'type' => 'string',
2293                  'required' => true,
2294                ],
2295              ],
2296            ],
2297          ]
2298        ]
2299    );
2300    $this->files = new Dfareporting\Resource\Files(
2301        $this,
2302        $this->serviceName,
2303        'files',
2304        [
2305          'methods' => [
2306            'get' => [
2307              'path' => 'dfareporting/v3.5/reports/{reportId}/files/{fileId}',
2308              'httpMethod' => 'GET',
2309              'parameters' => [
2310                'reportId' => [
2311                  'location' => 'path',
2312                  'type' => 'string',
2313                  'required' => true,
2314                ],
2315                'fileId' => [
2316                  'location' => 'path',
2317                  'type' => 'string',
2318                  'required' => true,
2319                ],
2320              ],
2321            ],'list' => [
2322              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/files',
2323              'httpMethod' => 'GET',
2324              'parameters' => [
2325                'profileId' => [
2326                  'location' => 'path',
2327                  'type' => 'string',
2328                  'required' => true,
2329                ],
2330                'maxResults' => [
2331                  'location' => 'query',
2332                  'type' => 'integer',
2333                ],
2334                'pageToken' => [
2335                  'location' => 'query',
2336                  'type' => 'string',
2337                ],
2338                'scope' => [
2339                  'location' => 'query',
2340                  'type' => 'string',
2341                ],
2342                'sortField' => [
2343                  'location' => 'query',
2344                  'type' => 'string',
2345                ],
2346                'sortOrder' => [
2347                  'location' => 'query',
2348                  'type' => 'string',
2349                ],
2350              ],
2351            ],
2352          ]
2353        ]
2354    );
2355    $this->floodlightActivities = new Dfareporting\Resource\FloodlightActivities(
2356        $this,
2357        $this->serviceName,
2358        'floodlightActivities',
2359        [
2360          'methods' => [
2361            'delete' => [
2362              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities/{id}',
2363              'httpMethod' => 'DELETE',
2364              'parameters' => [
2365                'profileId' => [
2366                  'location' => 'path',
2367                  'type' => 'string',
2368                  'required' => true,
2369                ],
2370                'id' => [
2371                  'location' => 'path',
2372                  'type' => 'string',
2373                  'required' => true,
2374                ],
2375              ],
2376            ],'generatetag' => [
2377              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities/generatetag',
2378              'httpMethod' => 'POST',
2379              'parameters' => [
2380                'profileId' => [
2381                  'location' => 'path',
2382                  'type' => 'string',
2383                  'required' => true,
2384                ],
2385                'floodlightActivityId' => [
2386                  'location' => 'query',
2387                  'type' => 'string',
2388                ],
2389              ],
2390            ],'get' => [
2391              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities/{id}',
2392              'httpMethod' => 'GET',
2393              'parameters' => [
2394                'profileId' => [
2395                  'location' => 'path',
2396                  'type' => 'string',
2397                  'required' => true,
2398                ],
2399                'id' => [
2400                  'location' => 'path',
2401                  'type' => 'string',
2402                  'required' => true,
2403                ],
2404              ],
2405            ],'insert' => [
2406              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities',
2407              'httpMethod' => 'POST',
2408              'parameters' => [
2409                'profileId' => [
2410                  'location' => 'path',
2411                  'type' => 'string',
2412                  'required' => true,
2413                ],
2414              ],
2415            ],'list' => [
2416              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities',
2417              'httpMethod' => 'GET',
2418              'parameters' => [
2419                'profileId' => [
2420                  'location' => 'path',
2421                  'type' => 'string',
2422                  'required' => true,
2423                ],
2424                'advertiserId' => [
2425                  'location' => 'query',
2426                  'type' => 'string',
2427                ],
2428                'floodlightActivityGroupIds' => [
2429                  'location' => 'query',
2430                  'type' => 'string',
2431                  'repeated' => true,
2432                ],
2433                'floodlightActivityGroupName' => [
2434                  'location' => 'query',
2435                  'type' => 'string',
2436                ],
2437                'floodlightActivityGroupTagString' => [
2438                  'location' => 'query',
2439                  'type' => 'string',
2440                ],
2441                'floodlightActivityGroupType' => [
2442                  'location' => 'query',
2443                  'type' => 'string',
2444                ],
2445                'floodlightConfigurationId' => [
2446                  'location' => 'query',
2447                  'type' => 'string',
2448                ],
2449                'ids' => [
2450                  'location' => 'query',
2451                  'type' => 'string',
2452                  'repeated' => true,
2453                ],
2454                'maxResults' => [
2455                  'location' => 'query',
2456                  'type' => 'integer',
2457                ],
2458                'pageToken' => [
2459                  'location' => 'query',
2460                  'type' => 'string',
2461                ],
2462                'searchString' => [
2463                  'location' => 'query',
2464                  'type' => 'string',
2465                ],
2466                'sortField' => [
2467                  'location' => 'query',
2468                  'type' => 'string',
2469                ],
2470                'sortOrder' => [
2471                  'location' => 'query',
2472                  'type' => 'string',
2473                ],
2474                'tagString' => [
2475                  'location' => 'query',
2476                  'type' => 'string',
2477                ],
2478              ],
2479            ],'patch' => [
2480              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities',
2481              'httpMethod' => 'PATCH',
2482              'parameters' => [
2483                'profileId' => [
2484                  'location' => 'path',
2485                  'type' => 'string',
2486                  'required' => true,
2487                ],
2488                'id' => [
2489                  'location' => 'query',
2490                  'type' => 'string',
2491                  'required' => true,
2492                ],
2493              ],
2494            ],'update' => [
2495              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightActivities',
2496              'httpMethod' => 'PUT',
2497              'parameters' => [
2498                'profileId' => [
2499                  'location' => 'path',
2500                  'type' => 'string',
2501                  'required' => true,
2502                ],
2503              ],
2504            ],
2505          ]
2506        ]
2507    );
2508    $this->floodlightActivityGroups = new Dfareporting\Resource\FloodlightActivityGroups(
2509        $this,
2510        $this->serviceName,
2511        'floodlightActivityGroups',
2512        [
2513          'methods' => [
2514            'get' => [
2515              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightActivityGroups/{id}',
2516              'httpMethod' => 'GET',
2517              'parameters' => [
2518                'profileId' => [
2519                  'location' => 'path',
2520                  'type' => 'string',
2521                  'required' => true,
2522                ],
2523                'id' => [
2524                  'location' => 'path',
2525                  'type' => 'string',
2526                  'required' => true,
2527                ],
2528              ],
2529            ],'insert' => [
2530              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightActivityGroups',
2531              'httpMethod' => 'POST',
2532              'parameters' => [
2533                'profileId' => [
2534                  'location' => 'path',
2535                  'type' => 'string',
2536                  'required' => true,
2537                ],
2538              ],
2539            ],'list' => [
2540              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightActivityGroups',
2541              'httpMethod' => 'GET',
2542              'parameters' => [
2543                'profileId' => [
2544                  'location' => 'path',
2545                  'type' => 'string',
2546                  'required' => true,
2547                ],
2548                'advertiserId' => [
2549                  'location' => 'query',
2550                  'type' => 'string',
2551                ],
2552                'floodlightConfigurationId' => [
2553                  'location' => 'query',
2554                  'type' => 'string',
2555                ],
2556                'ids' => [
2557                  'location' => 'query',
2558                  'type' => 'string',
2559                  'repeated' => true,
2560                ],
2561                'maxResults' => [
2562                  'location' => 'query',
2563                  'type' => 'integer',
2564                ],
2565                'pageToken' => [
2566                  'location' => 'query',
2567                  'type' => 'string',
2568                ],
2569                'searchString' => [
2570                  'location' => 'query',
2571                  'type' => 'string',
2572                ],
2573                'sortField' => [
2574                  'location' => 'query',
2575                  'type' => 'string',
2576                ],
2577                'sortOrder' => [
2578                  'location' => 'query',
2579                  'type' => 'string',
2580                ],
2581                'type' => [
2582                  'location' => 'query',
2583                  'type' => 'string',
2584                ],
2585              ],
2586            ],'patch' => [
2587              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightActivityGroups',
2588              'httpMethod' => 'PATCH',
2589              'parameters' => [
2590                'profileId' => [
2591                  'location' => 'path',
2592                  'type' => 'string',
2593                  'required' => true,
2594                ],
2595                'id' => [
2596                  'location' => 'query',
2597                  'type' => 'string',
2598                  'required' => true,
2599                ],
2600              ],
2601            ],'update' => [
2602              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightActivityGroups',
2603              'httpMethod' => 'PUT',
2604              'parameters' => [
2605                'profileId' => [
2606                  'location' => 'path',
2607                  'type' => 'string',
2608                  'required' => true,
2609                ],
2610              ],
2611            ],
2612          ]
2613        ]
2614    );
2615    $this->floodlightConfigurations = new Dfareporting\Resource\FloodlightConfigurations(
2616        $this,
2617        $this->serviceName,
2618        'floodlightConfigurations',
2619        [
2620          'methods' => [
2621            'get' => [
2622              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightConfigurations/{id}',
2623              'httpMethod' => 'GET',
2624              'parameters' => [
2625                'profileId' => [
2626                  'location' => 'path',
2627                  'type' => 'string',
2628                  'required' => true,
2629                ],
2630                'id' => [
2631                  'location' => 'path',
2632                  'type' => 'string',
2633                  'required' => true,
2634                ],
2635              ],
2636            ],'list' => [
2637              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightConfigurations',
2638              'httpMethod' => 'GET',
2639              'parameters' => [
2640                'profileId' => [
2641                  'location' => 'path',
2642                  'type' => 'string',
2643                  'required' => true,
2644                ],
2645                'ids' => [
2646                  'location' => 'query',
2647                  'type' => 'string',
2648                  'repeated' => true,
2649                ],
2650              ],
2651            ],'patch' => [
2652              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightConfigurations',
2653              'httpMethod' => 'PATCH',
2654              'parameters' => [
2655                'profileId' => [
2656                  'location' => 'path',
2657                  'type' => 'string',
2658                  'required' => true,
2659                ],
2660                'id' => [
2661                  'location' => 'query',
2662                  'type' => 'string',
2663                  'required' => true,
2664                ],
2665              ],
2666            ],'update' => [
2667              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/floodlightConfigurations',
2668              'httpMethod' => 'PUT',
2669              'parameters' => [
2670                'profileId' => [
2671                  'location' => 'path',
2672                  'type' => 'string',
2673                  'required' => true,
2674                ],
2675              ],
2676            ],
2677          ]
2678        ]
2679    );
2680    $this->inventoryItems = new Dfareporting\Resource\InventoryItems(
2681        $this,
2682        $this->serviceName,
2683        'inventoryItems',
2684        [
2685          'methods' => [
2686            'get' => [
2687              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}',
2688              'httpMethod' => 'GET',
2689              'parameters' => [
2690                'profileId' => [
2691                  'location' => 'path',
2692                  'type' => 'string',
2693                  'required' => true,
2694                ],
2695                'projectId' => [
2696                  'location' => 'path',
2697                  'type' => 'string',
2698                  'required' => true,
2699                ],
2700                'id' => [
2701                  'location' => 'path',
2702                  'type' => 'string',
2703                  'required' => true,
2704                ],
2705              ],
2706            ],'list' => [
2707              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/projects/{projectId}/inventoryItems',
2708              'httpMethod' => 'GET',
2709              'parameters' => [
2710                'profileId' => [
2711                  'location' => 'path',
2712                  'type' => 'string',
2713                  'required' => true,
2714                ],
2715                'projectId' => [
2716                  'location' => 'path',
2717                  'type' => 'string',
2718                  'required' => true,
2719                ],
2720                'ids' => [
2721                  'location' => 'query',
2722                  'type' => 'string',
2723                  'repeated' => true,
2724                ],
2725                'inPlan' => [
2726                  'location' => 'query',
2727                  'type' => 'boolean',
2728                ],
2729                'maxResults' => [
2730                  'location' => 'query',
2731                  'type' => 'integer',
2732                ],
2733                'orderId' => [
2734                  'location' => 'query',
2735                  'type' => 'string',
2736                  'repeated' => true,
2737                ],
2738                'pageToken' => [
2739                  'location' => 'query',
2740                  'type' => 'string',
2741                ],
2742                'siteId' => [
2743                  'location' => 'query',
2744                  'type' => 'string',
2745                  'repeated' => true,
2746                ],
2747                'sortField' => [
2748                  'location' => 'query',
2749                  'type' => 'string',
2750                ],
2751                'sortOrder' => [
2752                  'location' => 'query',
2753                  'type' => 'string',
2754                ],
2755                'type' => [
2756                  'location' => 'query',
2757                  'type' => 'string',
2758                ],
2759              ],
2760            ],
2761          ]
2762        ]
2763    );
2764    $this->languages = new Dfareporting\Resource\Languages(
2765        $this,
2766        $this->serviceName,
2767        'languages',
2768        [
2769          'methods' => [
2770            'list' => [
2771              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/languages',
2772              'httpMethod' => 'GET',
2773              'parameters' => [
2774                'profileId' => [
2775                  'location' => 'path',
2776                  'type' => 'string',
2777                  'required' => true,
2778                ],
2779              ],
2780            ],
2781          ]
2782        ]
2783    );
2784    $this->metros = new Dfareporting\Resource\Metros(
2785        $this,
2786        $this->serviceName,
2787        'metros',
2788        [
2789          'methods' => [
2790            'list' => [
2791              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/metros',
2792              'httpMethod' => 'GET',
2793              'parameters' => [
2794                'profileId' => [
2795                  'location' => 'path',
2796                  'type' => 'string',
2797                  'required' => true,
2798                ],
2799              ],
2800            ],
2801          ]
2802        ]
2803    );
2804    $this->mobileApps = new Dfareporting\Resource\MobileApps(
2805        $this,
2806        $this->serviceName,
2807        'mobileApps',
2808        [
2809          'methods' => [
2810            'get' => [
2811              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/mobileApps/{id}',
2812              'httpMethod' => 'GET',
2813              'parameters' => [
2814                'profileId' => [
2815                  'location' => 'path',
2816                  'type' => 'string',
2817                  'required' => true,
2818                ],
2819                'id' => [
2820                  'location' => 'path',
2821                  'type' => 'string',
2822                  'required' => true,
2823                ],
2824              ],
2825            ],'list' => [
2826              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/mobileApps',
2827              'httpMethod' => 'GET',
2828              'parameters' => [
2829                'profileId' => [
2830                  'location' => 'path',
2831                  'type' => 'string',
2832                  'required' => true,
2833                ],
2834                'directories' => [
2835                  'location' => 'query',
2836                  'type' => 'string',
2837                  'repeated' => true,
2838                ],
2839                'ids' => [
2840                  'location' => 'query',
2841                  'type' => 'string',
2842                  'repeated' => true,
2843                ],
2844                'maxResults' => [
2845                  'location' => 'query',
2846                  'type' => 'integer',
2847                ],
2848                'pageToken' => [
2849                  'location' => 'query',
2850                  'type' => 'string',
2851                ],
2852                'searchString' => [
2853                  'location' => 'query',
2854                  'type' => 'string',
2855                ],
2856              ],
2857            ],
2858          ]
2859        ]
2860    );
2861    $this->mobileCarriers = new Dfareporting\Resource\MobileCarriers(
2862        $this,
2863        $this->serviceName,
2864        'mobileCarriers',
2865        [
2866          'methods' => [
2867            'get' => [
2868              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/mobileCarriers/{id}',
2869              'httpMethod' => 'GET',
2870              'parameters' => [
2871                'profileId' => [
2872                  'location' => 'path',
2873                  'type' => 'string',
2874                  'required' => true,
2875                ],
2876                'id' => [
2877                  'location' => 'path',
2878                  'type' => 'string',
2879                  'required' => true,
2880                ],
2881              ],
2882            ],'list' => [
2883              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/mobileCarriers',
2884              'httpMethod' => 'GET',
2885              'parameters' => [
2886                'profileId' => [
2887                  'location' => 'path',
2888                  'type' => 'string',
2889                  'required' => true,
2890                ],
2891              ],
2892            ],
2893          ]
2894        ]
2895    );
2896    $this->operatingSystemVersions = new Dfareporting\Resource\OperatingSystemVersions(
2897        $this,
2898        $this->serviceName,
2899        'operatingSystemVersions',
2900        [
2901          'methods' => [
2902            'get' => [
2903              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/operatingSystemVersions/{id}',
2904              'httpMethod' => 'GET',
2905              'parameters' => [
2906                'profileId' => [
2907                  'location' => 'path',
2908                  'type' => 'string',
2909                  'required' => true,
2910                ],
2911                'id' => [
2912                  'location' => 'path',
2913                  'type' => 'string',
2914                  'required' => true,
2915                ],
2916              ],
2917            ],'list' => [
2918              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/operatingSystemVersions',
2919              'httpMethod' => 'GET',
2920              'parameters' => [
2921                'profileId' => [
2922                  'location' => 'path',
2923                  'type' => 'string',
2924                  'required' => true,
2925                ],
2926              ],
2927            ],
2928          ]
2929        ]
2930    );
2931    $this->operatingSystems = new Dfareporting\Resource\OperatingSystems(
2932        $this,
2933        $this->serviceName,
2934        'operatingSystems',
2935        [
2936          'methods' => [
2937            'get' => [
2938              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/operatingSystems/{dartId}',
2939              'httpMethod' => 'GET',
2940              'parameters' => [
2941                'profileId' => [
2942                  'location' => 'path',
2943                  'type' => 'string',
2944                  'required' => true,
2945                ],
2946                'dartId' => [
2947                  'location' => 'path',
2948                  'type' => 'string',
2949                  'required' => true,
2950                ],
2951              ],
2952            ],'list' => [
2953              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/operatingSystems',
2954              'httpMethod' => 'GET',
2955              'parameters' => [
2956                'profileId' => [
2957                  'location' => 'path',
2958                  'type' => 'string',
2959                  'required' => true,
2960                ],
2961              ],
2962            ],
2963          ]
2964        ]
2965    );
2966    $this->orderDocuments = new Dfareporting\Resource\OrderDocuments(
2967        $this,
2968        $this->serviceName,
2969        'orderDocuments',
2970        [
2971          'methods' => [
2972            'get' => [
2973              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}',
2974              'httpMethod' => 'GET',
2975              'parameters' => [
2976                'profileId' => [
2977                  'location' => 'path',
2978                  'type' => 'string',
2979                  'required' => true,
2980                ],
2981                'projectId' => [
2982                  'location' => 'path',
2983                  'type' => 'string',
2984                  'required' => true,
2985                ],
2986                'id' => [
2987                  'location' => 'path',
2988                  'type' => 'string',
2989                  'required' => true,
2990                ],
2991              ],
2992            ],'list' => [
2993              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/projects/{projectId}/orderDocuments',
2994              'httpMethod' => 'GET',
2995              'parameters' => [
2996                'profileId' => [
2997                  'location' => 'path',
2998                  'type' => 'string',
2999                  'required' => true,
3000                ],
3001                'projectId' => [
3002                  'location' => 'path',
3003                  'type' => 'string',
3004                  'required' => true,
3005                ],
3006                'approved' => [
3007                  'location' => 'query',
3008                  'type' => 'boolean',
3009                ],
3010                'ids' => [
3011                  'location' => 'query',
3012                  'type' => 'string',
3013                  'repeated' => true,
3014                ],
3015                'maxResults' => [
3016                  'location' => 'query',
3017                  'type' => 'integer',
3018                ],
3019                'orderId' => [
3020                  'location' => 'query',
3021                  'type' => 'string',
3022                  'repeated' => true,
3023                ],
3024                'pageToken' => [
3025                  'location' => 'query',
3026                  'type' => 'string',
3027                ],
3028                'searchString' => [
3029                  'location' => 'query',
3030                  'type' => 'string',
3031                ],
3032                'siteId' => [
3033                  'location' => 'query',
3034                  'type' => 'string',
3035                  'repeated' => true,
3036                ],
3037                'sortField' => [
3038                  'location' => 'query',
3039                  'type' => 'string',
3040                ],
3041                'sortOrder' => [
3042                  'location' => 'query',
3043                  'type' => 'string',
3044                ],
3045              ],
3046            ],
3047          ]
3048        ]
3049    );
3050    $this->orders = new Dfareporting\Resource\Orders(
3051        $this,
3052        $this->serviceName,
3053        'orders',
3054        [
3055          'methods' => [
3056            'get' => [
3057              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/projects/{projectId}/orders/{id}',
3058              'httpMethod' => 'GET',
3059              'parameters' => [
3060                'profileId' => [
3061                  'location' => 'path',
3062                  'type' => 'string',
3063                  'required' => true,
3064                ],
3065                'projectId' => [
3066                  'location' => 'path',
3067                  'type' => 'string',
3068                  'required' => true,
3069                ],
3070                'id' => [
3071                  'location' => 'path',
3072                  'type' => 'string',
3073                  'required' => true,
3074                ],
3075              ],
3076            ],'list' => [
3077              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/projects/{projectId}/orders',
3078              'httpMethod' => 'GET',
3079              'parameters' => [
3080                'profileId' => [
3081                  'location' => 'path',
3082                  'type' => 'string',
3083                  'required' => true,
3084                ],
3085                'projectId' => [
3086                  'location' => 'path',
3087                  'type' => 'string',
3088                  'required' => true,
3089                ],
3090                'ids' => [
3091                  'location' => 'query',
3092                  'type' => 'string',
3093                  'repeated' => true,
3094                ],
3095                'maxResults' => [
3096                  'location' => 'query',
3097                  'type' => 'integer',
3098                ],
3099                'pageToken' => [
3100                  'location' => 'query',
3101                  'type' => 'string',
3102                ],
3103                'searchString' => [
3104                  'location' => 'query',
3105                  'type' => 'string',
3106                ],
3107                'siteId' => [
3108                  'location' => 'query',
3109                  'type' => 'string',
3110                  'repeated' => true,
3111                ],
3112                'sortField' => [
3113                  'location' => 'query',
3114                  'type' => 'string',
3115                ],
3116                'sortOrder' => [
3117                  'location' => 'query',
3118                  'type' => 'string',
3119                ],
3120              ],
3121            ],
3122          ]
3123        ]
3124    );
3125    $this->placementGroups = new Dfareporting\Resource\PlacementGroups(
3126        $this,
3127        $this->serviceName,
3128        'placementGroups',
3129        [
3130          'methods' => [
3131            'get' => [
3132              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placementGroups/{id}',
3133              'httpMethod' => 'GET',
3134              'parameters' => [
3135                'profileId' => [
3136                  'location' => 'path',
3137                  'type' => 'string',
3138                  'required' => true,
3139                ],
3140                'id' => [
3141                  'location' => 'path',
3142                  'type' => 'string',
3143                  'required' => true,
3144                ],
3145              ],
3146            ],'insert' => [
3147              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placementGroups',
3148              'httpMethod' => 'POST',
3149              'parameters' => [
3150                'profileId' => [
3151                  'location' => 'path',
3152                  'type' => 'string',
3153                  'required' => true,
3154                ],
3155              ],
3156            ],'list' => [
3157              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placementGroups',
3158              'httpMethod' => 'GET',
3159              'parameters' => [
3160                'profileId' => [
3161                  'location' => 'path',
3162                  'type' => 'string',
3163                  'required' => true,
3164                ],
3165                'advertiserIds' => [
3166                  'location' => 'query',
3167                  'type' => 'string',
3168                  'repeated' => true,
3169                ],
3170                'archived' => [
3171                  'location' => 'query',
3172                  'type' => 'boolean',
3173                ],
3174                'campaignIds' => [
3175                  'location' => 'query',
3176                  'type' => 'string',
3177                  'repeated' => true,
3178                ],
3179                'contentCategoryIds' => [
3180                  'location' => 'query',
3181                  'type' => 'string',
3182                  'repeated' => true,
3183                ],
3184                'directorySiteIds' => [
3185                  'location' => 'query',
3186                  'type' => 'string',
3187                  'repeated' => true,
3188                ],
3189                'ids' => [
3190                  'location' => 'query',
3191                  'type' => 'string',
3192                  'repeated' => true,
3193                ],
3194                'maxEndDate' => [
3195                  'location' => 'query',
3196                  'type' => 'string',
3197                ],
3198                'maxResults' => [
3199                  'location' => 'query',
3200                  'type' => 'integer',
3201                ],
3202                'maxStartDate' => [
3203                  'location' => 'query',
3204                  'type' => 'string',
3205                ],
3206                'minEndDate' => [
3207                  'location' => 'query',
3208                  'type' => 'string',
3209                ],
3210                'minStartDate' => [
3211                  'location' => 'query',
3212                  'type' => 'string',
3213                ],
3214                'pageToken' => [
3215                  'location' => 'query',
3216                  'type' => 'string',
3217                ],
3218                'placementGroupType' => [
3219                  'location' => 'query',
3220                  'type' => 'string',
3221                ],
3222                'placementStrategyIds' => [
3223                  'location' => 'query',
3224                  'type' => 'string',
3225                  'repeated' => true,
3226                ],
3227                'pricingTypes' => [
3228                  'location' => 'query',
3229                  'type' => 'string',
3230                  'repeated' => true,
3231                ],
3232                'searchString' => [
3233                  'location' => 'query',
3234                  'type' => 'string',
3235                ],
3236                'siteIds' => [
3237                  'location' => 'query',
3238                  'type' => 'string',
3239                  'repeated' => true,
3240                ],
3241                'sortField' => [
3242                  'location' => 'query',
3243                  'type' => 'string',
3244                ],
3245                'sortOrder' => [
3246                  'location' => 'query',
3247                  'type' => 'string',
3248                ],
3249              ],
3250            ],'patch' => [
3251              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placementGroups',
3252              'httpMethod' => 'PATCH',
3253              'parameters' => [
3254                'profileId' => [
3255                  'location' => 'path',
3256                  'type' => 'string',
3257                  'required' => true,
3258                ],
3259                'id' => [
3260                  'location' => 'query',
3261                  'type' => 'string',
3262                  'required' => true,
3263                ],
3264              ],
3265            ],'update' => [
3266              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placementGroups',
3267              'httpMethod' => 'PUT',
3268              'parameters' => [
3269                'profileId' => [
3270                  'location' => 'path',
3271                  'type' => 'string',
3272                  'required' => true,
3273                ],
3274              ],
3275            ],
3276          ]
3277        ]
3278    );
3279    $this->placementStrategies = new Dfareporting\Resource\PlacementStrategies(
3280        $this,
3281        $this->serviceName,
3282        'placementStrategies',
3283        [
3284          'methods' => [
3285            'delete' => [
3286              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placementStrategies/{id}',
3287              'httpMethod' => 'DELETE',
3288              'parameters' => [
3289                'profileId' => [
3290                  'location' => 'path',
3291                  'type' => 'string',
3292                  'required' => true,
3293                ],
3294                'id' => [
3295                  'location' => 'path',
3296                  'type' => 'string',
3297                  'required' => true,
3298                ],
3299              ],
3300            ],'get' => [
3301              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placementStrategies/{id}',
3302              'httpMethod' => 'GET',
3303              'parameters' => [
3304                'profileId' => [
3305                  'location' => 'path',
3306                  'type' => 'string',
3307                  'required' => true,
3308                ],
3309                'id' => [
3310                  'location' => 'path',
3311                  'type' => 'string',
3312                  'required' => true,
3313                ],
3314              ],
3315            ],'insert' => [
3316              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placementStrategies',
3317              'httpMethod' => 'POST',
3318              'parameters' => [
3319                'profileId' => [
3320                  'location' => 'path',
3321                  'type' => 'string',
3322                  'required' => true,
3323                ],
3324              ],
3325            ],'list' => [
3326              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placementStrategies',
3327              'httpMethod' => 'GET',
3328              'parameters' => [
3329                'profileId' => [
3330                  'location' => 'path',
3331                  'type' => 'string',
3332                  'required' => true,
3333                ],
3334                'ids' => [
3335                  'location' => 'query',
3336                  'type' => 'string',
3337                  'repeated' => true,
3338                ],
3339                'maxResults' => [
3340                  'location' => 'query',
3341                  'type' => 'integer',
3342                ],
3343                'pageToken' => [
3344                  'location' => 'query',
3345                  'type' => 'string',
3346                ],
3347                'searchString' => [
3348                  'location' => 'query',
3349                  'type' => 'string',
3350                ],
3351                'sortField' => [
3352                  'location' => 'query',
3353                  'type' => 'string',
3354                ],
3355                'sortOrder' => [
3356                  'location' => 'query',
3357                  'type' => 'string',
3358                ],
3359              ],
3360            ],'patch' => [
3361              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placementStrategies',
3362              'httpMethod' => 'PATCH',
3363              'parameters' => [
3364                'profileId' => [
3365                  'location' => 'path',
3366                  'type' => 'string',
3367                  'required' => true,
3368                ],
3369                'id' => [
3370                  'location' => 'query',
3371                  'type' => 'string',
3372                  'required' => true,
3373                ],
3374              ],
3375            ],'update' => [
3376              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placementStrategies',
3377              'httpMethod' => 'PUT',
3378              'parameters' => [
3379                'profileId' => [
3380                  'location' => 'path',
3381                  'type' => 'string',
3382                  'required' => true,
3383                ],
3384              ],
3385            ],
3386          ]
3387        ]
3388    );
3389    $this->placements = new Dfareporting\Resource\Placements(
3390        $this,
3391        $this->serviceName,
3392        'placements',
3393        [
3394          'methods' => [
3395            'generatetags' => [
3396              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placements/generatetags',
3397              'httpMethod' => 'POST',
3398              'parameters' => [
3399                'profileId' => [
3400                  'location' => 'path',
3401                  'type' => 'string',
3402                  'required' => true,
3403                ],
3404                'campaignId' => [
3405                  'location' => 'query',
3406                  'type' => 'string',
3407                ],
3408                'placementIds' => [
3409                  'location' => 'query',
3410                  'type' => 'string',
3411                  'repeated' => true,
3412                ],
3413                'tagFormats' => [
3414                  'location' => 'query',
3415                  'type' => 'string',
3416                  'repeated' => true,
3417                ],
3418              ],
3419            ],'get' => [
3420              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placements/{id}',
3421              'httpMethod' => 'GET',
3422              'parameters' => [
3423                'profileId' => [
3424                  'location' => 'path',
3425                  'type' => 'string',
3426                  'required' => true,
3427                ],
3428                'id' => [
3429                  'location' => 'path',
3430                  'type' => 'string',
3431                  'required' => true,
3432                ],
3433              ],
3434            ],'insert' => [
3435              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placements',
3436              'httpMethod' => 'POST',
3437              'parameters' => [
3438                'profileId' => [
3439                  'location' => 'path',
3440                  'type' => 'string',
3441                  'required' => true,
3442                ],
3443              ],
3444            ],'list' => [
3445              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placements',
3446              'httpMethod' => 'GET',
3447              'parameters' => [
3448                'profileId' => [
3449                  'location' => 'path',
3450                  'type' => 'string',
3451                  'required' => true,
3452                ],
3453                'advertiserIds' => [
3454                  'location' => 'query',
3455                  'type' => 'string',
3456                  'repeated' => true,
3457                ],
3458                'archived' => [
3459                  'location' => 'query',
3460                  'type' => 'boolean',
3461                ],
3462                'campaignIds' => [
3463                  'location' => 'query',
3464                  'type' => 'string',
3465                  'repeated' => true,
3466                ],
3467                'compatibilities' => [
3468                  'location' => 'query',
3469                  'type' => 'string',
3470                  'repeated' => true,
3471                ],
3472                'contentCategoryIds' => [
3473                  'location' => 'query',
3474                  'type' => 'string',
3475                  'repeated' => true,
3476                ],
3477                'directorySiteIds' => [
3478                  'location' => 'query',
3479                  'type' => 'string',
3480                  'repeated' => true,
3481                ],
3482                'groupIds' => [
3483                  'location' => 'query',
3484                  'type' => 'string',
3485                  'repeated' => true,
3486                ],
3487                'ids' => [
3488                  'location' => 'query',
3489                  'type' => 'string',
3490                  'repeated' => true,
3491                ],
3492                'maxEndDate' => [
3493                  'location' => 'query',
3494                  'type' => 'string',
3495                ],
3496                'maxResults' => [
3497                  'location' => 'query',
3498                  'type' => 'integer',
3499                ],
3500                'maxStartDate' => [
3501                  'location' => 'query',
3502                  'type' => 'string',
3503                ],
3504                'minEndDate' => [
3505                  'location' => 'query',
3506                  'type' => 'string',
3507                ],
3508                'minStartDate' => [
3509                  'location' => 'query',
3510                  'type' => 'string',
3511                ],
3512                'pageToken' => [
3513                  'location' => 'query',
3514                  'type' => 'string',
3515                ],
3516                'paymentSource' => [
3517                  'location' => 'query',
3518                  'type' => 'string',
3519                ],
3520                'placementStrategyIds' => [
3521                  'location' => 'query',
3522                  'type' => 'string',
3523                  'repeated' => true,
3524                ],
3525                'pricingTypes' => [
3526                  'location' => 'query',
3527                  'type' => 'string',
3528                  'repeated' => true,
3529                ],
3530                'searchString' => [
3531                  'location' => 'query',
3532                  'type' => 'string',
3533                ],
3534                'siteIds' => [
3535                  'location' => 'query',
3536                  'type' => 'string',
3537                  'repeated' => true,
3538                ],
3539                'sizeIds' => [
3540                  'location' => 'query',
3541                  'type' => 'string',
3542                  'repeated' => true,
3543                ],
3544                'sortField' => [
3545                  'location' => 'query',
3546                  'type' => 'string',
3547                ],
3548                'sortOrder' => [
3549                  'location' => 'query',
3550                  'type' => 'string',
3551                ],
3552              ],
3553            ],'patch' => [
3554              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placements',
3555              'httpMethod' => 'PATCH',
3556              'parameters' => [
3557                'profileId' => [
3558                  'location' => 'path',
3559                  'type' => 'string',
3560                  'required' => true,
3561                ],
3562                'id' => [
3563                  'location' => 'query',
3564                  'type' => 'string',
3565                  'required' => true,
3566                ],
3567              ],
3568            ],'update' => [
3569              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/placements',
3570              'httpMethod' => 'PUT',
3571              'parameters' => [
3572                'profileId' => [
3573                  'location' => 'path',
3574                  'type' => 'string',
3575                  'required' => true,
3576                ],
3577              ],
3578            ],
3579          ]
3580        ]
3581    );
3582    $this->platformTypes = new Dfareporting\Resource\PlatformTypes(
3583        $this,
3584        $this->serviceName,
3585        'platformTypes',
3586        [
3587          'methods' => [
3588            'get' => [
3589              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/platformTypes/{id}',
3590              'httpMethod' => 'GET',
3591              'parameters' => [
3592                'profileId' => [
3593                  'location' => 'path',
3594                  'type' => 'string',
3595                  'required' => true,
3596                ],
3597                'id' => [
3598                  'location' => 'path',
3599                  'type' => 'string',
3600                  'required' => true,
3601                ],
3602              ],
3603            ],'list' => [
3604              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/platformTypes',
3605              'httpMethod' => 'GET',
3606              'parameters' => [
3607                'profileId' => [
3608                  'location' => 'path',
3609                  'type' => 'string',
3610                  'required' => true,
3611                ],
3612              ],
3613            ],
3614          ]
3615        ]
3616    );
3617    $this->postalCodes = new Dfareporting\Resource\PostalCodes(
3618        $this,
3619        $this->serviceName,
3620        'postalCodes',
3621        [
3622          'methods' => [
3623            'get' => [
3624              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/postalCodes/{code}',
3625              'httpMethod' => 'GET',
3626              'parameters' => [
3627                'profileId' => [
3628                  'location' => 'path',
3629                  'type' => 'string',
3630                  'required' => true,
3631                ],
3632                'code' => [
3633                  'location' => 'path',
3634                  'type' => 'string',
3635                  'required' => true,
3636                ],
3637              ],
3638            ],'list' => [
3639              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/postalCodes',
3640              'httpMethod' => 'GET',
3641              'parameters' => [
3642                'profileId' => [
3643                  'location' => 'path',
3644                  'type' => 'string',
3645                  'required' => true,
3646                ],
3647              ],
3648            ],
3649          ]
3650        ]
3651    );
3652    $this->projects = new Dfareporting\Resource\Projects(
3653        $this,
3654        $this->serviceName,
3655        'projects',
3656        [
3657          'methods' => [
3658            'get' => [
3659              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/projects/{id}',
3660              'httpMethod' => 'GET',
3661              'parameters' => [
3662                'profileId' => [
3663                  'location' => 'path',
3664                  'type' => 'string',
3665                  'required' => true,
3666                ],
3667                'id' => [
3668                  'location' => 'path',
3669                  'type' => 'string',
3670                  'required' => true,
3671                ],
3672              ],
3673            ],'list' => [
3674              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/projects',
3675              'httpMethod' => 'GET',
3676              'parameters' => [
3677                'profileId' => [
3678                  'location' => 'path',
3679                  'type' => 'string',
3680                  'required' => true,
3681                ],
3682                'advertiserIds' => [
3683                  'location' => 'query',
3684                  'type' => 'string',
3685                  'repeated' => true,
3686                ],
3687                'ids' => [
3688                  'location' => 'query',
3689                  'type' => 'string',
3690                  'repeated' => true,
3691                ],
3692                'maxResults' => [
3693                  'location' => 'query',
3694                  'type' => 'integer',
3695                ],
3696                'pageToken' => [
3697                  'location' => 'query',
3698                  'type' => 'string',
3699                ],
3700                'searchString' => [
3701                  'location' => 'query',
3702                  'type' => 'string',
3703                ],
3704                'sortField' => [
3705                  'location' => 'query',
3706                  'type' => 'string',
3707                ],
3708                'sortOrder' => [
3709                  'location' => 'query',
3710                  'type' => 'string',
3711                ],
3712              ],
3713            ],
3714          ]
3715        ]
3716    );
3717    $this->regions = new Dfareporting\Resource\Regions(
3718        $this,
3719        $this->serviceName,
3720        'regions',
3721        [
3722          'methods' => [
3723            'list' => [
3724              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/regions',
3725              'httpMethod' => 'GET',
3726              'parameters' => [
3727                'profileId' => [
3728                  'location' => 'path',
3729                  'type' => 'string',
3730                  'required' => true,
3731                ],
3732              ],
3733            ],
3734          ]
3735        ]
3736    );
3737    $this->remarketingListShares = new Dfareporting\Resource\RemarketingListShares(
3738        $this,
3739        $this->serviceName,
3740        'remarketingListShares',
3741        [
3742          'methods' => [
3743            'get' => [
3744              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/remarketingListShares/{remarketingListId}',
3745              'httpMethod' => 'GET',
3746              'parameters' => [
3747                'profileId' => [
3748                  'location' => 'path',
3749                  'type' => 'string',
3750                  'required' => true,
3751                ],
3752                'remarketingListId' => [
3753                  'location' => 'path',
3754                  'type' => 'string',
3755                  'required' => true,
3756                ],
3757              ],
3758            ],'patch' => [
3759              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/remarketingListShares',
3760              'httpMethod' => 'PATCH',
3761              'parameters' => [
3762                'profileId' => [
3763                  'location' => 'path',
3764                  'type' => 'string',
3765                  'required' => true,
3766                ],
3767                'id' => [
3768                  'location' => 'query',
3769                  'type' => 'string',
3770                  'required' => true,
3771                ],
3772              ],
3773            ],'update' => [
3774              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/remarketingListShares',
3775              'httpMethod' => 'PUT',
3776              'parameters' => [
3777                'profileId' => [
3778                  'location' => 'path',
3779                  'type' => 'string',
3780                  'required' => true,
3781                ],
3782              ],
3783            ],
3784          ]
3785        ]
3786    );
3787    $this->remarketingLists = new Dfareporting\Resource\RemarketingLists(
3788        $this,
3789        $this->serviceName,
3790        'remarketingLists',
3791        [
3792          'methods' => [
3793            'get' => [
3794              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/remarketingLists/{id}',
3795              'httpMethod' => 'GET',
3796              'parameters' => [
3797                'profileId' => [
3798                  'location' => 'path',
3799                  'type' => 'string',
3800                  'required' => true,
3801                ],
3802                'id' => [
3803                  'location' => 'path',
3804                  'type' => 'string',
3805                  'required' => true,
3806                ],
3807              ],
3808            ],'insert' => [
3809              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/remarketingLists',
3810              'httpMethod' => 'POST',
3811              'parameters' => [
3812                'profileId' => [
3813                  'location' => 'path',
3814                  'type' => 'string',
3815                  'required' => true,
3816                ],
3817              ],
3818            ],'list' => [
3819              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/remarketingLists',
3820              'httpMethod' => 'GET',
3821              'parameters' => [
3822                'profileId' => [
3823                  'location' => 'path',
3824                  'type' => 'string',
3825                  'required' => true,
3826                ],
3827                'advertiserId' => [
3828                  'location' => 'query',
3829                  'type' => 'string',
3830                  'required' => true,
3831                ],
3832                'active' => [
3833                  'location' => 'query',
3834                  'type' => 'boolean',
3835                ],
3836                'floodlightActivityId' => [
3837                  'location' => 'query',
3838                  'type' => 'string',
3839                ],
3840                'maxResults' => [
3841                  'location' => 'query',
3842                  'type' => 'integer',
3843                ],
3844                'name' => [
3845                  'location' => 'query',
3846                  'type' => 'string',
3847                ],
3848                'pageToken' => [
3849                  'location' => 'query',
3850                  'type' => 'string',
3851                ],
3852                'sortField' => [
3853                  'location' => 'query',
3854                  'type' => 'string',
3855                ],
3856                'sortOrder' => [
3857                  'location' => 'query',
3858                  'type' => 'string',
3859                ],
3860              ],
3861            ],'patch' => [
3862              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/remarketingLists',
3863              'httpMethod' => 'PATCH',
3864              'parameters' => [
3865                'profileId' => [
3866                  'location' => 'path',
3867                  'type' => 'string',
3868                  'required' => true,
3869                ],
3870                'id' => [
3871                  'location' => 'query',
3872                  'type' => 'string',
3873                  'required' => true,
3874                ],
3875              ],
3876            ],'update' => [
3877              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/remarketingLists',
3878              'httpMethod' => 'PUT',
3879              'parameters' => [
3880                'profileId' => [
3881                  'location' => 'path',
3882                  'type' => 'string',
3883                  'required' => true,
3884                ],
3885              ],
3886            ],
3887          ]
3888        ]
3889    );
3890    $this->reports = new Dfareporting\Resource\Reports(
3891        $this,
3892        $this->serviceName,
3893        'reports',
3894        [
3895          'methods' => [
3896            'delete' => [
3897              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}',
3898              'httpMethod' => 'DELETE',
3899              'parameters' => [
3900                'profileId' => [
3901                  'location' => 'path',
3902                  'type' => 'string',
3903                  'required' => true,
3904                ],
3905                'reportId' => [
3906                  'location' => 'path',
3907                  'type' => 'string',
3908                  'required' => true,
3909                ],
3910              ],
3911            ],'get' => [
3912              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}',
3913              'httpMethod' => 'GET',
3914              'parameters' => [
3915                'profileId' => [
3916                  'location' => 'path',
3917                  'type' => 'string',
3918                  'required' => true,
3919                ],
3920                'reportId' => [
3921                  'location' => 'path',
3922                  'type' => 'string',
3923                  'required' => true,
3924                ],
3925              ],
3926            ],'insert' => [
3927              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/reports',
3928              'httpMethod' => 'POST',
3929              'parameters' => [
3930                'profileId' => [
3931                  'location' => 'path',
3932                  'type' => 'string',
3933                  'required' => true,
3934                ],
3935              ],
3936            ],'list' => [
3937              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/reports',
3938              'httpMethod' => 'GET',
3939              'parameters' => [
3940                'profileId' => [
3941                  'location' => 'path',
3942                  'type' => 'string',
3943                  'required' => true,
3944                ],
3945                'maxResults' => [
3946                  'location' => 'query',
3947                  'type' => 'integer',
3948                ],
3949                'pageToken' => [
3950                  'location' => 'query',
3951                  'type' => 'string',
3952                ],
3953                'scope' => [
3954                  'location' => 'query',
3955                  'type' => 'string',
3956                ],
3957                'sortField' => [
3958                  'location' => 'query',
3959                  'type' => 'string',
3960                ],
3961                'sortOrder' => [
3962                  'location' => 'query',
3963                  'type' => 'string',
3964                ],
3965              ],
3966            ],'patch' => [
3967              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}',
3968              'httpMethod' => 'PATCH',
3969              'parameters' => [
3970                'profileId' => [
3971                  'location' => 'path',
3972                  'type' => 'string',
3973                  'required' => true,
3974                ],
3975                'reportId' => [
3976                  'location' => 'path',
3977                  'type' => 'string',
3978                  'required' => true,
3979                ],
3980              ],
3981            ],'run' => [
3982              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}/run',
3983              'httpMethod' => 'POST',
3984              'parameters' => [
3985                'profileId' => [
3986                  'location' => 'path',
3987                  'type' => 'string',
3988                  'required' => true,
3989                ],
3990                'reportId' => [
3991                  'location' => 'path',
3992                  'type' => 'string',
3993                  'required' => true,
3994                ],
3995                'synchronous' => [
3996                  'location' => 'query',
3997                  'type' => 'boolean',
3998                ],
3999              ],
4000            ],'update' => [
4001              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}',
4002              'httpMethod' => 'PUT',
4003              'parameters' => [
4004                'profileId' => [
4005                  'location' => 'path',
4006                  'type' => 'string',
4007                  'required' => true,
4008                ],
4009                'reportId' => [
4010                  'location' => 'path',
4011                  'type' => 'string',
4012                  'required' => true,
4013                ],
4014              ],
4015            ],
4016          ]
4017        ]
4018    );
4019    $this->reports_compatibleFields = new Dfareporting\Resource\ReportsCompatibleFields(
4020        $this,
4021        $this->serviceName,
4022        'compatibleFields',
4023        [
4024          'methods' => [
4025            'query' => [
4026              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/reports/compatiblefields/query',
4027              'httpMethod' => 'POST',
4028              'parameters' => [
4029                'profileId' => [
4030                  'location' => 'path',
4031                  'type' => 'string',
4032                  'required' => true,
4033                ],
4034              ],
4035            ],
4036          ]
4037        ]
4038    );
4039    $this->reports_files = new Dfareporting\Resource\ReportsFiles(
4040        $this,
4041        $this->serviceName,
4042        'files',
4043        [
4044          'methods' => [
4045            'get' => [
4046              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}/files/{fileId}',
4047              'httpMethod' => 'GET',
4048              'parameters' => [
4049                'profileId' => [
4050                  'location' => 'path',
4051                  'type' => 'string',
4052                  'required' => true,
4053                ],
4054                'reportId' => [
4055                  'location' => 'path',
4056                  'type' => 'string',
4057                  'required' => true,
4058                ],
4059                'fileId' => [
4060                  'location' => 'path',
4061                  'type' => 'string',
4062                  'required' => true,
4063                ],
4064              ],
4065            ],'list' => [
4066              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/reports/{reportId}/files',
4067              'httpMethod' => 'GET',
4068              'parameters' => [
4069                'profileId' => [
4070                  'location' => 'path',
4071                  'type' => 'string',
4072                  'required' => true,
4073                ],
4074                'reportId' => [
4075                  'location' => 'path',
4076                  'type' => 'string',
4077                  'required' => true,
4078                ],
4079                'maxResults' => [
4080                  'location' => 'query',
4081                  'type' => 'integer',
4082                ],
4083                'pageToken' => [
4084                  'location' => 'query',
4085                  'type' => 'string',
4086                ],
4087                'sortField' => [
4088                  'location' => 'query',
4089                  'type' => 'string',
4090                ],
4091                'sortOrder' => [
4092                  'location' => 'query',
4093                  'type' => 'string',
4094                ],
4095              ],
4096            ],
4097          ]
4098        ]
4099    );
4100    $this->sites = new Dfareporting\Resource\Sites(
4101        $this,
4102        $this->serviceName,
4103        'sites',
4104        [
4105          'methods' => [
4106            'get' => [
4107              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/sites/{id}',
4108              'httpMethod' => 'GET',
4109              'parameters' => [
4110                'profileId' => [
4111                  'location' => 'path',
4112                  'type' => 'string',
4113                  'required' => true,
4114                ],
4115                'id' => [
4116                  'location' => 'path',
4117                  'type' => 'string',
4118                  'required' => true,
4119                ],
4120              ],
4121            ],'insert' => [
4122              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/sites',
4123              'httpMethod' => 'POST',
4124              'parameters' => [
4125                'profileId' => [
4126                  'location' => 'path',
4127                  'type' => 'string',
4128                  'required' => true,
4129                ],
4130              ],
4131            ],'list' => [
4132              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/sites',
4133              'httpMethod' => 'GET',
4134              'parameters' => [
4135                'profileId' => [
4136                  'location' => 'path',
4137                  'type' => 'string',
4138                  'required' => true,
4139                ],
4140                'acceptsInStreamVideoPlacements' => [
4141                  'location' => 'query',
4142                  'type' => 'boolean',
4143                ],
4144                'acceptsInterstitialPlacements' => [
4145                  'location' => 'query',
4146                  'type' => 'boolean',
4147                ],
4148                'acceptsPublisherPaidPlacements' => [
4149                  'location' => 'query',
4150                  'type' => 'boolean',
4151                ],
4152                'adWordsSite' => [
4153                  'location' => 'query',
4154                  'type' => 'boolean',
4155                ],
4156                'approved' => [
4157                  'location' => 'query',
4158                  'type' => 'boolean',
4159                ],
4160                'campaignIds' => [
4161                  'location' => 'query',
4162                  'type' => 'string',
4163                  'repeated' => true,
4164                ],
4165                'directorySiteIds' => [
4166                  'location' => 'query',
4167                  'type' => 'string',
4168                  'repeated' => true,
4169                ],
4170                'ids' => [
4171                  'location' => 'query',
4172                  'type' => 'string',
4173                  'repeated' => true,
4174                ],
4175                'maxResults' => [
4176                  'location' => 'query',
4177                  'type' => 'integer',
4178                ],
4179                'pageToken' => [
4180                  'location' => 'query',
4181                  'type' => 'string',
4182                ],
4183                'searchString' => [
4184                  'location' => 'query',
4185                  'type' => 'string',
4186                ],
4187                'sortField' => [
4188                  'location' => 'query',
4189                  'type' => 'string',
4190                ],
4191                'sortOrder' => [
4192                  'location' => 'query',
4193                  'type' => 'string',
4194                ],
4195                'subaccountId' => [
4196                  'location' => 'query',
4197                  'type' => 'string',
4198                ],
4199                'unmappedSite' => [
4200                  'location' => 'query',
4201                  'type' => 'boolean',
4202                ],
4203              ],
4204            ],'patch' => [
4205              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/sites',
4206              'httpMethod' => 'PATCH',
4207              'parameters' => [
4208                'profileId' => [
4209                  'location' => 'path',
4210                  'type' => 'string',
4211                  'required' => true,
4212                ],
4213                'id' => [
4214                  'location' => 'query',
4215                  'type' => 'string',
4216                  'required' => true,
4217                ],
4218              ],
4219            ],'update' => [
4220              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/sites',
4221              'httpMethod' => 'PUT',
4222              'parameters' => [
4223                'profileId' => [
4224                  'location' => 'path',
4225                  'type' => 'string',
4226                  'required' => true,
4227                ],
4228              ],
4229            ],
4230          ]
4231        ]
4232    );
4233    $this->sizes = new Dfareporting\Resource\Sizes(
4234        $this,
4235        $this->serviceName,
4236        'sizes',
4237        [
4238          'methods' => [
4239            'get' => [
4240              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/sizes/{id}',
4241              'httpMethod' => 'GET',
4242              'parameters' => [
4243                'profileId' => [
4244                  'location' => 'path',
4245                  'type' => 'string',
4246                  'required' => true,
4247                ],
4248                'id' => [
4249                  'location' => 'path',
4250                  'type' => 'string',
4251                  'required' => true,
4252                ],
4253              ],
4254            ],'insert' => [
4255              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/sizes',
4256              'httpMethod' => 'POST',
4257              'parameters' => [
4258                'profileId' => [
4259                  'location' => 'path',
4260                  'type' => 'string',
4261                  'required' => true,
4262                ],
4263              ],
4264            ],'list' => [
4265              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/sizes',
4266              'httpMethod' => 'GET',
4267              'parameters' => [
4268                'profileId' => [
4269                  'location' => 'path',
4270                  'type' => 'string',
4271                  'required' => true,
4272                ],
4273                'height' => [
4274                  'location' => 'query',
4275                  'type' => 'integer',
4276                ],
4277                'iabStandard' => [
4278                  'location' => 'query',
4279                  'type' => 'boolean',
4280                ],
4281                'ids' => [
4282                  'location' => 'query',
4283                  'type' => 'string',
4284                  'repeated' => true,
4285                ],
4286                'width' => [
4287                  'location' => 'query',
4288                  'type' => 'integer',
4289                ],
4290              ],
4291            ],
4292          ]
4293        ]
4294    );
4295    $this->subaccounts = new Dfareporting\Resource\Subaccounts(
4296        $this,
4297        $this->serviceName,
4298        'subaccounts',
4299        [
4300          'methods' => [
4301            'get' => [
4302              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/subaccounts/{id}',
4303              'httpMethod' => 'GET',
4304              'parameters' => [
4305                'profileId' => [
4306                  'location' => 'path',
4307                  'type' => 'string',
4308                  'required' => true,
4309                ],
4310                'id' => [
4311                  'location' => 'path',
4312                  'type' => 'string',
4313                  'required' => true,
4314                ],
4315              ],
4316            ],'insert' => [
4317              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/subaccounts',
4318              'httpMethod' => 'POST',
4319              'parameters' => [
4320                'profileId' => [
4321                  'location' => 'path',
4322                  'type' => 'string',
4323                  'required' => true,
4324                ],
4325              ],
4326            ],'list' => [
4327              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/subaccounts',
4328              'httpMethod' => 'GET',
4329              'parameters' => [
4330                'profileId' => [
4331                  'location' => 'path',
4332                  'type' => 'string',
4333                  'required' => true,
4334                ],
4335                'ids' => [
4336                  'location' => 'query',
4337                  'type' => 'string',
4338                  'repeated' => true,
4339                ],
4340                'maxResults' => [
4341                  'location' => 'query',
4342                  'type' => 'integer',
4343                ],
4344                'pageToken' => [
4345                  'location' => 'query',
4346                  'type' => 'string',
4347                ],
4348                'searchString' => [
4349                  'location' => 'query',
4350                  'type' => 'string',
4351                ],
4352                'sortField' => [
4353                  'location' => 'query',
4354                  'type' => 'string',
4355                ],
4356                'sortOrder' => [
4357                  'location' => 'query',
4358                  'type' => 'string',
4359                ],
4360              ],
4361            ],'patch' => [
4362              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/subaccounts',
4363              'httpMethod' => 'PATCH',
4364              'parameters' => [
4365                'profileId' => [
4366                  'location' => 'path',
4367                  'type' => 'string',
4368                  'required' => true,
4369                ],
4370                'id' => [
4371                  'location' => 'query',
4372                  'type' => 'string',
4373                  'required' => true,
4374                ],
4375              ],
4376            ],'update' => [
4377              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/subaccounts',
4378              'httpMethod' => 'PUT',
4379              'parameters' => [
4380                'profileId' => [
4381                  'location' => 'path',
4382                  'type' => 'string',
4383                  'required' => true,
4384                ],
4385              ],
4386            ],
4387          ]
4388        ]
4389    );
4390    $this->targetableRemarketingLists = new Dfareporting\Resource\TargetableRemarketingLists(
4391        $this,
4392        $this->serviceName,
4393        'targetableRemarketingLists',
4394        [
4395          'methods' => [
4396            'get' => [
4397              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/targetableRemarketingLists/{id}',
4398              'httpMethod' => 'GET',
4399              'parameters' => [
4400                'profileId' => [
4401                  'location' => 'path',
4402                  'type' => 'string',
4403                  'required' => true,
4404                ],
4405                'id' => [
4406                  'location' => 'path',
4407                  'type' => 'string',
4408                  'required' => true,
4409                ],
4410              ],
4411            ],'list' => [
4412              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/targetableRemarketingLists',
4413              'httpMethod' => 'GET',
4414              'parameters' => [
4415                'profileId' => [
4416                  'location' => 'path',
4417                  'type' => 'string',
4418                  'required' => true,
4419                ],
4420                'advertiserId' => [
4421                  'location' => 'query',
4422                  'type' => 'string',
4423                  'required' => true,
4424                ],
4425                'active' => [
4426                  'location' => 'query',
4427                  'type' => 'boolean',
4428                ],
4429                'maxResults' => [
4430                  'location' => 'query',
4431                  'type' => 'integer',
4432                ],
4433                'name' => [
4434                  'location' => 'query',
4435                  'type' => 'string',
4436                ],
4437                'pageToken' => [
4438                  'location' => 'query',
4439                  'type' => 'string',
4440                ],
4441                'sortField' => [
4442                  'location' => 'query',
4443                  'type' => 'string',
4444                ],
4445                'sortOrder' => [
4446                  'location' => 'query',
4447                  'type' => 'string',
4448                ],
4449              ],
4450            ],
4451          ]
4452        ]
4453    );
4454    $this->targetingTemplates = new Dfareporting\Resource\TargetingTemplates(
4455        $this,
4456        $this->serviceName,
4457        'targetingTemplates',
4458        [
4459          'methods' => [
4460            'get' => [
4461              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/targetingTemplates/{id}',
4462              'httpMethod' => 'GET',
4463              'parameters' => [
4464                'profileId' => [
4465                  'location' => 'path',
4466                  'type' => 'string',
4467                  'required' => true,
4468                ],
4469                'id' => [
4470                  'location' => 'path',
4471                  'type' => 'string',
4472                  'required' => true,
4473                ],
4474              ],
4475            ],'insert' => [
4476              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/targetingTemplates',
4477              'httpMethod' => 'POST',
4478              'parameters' => [
4479                'profileId' => [
4480                  'location' => 'path',
4481                  'type' => 'string',
4482                  'required' => true,
4483                ],
4484              ],
4485            ],'list' => [
4486              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/targetingTemplates',
4487              'httpMethod' => 'GET',
4488              'parameters' => [
4489                'profileId' => [
4490                  'location' => 'path',
4491                  'type' => 'string',
4492                  'required' => true,
4493                ],
4494                'advertiserId' => [
4495                  'location' => 'query',
4496                  'type' => 'string',
4497                ],
4498                'ids' => [
4499                  'location' => 'query',
4500                  'type' => 'string',
4501                  'repeated' => true,
4502                ],
4503                'maxResults' => [
4504                  'location' => 'query',
4505                  'type' => 'integer',
4506                ],
4507                'pageToken' => [
4508                  'location' => 'query',
4509                  'type' => 'string',
4510                ],
4511                'searchString' => [
4512                  'location' => 'query',
4513                  'type' => 'string',
4514                ],
4515                'sortField' => [
4516                  'location' => 'query',
4517                  'type' => 'string',
4518                ],
4519                'sortOrder' => [
4520                  'location' => 'query',
4521                  'type' => 'string',
4522                ],
4523              ],
4524            ],'patch' => [
4525              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/targetingTemplates',
4526              'httpMethod' => 'PATCH',
4527              'parameters' => [
4528                'profileId' => [
4529                  'location' => 'path',
4530                  'type' => 'string',
4531                  'required' => true,
4532                ],
4533                'id' => [
4534                  'location' => 'query',
4535                  'type' => 'string',
4536                  'required' => true,
4537                ],
4538              ],
4539            ],'update' => [
4540              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/targetingTemplates',
4541              'httpMethod' => 'PUT',
4542              'parameters' => [
4543                'profileId' => [
4544                  'location' => 'path',
4545                  'type' => 'string',
4546                  'required' => true,
4547                ],
4548              ],
4549            ],
4550          ]
4551        ]
4552    );
4553    $this->userProfiles = new Dfareporting\Resource\UserProfiles(
4554        $this,
4555        $this->serviceName,
4556        'userProfiles',
4557        [
4558          'methods' => [
4559            'get' => [
4560              'path' => 'dfareporting/v3.5/userprofiles/{profileId}',
4561              'httpMethod' => 'GET',
4562              'parameters' => [
4563                'profileId' => [
4564                  'location' => 'path',
4565                  'type' => 'string',
4566                  'required' => true,
4567                ],
4568              ],
4569            ],'list' => [
4570              'path' => 'dfareporting/v3.5/userprofiles',
4571              'httpMethod' => 'GET',
4572              'parameters' => [],
4573            ],
4574          ]
4575        ]
4576    );
4577    $this->userRolePermissionGroups = new Dfareporting\Resource\UserRolePermissionGroups(
4578        $this,
4579        $this->serviceName,
4580        'userRolePermissionGroups',
4581        [
4582          'methods' => [
4583            'get' => [
4584              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/userRolePermissionGroups/{id}',
4585              'httpMethod' => 'GET',
4586              'parameters' => [
4587                'profileId' => [
4588                  'location' => 'path',
4589                  'type' => 'string',
4590                  'required' => true,
4591                ],
4592                'id' => [
4593                  'location' => 'path',
4594                  'type' => 'string',
4595                  'required' => true,
4596                ],
4597              ],
4598            ],'list' => [
4599              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/userRolePermissionGroups',
4600              'httpMethod' => 'GET',
4601              'parameters' => [
4602                'profileId' => [
4603                  'location' => 'path',
4604                  'type' => 'string',
4605                  'required' => true,
4606                ],
4607              ],
4608            ],
4609          ]
4610        ]
4611    );
4612    $this->userRolePermissions = new Dfareporting\Resource\UserRolePermissions(
4613        $this,
4614        $this->serviceName,
4615        'userRolePermissions',
4616        [
4617          'methods' => [
4618            'get' => [
4619              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/userRolePermissions/{id}',
4620              'httpMethod' => 'GET',
4621              'parameters' => [
4622                'profileId' => [
4623                  'location' => 'path',
4624                  'type' => 'string',
4625                  'required' => true,
4626                ],
4627                'id' => [
4628                  'location' => 'path',
4629                  'type' => 'string',
4630                  'required' => true,
4631                ],
4632              ],
4633            ],'list' => [
4634              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/userRolePermissions',
4635              'httpMethod' => 'GET',
4636              'parameters' => [
4637                'profileId' => [
4638                  'location' => 'path',
4639                  'type' => 'string',
4640                  'required' => true,
4641                ],
4642                'ids' => [
4643                  'location' => 'query',
4644                  'type' => 'string',
4645                  'repeated' => true,
4646                ],
4647              ],
4648            ],
4649          ]
4650        ]
4651    );
4652    $this->userRoles = new Dfareporting\Resource\UserRoles(
4653        $this,
4654        $this->serviceName,
4655        'userRoles',
4656        [
4657          'methods' => [
4658            'delete' => [
4659              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/userRoles/{id}',
4660              'httpMethod' => 'DELETE',
4661              'parameters' => [
4662                'profileId' => [
4663                  'location' => 'path',
4664                  'type' => 'string',
4665                  'required' => true,
4666                ],
4667                'id' => [
4668                  'location' => 'path',
4669                  'type' => 'string',
4670                  'required' => true,
4671                ],
4672              ],
4673            ],'get' => [
4674              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/userRoles/{id}',
4675              'httpMethod' => 'GET',
4676              'parameters' => [
4677                'profileId' => [
4678                  'location' => 'path',
4679                  'type' => 'string',
4680                  'required' => true,
4681                ],
4682                'id' => [
4683                  'location' => 'path',
4684                  'type' => 'string',
4685                  'required' => true,
4686                ],
4687              ],
4688            ],'insert' => [
4689              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/userRoles',
4690              'httpMethod' => 'POST',
4691              'parameters' => [
4692                'profileId' => [
4693                  'location' => 'path',
4694                  'type' => 'string',
4695                  'required' => true,
4696                ],
4697              ],
4698            ],'list' => [
4699              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/userRoles',
4700              'httpMethod' => 'GET',
4701              'parameters' => [
4702                'profileId' => [
4703                  'location' => 'path',
4704                  'type' => 'string',
4705                  'required' => true,
4706                ],
4707                'accountUserRoleOnly' => [
4708                  'location' => 'query',
4709                  'type' => 'boolean',
4710                ],
4711                'ids' => [
4712                  'location' => 'query',
4713                  'type' => 'string',
4714                  'repeated' => true,
4715                ],
4716                'maxResults' => [
4717                  'location' => 'query',
4718                  'type' => 'integer',
4719                ],
4720                'pageToken' => [
4721                  'location' => 'query',
4722                  'type' => 'string',
4723                ],
4724                'searchString' => [
4725                  'location' => 'query',
4726                  'type' => 'string',
4727                ],
4728                'sortField' => [
4729                  'location' => 'query',
4730                  'type' => 'string',
4731                ],
4732                'sortOrder' => [
4733                  'location' => 'query',
4734                  'type' => 'string',
4735                ],
4736                'subaccountId' => [
4737                  'location' => 'query',
4738                  'type' => 'string',
4739                ],
4740              ],
4741            ],'patch' => [
4742              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/userRoles',
4743              'httpMethod' => 'PATCH',
4744              'parameters' => [
4745                'profileId' => [
4746                  'location' => 'path',
4747                  'type' => 'string',
4748                  'required' => true,
4749                ],
4750                'id' => [
4751                  'location' => 'query',
4752                  'type' => 'string',
4753                  'required' => true,
4754                ],
4755              ],
4756            ],'update' => [
4757              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/userRoles',
4758              'httpMethod' => 'PUT',
4759              'parameters' => [
4760                'profileId' => [
4761                  'location' => 'path',
4762                  'type' => 'string',
4763                  'required' => true,
4764                ],
4765              ],
4766            ],
4767          ]
4768        ]
4769    );
4770    $this->videoFormats = new Dfareporting\Resource\VideoFormats(
4771        $this,
4772        $this->serviceName,
4773        'videoFormats',
4774        [
4775          'methods' => [
4776            'get' => [
4777              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/videoFormats/{id}',
4778              'httpMethod' => 'GET',
4779              'parameters' => [
4780                'profileId' => [
4781                  'location' => 'path',
4782                  'type' => 'string',
4783                  'required' => true,
4784                ],
4785                'id' => [
4786                  'location' => 'path',
4787                  'type' => 'integer',
4788                  'required' => true,
4789                ],
4790              ],
4791            ],'list' => [
4792              'path' => 'dfareporting/v3.5/userprofiles/{profileId}/videoFormats',
4793              'httpMethod' => 'GET',
4794              'parameters' => [
4795                'profileId' => [
4796                  'location' => 'path',
4797                  'type' => 'string',
4798                  'required' => true,
4799                ],
4800              ],
4801            ],
4802          ]
4803        ]
4804    );
4805  }
4806}
4807
4808// Adding a class alias for backwards compatibility with the previous class name.
4809class_alias(Dfareporting::class, 'Google_Service_Dfareporting');
4810