Package com.restfb.types.ads
Class AdCreativeObjectStorySpec
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.ads.AdCreativeObjectStorySpec
-
- All Implemented Interfaces:
Serializable
public class AdCreativeObjectStorySpec extends AbstractFacebookType
Represents the AdCreativeObjectStorySpec Marketing API type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AdCreativeObjectStorySpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInstagramActorId()
AdCreativeLinkData
getLinkData()
AdCreativeOfferData
getOfferData()
String
getPageId()
AdCreativePhotoData
getPhotoData()
AdCreativeLinkData
getTemplateData()
AdCreativeTextData
getTextData()
AdCreativeVideoData
getVideoData()
void
setInstagramActorId(String instagramActorId)
The Instagram user account that the story will be posted tovoid
setLinkData(AdCreativeLinkData linkData)
The spec for a link page post or carousel advoid
setOfferData(AdCreativeOfferData offerData)
The spec for an offer page post.void
setPageId(String pageId)
ID of a Facebook page.void
setPhotoData(AdCreativePhotoData photoData)
The spec for a photo page post.void
setTemplateData(AdCreativeLinkData templateData)
The spec for a template link page post as used in Dynamic Product Ads.void
setTextData(AdCreativeTextData textData)
The spec for a text page post.void
setVideoData(AdCreativeVideoData videoData)
The spec for a video page post.-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
AdCreativeObjectStorySpec
public AdCreativeObjectStorySpec()
-
-
Method Detail
-
getInstagramActorId
public String getInstagramActorId()
- Returns:
- The Instagram user account that the story will be posted to
-
setInstagramActorId
public void setInstagramActorId(String instagramActorId)
The Instagram user account that the story will be posted to
-
getLinkData
public AdCreativeLinkData getLinkData()
- Returns:
- The spec for a link page post or carousel ad
-
setLinkData
public void setLinkData(AdCreativeLinkData linkData)
The spec for a link page post or carousel ad
-
getOfferData
public AdCreativeOfferData getOfferData()
- Returns:
- The spec for an offer page post.
-
setOfferData
public void setOfferData(AdCreativeOfferData offerData)
The spec for an offer page post.
-
setPageId
public void setPageId(String pageId)
ID of a Facebook page. An unpublished page post will be created on this page. User must have Admin or Editor role for this page.
-
getPhotoData
public AdCreativePhotoData getPhotoData()
- Returns:
- The spec for a photo page post.
-
setPhotoData
public void setPhotoData(AdCreativePhotoData photoData)
The spec for a photo page post.
-
getTemplateData
public AdCreativeLinkData getTemplateData()
- Returns:
- The spec for a template link page post as used in Dynamic Product Ads.
-
setTemplateData
public void setTemplateData(AdCreativeLinkData templateData)
The spec for a template link page post as used in Dynamic Product Ads.
-
getTextData
public AdCreativeTextData getTextData()
- Returns:
- The spec for a text page post.
-
setTextData
public void setTextData(AdCreativeTextData textData)
The spec for a text page post.
-
getVideoData
public AdCreativeVideoData getVideoData()
- Returns:
- The spec for a video page post.
-
setVideoData
public void setVideoData(AdCreativeVideoData videoData)
The spec for a video page post.
-
-