NativeDataAssetType
@objc
public enum NativeDataAssetType : Int
Enum representing various types of native data assets that can be used in ads.
Each case represents a different type of data that can be provided in a native ad response. Values are defined according to the type of data they represent, such as descriptive text, ratings, or pricing information.
-
Undocumented
Declaration
Swift
case undefined = 0
-
Sponsored By message where response should contain the brand name of the sponsor.
Declaration
Swift
case sponsored = 1
-
Descriptive text associated with the product or service being advertised. Longer length of text in response may be truncated or ellipsed by the exchange.
Declaration
Swift
case desc = 2
-
Rating of the product being offered to the user. For example an app’s rating in an app store from 0-5.
Declaration
Swift
case rating = 3
-
Number of social ratings or “likes” of the product being offered to the user.
Declaration
Swift
case likes = 4
-
Number downloads/installs of this product
Declaration
Swift
case downloads = 5
-
Price for product / app / in-app purchase. Value should include currency symbol in localised format.
Declaration
Swift
case price = 6
-
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.
Declaration
Swift
case salePrice = 7
-
Phone number
Declaration
Swift
case phone = 8
-
Address
Declaration
Swift
case address = 9
-
Additional descriptive text associated text with the product or service being advertised
Declaration
Swift
case desc2 = 10
-
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).
Declaration
Swift
case displayURL = 11
-
CTA description - descriptive text describing a ‘call to action’ button for the destination URL.
Declaration
Swift
case ctaText = 12
-
Reserved for Exchange specific usage numbered above 500
Declaration
Swift
case custom = 500