1 | <?php
|
---|
2 | /*
|
---|
3 | * Copyright 2014 Google Inc.
|
---|
4 | *
|
---|
5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
7 | * the License at
|
---|
8 | *
|
---|
9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 | *
|
---|
11 | * Unless required by applicable law or agreed to in writing, software
|
---|
12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
14 | * License for the specific language governing permissions and limitations under
|
---|
15 | * the License.
|
---|
16 | */
|
---|
17 |
|
---|
18 | namespace Google\Service\Dfareporting;
|
---|
19 |
|
---|
20 | class SiteSettings extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var bool
|
---|
24 | */
|
---|
25 | public $activeViewOptOut;
|
---|
26 | /**
|
---|
27 | * @var bool
|
---|
28 | */
|
---|
29 | public $adBlockingOptOut;
|
---|
30 | /**
|
---|
31 | * @var bool
|
---|
32 | */
|
---|
33 | public $disableNewCookie;
|
---|
34 | protected $tagSettingType = TagSetting::class;
|
---|
35 | protected $tagSettingDataType = '';
|
---|
36 | /**
|
---|
37 | * @var bool
|
---|
38 | */
|
---|
39 | public $videoActiveViewOptOutTemplate;
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $vpaidAdapterChoiceTemplate;
|
---|
44 |
|
---|
45 | /**
|
---|
46 | * @param bool
|
---|
47 | */
|
---|
48 | public function setActiveViewOptOut($activeViewOptOut)
|
---|
49 | {
|
---|
50 | $this->activeViewOptOut = $activeViewOptOut;
|
---|
51 | }
|
---|
52 | /**
|
---|
53 | * @return bool
|
---|
54 | */
|
---|
55 | public function getActiveViewOptOut()
|
---|
56 | {
|
---|
57 | return $this->activeViewOptOut;
|
---|
58 | }
|
---|
59 | /**
|
---|
60 | * @param bool
|
---|
61 | */
|
---|
62 | public function setAdBlockingOptOut($adBlockingOptOut)
|
---|
63 | {
|
---|
64 | $this->adBlockingOptOut = $adBlockingOptOut;
|
---|
65 | }
|
---|
66 | /**
|
---|
67 | * @return bool
|
---|
68 | */
|
---|
69 | public function getAdBlockingOptOut()
|
---|
70 | {
|
---|
71 | return $this->adBlockingOptOut;
|
---|
72 | }
|
---|
73 | /**
|
---|
74 | * @param bool
|
---|
75 | */
|
---|
76 | public function setDisableNewCookie($disableNewCookie)
|
---|
77 | {
|
---|
78 | $this->disableNewCookie = $disableNewCookie;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @return bool
|
---|
82 | */
|
---|
83 | public function getDisableNewCookie()
|
---|
84 | {
|
---|
85 | return $this->disableNewCookie;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @param TagSetting
|
---|
89 | */
|
---|
90 | public function setTagSetting(TagSetting $tagSetting)
|
---|
91 | {
|
---|
92 | $this->tagSetting = $tagSetting;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @return TagSetting
|
---|
96 | */
|
---|
97 | public function getTagSetting()
|
---|
98 | {
|
---|
99 | return $this->tagSetting;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @param bool
|
---|
103 | */
|
---|
104 | public function setVideoActiveViewOptOutTemplate($videoActiveViewOptOutTemplate)
|
---|
105 | {
|
---|
106 | $this->videoActiveViewOptOutTemplate = $videoActiveViewOptOutTemplate;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @return bool
|
---|
110 | */
|
---|
111 | public function getVideoActiveViewOptOutTemplate()
|
---|
112 | {
|
---|
113 | return $this->videoActiveViewOptOutTemplate;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @param string
|
---|
117 | */
|
---|
118 | public function setVpaidAdapterChoiceTemplate($vpaidAdapterChoiceTemplate)
|
---|
119 | {
|
---|
120 | $this->vpaidAdapterChoiceTemplate = $vpaidAdapterChoiceTemplate;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @return string
|
---|
124 | */
|
---|
125 | public function getVpaidAdapterChoiceTemplate()
|
---|
126 | {
|
---|
127 | return $this->vpaidAdapterChoiceTemplate;
|
---|
128 | }
|
---|
129 | }
|
---|
130 |
|
---|
131 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
132 | class_alias(SiteSettings::class, 'Google_Service_Dfareporting_SiteSettings');
|
---|