PluginProbe
Authorizer / 2.2
Authorizer v2.2
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / inc / google-api-php-client / src / Google / Service / Doubleclicksearch.php

Doubleclicksearch.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/Doubleclicksearch.php

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