source: vendor/google/apiclient-services/src/AdExchangeBuyer/CreativeNativeAd.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 3.7 KB
Line 
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
18namespace Google\Service\AdExchangeBuyer;
19
20class CreativeNativeAd extends \Google\Collection
21{
22 protected $collection_key = 'impressionTrackingUrl';
23 public $advertiser;
24 protected $appIconType = CreativeNativeAdAppIcon::class;
25 protected $appIconDataType = '';
26 public $body;
27 public $callToAction;
28 public $clickLinkUrl;
29 public $clickTrackingUrl;
30 public $headline;
31 protected $imageType = CreativeNativeAdImage::class;
32 protected $imageDataType = '';
33 public $impressionTrackingUrl;
34 protected $logoType = CreativeNativeAdLogo::class;
35 protected $logoDataType = '';
36 public $price;
37 public $starRating;
38 public $videoURL;
39
40 public function setAdvertiser($advertiser)
41 {
42 $this->advertiser = $advertiser;
43 }
44 public function getAdvertiser()
45 {
46 return $this->advertiser;
47 }
48 /**
49 * @param CreativeNativeAdAppIcon
50 */
51 public function setAppIcon(CreativeNativeAdAppIcon $appIcon)
52 {
53 $this->appIcon = $appIcon;
54 }
55 /**
56 * @return CreativeNativeAdAppIcon
57 */
58 public function getAppIcon()
59 {
60 return $this->appIcon;
61 }
62 public function setBody($body)
63 {
64 $this->body = $body;
65 }
66 public function getBody()
67 {
68 return $this->body;
69 }
70 public function setCallToAction($callToAction)
71 {
72 $this->callToAction = $callToAction;
73 }
74 public function getCallToAction()
75 {
76 return $this->callToAction;
77 }
78 public function setClickLinkUrl($clickLinkUrl)
79 {
80 $this->clickLinkUrl = $clickLinkUrl;
81 }
82 public function getClickLinkUrl()
83 {
84 return $this->clickLinkUrl;
85 }
86 public function setClickTrackingUrl($clickTrackingUrl)
87 {
88 $this->clickTrackingUrl = $clickTrackingUrl;
89 }
90 public function getClickTrackingUrl()
91 {
92 return $this->clickTrackingUrl;
93 }
94 public function setHeadline($headline)
95 {
96 $this->headline = $headline;
97 }
98 public function getHeadline()
99 {
100 return $this->headline;
101 }
102 /**
103 * @param CreativeNativeAdImage
104 */
105 public function setImage(CreativeNativeAdImage $image)
106 {
107 $this->image = $image;
108 }
109 /**
110 * @return CreativeNativeAdImage
111 */
112 public function getImage()
113 {
114 return $this->image;
115 }
116 public function setImpressionTrackingUrl($impressionTrackingUrl)
117 {
118 $this->impressionTrackingUrl = $impressionTrackingUrl;
119 }
120 public function getImpressionTrackingUrl()
121 {
122 return $this->impressionTrackingUrl;
123 }
124 /**
125 * @param CreativeNativeAdLogo
126 */
127 public function setLogo(CreativeNativeAdLogo $logo)
128 {
129 $this->logo = $logo;
130 }
131 /**
132 * @return CreativeNativeAdLogo
133 */
134 public function getLogo()
135 {
136 return $this->logo;
137 }
138 public function setPrice($price)
139 {
140 $this->price = $price;
141 }
142 public function getPrice()
143 {
144 return $this->price;
145 }
146 public function setStarRating($starRating)
147 {
148 $this->starRating = $starRating;
149 }
150 public function getStarRating()
151 {
152 return $this->starRating;
153 }
154 public function setVideoURL($videoURL)
155 {
156 $this->videoURL = $videoURL;
157 }
158 public function getVideoURL()
159 {
160 return $this->videoURL;
161 }
162}
163
164// Adding a class alias for backwards compatibility with the previous class name.
165class_alias(CreativeNativeAd::class, 'Google_Service_AdExchangeBuyer_CreativeNativeAd');
Note: See TracBrowser for help on using the repository browser.