001// Generated by delombok at Sun Sep 07 20:35:12 UTC 2025 002/* 003 * Copyright (c) 2010-2025 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 java.util.List; 026import com.restfb.Facebook; 027 028/** 029 * Represents the <a href="https://developers.facebook.com/docs/marketing-api/adcreative/">AdGroup Creative type</a>. 030 */ 031public class AdCreative extends NamedAdsObject { 032 private static final long serialVersionUID = 1L; 033 /** 034 * The actor ID (Page ID) of this creative. 035 * 036 * This field is available only for mobile app ads created before 2015 037 */ 038 @Facebook("actor_id") 039 private String actorId; 040 /** 041 * The image used for actor's icon. 042 * 043 * This field is available only for mobile app ads created before 2015 044 */ 045 @Facebook("actor_image_hash") 046 private String actorImageHash; 047 /** 048 * The URL of the icon for the actor (Page ID) of this creative. 049 * 050 * This field is only available for mobile app ads created before 2015 051 */ 052 @Facebook("actor_image_url") 053 private String actorImageUrl; 054 /** 055 * The title text used for actor. 056 * 057 * This field is available only for mobile app ads created before 2015 058 */ 059 @Facebook("actor_name") 060 private String actorName; 061 /** 062 * Ad Labels that are associated with this creative 063 */ 064 @Facebook("adlabels") 065 private List<AdLabel> adlabels; 066 /** 067 * Deep link fallback behavior for dynamic product ads if the app is not installed. 068 */ 069 @Facebook("applink_treatment") 070 private String applinkTreatment; 071 /** 072 * Used for Dynamic Creative to automatically experiment and deliver different variations of an ad's creative. 073 */ 074 @Facebook("asset_feed_spec") 075 private AdAssetFeedSpec assetFeedSpec; 076 /** 077 * The body of the ad 078 */ 079 @Facebook 080 private String body; 081 /** 082 * The call to action button text and header text of legacy ads. 083 */ 084 @Facebook("call_to_action_type") 085 private String callToActionType; 086 /** 087 * A JSON object defining crop dimensions for the image specified. 088 * 089 * See image crop reference for more details 090 */ 091 @Facebook("image_crops") 092 private AdsImageCrops imageCrops; 093 @Deprecated 094 @Facebook("effective_instagram_story_id") 095 private String effectiveInstagramStoryId; 096 @Facebook("effective_object_story_id") 097 private String effectiveObjectStoryId; 098 @Facebook("effective_instagram_media_id") 099 private String effectiveInstagramMediaId; 100 /** 101 * Image hash for an image you can use in creatives. 102 * 103 * See image library for more details 104 */ 105 @Facebook("image_hash") 106 private String imageHash; 107 /** 108 * A URL for the image for this creative. 109 * 110 * The image specified at this URL will be saved into the ad account's image library 111 */ 112 @Facebook("image_url") 113 private String imageUrl; 114 /** 115 * Instagram actor ID 116 */ 117 @Deprecated 118 @Facebook("instagram_actor_id") 119 private String instagramActorId; 120 /** 121 * Instagram user ID 122 */ 123 @Facebook("instagram_user_id") 124 private String instagramUserId; 125 /** 126 * Instagram permalink 127 */ 128 @Facebook("instagram_permalink_url") 129 private String instagramPermalinkUrl; 130 /** 131 * Instagram Story ID 132 * 133 * -- GETTER 134 */ 135 @Facebook("instagram_story_id") 136 private String instagramStoryId; 137 @Facebook("interactive_components_spec") 138 private AdCreativeInteractiveComponentsSpec interactiveComponentsSpec; 139 /** 140 * The Open Graph (OG) ID for the link in this creative if the landing page has OG tags 141 */ 142 @Facebook("link_og_id") 143 private String linkOgId; 144 /** 145 * Used to identify a specific landing tab on the Page (e.g. a Page tab app) by the Page tab's URL. 146 * 147 * See connection objects for retrieving Page tabs' URLs. app_data parameters may be added to the url to pass data to 148 * a tab app 149 */ 150 @Facebook("link_url") 151 private String linkUrl; 152 /** 153 * The ID of the promoted_object or object that is relevant to the ad and ad type 154 */ 155 @Facebook("object_id") 156 private String objectId; 157 /** 158 * The ID of a page post to use in an ad. 159 * 160 * This ID can be retrieved by using the graph API to query the posts of the page. If an image is used in the post, it 161 * will be downloaded and available in your account's image library 162 */ 163 @Facebook("object_story_id") 164 private String objectStoryId; 165 /** 166 * The page id and the content to create a new unpublished page post specified using one of link_data, photo_data, 167 * video_data, offer_data, text_data or template_data 168 */ 169 @Facebook("object_story_spec") 170 private AdCreativeObjectStorySpec objectStorySpec; 171 /** 172 * The type of object that is being advertised. 173 * 174 * Allowed values are: 175 * <ul> 176 * <li>PAGE</li> 177 * <li>DOMAIN</li> 178 * <li>EVENT</li> 179 * <li>STORE_ITEM: refers to an iTunes or Google Play store destination</li> 180 * <li>OFFER</li> 181 * <li>SHARE: from a page</li> 182 * <li>PHOTO</li> 183 * <li>STATUS: of a page</li> 184 * <li>VIDEO</li> 185 * <li>APPLICATION: app on Facebook</li> 186 * <li>INVALID: when an invalid object_id was specified such as a deleted object or if you do not have permission to 187 * see the object. In very few cases, this field may be empty if Facebook is unable to identify the type of advertised 188 * object</li> 189 * </ul> 190 */ 191 @Facebook("object_type") 192 private String objectType; 193 /** 194 * Destination URL for a link ads not connected to a page 195 */ 196 @Facebook("object_url") 197 private String objectUrl; 198 /** 199 * Use this field to customize the media for different Facebook placements. 200 * 201 * Currently you can use this field for customizing images only. The media specified here replaces the original media 202 * defined in the ad creative when the ad displays on those placements. For example, if you define a media here for 203 * the instagram key, Facebook uses that media instead of the media defined in the ad creative when showing the ad on 204 * Instagram. 205 */ 206 @Facebook("platform_customizations") 207 private String platformCustomizations; 208 /** 209 * The ID of the product set for this creative. See dynamic product ads for more detail 210 */ 211 @Facebook("product_set_id") 212 private String productSetId; 213 @Facebook("source_instagram_media_id") 214 private String sourceInstagramMediaId; 215 /** 216 * The run status of this creative. 217 * 218 * Allowed values are: 219 * <ul> 220 * <li>ACTIVE</li> 221 * <li>DELETED</li> 222 * </ul> 223 */ 224 @Facebook("run_status") 225 private String runStatus; 226 /** 227 * The Tracking URL for dynamic product ads. 228 * 229 * See dynamic product ads for more detail 230 */ 231 @Facebook("template_url") 232 private String templateUrl; 233 /** 234 * The URL to a thumbnail for this creative. 235 * 236 * You can optionally request dimensions of this thumbnail by providing the thumbnail_width and thumbnail_height 237 * parameters. See example for more detail 238 */ 239 @Facebook("thumbnail_url") 240 private String thumbnailUrl; 241 /** 242 * Title for a link ad (not connected to a Page) 243 */ 244 @Facebook("title") 245 private String title; 246 /** 247 * A set of query string parameters which will replace or be appended to urls clicked from page post ads, and canvas 248 * app install creatives only 249 */ 250 @Facebook("url_tags") 251 private String urlTags; 252 @Facebook("use_page_actor_override") 253 private Boolean usePageActorOverride; 254 @Facebook("video_id") 255 private String videoId; 256 @Facebook("creative_id") 257 private String creativeId; 258 259 /** 260 * @return The actor ID (Page ID) of this creative. 261 */ 262 @java.lang.SuppressWarnings("all") 263 public String getActorId() { 264 return this.actorId; 265 } 266 267 /** 268 * The actor ID (Page ID) of this creative. 269 * 270 * This field is available only for mobile app ads created before 2015 271 */ 272 @java.lang.SuppressWarnings("all") 273 public void setActorId(final String actorId) { 274 this.actorId = actorId; 275 } 276 277 /** 278 * @return The image used for actor's icon. 279 */ 280 @java.lang.SuppressWarnings("all") 281 public String getActorImageHash() { 282 return this.actorImageHash; 283 } 284 285 /** 286 * The image used for actor's icon. 287 * 288 * This field is available only for mobile app ads created before 2015 289 */ 290 @java.lang.SuppressWarnings("all") 291 public void setActorImageHash(final String actorImageHash) { 292 this.actorImageHash = actorImageHash; 293 } 294 295 /** 296 * @return The URL of the icon for the actor (Page ID) of this creative. 297 */ 298 @java.lang.SuppressWarnings("all") 299 public String getActorImageUrl() { 300 return this.actorImageUrl; 301 } 302 303 /** 304 * The URL of the icon for the actor (Page ID) of this creative. 305 * 306 * This field is only available for mobile app ads created before 2015 307 */ 308 @java.lang.SuppressWarnings("all") 309 public void setActorImageUrl(final String actorImageUrl) { 310 this.actorImageUrl = actorImageUrl; 311 } 312 313 /** 314 * @return The title text used for actor. 315 */ 316 @java.lang.SuppressWarnings("all") 317 public String getActorName() { 318 return this.actorName; 319 } 320 321 /** 322 * The title text used for actor. 323 * 324 * This field is available only for mobile app ads created before 2015 325 */ 326 @java.lang.SuppressWarnings("all") 327 public void setActorName(final String actorName) { 328 this.actorName = actorName; 329 } 330 331 /** 332 * @return Ad Labels that are associated with this creative 333 */ 334 @java.lang.SuppressWarnings("all") 335 public List<AdLabel> getAdlabels() { 336 return this.adlabels; 337 } 338 339 /** 340 * Ad Labels that are associated with this creative 341 */ 342 @java.lang.SuppressWarnings("all") 343 public void setAdlabels(final List<AdLabel> adlabels) { 344 this.adlabels = adlabels; 345 } 346 347 /** 348 * Deep link fallback behavior for dynamic product ads if the app is not installed. 349 */ 350 @java.lang.SuppressWarnings("all") 351 public String getApplinkTreatment() { 352 return this.applinkTreatment; 353 } 354 355 /** 356 * Deep link fallback behavior for dynamic product ads if the app is not installed. 357 */ 358 @java.lang.SuppressWarnings("all") 359 public void setApplinkTreatment(final String applinkTreatment) { 360 this.applinkTreatment = applinkTreatment; 361 } 362 363 /** 364 * Used for Dynamic Creative to automatically experiment and deliver different variations of an ad's creative. 365 */ 366 @java.lang.SuppressWarnings("all") 367 public AdAssetFeedSpec getAssetFeedSpec() { 368 return this.assetFeedSpec; 369 } 370 371 /** 372 * Used for Dynamic Creative to automatically experiment and deliver different variations of an ad's creative. 373 */ 374 @java.lang.SuppressWarnings("all") 375 public void setAssetFeedSpec(final AdAssetFeedSpec assetFeedSpec) { 376 this.assetFeedSpec = assetFeedSpec; 377 } 378 379 /** 380 * @return The body of the ad 381 */ 382 @java.lang.SuppressWarnings("all") 383 public String getBody() { 384 return this.body; 385 } 386 387 /** 388 * The body of the ad 389 */ 390 @java.lang.SuppressWarnings("all") 391 public void setBody(final String body) { 392 this.body = body; 393 } 394 395 /** 396 * @return The call to action button text and header text of legacy ads. 397 */ 398 @java.lang.SuppressWarnings("all") 399 public String getCallToActionType() { 400 return this.callToActionType; 401 } 402 403 /** 404 * The call to action button text and header text of legacy ads. 405 */ 406 @java.lang.SuppressWarnings("all") 407 public void setCallToActionType(final String callToActionType) { 408 this.callToActionType = callToActionType; 409 } 410 411 /** 412 * @return A JSON object defining crop dimensions for the image specified. 413 */ 414 @java.lang.SuppressWarnings("all") 415 public AdsImageCrops getImageCrops() { 416 return this.imageCrops; 417 } 418 419 /** 420 * A JSON object defining crop dimensions for the image specified. 421 * 422 * See image crop reference for more details 423 */ 424 @java.lang.SuppressWarnings("all") 425 public void setImageCrops(final AdsImageCrops imageCrops) { 426 this.imageCrops = imageCrops; 427 } 428 429 @java.lang.Deprecated 430 @java.lang.SuppressWarnings("all") 431 public String getEffectiveInstagramStoryId() { 432 return this.effectiveInstagramStoryId; 433 } 434 435 @java.lang.Deprecated 436 @java.lang.SuppressWarnings("all") 437 public void setEffectiveInstagramStoryId(final String effectiveInstagramStoryId) { 438 this.effectiveInstagramStoryId = effectiveInstagramStoryId; 439 } 440 441 @java.lang.SuppressWarnings("all") 442 public String getEffectiveObjectStoryId() { 443 return this.effectiveObjectStoryId; 444 } 445 446 @java.lang.SuppressWarnings("all") 447 public void setEffectiveObjectStoryId(final String effectiveObjectStoryId) { 448 this.effectiveObjectStoryId = effectiveObjectStoryId; 449 } 450 451 @java.lang.SuppressWarnings("all") 452 public String getEffectiveInstagramMediaId() { 453 return this.effectiveInstagramMediaId; 454 } 455 456 @java.lang.SuppressWarnings("all") 457 public void setEffectiveInstagramMediaId(final String effectiveInstagramMediaId) { 458 this.effectiveInstagramMediaId = effectiveInstagramMediaId; 459 } 460 461 /** 462 * @return Image hash for an image you can use in creatives. 463 */ 464 @java.lang.SuppressWarnings("all") 465 public String getImageHash() { 466 return this.imageHash; 467 } 468 469 /** 470 * Image hash for an image you can use in creatives. 471 * 472 * See image library for more details 473 */ 474 @java.lang.SuppressWarnings("all") 475 public void setImageHash(final String imageHash) { 476 this.imageHash = imageHash; 477 } 478 479 /** 480 * @return A URL for the image for this creative. 481 */ 482 @java.lang.SuppressWarnings("all") 483 public String getImageUrl() { 484 return this.imageUrl; 485 } 486 487 /** 488 * A URL for the image for this creative. 489 * 490 * The image specified at this URL will be saved into the ad account's image library 491 */ 492 @java.lang.SuppressWarnings("all") 493 public void setImageUrl(final String imageUrl) { 494 this.imageUrl = imageUrl; 495 } 496 497 /** 498 * @return Instagram actor ID 499 */ 500 @java.lang.Deprecated 501 @java.lang.SuppressWarnings("all") 502 public String getInstagramActorId() { 503 return this.instagramActorId; 504 } 505 506 /** 507 * Instagram actor ID 508 */ 509 @java.lang.Deprecated 510 @java.lang.SuppressWarnings("all") 511 public void setInstagramActorId(final String instagramActorId) { 512 this.instagramActorId = instagramActorId; 513 } 514 515 /** 516 * @return Instagram user ID 517 */ 518 @java.lang.SuppressWarnings("all") 519 public String getInstagramUserId() { 520 return this.instagramUserId; 521 } 522 523 /** 524 * Instagram user ID 525 */ 526 @java.lang.SuppressWarnings("all") 527 public void setInstagramUserId(final String instagramUserId) { 528 this.instagramUserId = instagramUserId; 529 } 530 531 /** 532 * @return Instagram permalink 533 */ 534 @java.lang.SuppressWarnings("all") 535 public String getInstagramPermalinkUrl() { 536 return this.instagramPermalinkUrl; 537 } 538 539 /** 540 * Instagram permalink 541 */ 542 @java.lang.SuppressWarnings("all") 543 public void setInstagramPermalinkUrl(final String instagramPermalinkUrl) { 544 this.instagramPermalinkUrl = instagramPermalinkUrl; 545 } 546 547 /** 548 * Instagram Story ID 549 * 550 * -- GETTER 551 * 552 * @return Instagram Story ID 553 */ 554 @java.lang.SuppressWarnings("all") 555 public String getInstagramStoryId() { 556 return this.instagramStoryId; 557 } 558 559 /** 560 * Instagram Story ID 561 * 562 * -- GETTER 563 */ 564 @java.lang.SuppressWarnings("all") 565 public void setInstagramStoryId(final String instagramStoryId) { 566 this.instagramStoryId = instagramStoryId; 567 } 568 569 @java.lang.SuppressWarnings("all") 570 public AdCreativeInteractiveComponentsSpec getInteractiveComponentsSpec() { 571 return this.interactiveComponentsSpec; 572 } 573 574 @java.lang.SuppressWarnings("all") 575 public void setInteractiveComponentsSpec(final AdCreativeInteractiveComponentsSpec interactiveComponentsSpec) { 576 this.interactiveComponentsSpec = interactiveComponentsSpec; 577 } 578 579 /** 580 * @return The Open Graph (OG) ID for the link in this creative if the landing page has OG tags 581 */ 582 @java.lang.SuppressWarnings("all") 583 public String getLinkOgId() { 584 return this.linkOgId; 585 } 586 587 /** 588 * The Open Graph (OG) ID for the link in this creative if the landing page has OG tags 589 */ 590 @java.lang.SuppressWarnings("all") 591 public void setLinkOgId(final String linkOgId) { 592 this.linkOgId = linkOgId; 593 } 594 595 /** 596 * @return Used to identify a specific landing tab on the Page (e.g. a Page tab app) by the Page tab's URL. 597 */ 598 @java.lang.SuppressWarnings("all") 599 public String getLinkUrl() { 600 return this.linkUrl; 601 } 602 603 /** 604 * Used to identify a specific landing tab on the Page (e.g. a Page tab app) by the Page tab's URL. 605 * 606 * See connection objects for retrieving Page tabs' URLs. app_data parameters may be added to the url to pass data to 607 * a tab app 608 */ 609 @java.lang.SuppressWarnings("all") 610 public void setLinkUrl(final String linkUrl) { 611 this.linkUrl = linkUrl; 612 } 613 614 /** 615 * @return The ID of the promoted_object or object that is relevant to the ad and ad type 616 */ 617 @java.lang.SuppressWarnings("all") 618 public String getObjectId() { 619 return this.objectId; 620 } 621 622 /** 623 * The ID of the promoted_object or object that is relevant to the ad and ad type 624 */ 625 @java.lang.SuppressWarnings("all") 626 public void setObjectId(final String objectId) { 627 this.objectId = objectId; 628 } 629 630 /** 631 * @return The ID of a page post to use in an ad. 632 */ 633 @java.lang.SuppressWarnings("all") 634 public String getObjectStoryId() { 635 return this.objectStoryId; 636 } 637 638 /** 639 * The ID of a page post to use in an ad. 640 * 641 * This ID can be retrieved by using the graph API to query the posts of the page. If an image is used in the post, it 642 * will be downloaded and available in your account's image library 643 */ 644 @java.lang.SuppressWarnings("all") 645 public void setObjectStoryId(final String objectStoryId) { 646 this.objectStoryId = objectStoryId; 647 } 648 649 /** 650 * @return The page id and the content to create a new unpublished page post 651 */ 652 @java.lang.SuppressWarnings("all") 653 public AdCreativeObjectStorySpec getObjectStorySpec() { 654 return this.objectStorySpec; 655 } 656 657 /** 658 * The page id and the content to create a new unpublished page post specified using one of link_data, photo_data, 659 * video_data, offer_data, text_data or template_data 660 */ 661 @java.lang.SuppressWarnings("all") 662 public void setObjectStorySpec(final AdCreativeObjectStorySpec objectStorySpec) { 663 this.objectStorySpec = objectStorySpec; 664 } 665 666 /** 667 * @return The type of object that is being advertised. 668 */ 669 @java.lang.SuppressWarnings("all") 670 public String getObjectType() { 671 return this.objectType; 672 } 673 674 /** 675 * The type of object that is being advertised. 676 * 677 * Allowed values are: 678 * <ul> 679 * <li>PAGE</li> 680 * <li>DOMAIN</li> 681 * <li>EVENT</li> 682 * <li>STORE_ITEM: refers to an iTunes or Google Play store destination</li> 683 * <li>OFFER</li> 684 * <li>SHARE: from a page</li> 685 * <li>PHOTO</li> 686 * <li>STATUS: of a page</li> 687 * <li>VIDEO</li> 688 * <li>APPLICATION: app on Facebook</li> 689 * <li>INVALID: when an invalid object_id was specified such as a deleted object or if you do not have permission to 690 * see the object. In very few cases, this field may be empty if Facebook is unable to identify the type of advertised 691 * object</li> 692 * </ul> 693 */ 694 @java.lang.SuppressWarnings("all") 695 public void setObjectType(final String objectType) { 696 this.objectType = objectType; 697 } 698 699 /** 700 * @return Destination URL for a link ads not connected to a page 701 */ 702 @java.lang.SuppressWarnings("all") 703 public String getObjectUrl() { 704 return this.objectUrl; 705 } 706 707 /** 708 * Destination URL for a link ads not connected to a page 709 */ 710 @java.lang.SuppressWarnings("all") 711 public void setObjectUrl(final String objectUrl) { 712 this.objectUrl = objectUrl; 713 } 714 715 /** 716 * @return Use this field to customize the media for different Facebook placements. 717 */ 718 @java.lang.SuppressWarnings("all") 719 public String getPlatformCustomizations() { 720 return this.platformCustomizations; 721 } 722 723 /** 724 * Use this field to customize the media for different Facebook placements. 725 * 726 * Currently you can use this field for customizing images only. The media specified here replaces the original media 727 * defined in the ad creative when the ad displays on those placements. For example, if you define a media here for 728 * the instagram key, Facebook uses that media instead of the media defined in the ad creative when showing the ad on 729 * Instagram. 730 */ 731 @java.lang.SuppressWarnings("all") 732 public void setPlatformCustomizations(final String platformCustomizations) { 733 this.platformCustomizations = platformCustomizations; 734 } 735 736 /** 737 * @return The ID of the product set for this creative. See dynamic product ads for more detail 738 */ 739 @java.lang.SuppressWarnings("all") 740 public String getProductSetId() { 741 return this.productSetId; 742 } 743 744 /** 745 * The ID of the product set for this creative. See dynamic product ads for more detail 746 */ 747 @java.lang.SuppressWarnings("all") 748 public void setProductSetId(final String productSetId) { 749 this.productSetId = productSetId; 750 } 751 752 @java.lang.SuppressWarnings("all") 753 public String getSourceInstagramMediaId() { 754 return this.sourceInstagramMediaId; 755 } 756 757 @java.lang.SuppressWarnings("all") 758 public void setSourceInstagramMediaId(final String sourceInstagramMediaId) { 759 this.sourceInstagramMediaId = sourceInstagramMediaId; 760 } 761 762 /** 763 * @return The run status of this creative. 764 */ 765 @java.lang.SuppressWarnings("all") 766 public String getRunStatus() { 767 return this.runStatus; 768 } 769 770 /** 771 * The run status of this creative. 772 * 773 * Allowed values are: 774 * <ul> 775 * <li>ACTIVE</li> 776 * <li>DELETED</li> 777 * </ul> 778 */ 779 @java.lang.SuppressWarnings("all") 780 public void setRunStatus(final String runStatus) { 781 this.runStatus = runStatus; 782 } 783 784 /** 785 * @return The Tracking URL for dynamic product ads. 786 */ 787 @java.lang.SuppressWarnings("all") 788 public String getTemplateUrl() { 789 return this.templateUrl; 790 } 791 792 /** 793 * The Tracking URL for dynamic product ads. 794 * 795 * See dynamic product ads for more detail 796 */ 797 @java.lang.SuppressWarnings("all") 798 public void setTemplateUrl(final String templateUrl) { 799 this.templateUrl = templateUrl; 800 } 801 802 /** 803 * @return The URL to a thumbnail for this creative. 804 */ 805 @java.lang.SuppressWarnings("all") 806 public String getThumbnailUrl() { 807 return this.thumbnailUrl; 808 } 809 810 /** 811 * The URL to a thumbnail for this creative. 812 * 813 * You can optionally request dimensions of this thumbnail by providing the thumbnail_width and thumbnail_height 814 * parameters. See example for more detail 815 */ 816 @java.lang.SuppressWarnings("all") 817 public void setThumbnailUrl(final String thumbnailUrl) { 818 this.thumbnailUrl = thumbnailUrl; 819 } 820 821 /** 822 * @return Title for a link ad (not connected to a Page) 823 */ 824 @java.lang.SuppressWarnings("all") 825 public String getTitle() { 826 return this.title; 827 } 828 829 /** 830 * Title for a link ad (not connected to a Page) 831 */ 832 @java.lang.SuppressWarnings("all") 833 public void setTitle(final String title) { 834 this.title = title; 835 } 836 837 /** 838 * @return A set of query string parameters 839 */ 840 @java.lang.SuppressWarnings("all") 841 public String getUrlTags() { 842 return this.urlTags; 843 } 844 845 /** 846 * A set of query string parameters which will replace or be appended to urls clicked from page post ads, and canvas 847 * app install creatives only 848 */ 849 @java.lang.SuppressWarnings("all") 850 public void setUrlTags(final String urlTags) { 851 this.urlTags = urlTags; 852 } 853 854 @java.lang.SuppressWarnings("all") 855 public Boolean getUsePageActorOverride() { 856 return this.usePageActorOverride; 857 } 858 859 @java.lang.SuppressWarnings("all") 860 public void setUsePageActorOverride(final Boolean usePageActorOverride) { 861 this.usePageActorOverride = usePageActorOverride; 862 } 863 864 @java.lang.SuppressWarnings("all") 865 public String getVideoId() { 866 return this.videoId; 867 } 868 869 @java.lang.SuppressWarnings("all") 870 public void setVideoId(final String videoId) { 871 this.videoId = videoId; 872 } 873 874 @java.lang.SuppressWarnings("all") 875 public String getCreativeId() { 876 return this.creativeId; 877 } 878 879 @java.lang.SuppressWarnings("all") 880 public void setCreativeId(final String creativeId) { 881 this.creativeId = creativeId; 882 } 883}