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