Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
/*
3
 * Copyright 2010 Google Inc.
4
 *
5
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6
 * use this file except in compliance with the License. You may obtain a copy of
7
 * the License at
8
 *
9
 * http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 * Unless required by applicable law or agreed to in writing, software
12
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14
 * License for the specific language governing permissions and limitations under
15
 * the License.
16
 */
17
 
18
/**
19
 * Service definition for Doubleclicksearch (v2).
20
 *
21
 * <p>
22
 * Report and modify your advertising data in DoubleClick Search (for example,
23
 * campaigns, ad groups, keywords, and conversions).</p>
24
 *
25
 * <p>
26
 * For more information about this service, see the API
27
 * <a href="https://developers.google.com/doubleclick-search/" target="_blank">Documentation</a>
28
 * </p>
29
 *
30
 * @author Google, Inc.
31
 */
32
#[AllowDynamicProperties]
33
class Google_Service_Doubleclicksearch extends Google_Service
34
{
35
  /** View and manage your advertising data in DoubleClick Search. */
36
  const DOUBLECLICKSEARCH =
37
      "https://www.googleapis.com/auth/doubleclicksearch";
38
 
39
  public $conversion;
40
  public $reports;
41
  public $savedColumns;
42
 
43
 
44
  /**
45
   * Constructs the internal representation of the Doubleclicksearch service.
46
   *
47
   * @param Google_Client $client
48
   */
49
  public function __construct(Google_Client $client)
50
  {
51
    parent::__construct($client);
52
    $this->rootUrl = 'https://www.googleapis.com/';
53
    $this->servicePath = 'doubleclicksearch/v2/';
54
    $this->version = 'v2';
55
    $this->serviceName = 'doubleclicksearch';
56
 
57
    $this->conversion = new Google_Service_Doubleclicksearch_Conversion_Resource(
58
        $this,
59
        $this->serviceName,
60
        'conversion',
61
        array(
62
          'methods' => array(
63
            'get' => array(
64
              'path' => 'agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion',
65
              'httpMethod' => 'GET',
66
              'parameters' => array(
67
                'agencyId' => array(
68
                  'location' => 'path',
69
                  'type' => 'string',
70
                  'required' => true,
71
                ),
72
                'advertiserId' => array(
73
                  'location' => 'path',
74
                  'type' => 'string',
75
                  'required' => true,
76
                ),
77
                'engineAccountId' => array(
78
                  'location' => 'path',
79
                  'type' => 'string',
80
                  'required' => true,
81
                ),
82
                'endDate' => array(
83
                  'location' => 'query',
84
                  'type' => 'integer',
85
                  'required' => true,
86
                ),
87
                'rowCount' => array(
88
                  'location' => 'query',
89
                  'type' => 'integer',
90
                  'required' => true,
91
                ),
92
                'startDate' => array(
93
                  'location' => 'query',
94
                  'type' => 'integer',
95
                  'required' => true,
96
                ),
97
                'startRow' => array(
98
                  'location' => 'query',
99
                  'type' => 'integer',
100
                  'required' => true,
101
                ),
102
                'adGroupId' => array(
103
                  'location' => 'query',
104
                  'type' => 'string',
105
                ),
106
                'campaignId' => array(
107
                  'location' => 'query',
108
                  'type' => 'string',
109
                ),
110
                'adId' => array(
111
                  'location' => 'query',
112
                  'type' => 'string',
113
                ),
114
                'criterionId' => array(
115
                  'location' => 'query',
116
                  'type' => 'string',
117
                ),
118
              ),
119
            ),'insert' => array(
120
              'path' => 'conversion',
121
              'httpMethod' => 'POST',
122
              'parameters' => array(),
123
            ),'patch' => array(
124
              'path' => 'conversion',
125
              'httpMethod' => 'PATCH',
126
              'parameters' => array(
127
                'advertiserId' => array(
128
                  'location' => 'query',
129
                  'type' => 'string',
130
                  'required' => true,
131
                ),
132
                'agencyId' => array(
133
                  'location' => 'query',
134
                  'type' => 'string',
135
                  'required' => true,
136
                ),
137
                'endDate' => array(
138
                  'location' => 'query',
139
                  'type' => 'integer',
140
                  'required' => true,
141
                ),
142
                'engineAccountId' => array(
143
                  'location' => 'query',
144
                  'type' => 'string',
145
                  'required' => true,
146
                ),
147
                'rowCount' => array(
148
                  'location' => 'query',
149
                  'type' => 'integer',
150
                  'required' => true,
151
                ),
152
                'startDate' => array(
153
                  'location' => 'query',
154
                  'type' => 'integer',
155
                  'required' => true,
156
                ),
157
                'startRow' => array(
158
                  'location' => 'query',
159
                  'type' => 'integer',
160
                  'required' => true,
161
                ),
162
              ),
163
            ),'update' => array(
164
              'path' => 'conversion',
165
              'httpMethod' => 'PUT',
166
              'parameters' => array(),
167
            ),'updateAvailability' => array(
168
              'path' => 'conversion/updateAvailability',
169
              'httpMethod' => 'POST',
170
              'parameters' => array(),
171
            ),
172
          )
173
        )
174
    );
175
    $this->reports = new Google_Service_Doubleclicksearch_Reports_Resource(
176
        $this,
177
        $this->serviceName,
178
        'reports',
179
        array(
180
          'methods' => array(
181
            'generate' => array(
182
              'path' => 'reports/generate',
183
              'httpMethod' => 'POST',
184
              'parameters' => array(),
185
            ),'get' => array(
186
              'path' => 'reports/{reportId}',
187
              'httpMethod' => 'GET',
188
              'parameters' => array(
189
                'reportId' => array(
190
                  'location' => 'path',
191
                  'type' => 'string',
192
                  'required' => true,
193
                ),
194
              ),
195
            ),'getFile' => array(
196
              'path' => 'reports/{reportId}/files/{reportFragment}',
197
              'httpMethod' => 'GET',
198
              'parameters' => array(
199
                'reportId' => array(
200
                  'location' => 'path',
201
                  'type' => 'string',
202
                  'required' => true,
203
                ),
204
                'reportFragment' => array(
205
                  'location' => 'path',
206
                  'type' => 'integer',
207
                  'required' => true,
208
                ),
209
              ),
210
            ),'request' => array(
211
              'path' => 'reports',
212
              'httpMethod' => 'POST',
213
              'parameters' => array(),
214
            ),
215
          )
216
        )
217
    );
218
    $this->savedColumns = new Google_Service_Doubleclicksearch_SavedColumns_Resource(
219
        $this,
220
        $this->serviceName,
221
        'savedColumns',
222
        array(
223
          'methods' => array(
224
            'list' => array(
225
              'path' => 'agency/{agencyId}/advertiser/{advertiserId}/savedcolumns',
226
              'httpMethod' => 'GET',
227
              'parameters' => array(
228
                'agencyId' => array(
229
                  'location' => 'path',
230
                  'type' => 'string',
231
                  'required' => true,
232
                ),
233
                'advertiserId' => array(
234
                  'location' => 'path',
235
                  'type' => 'string',
236
                  'required' => true,
237
                ),
238
              ),
239
            ),
240
          )
241
        )
242
    );
243
  }
244
}
245
 
246
 
247
/**
248
 * The "conversion" collection of methods.
249
 * Typical usage is:
250
 *  <code>
251
 *   $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
252
 *   $conversion = $doubleclicksearchService->conversion;
253
 *  </code>
254
 */
255
#[AllowDynamicProperties]
256
class Google_Service_Doubleclicksearch_Conversion_Resource extends Google_Service_Resource
257
{
258
 
259
  /**
260
   * Retrieves a list of conversions from a DoubleClick Search engine account.
261
   * (conversion.get)
262
   *
263
   * @param string $agencyId Numeric ID of the agency.
264
   * @param string $advertiserId Numeric ID of the advertiser.
265
   * @param string $engineAccountId Numeric ID of the engine account.
266
   * @param int $endDate Last date (inclusive) on which to retrieve conversions.
267
   * Format is yyyymmdd.
268
   * @param int $rowCount The number of conversions to return per call.
269
   * @param int $startDate First date (inclusive) on which to retrieve
270
   * conversions. Format is yyyymmdd.
271
   * @param string $startRow The 0-based starting index for retrieving conversions
272
   * results.
273
   * @param array $optParams Optional parameters.
274
   *
275
   * @opt_param string adGroupId Numeric ID of the ad group.
276
   * @opt_param string campaignId Numeric ID of the campaign.
277
   * @opt_param string adId Numeric ID of the ad.
278
   * @opt_param string criterionId Numeric ID of the criterion.
279
   * @return Google_Service_Doubleclicksearch_ConversionList
280
   */
281
  public function get($agencyId, $advertiserId, $engineAccountId, $endDate, $rowCount, $startDate, $startRow, $optParams = array())
282
  {
283
    $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId, 'engineAccountId' => $engineAccountId, 'endDate' => $endDate, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow);
284
    $params = array_merge($params, $optParams);
285
    return $this->call('get', array($params), "Google_Service_Doubleclicksearch_ConversionList");
286
  }
287
 
288
  /**
289
   * Inserts a batch of new conversions into DoubleClick Search.
290
   * (conversion.insert)
291
   *
292
   * @param Google_ConversionList $postBody
293
   * @param array $optParams Optional parameters.
294
   * @return Google_Service_Doubleclicksearch_ConversionList
295
   */
296
  public function insert(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
297
  {
298
    $params = array('postBody' => $postBody);
299
    $params = array_merge($params, $optParams);
300
    return $this->call('insert', array($params), "Google_Service_Doubleclicksearch_ConversionList");
301
  }
302
 
303
  /**
304
   * Updates a batch of conversions in DoubleClick Search. This method supports
305
   * patch semantics. (conversion.patch)
306
   *
307
   * @param string $advertiserId Numeric ID of the advertiser.
308
   * @param string $agencyId Numeric ID of the agency.
309
   * @param int $endDate Last date (inclusive) on which to retrieve conversions.
310
   * Format is yyyymmdd.
311
   * @param string $engineAccountId Numeric ID of the engine account.
312
   * @param int $rowCount The number of conversions to return per call.
313
   * @param int $startDate First date (inclusive) on which to retrieve
314
   * conversions. Format is yyyymmdd.
315
   * @param string $startRow The 0-based starting index for retrieving conversions
316
   * results.
317
   * @param Google_ConversionList $postBody
318
   * @param array $optParams Optional parameters.
319
   * @return Google_Service_Doubleclicksearch_ConversionList
320
   */
321
  public function patch($advertiserId, $agencyId, $endDate, $engineAccountId, $rowCount, $startDate, $startRow, Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
322
  {
323
    $params = array('advertiserId' => $advertiserId, 'agencyId' => $agencyId, 'endDate' => $endDate, 'engineAccountId' => $engineAccountId, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow, 'postBody' => $postBody);
324
    $params = array_merge($params, $optParams);
325
    return $this->call('patch', array($params), "Google_Service_Doubleclicksearch_ConversionList");
326
  }
327
 
328
  /**
329
   * Updates a batch of conversions in DoubleClick Search. (conversion.update)
330
   *
331
   * @param Google_ConversionList $postBody
332
   * @param array $optParams Optional parameters.
333
   * @return Google_Service_Doubleclicksearch_ConversionList
334
   */
335
  public function update(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
336
  {
337
    $params = array('postBody' => $postBody);
338
    $params = array_merge($params, $optParams);
339
    return $this->call('update', array($params), "Google_Service_Doubleclicksearch_ConversionList");
340
  }
341
 
342
  /**
343
   * Updates the availabilities of a batch of floodlight activities in DoubleClick
344
   * Search. (conversion.updateAvailability)
345
   *
346
   * @param Google_UpdateAvailabilityRequest $postBody
347
   * @param array $optParams Optional parameters.
348
   * @return Google_Service_Doubleclicksearch_UpdateAvailabilityResponse
349
   */
350
  public function updateAvailability(Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $postBody, $optParams = array())
351
  {
352
    $params = array('postBody' => $postBody);
353
    $params = array_merge($params, $optParams);
354
    return $this->call('updateAvailability', array($params), "Google_Service_Doubleclicksearch_UpdateAvailabilityResponse");
355
  }
356
}
357
 
358
/**
359
 * The "reports" collection of methods.
360
 * Typical usage is:
361
 *  <code>
362
 *   $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
363
 *   $reports = $doubleclicksearchService->reports;
364
 *  </code>
365
 */
366
#[AllowDynamicProperties]
367
class Google_Service_Doubleclicksearch_Reports_Resource extends Google_Service_Resource
368
{
369
 
370
  /**
371
   * Generates and returns a report immediately. (reports.generate)
372
   *
373
   * @param Google_ReportRequest $postBody
374
   * @param array $optParams Optional parameters.
375
   * @return Google_Service_Doubleclicksearch_Report
376
   */
377
  public function generate(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array())
378
  {
379
    $params = array('postBody' => $postBody);
380
    $params = array_merge($params, $optParams);
381
    return $this->call('generate', array($params), "Google_Service_Doubleclicksearch_Report");
382
  }
383
 
384
  /**
385
   * Polls for the status of a report request. (reports.get)
386
   *
387
   * @param string $reportId ID of the report request being polled.
388
   * @param array $optParams Optional parameters.
389
   * @return Google_Service_Doubleclicksearch_Report
390
   */
391
  public function get($reportId, $optParams = array())
392
  {
393
    $params = array('reportId' => $reportId);
394
    $params = array_merge($params, $optParams);
395
    return $this->call('get', array($params), "Google_Service_Doubleclicksearch_Report");
396
  }
397
 
398
  /**
399
   * Downloads a report file encoded in UTF-8. (reports.getFile)
400
   *
401
   * @param string $reportId ID of the report.
402
   * @param int $reportFragment The index of the report fragment to download.
403
   * @param array $optParams Optional parameters.
404
   */
405
  public function getFile($reportId, $reportFragment, $optParams = array())
406
  {
407
    $params = array('reportId' => $reportId, 'reportFragment' => $reportFragment);
408
    $params = array_merge($params, $optParams);
409
    return $this->call('getFile', array($params));
410
  }
411
 
412
  /**
413
   * Inserts a report request into the reporting system. (reports.request)
414
   *
415
   * @param Google_ReportRequest $postBody
416
   * @param array $optParams Optional parameters.
417
   * @return Google_Service_Doubleclicksearch_Report
418
   */
419
  public function request(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array())
420
  {
421
    $params = array('postBody' => $postBody);
422
    $params = array_merge($params, $optParams);
423
    return $this->call('request', array($params), "Google_Service_Doubleclicksearch_Report");
424
  }
425
}
426
 
427
/**
428
 * The "savedColumns" collection of methods.
429
 * Typical usage is:
430
 *  <code>
431
 *   $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
432
 *   $savedColumns = $doubleclicksearchService->savedColumns;
433
 *  </code>
434
 */
435
#[AllowDynamicProperties]
436
class Google_Service_Doubleclicksearch_SavedColumns_Resource extends Google_Service_Resource
437
{
438
 
439
  /**
440
   * Retrieve the list of saved columns for a specified advertiser.
441
   * (savedColumns.listSavedColumns)
442
   *
443
   * @param string $agencyId DS ID of the agency.
444
   * @param string $advertiserId DS ID of the advertiser.
445
   * @param array $optParams Optional parameters.
446
   * @return Google_Service_Doubleclicksearch_SavedColumnList
447
   */
448
  public function listSavedColumns($agencyId, $advertiserId, $optParams = array())
449
  {
450
    $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId);
451
    $params = array_merge($params, $optParams);
452
    return $this->call('list', array($params), "Google_Service_Doubleclicksearch_SavedColumnList");
453
  }
454
}
455
 
456
 
457
 
458
 
459
#[AllowDynamicProperties]
460
class Google_Service_Doubleclicksearch_Availability extends Google_Model
461
{
462
  protected $internal_gapi_mappings = array(
463
  );
464
  public $advertiserId;
465
  public $agencyId;
466
  public $availabilityTimestamp;
467
  public $segmentationId;
468
  public $segmentationName;
469
  public $segmentationType;
470
 
471
 
472
  public function setAdvertiserId($advertiserId)
473
  {
474
    $this->advertiserId = $advertiserId;
475
  }
476
  public function getAdvertiserId()
477
  {
478
    return $this->advertiserId;
479
  }
480
  public function setAgencyId($agencyId)
481
  {
482
    $this->agencyId = $agencyId;
483
  }
484
  public function getAgencyId()
485
  {
486
    return $this->agencyId;
487
  }
488
  public function setAvailabilityTimestamp($availabilityTimestamp)
489
  {
490
    $this->availabilityTimestamp = $availabilityTimestamp;
491
  }
492
  public function getAvailabilityTimestamp()
493
  {
494
    return $this->availabilityTimestamp;
495
  }
496
  public function setSegmentationId($segmentationId)
497
  {
498
    $this->segmentationId = $segmentationId;
499
  }
500
  public function getSegmentationId()
501
  {
502
    return $this->segmentationId;
503
  }
504
  public function setSegmentationName($segmentationName)
505
  {
506
    $this->segmentationName = $segmentationName;
507
  }
508
  public function getSegmentationName()
509
  {
510
    return $this->segmentationName;
511
  }
512
  public function setSegmentationType($segmentationType)
513
  {
514
    $this->segmentationType = $segmentationType;
515
  }
516
  public function getSegmentationType()
517
  {
518
    return $this->segmentationType;
519
  }
520
}
521
 
522
#[AllowDynamicProperties]
523
class Google_Service_Doubleclicksearch_Conversion extends Google_Collection
524
{
525
  protected $collection_key = 'customMetric';
526
  protected $internal_gapi_mappings = array(
527
  );
528
  public $adGroupId;
529
  public $adId;
530
  public $advertiserId;
531
  public $agencyId;
532
  public $attributionModel;
533
  public $campaignId;
534
  public $channel;
535
  public $clickId;
536
  public $conversionId;
537
  public $conversionModifiedTimestamp;
538
  public $conversionTimestamp;
539
  public $countMillis;
540
  public $criterionId;
541
  public $currencyCode;
542
  protected $customDimensionType = 'Google_Service_Doubleclicksearch_CustomDimension';
543
  protected $customDimensionDataType = 'array';
544
  protected $customMetricType = 'Google_Service_Doubleclicksearch_CustomMetric';
545
  protected $customMetricDataType = 'array';
546
  public $deviceType;
547
  public $dsConversionId;
548
  public $engineAccountId;
549
  public $floodlightOrderId;
550
  public $inventoryAccountId;
551
  public $productCountry;
552
  public $productGroupId;
553
  public $productId;
554
  public $productLanguage;
555
  public $quantityMillis;
556
  public $revenueMicros;
557
  public $segmentationId;
558
  public $segmentationName;
559
  public $segmentationType;
560
  public $state;
561
  public $storeId;
562
  public $type;
563
 
564
 
565
  public function setAdGroupId($adGroupId)
566
  {
567
    $this->adGroupId = $adGroupId;
568
  }
569
  public function getAdGroupId()
570
  {
571
    return $this->adGroupId;
572
  }
573
  public function setAdId($adId)
574
  {
575
    $this->adId = $adId;
576
  }
577
  public function getAdId()
578
  {
579
    return $this->adId;
580
  }
581
  public function setAdvertiserId($advertiserId)
582
  {
583
    $this->advertiserId = $advertiserId;
584
  }
585
  public function getAdvertiserId()
586
  {
587
    return $this->advertiserId;
588
  }
589
  public function setAgencyId($agencyId)
590
  {
591
    $this->agencyId = $agencyId;
592
  }
593
  public function getAgencyId()
594
  {
595
    return $this->agencyId;
596
  }
597
  public function setAttributionModel($attributionModel)
598
  {
599
    $this->attributionModel = $attributionModel;
600
  }
601
  public function getAttributionModel()
602
  {
603
    return $this->attributionModel;
604
  }
605
  public function setCampaignId($campaignId)
606
  {
607
    $this->campaignId = $campaignId;
608
  }
609
  public function getCampaignId()
610
  {
611
    return $this->campaignId;
612
  }
613
  public function setChannel($channel)
614
  {
615
    $this->channel = $channel;
616
  }
617
  public function getChannel()
618
  {
619
    return $this->channel;
620
  }
621
  public function setClickId($clickId)
622
  {
623
    $this->clickId = $clickId;
624
  }
625
  public function getClickId()
626
  {
627
    return $this->clickId;
628
  }
629
  public function setConversionId($conversionId)
630
  {
631
    $this->conversionId = $conversionId;
632
  }
633
  public function getConversionId()
634
  {
635
    return $this->conversionId;
636
  }
637
  public function setConversionModifiedTimestamp($conversionModifiedTimestamp)
638
  {
639
    $this->conversionModifiedTimestamp = $conversionModifiedTimestamp;
640
  }
641
  public function getConversionModifiedTimestamp()
642
  {
643
    return $this->conversionModifiedTimestamp;
644
  }
645
  public function setConversionTimestamp($conversionTimestamp)
646
  {
647
    $this->conversionTimestamp = $conversionTimestamp;
648
  }
649
  public function getConversionTimestamp()
650
  {
651
    return $this->conversionTimestamp;
652
  }
653
  public function setCountMillis($countMillis)
654
  {
655
    $this->countMillis = $countMillis;
656
  }
657
  public function getCountMillis()
658
  {
659
    return $this->countMillis;
660
  }
661
  public function setCriterionId($criterionId)
662
  {
663
    $this->criterionId = $criterionId;
664
  }
665
  public function getCriterionId()
666
  {
667
    return $this->criterionId;
668
  }
669
  public function setCurrencyCode($currencyCode)
670
  {
671
    $this->currencyCode = $currencyCode;
672
  }
673
  public function getCurrencyCode()
674
  {
675
    return $this->currencyCode;
676
  }
677
  public function setCustomDimension($customDimension)
678
  {
679
    $this->customDimension = $customDimension;
680
  }
681
  public function getCustomDimension()
682
  {
683
    return $this->customDimension;
684
  }
685
  public function setCustomMetric($customMetric)
686
  {
687
    $this->customMetric = $customMetric;
688
  }
689
  public function getCustomMetric()
690
  {
691
    return $this->customMetric;
692
  }
693
  public function setDeviceType($deviceType)
694
  {
695
    $this->deviceType = $deviceType;
696
  }
697
  public function getDeviceType()
698
  {
699
    return $this->deviceType;
700
  }
701
  public function setDsConversionId($dsConversionId)
702
  {
703
    $this->dsConversionId = $dsConversionId;
704
  }
705
  public function getDsConversionId()
706
  {
707
    return $this->dsConversionId;
708
  }
709
  public function setEngineAccountId($engineAccountId)
710
  {
711
    $this->engineAccountId = $engineAccountId;
712
  }
713
  public function getEngineAccountId()
714
  {
715
    return $this->engineAccountId;
716
  }
717
  public function setFloodlightOrderId($floodlightOrderId)
718
  {
719
    $this->floodlightOrderId = $floodlightOrderId;
720
  }
721
  public function getFloodlightOrderId()
722
  {
723
    return $this->floodlightOrderId;
724
  }
725
  public function setInventoryAccountId($inventoryAccountId)
726
  {
727
    $this->inventoryAccountId = $inventoryAccountId;
728
  }
729
  public function getInventoryAccountId()
730
  {
731
    return $this->inventoryAccountId;
732
  }
733
  public function setProductCountry($productCountry)
734
  {
735
    $this->productCountry = $productCountry;
736
  }
737
  public function getProductCountry()
738
  {
739
    return $this->productCountry;
740
  }
741
  public function setProductGroupId($productGroupId)
742
  {
743
    $this->productGroupId = $productGroupId;
744
  }
745
  public function getProductGroupId()
746
  {
747
    return $this->productGroupId;
748
  }
749
  public function setProductId($productId)
750
  {
751
    $this->productId = $productId;
752
  }
753
  public function getProductId()
754
  {
755
    return $this->productId;
756
  }
757
  public function setProductLanguage($productLanguage)
758
  {
759
    $this->productLanguage = $productLanguage;
760
  }
761
  public function getProductLanguage()
762
  {
763
    return $this->productLanguage;
764
  }
765
  public function setQuantityMillis($quantityMillis)
766
  {
767
    $this->quantityMillis = $quantityMillis;
768
  }
769
  public function getQuantityMillis()
770
  {
771
    return $this->quantityMillis;
772
  }
773
  public function setRevenueMicros($revenueMicros)
774
  {
775
    $this->revenueMicros = $revenueMicros;
776
  }
777
  public function getRevenueMicros()
778
  {
779
    return $this->revenueMicros;
780
  }
781
  public function setSegmentationId($segmentationId)
782
  {
783
    $this->segmentationId = $segmentationId;
784
  }
785
  public function getSegmentationId()
786
  {
787
    return $this->segmentationId;
788
  }
789
  public function setSegmentationName($segmentationName)
790
  {
791
    $this->segmentationName = $segmentationName;
792
  }
793
  public function getSegmentationName()
794
  {
795
    return $this->segmentationName;
796
  }
797
  public function setSegmentationType($segmentationType)
798
  {
799
    $this->segmentationType = $segmentationType;
800
  }
801
  public function getSegmentationType()
802
  {
803
    return $this->segmentationType;
804
  }
805
  public function setState($state)
806
  {
807
    $this->state = $state;
808
  }
809
  public function getState()
810
  {
811
    return $this->state;
812
  }
813
  public function setStoreId($storeId)
814
  {
815
    $this->storeId = $storeId;
816
  }
817
  public function getStoreId()
818
  {
819
    return $this->storeId;
820
  }
821
  public function setType($type)
822
  {
823
    $this->type = $type;
824
  }
825
  public function getType()
826
  {
827
    return $this->type;
828
  }
829
}
830
 
831
#[AllowDynamicProperties]
832
class Google_Service_Doubleclicksearch_ConversionList extends Google_Collection
833
{
834
  protected $collection_key = 'conversion';
835
  protected $internal_gapi_mappings = array(
836
  );
837
  protected $conversionType = 'Google_Service_Doubleclicksearch_Conversion';
838
  protected $conversionDataType = 'array';
839
  public $kind;
840
 
841
 
842
  public function setConversion($conversion)
843
  {
844
    $this->conversion = $conversion;
845
  }
846
  public function getConversion()
847
  {
848
    return $this->conversion;
849
  }
850
  public function setKind($kind)
851
  {
852
    $this->kind = $kind;
853
  }
854
  public function getKind()
855
  {
856
    return $this->kind;
857
  }
858
}
859
 
860
#[AllowDynamicProperties]
861
class Google_Service_Doubleclicksearch_CustomDimension extends Google_Model
862
{
863
  protected $internal_gapi_mappings = array(
864
  );
865
  public $name;
866
  public $value;
867
 
868
 
869
  public function setName($name)
870
  {
871
    $this->name = $name;
872
  }
873
  public function getName()
874
  {
875
    return $this->name;
876
  }
877
  public function setValue($value)
878
  {
879
    $this->value = $value;
880
  }
881
  public function getValue()
882
  {
883
    return $this->value;
884
  }
885
}
886
 
887
#[AllowDynamicProperties]
888
class Google_Service_Doubleclicksearch_CustomMetric extends Google_Model
889
{
890
  protected $internal_gapi_mappings = array(
891
  );
892
  public $name;
893
  public $value;
894
 
895
 
896
  public function setName($name)
897
  {
898
    $this->name = $name;
899
  }
900
  public function getName()
901
  {
902
    return $this->name;
903
  }
904
  public function setValue($value)
905
  {
906
    $this->value = $value;
907
  }
908
  public function getValue()
909
  {
910
    return $this->value;
911
  }
912
}
913
 
914
#[AllowDynamicProperties]
915
class Google_Service_Doubleclicksearch_Report extends Google_Collection
916
{
917
  protected $collection_key = 'rows';
918
  protected $internal_gapi_mappings = array(
919
  );
920
  protected $filesType = 'Google_Service_Doubleclicksearch_ReportFiles';
921
  protected $filesDataType = 'array';
922
  public $id;
923
  public $isReportReady;
924
  public $kind;
925
  protected $requestType = 'Google_Service_Doubleclicksearch_ReportRequest';
926
  protected $requestDataType = '';
927
  public $rowCount;
928
  public $rows;
929
  public $statisticsCurrencyCode;
930
  public $statisticsTimeZone;
931
 
932
 
933
  public function setFiles($files)
934
  {
935
    $this->files = $files;
936
  }
937
  public function getFiles()
938
  {
939
    return $this->files;
940
  }
941
  public function setId($id)
942
  {
943
    $this->id = $id;
944
  }
945
  public function getId()
946
  {
947
    return $this->id;
948
  }
949
  public function setIsReportReady($isReportReady)
950
  {
951
    $this->isReportReady = $isReportReady;
952
  }
953
  public function getIsReportReady()
954
  {
955
    return $this->isReportReady;
956
  }
957
  public function setKind($kind)
958
  {
959
    $this->kind = $kind;
960
  }
961
  public function getKind()
962
  {
963
    return $this->kind;
964
  }
965
  public function setRequest(Google_Service_Doubleclicksearch_ReportRequest $request)
966
  {
967
    $this->request = $request;
968
  }
969
  public function getRequest()
970
  {
971
    return $this->request;
972
  }
973
  public function setRowCount($rowCount)
974
  {
975
    $this->rowCount = $rowCount;
976
  }
977
  public function getRowCount()
978
  {
979
    return $this->rowCount;
980
  }
981
  public function setRows($rows)
982
  {
983
    $this->rows = $rows;
984
  }
985
  public function getRows()
986
  {
987
    return $this->rows;
988
  }
989
  public function setStatisticsCurrencyCode($statisticsCurrencyCode)
990
  {
991
    $this->statisticsCurrencyCode = $statisticsCurrencyCode;
992
  }
993
  public function getStatisticsCurrencyCode()
994
  {
995
    return $this->statisticsCurrencyCode;
996
  }
997
  public function setStatisticsTimeZone($statisticsTimeZone)
998
  {
999
    $this->statisticsTimeZone = $statisticsTimeZone;
1000
  }
1001
  public function getStatisticsTimeZone()
1002
  {
1003
    return $this->statisticsTimeZone;
1004
  }
1005
}
1006
 
1007
#[AllowDynamicProperties]
1008
class Google_Service_Doubleclicksearch_ReportApiColumnSpec extends Google_Model
1009
{
1010
  protected $internal_gapi_mappings = array(
1011
  );
1012
  public $columnName;
1013
  public $customDimensionName;
1014
  public $customMetricName;
1015
  public $endDate;
1016
  public $groupByColumn;
1017
  public $headerText;
1018
  public $platformSource;
1019
  public $productReportPerspective;
1020
  public $savedColumnName;
1021
  public $startDate;
1022
 
1023
 
1024
  public function setColumnName($columnName)
1025
  {
1026
    $this->columnName = $columnName;
1027
  }
1028
  public function getColumnName()
1029
  {
1030
    return $this->columnName;
1031
  }
1032
  public function setCustomDimensionName($customDimensionName)
1033
  {
1034
    $this->customDimensionName = $customDimensionName;
1035
  }
1036
  public function getCustomDimensionName()
1037
  {
1038
    return $this->customDimensionName;
1039
  }
1040
  public function setCustomMetricName($customMetricName)
1041
  {
1042
    $this->customMetricName = $customMetricName;
1043
  }
1044
  public function getCustomMetricName()
1045
  {
1046
    return $this->customMetricName;
1047
  }
1048
  public function setEndDate($endDate)
1049
  {
1050
    $this->endDate = $endDate;
1051
  }
1052
  public function getEndDate()
1053
  {
1054
    return $this->endDate;
1055
  }
1056
  public function setGroupByColumn($groupByColumn)
1057
  {
1058
    $this->groupByColumn = $groupByColumn;
1059
  }
1060
  public function getGroupByColumn()
1061
  {
1062
    return $this->groupByColumn;
1063
  }
1064
  public function setHeaderText($headerText)
1065
  {
1066
    $this->headerText = $headerText;
1067
  }
1068
  public function getHeaderText()
1069
  {
1070
    return $this->headerText;
1071
  }
1072
  public function setPlatformSource($platformSource)
1073
  {
1074
    $this->platformSource = $platformSource;
1075
  }
1076
  public function getPlatformSource()
1077
  {
1078
    return $this->platformSource;
1079
  }
1080
  public function setProductReportPerspective($productReportPerspective)
1081
  {
1082
    $this->productReportPerspective = $productReportPerspective;
1083
  }
1084
  public function getProductReportPerspective()
1085
  {
1086
    return $this->productReportPerspective;
1087
  }
1088
  public function setSavedColumnName($savedColumnName)
1089
  {
1090
    $this->savedColumnName = $savedColumnName;
1091
  }
1092
  public function getSavedColumnName()
1093
  {
1094
    return $this->savedColumnName;
1095
  }
1096
  public function setStartDate($startDate)
1097
  {
1098
    $this->startDate = $startDate;
1099
  }
1100
  public function getStartDate()
1101
  {
1102
    return $this->startDate;
1103
  }
1104
}
1105
 
1106
#[AllowDynamicProperties]
1107
class Google_Service_Doubleclicksearch_ReportFiles extends Google_Model
1108
{
1109
  protected $internal_gapi_mappings = array(
1110
  );
1111
  public $byteCount;
1112
  public $url;
1113
 
1114
 
1115
  public function setByteCount($byteCount)
1116
  {
1117
    $this->byteCount = $byteCount;
1118
  }
1119
  public function getByteCount()
1120
  {
1121
    return $this->byteCount;
1122
  }
1123
  public function setUrl($url)
1124
  {
1125
    $this->url = $url;
1126
  }
1127
  public function getUrl()
1128
  {
1129
    return $this->url;
1130
  }
1131
}
1132
 
1133
#[AllowDynamicProperties]
1134
class Google_Service_Doubleclicksearch_ReportRequest extends Google_Collection
1135
{
1136
  protected $collection_key = 'orderBy';
1137
  protected $internal_gapi_mappings = array(
1138
  );
1139
  protected $columnsType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
1140
  protected $columnsDataType = 'array';
1141
  public $downloadFormat;
1142
  protected $filtersType = 'Google_Service_Doubleclicksearch_ReportRequestFilters';
1143
  protected $filtersDataType = 'array';
1144
  public $includeDeletedEntities;
1145
  public $includeRemovedEntities;
1146
  public $maxRowsPerFile;
1147
  protected $orderByType = 'Google_Service_Doubleclicksearch_ReportRequestOrderBy';
1148
  protected $orderByDataType = 'array';
1149
  protected $reportScopeType = 'Google_Service_Doubleclicksearch_ReportRequestReportScope';
1150
  protected $reportScopeDataType = '';
1151
  public $reportType;
1152
  public $rowCount;
1153
  public $startRow;
1154
  public $statisticsCurrency;
1155
  protected $timeRangeType = 'Google_Service_Doubleclicksearch_ReportRequestTimeRange';
1156
  protected $timeRangeDataType = '';
1157
  public $verifySingleTimeZone;
1158
 
1159
 
1160
  public function setColumns($columns)
1161
  {
1162
    $this->columns = $columns;
1163
  }
1164
  public function getColumns()
1165
  {
1166
    return $this->columns;
1167
  }
1168
  public function setDownloadFormat($downloadFormat)
1169
  {
1170
    $this->downloadFormat = $downloadFormat;
1171
  }
1172
  public function getDownloadFormat()
1173
  {
1174
    return $this->downloadFormat;
1175
  }
1176
  public function setFilters($filters)
1177
  {
1178
    $this->filters = $filters;
1179
  }
1180
  public function getFilters()
1181
  {
1182
    return $this->filters;
1183
  }
1184
  public function setIncludeDeletedEntities($includeDeletedEntities)
1185
  {
1186
    $this->includeDeletedEntities = $includeDeletedEntities;
1187
  }
1188
  public function getIncludeDeletedEntities()
1189
  {
1190
    return $this->includeDeletedEntities;
1191
  }
1192
  public function setIncludeRemovedEntities($includeRemovedEntities)
1193
  {
1194
    $this->includeRemovedEntities = $includeRemovedEntities;
1195
  }
1196
  public function getIncludeRemovedEntities()
1197
  {
1198
    return $this->includeRemovedEntities;
1199
  }
1200
  public function setMaxRowsPerFile($maxRowsPerFile)
1201
  {
1202
    $this->maxRowsPerFile = $maxRowsPerFile;
1203
  }
1204
  public function getMaxRowsPerFile()
1205
  {
1206
    return $this->maxRowsPerFile;
1207
  }
1208
  public function setOrderBy($orderBy)
1209
  {
1210
    $this->orderBy = $orderBy;
1211
  }
1212
  public function getOrderBy()
1213
  {
1214
    return $this->orderBy;
1215
  }
1216
  public function setReportScope(Google_Service_Doubleclicksearch_ReportRequestReportScope $reportScope)
1217
  {
1218
    $this->reportScope = $reportScope;
1219
  }
1220
  public function getReportScope()
1221
  {
1222
    return $this->reportScope;
1223
  }
1224
  public function setReportType($reportType)
1225
  {
1226
    $this->reportType = $reportType;
1227
  }
1228
  public function getReportType()
1229
  {
1230
    return $this->reportType;
1231
  }
1232
  public function setRowCount($rowCount)
1233
  {
1234
    $this->rowCount = $rowCount;
1235
  }
1236
  public function getRowCount()
1237
  {
1238
    return $this->rowCount;
1239
  }
1240
  public function setStartRow($startRow)
1241
  {
1242
    $this->startRow = $startRow;
1243
  }
1244
  public function getStartRow()
1245
  {
1246
    return $this->startRow;
1247
  }
1248
  public function setStatisticsCurrency($statisticsCurrency)
1249
  {
1250
    $this->statisticsCurrency = $statisticsCurrency;
1251
  }
1252
  public function getStatisticsCurrency()
1253
  {
1254
    return $this->statisticsCurrency;
1255
  }
1256
  public function setTimeRange(Google_Service_Doubleclicksearch_ReportRequestTimeRange $timeRange)
1257
  {
1258
    $this->timeRange = $timeRange;
1259
  }
1260
  public function getTimeRange()
1261
  {
1262
    return $this->timeRange;
1263
  }
1264
  public function setVerifySingleTimeZone($verifySingleTimeZone)
1265
  {
1266
    $this->verifySingleTimeZone = $verifySingleTimeZone;
1267
  }
1268
  public function getVerifySingleTimeZone()
1269
  {
1270
    return $this->verifySingleTimeZone;
1271
  }
1272
}
1273
 
1274
#[AllowDynamicProperties]
1275
class Google_Service_Doubleclicksearch_ReportRequestFilters extends Google_Collection
1276
{
1277
  protected $collection_key = 'values';
1278
  protected $internal_gapi_mappings = array(
1279
  );
1280
  protected $columnType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
1281
  protected $columnDataType = '';
1282
  public $operator;
1283
  public $values;
1284
 
1285
 
1286
  public function setColumn(Google_Service_Doubleclicksearch_ReportApiColumnSpec $column)
1287
  {
1288
    $this->column = $column;
1289
  }
1290
  public function getColumn()
1291
  {
1292
    return $this->column;
1293
  }
1294
  public function setOperator($operator)
1295
  {
1296
    $this->operator = $operator;
1297
  }
1298
  public function getOperator()
1299
  {
1300
    return $this->operator;
1301
  }
1302
  public function setValues($values)
1303
  {
1304
    $this->values = $values;
1305
  }
1306
  public function getValues()
1307
  {
1308
    return $this->values;
1309
  }
1310
}
1311
 
1312
#[AllowDynamicProperties]
1313
class Google_Service_Doubleclicksearch_ReportRequestOrderBy extends Google_Model
1314
{
1315
  protected $internal_gapi_mappings = array(
1316
  );
1317
  protected $columnType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
1318
  protected $columnDataType = '';
1319
  public $sortOrder;
1320
 
1321
 
1322
  public function setColumn(Google_Service_Doubleclicksearch_ReportApiColumnSpec $column)
1323
  {
1324
    $this->column = $column;
1325
  }
1326
  public function getColumn()
1327
  {
1328
    return $this->column;
1329
  }
1330
  public function setSortOrder($sortOrder)
1331
  {
1332
    $this->sortOrder = $sortOrder;
1333
  }
1334
  public function getSortOrder()
1335
  {
1336
    return $this->sortOrder;
1337
  }
1338
}
1339
 
1340
#[AllowDynamicProperties]
1341
class Google_Service_Doubleclicksearch_ReportRequestReportScope extends Google_Model
1342
{
1343
  protected $internal_gapi_mappings = array(
1344
  );
1345
  public $adGroupId;
1346
  public $adId;
1347
  public $advertiserId;
1348
  public $agencyId;
1349
  public $campaignId;
1350
  public $engineAccountId;
1351
  public $keywordId;
1352
 
1353
 
1354
  public function setAdGroupId($adGroupId)
1355
  {
1356
    $this->adGroupId = $adGroupId;
1357
  }
1358
  public function getAdGroupId()
1359
  {
1360
    return $this->adGroupId;
1361
  }
1362
  public function setAdId($adId)
1363
  {
1364
    $this->adId = $adId;
1365
  }
1366
  public function getAdId()
1367
  {
1368
    return $this->adId;
1369
  }
1370
  public function setAdvertiserId($advertiserId)
1371
  {
1372
    $this->advertiserId = $advertiserId;
1373
  }
1374
  public function getAdvertiserId()
1375
  {
1376
    return $this->advertiserId;
1377
  }
1378
  public function setAgencyId($agencyId)
1379
  {
1380
    $this->agencyId = $agencyId;
1381
  }
1382
  public function getAgencyId()
1383
  {
1384
    return $this->agencyId;
1385
  }
1386
  public function setCampaignId($campaignId)
1387
  {
1388
    $this->campaignId = $campaignId;
1389
  }
1390
  public function getCampaignId()
1391
  {
1392
    return $this->campaignId;
1393
  }
1394
  public function setEngineAccountId($engineAccountId)
1395
  {
1396
    $this->engineAccountId = $engineAccountId;
1397
  }
1398
  public function getEngineAccountId()
1399
  {
1400
    return $this->engineAccountId;
1401
  }
1402
  public function setKeywordId($keywordId)
1403
  {
1404
    $this->keywordId = $keywordId;
1405
  }
1406
  public function getKeywordId()
1407
  {
1408
    return $this->keywordId;
1409
  }
1410
}
1411
 
1412
#[AllowDynamicProperties]
1413
class Google_Service_Doubleclicksearch_ReportRequestTimeRange extends Google_Model
1414
{
1415
  protected $internal_gapi_mappings = array(
1416
  );
1417
  public $changedAttributesSinceTimestamp;
1418
  public $changedMetricsSinceTimestamp;
1419
  public $endDate;
1420
  public $startDate;
1421
 
1422
 
1423
  public function setChangedAttributesSinceTimestamp($changedAttributesSinceTimestamp)
1424
  {
1425
    $this->changedAttributesSinceTimestamp = $changedAttributesSinceTimestamp;
1426
  }
1427
  public function getChangedAttributesSinceTimestamp()
1428
  {
1429
    return $this->changedAttributesSinceTimestamp;
1430
  }
1431
  public function setChangedMetricsSinceTimestamp($changedMetricsSinceTimestamp)
1432
  {
1433
    $this->changedMetricsSinceTimestamp = $changedMetricsSinceTimestamp;
1434
  }
1435
  public function getChangedMetricsSinceTimestamp()
1436
  {
1437
    return $this->changedMetricsSinceTimestamp;
1438
  }
1439
  public function setEndDate($endDate)
1440
  {
1441
    $this->endDate = $endDate;
1442
  }
1443
  public function getEndDate()
1444
  {
1445
    return $this->endDate;
1446
  }
1447
  public function setStartDate($startDate)
1448
  {
1449
    $this->startDate = $startDate;
1450
  }
1451
  public function getStartDate()
1452
  {
1453
    return $this->startDate;
1454
  }
1455
}
1456
 
1457
#[AllowDynamicProperties]
1458
class Google_Service_Doubleclicksearch_ReportRow extends Google_Model
1459
{
1460
}
1461
 
1462
#[AllowDynamicProperties]
1463
class Google_Service_Doubleclicksearch_SavedColumn extends Google_Model
1464
{
1465
  protected $internal_gapi_mappings = array(
1466
  );
1467
  public $kind;
1468
  public $savedColumnName;
1469
  public $type;
1470
 
1471
 
1472
  public function setKind($kind)
1473
  {
1474
    $this->kind = $kind;
1475
  }
1476
  public function getKind()
1477
  {
1478
    return $this->kind;
1479
  }
1480
  public function setSavedColumnName($savedColumnName)
1481
  {
1482
    $this->savedColumnName = $savedColumnName;
1483
  }
1484
  public function getSavedColumnName()
1485
  {
1486
    return $this->savedColumnName;
1487
  }
1488
  public function setType($type)
1489
  {
1490
    $this->type = $type;
1491
  }
1492
  public function getType()
1493
  {
1494
    return $this->type;
1495
  }
1496
}
1497
 
1498
#[AllowDynamicProperties]
1499
class Google_Service_Doubleclicksearch_SavedColumnList extends Google_Collection
1500
{
1501
  protected $collection_key = 'items';
1502
  protected $internal_gapi_mappings = array(
1503
  );
1504
  protected $itemsType = 'Google_Service_Doubleclicksearch_SavedColumn';
1505
  protected $itemsDataType = 'array';
1506
  public $kind;
1507
 
1508
 
1509
  public function setItems($items)
1510
  {
1511
    $this->items = $items;
1512
  }
1513
  public function getItems()
1514
  {
1515
    return $this->items;
1516
  }
1517
  public function setKind($kind)
1518
  {
1519
    $this->kind = $kind;
1520
  }
1521
  public function getKind()
1522
  {
1523
    return $this->kind;
1524
  }
1525
}
1526
 
1527
#[AllowDynamicProperties]
1528
class Google_Service_Doubleclicksearch_UpdateAvailabilityRequest extends Google_Collection
1529
{
1530
  protected $collection_key = 'availabilities';
1531
  protected $internal_gapi_mappings = array(
1532
  );
1533
  protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability';
1534
  protected $availabilitiesDataType = 'array';
1535
 
1536
 
1537
  public function setAvailabilities($availabilities)
1538
  {
1539
    $this->availabilities = $availabilities;
1540
  }
1541
  public function getAvailabilities()
1542
  {
1543
    return $this->availabilities;
1544
  }
1545
}
1546
 
1547
#[AllowDynamicProperties]
1548
class Google_Service_Doubleclicksearch_UpdateAvailabilityResponse extends Google_Collection
1549
{
1550
  protected $collection_key = 'availabilities';
1551
  protected $internal_gapi_mappings = array(
1552
  );
1553
  protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability';
1554
  protected $availabilitiesDataType = 'array';
1555
 
1556
 
1557
  public function setAvailabilities($availabilities)
1558
  {
1559
    $this->availabilities = $availabilities;
1560
  }
1561
  public function getAvailabilities()
1562
  {
1563
    return $this->availabilities;
1564
  }
1565
}