Menu

ATNativeAdOffer

Native ad asset supply class, used to encapsulate information related to a single native ad (such as ad content, network platform ID, supply information, etc.) and provides rendering methods.

Copy
@class ATNativeADView;
@class ATNativeADConfiguration;

@interface ATNativeAdOffer : NSObject

/**
 * Native ad object
 */
@property(nonatomic, readonly) ATNativeAd *nativeAd;

/**
 * Network platform ID of the native ad
 */
@property(nonatomic, readonly) NSInteger networkFirmID;

/**
 * Offer information of the native ad
 */
@property(nonatomic, readonly) NSDictionary *adOfferInfo;

/**
 * Render using the configuration, self-rendering view, and native ad view
 * @param configuration Ad configuration
 * @param selfRenderView Self-rendering view (can be null)
 * @param nativeADView Native ad view
 */
- (void)rendererWithConfiguration:(ATNativeADConfiguration*)configuration 
                 selfRenderView:(UIView *_Nullable*)selfRenderView 
                  nativeADView:(ATNativeADView *)nativeADView;

@end
Previous
ATNativeADCustomEvent
Next
ATNativeADView
Last modified: 2026-07-08Powered by