Package com.restfb.types.ads
Class AdImage
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.ads.BaseAdsObject
com.restfb.types.ads.NamedAdsObject
com.restfb.types.ads.AdImage
- All Implemented Interfaces:
HasCreatedTime,Serializable
Represents the AdGroup Image type
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddCreative(AdCreative creative) The ad account that owns the imageTime the image was createdA list of ad creative IDs that this ad image is being used in.getHash()The hash which uniquely identifies the image.The height of the image.The height of the image that was originally uploaded.The width of the image that was originally uploaded.A permanent URL of the image to use in story creatives.Status of the imageTime the image was updatedgetUrl()A temporary URL which the image can be retrieved at.A temporary URL pointing to a version of the image resized to fit withing a 128x128 pixel boxgetWidth()The width of the image.booleanremoveCreative(AdCreative creative) voidsetAccountId(String accountId) The ad account that owns the imagevoidsetCreatedTime(Date createdTime) Time the image was createdvoidThe hash which uniquely identifies the image.voidThe height of the image.voidsetOriginalHeight(String originalHeight) The height of the image that was originally uploaded.voidsetOriginalWidth(String originalWidth) The width of the image that was originally uploaded.voidsetPermalinkUrl(String permalinkUrl) A permanent URL of the image to use in story creatives.voidStatus of the imagevoidsetUpdatedTime(Date updatedTime) Time the image was updatedvoidA temporary URL which the image can be retrieved at.voidA temporary URL pointing to a version of the image resized to fit withing a 128x128 pixel boxvoidThe width of the image.Methods inherited from class com.restfb.types.ads.NamedAdsObject
getName, setNameMethods inherited from class com.restfb.types.ads.BaseAdsObject
getId, setIdMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
AdImage
public AdImage()
-
-
Method Details
-
addCreative
-
removeCreative
-
getCreatives
A list of ad creative IDs that this ad image is being used in.- Returns:
- A list of ad creative IDs that this ad image is being used in
-
getAccountId
The ad account that owns the image -
setAccountId
The ad account that owns the image -
getHash
The hash which uniquely identifies the image. -
setHash
The hash which uniquely identifies the image. -
getUrl
A temporary URL which the image can be retrieved at. NOTE: do not use this URL in ad creative creation -
setUrl
A temporary URL which the image can be retrieved at. NOTE: do not use this URL in ad creative creation -
getUrl128
A temporary URL pointing to a version of the image resized to fit withing a 128x128 pixel box -
setUrl128
A temporary URL pointing to a version of the image resized to fit withing a 128x128 pixel box -
getPermalinkUrl
A permanent URL of the image to use in story creatives. -
setPermalinkUrl
A permanent URL of the image to use in story creatives. -
getWidth
The width of the image. -
setWidth
The width of the image. -
getHeight
The height of the image. -
setHeight
The height of the image. -
getOriginalWidth
The width of the image that was originally uploaded. -
setOriginalWidth
The width of the image that was originally uploaded. -
getOriginalHeight
The height of the image that was originally uploaded. -
setOriginalHeight
The height of the image that was originally uploaded. -
getStatus
Status of the image -
setStatus
Status of the image -
getCreatedTime
Time the image was created- Specified by:
getCreatedTimein interfaceHasCreatedTime
-
setCreatedTime
Time the image was created -
getUpdatedTime
Time the image was updated -
setUpdatedTime
Time the image was updated
-