Enum POBNativeDataAssetType

  • All Implemented Interfaces:

    
    public enum POBNativeDataAssetType
    
                        

    List of common asset element types of native advertising.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      SPONSORED

      Sponsored By message where response should contain the brand name of the sponsor

      DESCRIPTION

      Descriptive text associated with the product or service being advertised. Longer length of text in response may be truncated or ellipsed by the exchange

      RATING

      Rating of the product being offered to the user. For example an app’s rating in an app store from 0-5.

      LIKES

      Number of social ratings or “likes” of the product being offered to the user.

      DOWNLOADS

      Number downloads/installs of this product

      PRICE

      Price for product / app / in-app purchase. Value should include currency symbol in localised format.

      SALESPRICE

      Sale price that can be used together with price to indicate a discounted price compared to a regular price. Value should include currency symbol in localised format.

      PHONE

      Phone Number

      ADDRESS

      Address

      DESCRIPTION2

      Additional descriptive text associated with the product or service being advertised

      DISPLAY_URL

      Display URL for the text ad. To be used when sponsoring entity doesn’t own the content. IE sponsored by BRAND on SITE (where SITE is transmitted in this field).

      CTA_TEXT

      CTA text - descriptive text describing a ‘call to action’ button for the destination URL.

    • Method Summary

      Modifier and Type Method Description
      int getDataAssetTypeValue() Returns the integer representation of data asset type.
      static Array<POBNativeDataAssetType> values() Returns an array containing the constants of this enum type, in the order they're declared.
      static POBNativeDataAssetType valueOf(String name) Returns the enum constant of this type with the specified name.
      static POBNativeDataAssetType getDataAssetType(int type) Method used to get the enum value for the appropriate integer value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getDataAssetTypeValue

         int getDataAssetTypeValue()

        Returns the integer representation of data asset type. Possible values are: 1 - SPONSORED 2 - DESCRIPTION 3 - RATING 4 - LIKES 5 - DOWNLOADS 6 - PRICE 7 - SALESPRICE 8 - PHONE 9 - ADDRESS 10 - DESCRIPTION2 11 - DISPLAY_URL 12 - CTA_TEXT

        Returns:

        Integer representation of data asset type.

      • values

         static Array<POBNativeDataAssetType> values()

        Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

        Returns:

        an array containing the constants of this enum type, in the order they're declared

      • valueOf

         static POBNativeDataAssetType valueOf(String name)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

        Returns:

        the enum constant with the specified name