Skip to content

Instantly share code, notes, and snippets.

@nickreffitt
Created May 11, 2015 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickreffitt/d3c486707e6baf0d38ea to your computer and use it in GitHub Desktop.
Save nickreffitt/d3c486707e6baf0d38ea to your computer and use it in GitHub Desktop.
(TDNativeAdvert) =>
(NSString) applicationId
(NSString) targetingId
(NSString) subscriptionId // (optional)
(NSString) title
(NSString) appName
(NSString) appDescription
(NSString) buttonText
(NSString) developerName
(NSString) ageRating
(NSString) appSize
(float) averageReview
(int) totalReviews
(NSString) category
(NSString) appVersion
(float) price
(NSString) currency
(TDNativeAdUnit) adUnit // E.g. `TDNativeAdUnitSquare`, `TDNativeAdUnitNewsfeed`, `TDNativeAdUnitFullscreen`, `TDNativeAdUnitStrip`
(TDNativeAdSize) adSize // E.g. `TDNativeAdSizeSmall`, `TDNativeAdSizeMedium`, `TDNativeAdSizeLarge`
(NSURL) iconUrl
(UIImage) icon
(TDCreative) creative =>
(NSString) identifier
(TDOrientation) orientation // Can be either `TDOrientationPortrait` or `TDOrientationLandscape
(TDResolution) resolution // Can be `TDResolution1x`, `TDResolution2x` or `TDResolution3x`
(TDAspectRatio) aspectRatio =>
(int) width
(int) height
(NSURL) url
(UIImage) image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment