Package com.restfb.types.ads
Class AdCreativeObjectStorySpec
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.ads.AdCreativeObjectStorySpec
- All Implemented Interfaces:
Serializable
Represents the
AdCreativeObjectStorySpec Marketing API type.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
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 Details
-
AdCreativeObjectStorySpec
public AdCreativeObjectStorySpec()
-
-
Method Details
-
getInstagramActorId
- Returns:
- The Instagram user account that the story will be posted to
-
setInstagramActorId
The Instagram user account that the story will be posted to -
getLinkData
- Returns:
- The spec for a link page post or carousel ad
-
setLinkData
The spec for a link page post or carousel ad -
getOfferData
- Returns:
- The spec for an offer page post.
-
setOfferData
The spec for an offer page post. -
getPageId
- Returns:
- ID of a Facebook page.
-
setPageId
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
- Returns:
- The spec for a photo page post.
-
setPhotoData
The spec for a photo page post. -
getTemplateData
- Returns:
- The spec for a template link page post as used in Dynamic Product Ads.
-
setTemplateData
The spec for a template link page post as used in Dynamic Product Ads. -
getTextData
- Returns:
- The spec for a text page post.
-
setTextData
The spec for a text page post. -
getVideoData
- Returns:
- The spec for a video page post.
-
setVideoData
The spec for a video page post.
-