001// Generated by delombok at Thu Aug 13 13:56:43 UTC 2026
002/*
003 * Copyright (c) 2010-2026 Mark Allen, Norbert Bartels.
004 *
005 * Permission is hereby granted, free of charge, to any person obtaining a copy
006 * of this software and associated documentation files (the "Software"), to deal
007 * in the Software without restriction, including without limitation the rights
008 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
009 * copies of the Software, and to permit persons to whom the Software is
010 * furnished to do so, subject to the following conditions:
011 *
012 * The above copyright notice and this permission notice shall be included in
013 * all copies or substantial portions of the Software.
014 *
015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
018 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
019 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
020 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
021 * THE SOFTWARE.
022 */
023package com.restfb.types.ads;
024
025import com.restfb.Facebook;
026import com.restfb.types.AbstractFacebookType;
027
028/**
029 * Represents the <a href="https://developers.facebook.com/docs/marketing-api/reference/ads-action-stats/">Ads action
030 * stats type</a>
031 */
032public class AdsActionStats extends AbstractFacebookType {
033  /**
034   * The ID of the specific carousel card that people engaged with when they saw your ad.
035   */
036  @Facebook("action_carousel_card_id")
037  private String actionCarouselCardId;
038  /**
039   * The specific carousel card that people engaged with when they saw your ad. The cards are identified by their
040   * headlines.
041   */
042  @Facebook("action_carousel_card_name")
043  private String actionCarouselCardName;
044  /**
045   * The destination where people go after clicking on your ad. This could be your Facebook Page, an external URL for
046   * your conversion pixel or an app configured with the software development kit (SDK).
047   */
048  @Facebook("action_destination")
049  private String actionDestination;
050  /**
051   * The device on which the conversion event you are tracking occurred. For example, "Desktop" if someone converted on
052   * a desktop computer.
053   */
054  @Facebook("action_device")
055  private String actionDevice;
056  /**
057   * The destination where people go after clicking on your ad. This could be your Facebook Page, an external URL for
058   * your conversion pixel or an app configured with the software development kit (SDK).
059   */
060  @Facebook("action_target_id")
061  private String actionTargetId;
062  /**
063   * The kind of actions taken on your ad, Page, app or event after your ad was served to someone, even if they didn't
064   * click on it. Action types include Page likes, app installs, conversions, event responses and more.
065   */
066  @Facebook("action_type")
067  private String actionType;
068  /**
069   * Video metrics breakdown.
070   */
071  @Facebook("action_video_type")
072  private String actionVideoType;
073  /**
074   * Metric value of default attribution window
075   */
076  @Facebook
077  private Double value;
078  /**
079   * Metric value of attribution window "1d_view"
080   */
081  @Facebook("1d_view")
082  private Double view1d;
083  /**
084   * Metric value of attribution window "7d_view"
085   */
086  @Facebook("7d_view")
087  private Double view7d;
088  /**
089   * Metric value of attribution window "28d_view"
090   */
091  @Facebook("28d_view")
092  private Double view28d;
093  /**
094   * Metric value of attribution window "1d_click"
095   */
096  @Facebook("1d_click")
097  private Double click1d;
098  /**
099   * Metric value of attribution window "7d_click"
100   */
101  @Facebook("7d_click")
102  private Double click7d;
103  /**
104   * Metric value of attribution window "28d_click"
105   */
106  @Facebook("28d_click")
107  private Double click28d;
108
109  /**
110   * The ID of the specific carousel card that people engaged with when they saw your ad.
111   */
112  @java.lang.SuppressWarnings("all")
113  @lombok.Generated
114  public String getActionCarouselCardId() {
115    return this.actionCarouselCardId;
116  }
117
118  /**
119   * The ID of the specific carousel card that people engaged with when they saw your ad.
120   */
121  @java.lang.SuppressWarnings("all")
122  @lombok.Generated
123  public void setActionCarouselCardId(final String actionCarouselCardId) {
124    this.actionCarouselCardId = actionCarouselCardId;
125  }
126
127  /**
128   * The specific carousel card that people engaged with when they saw your ad. The cards are identified by their
129   * headlines.
130   */
131  @java.lang.SuppressWarnings("all")
132  @lombok.Generated
133  public String getActionCarouselCardName() {
134    return this.actionCarouselCardName;
135  }
136
137  /**
138   * The specific carousel card that people engaged with when they saw your ad. The cards are identified by their
139   * headlines.
140   */
141  @java.lang.SuppressWarnings("all")
142  @lombok.Generated
143  public void setActionCarouselCardName(final String actionCarouselCardName) {
144    this.actionCarouselCardName = actionCarouselCardName;
145  }
146
147  /**
148   * The destination where people go after clicking on your ad. This could be your Facebook Page, an external URL for
149   * your conversion pixel or an app configured with the software development kit (SDK).
150   */
151  @java.lang.SuppressWarnings("all")
152  @lombok.Generated
153  public String getActionDestination() {
154    return this.actionDestination;
155  }
156
157  /**
158   * The destination where people go after clicking on your ad. This could be your Facebook Page, an external URL for
159   * your conversion pixel or an app configured with the software development kit (SDK).
160   */
161  @java.lang.SuppressWarnings("all")
162  @lombok.Generated
163  public void setActionDestination(final String actionDestination) {
164    this.actionDestination = actionDestination;
165  }
166
167  /**
168   * The device on which the conversion event you are tracking occurred. For example, "Desktop" if someone converted on
169   * a desktop computer.
170   */
171  @java.lang.SuppressWarnings("all")
172  @lombok.Generated
173  public String getActionDevice() {
174    return this.actionDevice;
175  }
176
177  /**
178   * The device on which the conversion event you are tracking occurred. For example, "Desktop" if someone converted on
179   * a desktop computer.
180   */
181  @java.lang.SuppressWarnings("all")
182  @lombok.Generated
183  public void setActionDevice(final String actionDevice) {
184    this.actionDevice = actionDevice;
185  }
186
187  /**
188   * The destination where people go after clicking on your ad. This could be your Facebook Page, an external URL for
189   * your conversion pixel or an app configured with the software development kit (SDK).
190   */
191  @java.lang.SuppressWarnings("all")
192  @lombok.Generated
193  public String getActionTargetId() {
194    return this.actionTargetId;
195  }
196
197  /**
198   * The destination where people go after clicking on your ad. This could be your Facebook Page, an external URL for
199   * your conversion pixel or an app configured with the software development kit (SDK).
200   */
201  @java.lang.SuppressWarnings("all")
202  @lombok.Generated
203  public void setActionTargetId(final String actionTargetId) {
204    this.actionTargetId = actionTargetId;
205  }
206
207  /**
208   * The kind of actions taken on your ad, Page, app or event after your ad was served to someone, even if they didn't
209   * click on it. Action types include Page likes, app installs, conversions, event responses and more.
210   */
211  @java.lang.SuppressWarnings("all")
212  @lombok.Generated
213  public String getActionType() {
214    return this.actionType;
215  }
216
217  /**
218   * The kind of actions taken on your ad, Page, app or event after your ad was served to someone, even if they didn't
219   * click on it. Action types include Page likes, app installs, conversions, event responses and more.
220   */
221  @java.lang.SuppressWarnings("all")
222  @lombok.Generated
223  public void setActionType(final String actionType) {
224    this.actionType = actionType;
225  }
226
227  /**
228   * Video metrics breakdown.
229   */
230  @java.lang.SuppressWarnings("all")
231  @lombok.Generated
232  public String getActionVideoType() {
233    return this.actionVideoType;
234  }
235
236  /**
237   * Video metrics breakdown.
238   */
239  @java.lang.SuppressWarnings("all")
240  @lombok.Generated
241  public void setActionVideoType(final String actionVideoType) {
242    this.actionVideoType = actionVideoType;
243  }
244
245  /**
246   * Metric value of default attribution window
247   */
248  @java.lang.SuppressWarnings("all")
249  @lombok.Generated
250  public Double getValue() {
251    return this.value;
252  }
253
254  /**
255   * Metric value of default attribution window
256   */
257  @java.lang.SuppressWarnings("all")
258  @lombok.Generated
259  public void setValue(final Double value) {
260    this.value = value;
261  }
262
263  /**
264   * Metric value of attribution window "1d_view"
265   */
266  @java.lang.SuppressWarnings("all")
267  @lombok.Generated
268  public Double getView1d() {
269    return this.view1d;
270  }
271
272  /**
273   * Metric value of attribution window "1d_view"
274   */
275  @java.lang.SuppressWarnings("all")
276  @lombok.Generated
277  public void setView1d(final Double view1d) {
278    this.view1d = view1d;
279  }
280
281  /**
282   * Metric value of attribution window "7d_view"
283   */
284  @java.lang.SuppressWarnings("all")
285  @lombok.Generated
286  public Double getView7d() {
287    return this.view7d;
288  }
289
290  /**
291   * Metric value of attribution window "7d_view"
292   */
293  @java.lang.SuppressWarnings("all")
294  @lombok.Generated
295  public void setView7d(final Double view7d) {
296    this.view7d = view7d;
297  }
298
299  /**
300   * Metric value of attribution window "28d_view"
301   */
302  @java.lang.SuppressWarnings("all")
303  @lombok.Generated
304  public Double getView28d() {
305    return this.view28d;
306  }
307
308  /**
309   * Metric value of attribution window "28d_view"
310   */
311  @java.lang.SuppressWarnings("all")
312  @lombok.Generated
313  public void setView28d(final Double view28d) {
314    this.view28d = view28d;
315  }
316
317  /**
318   * Metric value of attribution window "1d_click"
319   */
320  @java.lang.SuppressWarnings("all")
321  @lombok.Generated
322  public Double getClick1d() {
323    return this.click1d;
324  }
325
326  /**
327   * Metric value of attribution window "1d_click"
328   */
329  @java.lang.SuppressWarnings("all")
330  @lombok.Generated
331  public void setClick1d(final Double click1d) {
332    this.click1d = click1d;
333  }
334
335  /**
336   * Metric value of attribution window "7d_click"
337   */
338  @java.lang.SuppressWarnings("all")
339  @lombok.Generated
340  public Double getClick7d() {
341    return this.click7d;
342  }
343
344  /**
345   * Metric value of attribution window "7d_click"
346   */
347  @java.lang.SuppressWarnings("all")
348  @lombok.Generated
349  public void setClick7d(final Double click7d) {
350    this.click7d = click7d;
351  }
352
353  /**
354   * Metric value of attribution window "28d_click"
355   */
356  @java.lang.SuppressWarnings("all")
357  @lombok.Generated
358  public Double getClick28d() {
359    return this.click28d;
360  }
361
362  /**
363   * Metric value of attribution window "28d_click"
364   */
365  @java.lang.SuppressWarnings("all")
366  @lombok.Generated
367  public void setClick28d(final Double click28d) {
368    this.click28d = click28d;
369  }
370}