PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.0.3
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.0.3
9.1.2 9.1.1 9.1.0 9.0.2 9.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 All 153 releases
wp-analytify / lib / Google / Service / Doubleclicksearch.php

Doubleclicksearch.php in Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) 1.0.3, at lib/Google/Service/Doubleclicksearch.php

1,551 lines 39.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 Analytify_Google_Service_Doubleclicksearch extends Analytify_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 Analytify_Google_Client $client
46 */
47 public function __construct(Analytify_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 Analytify_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 Analytify_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 Analytify_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 Analytify_Google_Service_Doubleclicksearch(...);
249 * $conversion = $doubleclicksearchService->conversion;
250 * </code>
251 */
252 class Analytify_Google_Service_Doubleclicksearch_Conversion_Resource extends Analytify_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 Analytify_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), "Analytify_Google_Service_Doubleclicksearch_ConversionList");
290 }
291 /**
292 * Inserts a batch of new conversions into DoubleClick Search.
293 * (conversion.insert)
294 *
295 * @param Analytify_Google_ConversionList $postBody
296 * @param array $optParams Optional parameters.
297 * @return Analytify_Google_Service_Doubleclicksearch_ConversionList
298 */
299 public function insert(Analytify_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), "Analytify_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 Analytify_Google_ConversionList $postBody
324 * @param array $optParams Optional parameters.
325 * @return Analytify_Google_Service_Doubleclicksearch_ConversionList
326 */
327 public function patch($advertiserId, $agencyId, $endDate, $engineAccountId, $rowCount, $startDate, $startRow, Analytify_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), "Analytify_Google_Service_Doubleclicksearch_ConversionList");
332 }
333 /**
334 * Updates a batch of conversions in DoubleClick Search. (conversion.update)
335 *
336 * @param Analytify_Google_ConversionList $postBody
337 * @param array $optParams Optional parameters.
338 * @return Analytify_Google_Service_Doubleclicksearch_ConversionList
339 */
340 public function update(Analytify_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), "Analytify_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 Analytify_Google_UpdateAvailabilityRequest $postBody
351 * @param array $optParams Optional parameters.
352 * @return Analytify_Google_Service_Doubleclicksearch_UpdateAvailabilityResponse
353 */
354 public function updateAvailability(Analytify_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), "Analytify_Google_Service_Doubleclicksearch_UpdateAvailabilityResponse");
359 }
360 }
361
362 /**
363 * The "reports" collection of methods.
364 * Typical usage is:
365 * <code>
366 * $doubleclicksearchService = new Analytify_Google_Service_Doubleclicksearch(...);
367 * $reports = $doubleclicksearchService->reports;
368 * </code>
369 */
370 class Analytify_Google_Service_Doubleclicksearch_Reports_Resource extends Analytify_Google_Service_Resource
371 {
372
373 /**
374 * Generates and returns a report immediately. (reports.generate)
375 *
376 * @param Analytify_Google_ReportRequest $postBody
377 * @param array $optParams Optional parameters.
378 * @return Analytify_Google_Service_Doubleclicksearch_Report
379 */
380 public function generate(Analytify_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), "Analytify_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 Analytify_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), "Analytify_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 Analytify_Google_ReportRequest $postBody
419 * @param array $optParams Optional parameters.
420 * @return Analytify_Google_Service_Doubleclicksearch_Report
421 */
422 public function request(Analytify_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), "Analytify_Google_Service_Doubleclicksearch_Report");
427 }
428 }
429
430 /**
431 * The "savedColumns" collection of methods.
432 * Typical usage is:
433 * <code>
434 * $doubleclicksearchService = new Analytify_Google_Service_Doubleclicksearch(...);
435 * $savedColumns = $doubleclicksearchService->savedColumns;
436 * </code>
437 */
438 class Analytify_Google_Service_Doubleclicksearch_SavedColumns_Resource extends Analytify_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 Analytify_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), "Analytify_Google_Service_Doubleclicksearch_SavedColumnList");
457 }
458 }
459
460
461
462
463 class Analytify_Google_Service_Doubleclicksearch_Availability extends Analytify_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 Analytify_Google_Service_Doubleclicksearch_Conversion extends Analytify_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 = 'Analytify_Google_Service_Doubleclicksearch_CustomDimension';
547 protected $customDimensionDataType = 'array';
548 protected $customMetricType = 'Analytify_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 Analytify_Google_Service_Doubleclicksearch_ConversionList extends Analytify_Google_Collection
793 {
794 protected $conversionType = 'Analytify_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 Analytify_Google_Service_Doubleclicksearch_CustomDimension extends Analytify_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 Analytify_Google_Service_Doubleclicksearch_CustomMetric extends Analytify_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 Analytify_Google_Service_Doubleclicksearch_Report extends Analytify_Google_Collection
872 {
873 protected $filesType = 'Analytify_Google_Service_Doubleclicksearch_ReportFiles';
874 protected $filesDataType = 'array';
875 public $id;
876 public $isReportReady;
877 public $kind;
878 protected $requestType = 'Analytify_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(Analytify_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 Analytify_Google_Service_Doubleclicksearch_ReportApiColumnSpec extends Analytify_Google_Model
977 {
978 public $columnName;
979 public $customDimensionName;
980 public $endDate;
981 public $groupByColumn;
982 public $headerText;
983 public $platformSource;
984 public $savedColumnName;
985 public $startDate;
986
987 public function setColumnName($columnName)
988 {
989 $this->columnName = $columnName;
990 }
991
992 public function getColumnName()
993 {
994 return $this->columnName;
995 }
996
997 public function setCustomDimensionName($customDimensionName)
998 {
999 $this->customDimensionName = $customDimensionName;
1000 }
1001
1002 public function getCustomDimensionName()
1003 {
1004 return $this->customDimensionName;
1005 }
1006
1007 public function setEndDate($endDate)
1008 {
1009 $this->endDate = $endDate;
1010 }
1011
1012 public function getEndDate()
1013 {
1014 return $this->endDate;
1015 }
1016
1017 public function setGroupByColumn($groupByColumn)
1018 {
1019 $this->groupByColumn = $groupByColumn;
1020 }
1021
1022 public function getGroupByColumn()
1023 {
1024 return $this->groupByColumn;
1025 }
1026
1027 public function setHeaderText($headerText)
1028 {
1029 $this->headerText = $headerText;
1030 }
1031
1032 public function getHeaderText()
1033 {
1034 return $this->headerText;
1035 }
1036
1037 public function setPlatformSource($platformSource)
1038 {
1039 $this->platformSource = $platformSource;
1040 }
1041
1042 public function getPlatformSource()
1043 {
1044 return $this->platformSource;
1045 }
1046
1047 public function setSavedColumnName($savedColumnName)
1048 {
1049 $this->savedColumnName = $savedColumnName;
1050 }
1051
1052 public function getSavedColumnName()
1053 {
1054 return $this->savedColumnName;
1055 }
1056
1057 public function setStartDate($startDate)
1058 {
1059 $this->startDate = $startDate;
1060 }
1061
1062 public function getStartDate()
1063 {
1064 return $this->startDate;
1065 }
1066 }
1067
1068 class Analytify_Google_Service_Doubleclicksearch_ReportFiles extends Analytify_Google_Model
1069 {
1070 public $byteCount;
1071 public $url;
1072
1073 public function setByteCount($byteCount)
1074 {
1075 $this->byteCount = $byteCount;
1076 }
1077
1078 public function getByteCount()
1079 {
1080 return $this->byteCount;
1081 }
1082
1083 public function setUrl($url)
1084 {
1085 $this->url = $url;
1086 }
1087
1088 public function getUrl()
1089 {
1090 return $this->url;
1091 }
1092 }
1093
1094 class Analytify_Google_Service_Doubleclicksearch_ReportRequest extends Analytify_Google_Collection
1095 {
1096 protected $columnsType = 'Analytify_Google_Service_Doubleclicksearch_ReportApiColumnSpec';
1097 protected $columnsDataType = 'array';
1098 public $downloadFormat;
1099 protected $filtersType = 'Analytify_Google_Service_Doubleclicksearch_ReportRequestFilters';
1100 protected $filtersDataType = 'array';
1101 public $includeDeletedEntities;
1102 public $includeRemovedEntities;
1103 public $maxRowsPerFile;
1104 protected $orderByType = 'Analytify_Google_Service_Doubleclicksearch_ReportRequestOrderBy';
1105 protected $orderByDataType = 'array';
1106 protected $reportScopeType = 'Analytify_Google_Service_Doubleclicksearch_ReportRequestReportScope';
1107 protected $reportScopeDataType = '';
1108 public $reportType;
1109 public $rowCount;
1110 public $startRow;
1111 public $statisticsCurrency;
1112 protected $timeRangeType = 'Analytify_Google_Service_Doubleclicksearch_ReportRequestTimeRange';
1113 protected $timeRangeDataType = '';
1114 public $verifySingleTimeZone;
1115
1116 public function setColumns($columns)
1117 {
1118 $this->columns = $columns;
1119 }
1120
1121 public function getColumns()
1122 {
1123 return $this->columns;
1124 }
1125
1126 public function setDownloadFormat($downloadFormat)
1127 {
1128 $this->downloadFormat = $downloadFormat;
1129 }
1130
1131 public function getDownloadFormat()
1132 {
1133 return $this->downloadFormat;
1134 }
1135
1136 public function setFilters($filters)
1137 {
1138 $this->filters = $filters;
1139 }
1140
1141 public function getFilters()
1142 {
1143 return $this->filters;
1144 }
1145
1146 public function setIncludeDeletedEntities($includeDeletedEntities)
1147 {
1148 $this->includeDeletedEntities = $includeDeletedEntities;
1149 }
1150
1151 public function getIncludeDeletedEntities()
1152 {
1153 return $this->includeDeletedEntities;
1154 }
1155
1156 public function setIncludeRemovedEntities($includeRemovedEntities)
1157 {
1158 $this->includeRemovedEntities = $includeRemovedEntities;
1159 }
1160
1161 public function getIncludeRemovedEntities()
1162 {
1163 return $this->includeRemovedEntities;
1164 }
1165
1166 public function setMaxRowsPerFile($maxRowsPerFile)
1167 {
1168 $this->maxRowsPerFile = $maxRowsPerFile;
1169 }
1170
1171 public function getMaxRowsPerFile()
1172 {
1173 return $this->maxRowsPerFile;
1174 }
1175
1176 public function setOrderBy($orderBy)
1177 {
1178 $this->orderBy = $orderBy;
1179 }
1180
1181 public function getOrderBy()
1182 {
1183 return $this->orderBy;
1184 }
1185
1186 public function setReportScope(Analytify_Google_Service_Doubleclicksearch_ReportRequestReportScope $reportScope)
1187 {
1188 $this->reportScope = $reportScope;
1189 }
1190
1191 public function getReportScope()
1192 {
1193 return $this->reportScope;
1194 }
1195
1196 public function setReportType($reportType)
1197 {
1198 $this->reportType = $reportType;
1199 }
1200
1201 public function getReportType()
1202 {
1203 return $this->reportType;
1204 }
1205
1206 public function setRowCount($rowCount)
1207 {
1208 $this->rowCount = $rowCount;
1209 }
1210
1211 public function getRowCount()
1212 {
1213 return $this->rowCount;
1214 }
1215
1216 public function setStartRow($startRow)
1217 {
1218 $this->startRow = $startRow;
1219 }
1220
1221 public function getStartRow()
1222 {
1223 return $this->startRow;
1224 }
1225
1226 public function setStatisticsCurrency($statisticsCurrency)
1227 {
1228 $this->statisticsCurrency = $statisticsCurrency;
1229 }
1230
1231 public function getStatisticsCurrency()
1232 {
1233 return $this->statisticsCurrency;
1234 }
1235
1236 public function setTimeRange(Analytify_Google_Service_Doubleclicksearch_ReportRequestTimeRange $timeRange)
1237 {
1238 $this->timeRange = $timeRange;
1239 }
1240
1241 public function getTimeRange()
1242 {
1243 return $this->timeRange;
1244 }
1245
1246 public function setVerifySingleTimeZone($verifySingleTimeZone)
1247 {
1248 $this->verifySingleTimeZone = $verifySingleTimeZone;
1249 }
1250
1251 public function getVerifySingleTimeZone()
1252 {
1253 return $this->verifySingleTimeZone;
1254 }
1255 }
1256
1257 class Analytify_Google_Service_Doubleclicksearch_ReportRequestFilters extends Analytify_Google_Collection
1258 {
1259 protected $columnType = 'Analytify_Google_Service_Doubleclicksearch_ReportApiColumnSpec';
1260 protected $columnDataType = '';
1261 public $operator;
1262 public $values;
1263
1264 public function setColumn(Analytify_Google_Service_Doubleclicksearch_ReportApiColumnSpec $column)
1265 {
1266 $this->column = $column;
1267 }
1268
1269 public function getColumn()
1270 {
1271 return $this->column;
1272 }
1273
1274 public function setOperator($operator)
1275 {
1276 $this->operator = $operator;
1277 }
1278
1279 public function getOperator()
1280 {
1281 return $this->operator;
1282 }
1283
1284 public function setValues($values)
1285 {
1286 $this->values = $values;
1287 }
1288
1289 public function getValues()
1290 {
1291 return $this->values;
1292 }
1293 }
1294
1295 class Analytify_Google_Service_Doubleclicksearch_ReportRequestOrderBy extends Analytify_Google_Model
1296 {
1297 protected $columnType = 'Analytify_Google_Service_Doubleclicksearch_ReportApiColumnSpec';
1298 protected $columnDataType = '';
1299 public $sortOrder;
1300
1301 public function setColumn(Analytify_Google_Service_Doubleclicksearch_ReportApiColumnSpec $column)
1302 {
1303 $this->column = $column;
1304 }
1305
1306 public function getColumn()
1307 {
1308 return $this->column;
1309 }
1310
1311 public function setSortOrder($sortOrder)
1312 {
1313 $this->sortOrder = $sortOrder;
1314 }
1315
1316 public function getSortOrder()
1317 {
1318 return $this->sortOrder;
1319 }
1320 }
1321
1322 class Analytify_Google_Service_Doubleclicksearch_ReportRequestReportScope extends Analytify_Google_Model
1323 {
1324 public $adGroupId;
1325 public $adId;
1326 public $advertiserId;
1327 public $agencyId;
1328 public $campaignId;
1329 public $engineAccountId;
1330 public $keywordId;
1331
1332 public function setAdGroupId($adGroupId)
1333 {
1334 $this->adGroupId = $adGroupId;
1335 }
1336
1337 public function getAdGroupId()
1338 {
1339 return $this->adGroupId;
1340 }
1341
1342 public function setAdId($adId)
1343 {
1344 $this->adId = $adId;
1345 }
1346
1347 public function getAdId()
1348 {
1349 return $this->adId;
1350 }
1351
1352 public function setAdvertiserId($advertiserId)
1353 {
1354 $this->advertiserId = $advertiserId;
1355 }
1356
1357 public function getAdvertiserId()
1358 {
1359 return $this->advertiserId;
1360 }
1361
1362 public function setAgencyId($agencyId)
1363 {
1364 $this->agencyId = $agencyId;
1365 }
1366
1367 public function getAgencyId()
1368 {
1369 return $this->agencyId;
1370 }
1371
1372 public function setCampaignId($campaignId)
1373 {
1374 $this->campaignId = $campaignId;
1375 }
1376
1377 public function getCampaignId()
1378 {
1379 return $this->campaignId;
1380 }
1381
1382 public function setEngineAccountId($engineAccountId)
1383 {
1384 $this->engineAccountId = $engineAccountId;
1385 }
1386
1387 public function getEngineAccountId()
1388 {
1389 return $this->engineAccountId;
1390 }
1391
1392 public function setKeywordId($keywordId)
1393 {
1394 $this->keywordId = $keywordId;
1395 }
1396
1397 public function getKeywordId()
1398 {
1399 return $this->keywordId;
1400 }
1401 }
1402
1403 class Analytify_Google_Service_Doubleclicksearch_ReportRequestTimeRange extends Analytify_Google_Model
1404 {
1405 public $changedAttributesSinceTimestamp;
1406 public $changedMetricsSinceTimestamp;
1407 public $endDate;
1408 public $startDate;
1409
1410 public function setChangedAttributesSinceTimestamp($changedAttributesSinceTimestamp)
1411 {
1412 $this->changedAttributesSinceTimestamp = $changedAttributesSinceTimestamp;
1413 }
1414
1415 public function getChangedAttributesSinceTimestamp()
1416 {
1417 return $this->changedAttributesSinceTimestamp;
1418 }
1419
1420 public function setChangedMetricsSinceTimestamp($changedMetricsSinceTimestamp)
1421 {
1422 $this->changedMetricsSinceTimestamp = $changedMetricsSinceTimestamp;
1423 }
1424
1425 public function getChangedMetricsSinceTimestamp()
1426 {
1427 return $this->changedMetricsSinceTimestamp;
1428 }
1429
1430 public function setEndDate($endDate)
1431 {
1432 $this->endDate = $endDate;
1433 }
1434
1435 public function getEndDate()
1436 {
1437 return $this->endDate;
1438 }
1439
1440 public function setStartDate($startDate)
1441 {
1442 $this->startDate = $startDate;
1443 }
1444
1445 public function getStartDate()
1446 {
1447 return $this->startDate;
1448 }
1449 }
1450
1451 class Analytify_Google_Service_Doubleclicksearch_ReportRow extends Analytify_Google_Model
1452 {
1453
1454 }
1455
1456 class Analytify_Google_Service_Doubleclicksearch_SavedColumn extends Analytify_Google_Model
1457 {
1458 public $kind;
1459 public $savedColumnName;
1460 public $type;
1461
1462 public function setKind($kind)
1463 {
1464 $this->kind = $kind;
1465 }
1466
1467 public function getKind()
1468 {
1469 return $this->kind;
1470 }
1471
1472 public function setSavedColumnName($savedColumnName)
1473 {
1474 $this->savedColumnName = $savedColumnName;
1475 }
1476
1477 public function getSavedColumnName()
1478 {
1479 return $this->savedColumnName;
1480 }
1481
1482 public function setType($type)
1483 {
1484 $this->type = $type;
1485 }
1486
1487 public function getType()
1488 {
1489 return $this->type;
1490 }
1491 }
1492
1493 class Analytify_Google_Service_Doubleclicksearch_SavedColumnList extends Analytify_Google_Collection
1494 {
1495 protected $itemsType = 'Analytify_Google_Service_Doubleclicksearch_SavedColumn';
1496 protected $itemsDataType = 'array';
1497 public $kind;
1498
1499 public function setItems($items)
1500 {
1501 $this->items = $items;
1502 }
1503
1504 public function getItems()
1505 {
1506 return $this->items;
1507 }
1508
1509 public function setKind($kind)
1510 {
1511 $this->kind = $kind;
1512 }
1513
1514 public function getKind()
1515 {
1516 return $this->kind;
1517 }
1518 }
1519
1520 class Analytify_Google_Service_Doubleclicksearch_UpdateAvailabilityRequest extends Analytify_Google_Collection
1521 {
1522 protected $availabilitiesType = 'Analytify_Google_Service_Doubleclicksearch_Availability';
1523 protected $availabilitiesDataType = 'array';
1524
1525 public function setAvailabilities($availabilities)
1526 {
1527 $this->availabilities = $availabilities;
1528 }
1529
1530 public function getAvailabilities()
1531 {
1532 return $this->availabilities;
1533 }
1534 }
1535
1536 class Analytify_Google_Service_Doubleclicksearch_UpdateAvailabilityResponse extends Analytify_Google_Collection
1537 {
1538 protected $availabilitiesType = 'Analytify_Google_Service_Doubleclicksearch_Availability';
1539 protected $availabilitiesDataType = 'array';
1540
1541 public function setAvailabilities($availabilities)
1542 {
1543 $this->availabilities = $availabilities;
1544 }
1545
1546 public function getAvailabilities()
1547 {
1548 return $this->availabilities;
1549 }
1550 }
1551