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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetInstagramActorId(String instagramActorId) The Instagram user account that the story will be posted tovoidsetInstagramUserId(String instagramUserId) The Instagram user account that the story will be posted tovoidsetLinkData(AdCreativeLinkData linkData) The spec for a link page post or carousel advoidsetOfferData(AdCreativeOfferData offerData) The spec for an offer page post.voidID of a Facebook page.voidsetPhotoData(AdCreativePhotoData photoData) The spec for a photo page post.voidsetTemplateData(AdCreativeLinkData templateData) The spec for a template link page post as used in Dynamic Product Ads.voidsetTextData(AdCreativeTextData textData) The spec for a text page post.voidsetVideoData(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 -
getInstagramUserId
- Returns:
- The Instagram user account that the story will be posted to
-
setInstagramUserId
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.
-