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\SA360;
|
---|
19 |
|
---|
20 | class GoogleAdsSearchads360V0ResourcesAd extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'finalUrls';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $displayUrl;
|
---|
27 | protected $expandedDynamicSearchAdType = GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo::class;
|
---|
28 | protected $expandedDynamicSearchAdDataType = '';
|
---|
29 | protected $expandedTextAdType = GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo::class;
|
---|
30 | protected $expandedTextAdDataType = '';
|
---|
31 | /**
|
---|
32 | * @var string[]
|
---|
33 | */
|
---|
34 | public $finalUrls;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $id;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $name;
|
---|
43 | protected $productAdType = GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo::class;
|
---|
44 | protected $productAdDataType = '';
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $resourceName;
|
---|
49 | protected $responsiveSearchAdType = GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo::class;
|
---|
50 | protected $responsiveSearchAdDataType = '';
|
---|
51 | protected $textAdType = GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo::class;
|
---|
52 | protected $textAdDataType = '';
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $type;
|
---|
57 |
|
---|
58 | /**
|
---|
59 | * @param string
|
---|
60 | */
|
---|
61 | public function setDisplayUrl($displayUrl)
|
---|
62 | {
|
---|
63 | $this->displayUrl = $displayUrl;
|
---|
64 | }
|
---|
65 | /**
|
---|
66 | * @return string
|
---|
67 | */
|
---|
68 | public function getDisplayUrl()
|
---|
69 | {
|
---|
70 | return $this->displayUrl;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @param GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo
|
---|
74 | */
|
---|
75 | public function setExpandedDynamicSearchAd(GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo $expandedDynamicSearchAd)
|
---|
76 | {
|
---|
77 | $this->expandedDynamicSearchAd = $expandedDynamicSearchAd;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @return GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo
|
---|
81 | */
|
---|
82 | public function getExpandedDynamicSearchAd()
|
---|
83 | {
|
---|
84 | return $this->expandedDynamicSearchAd;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @param GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo
|
---|
88 | */
|
---|
89 | public function setExpandedTextAd(GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo $expandedTextAd)
|
---|
90 | {
|
---|
91 | $this->expandedTextAd = $expandedTextAd;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @return GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo
|
---|
95 | */
|
---|
96 | public function getExpandedTextAd()
|
---|
97 | {
|
---|
98 | return $this->expandedTextAd;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @param string[]
|
---|
102 | */
|
---|
103 | public function setFinalUrls($finalUrls)
|
---|
104 | {
|
---|
105 | $this->finalUrls = $finalUrls;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @return string[]
|
---|
109 | */
|
---|
110 | public function getFinalUrls()
|
---|
111 | {
|
---|
112 | return $this->finalUrls;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @param string
|
---|
116 | */
|
---|
117 | public function setId($id)
|
---|
118 | {
|
---|
119 | $this->id = $id;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @return string
|
---|
123 | */
|
---|
124 | public function getId()
|
---|
125 | {
|
---|
126 | return $this->id;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @param string
|
---|
130 | */
|
---|
131 | public function setName($name)
|
---|
132 | {
|
---|
133 | $this->name = $name;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @return string
|
---|
137 | */
|
---|
138 | public function getName()
|
---|
139 | {
|
---|
140 | return $this->name;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @param GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo
|
---|
144 | */
|
---|
145 | public function setProductAd(GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo $productAd)
|
---|
146 | {
|
---|
147 | $this->productAd = $productAd;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @return GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo
|
---|
151 | */
|
---|
152 | public function getProductAd()
|
---|
153 | {
|
---|
154 | return $this->productAd;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @param string
|
---|
158 | */
|
---|
159 | public function setResourceName($resourceName)
|
---|
160 | {
|
---|
161 | $this->resourceName = $resourceName;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @return string
|
---|
165 | */
|
---|
166 | public function getResourceName()
|
---|
167 | {
|
---|
168 | return $this->resourceName;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @param GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo
|
---|
172 | */
|
---|
173 | public function setResponsiveSearchAd(GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo $responsiveSearchAd)
|
---|
174 | {
|
---|
175 | $this->responsiveSearchAd = $responsiveSearchAd;
|
---|
176 | }
|
---|
177 | /**
|
---|
178 | * @return GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo
|
---|
179 | */
|
---|
180 | public function getResponsiveSearchAd()
|
---|
181 | {
|
---|
182 | return $this->responsiveSearchAd;
|
---|
183 | }
|
---|
184 | /**
|
---|
185 | * @param GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
|
---|
186 | */
|
---|
187 | public function setTextAd(GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo $textAd)
|
---|
188 | {
|
---|
189 | $this->textAd = $textAd;
|
---|
190 | }
|
---|
191 | /**
|
---|
192 | * @return GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
|
---|
193 | */
|
---|
194 | public function getTextAd()
|
---|
195 | {
|
---|
196 | return $this->textAd;
|
---|
197 | }
|
---|
198 | /**
|
---|
199 | * @param string
|
---|
200 | */
|
---|
201 | public function setType($type)
|
---|
202 | {
|
---|
203 | $this->type = $type;
|
---|
204 | }
|
---|
205 | /**
|
---|
206 | * @return string
|
---|
207 | */
|
---|
208 | public function getType()
|
---|
209 | {
|
---|
210 | return $this->type;
|
---|
211 | }
|
---|
212 | }
|
---|
213 |
|
---|
214 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
215 | class_alias(GoogleAdsSearchads360V0ResourcesAd::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAd');
|
---|