Class AdImage

    • Constructor Detail

    • Method Detail

      • getCreatives

        public List<AdCreativegetCreatives()
        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
      • setAccountId

        public void setAccountId​(String accountId)
        The ad account that owns the image
      • getHash

        public String getHash()
        The hash which uniquely identifies the image.
      • setHash

        public void setHash​(String hash)
        The hash which uniquely identifies the image.
      • getUrl

        public String getUrl()
        A temporary URL which the image can be retrieved at. NOTE: do not use this URL in ad creative creation
      • setUrl

        public void setUrl​(String url)
        A temporary URL which the image can be retrieved at. NOTE: do not use this URL in ad creative creation
      • getUrl128

        public String getUrl128()
        A temporary URL pointing to a version of the image resized to fit withing a 128x128 pixel box
      • setUrl128

        public void setUrl128​(String url128)
        A temporary URL pointing to a version of the image resized to fit withing a 128x128 pixel box
      • getPermalinkUrl

        public String getPermalinkUrl()
        A permanent URL of the image to use in story creatives.
      • setPermalinkUrl

        public void setPermalinkUrl​(String permalinkUrl)
        A permanent URL of the image to use in story creatives.
      • setWidth

        public void setWidth​(String width)
        The width of the image.
      • setHeight

        public void setHeight​(String height)
        The height of the image.
      • setOriginalWidth

        public void setOriginalWidth​(String originalWidth)
        The width of the image that was originally uploaded.
      • setOriginalHeight

        public void setOriginalHeight​(String originalHeight)
        The height of the image that was originally uploaded.
      • setCreatedTime

        public void setCreatedTime​(Date createdTime)
        Time the image was created
      • setUpdatedTime

        public void setUpdatedTime​(Date updatedTime)
        Time the image was updated