Native Ad Format
Native ads provide individual ad components that you implement directly in your app’s layout, unlike other formats where the SDK provides the complete ad view. Advantages: Customize the layout to match your UI/UX and minimize visual disruption. Requirements: Include an ad indicator and maintain visual differentiation to prevent users from confusing ads with content.
Four Required Elements for Native AdsNative ads can be designed to complement the content and look of your app. However, the following four required elements must be included. These elements are necessary to clearly mark native ads as advertisements so that users don’t mistake them for content, and to ensure the minimum advertising effectiveness expected by advertisers.
- Ad attribution: You must clearly display ad attribution text such as “Ad”, “Advertisement”, or “Sponsored” (localized appropriately) in the ad area so users can clearly identify the content as advertising.
- AdChoices icon: The AdChoices overlay icon enables users to identify and control ads, typically displayed as an ’ⓘ’ icon. This icon is automatically added by the DARO SDK, so no separate implementation is required. However, it’s important that the AdChoices overlay be easily seen, so design your ad view to ensure the icon is not obscured by other UI elements. The icon’s appearance and behavior may vary depending on the ad source (demand).
- Title: The ad title must be displayed.
- CTA (Call to action): A CTA button with text such as “Install”, “Open”, or “Download” must be included. The size and format of the button can be freely configured, and it can be replaced with a text field depending on the situation. Since the ad source (demand) provides the CTA text, there is no need to specify fixed wording.
Ad Unit Setup
Configure your ad unit using thead unit ID issued from the dashboard.
- Swift
- Objective-C
Native Ad Implementation
Basic Implementation
- Swift
- Objective-C
In Swift, implement a custom view by subclassing
DaroAdNativeView.Native Ad Usage Example
This is an example of using native ads.Basic Usage
- Swift
- Objective-C
Note: Native ads automatically load the initial ad upon creation.
Manual Initial Load Setup
You can use theautoLoad parameter to directly control the initial load timing of the ad.
- Swift
- Objective-C
autoLoad Parameter
true(default): Automatically loads initial ad when view is createdfalse: Initial ad loads whenloadAd()is manually called
- When you want to display the ad after a specific user action
- When you want to control ad load timing during screen transitions
- When you want to load the ad after checking network status
Native Templates
DARO SDK provides basic native ad templates. This allows you to easily implement native ads without implementing custom views.Line Banner Template
DaroAdLineBannerView is a horizontal native ad template. It has the following features:
- Basic layout including icon, title, and advertiser information
- Ad mark display

- Swift
- Objective-C
Note: Line banner template also automatically loads the initial ad upon creation.
Manual Initial Load Setup
Line banner template also supports theautoLoad parameter:
- Swift
- Objective-C
Template Configuration
- Swift
- Objective-C
You can customize the template style through
DaroLineNativeAdConfiguration
