---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ads.yandex.com/helpcenter/en/dev/ios/components.md
  - https://ads.yandex.com/helpcenter/ru/dev/ios/components.md
  - https://ads.yandex.com/helpcenter/zh/dev/ios/components.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ads.yandex.com/helpcenter/zh/llms.txt

# 原生广告资产

 

{% note info %}

阅读 [广告要求](https://ads.yandex.com/helpcenter/zh/dev/ios/requirements-components.md)。

{% endnote %}

该库包括必需的和可选的资产。从广告规则的角度来看，只要显示必需的组件就足够了。实际上，使用完整资产集的布局更容易被点击。这就是为什么我们建议您使用基于一整套可能组件的设计。

<img src="https://yastatic.net/s3/doc-binary/src/dev/mobile-ads/zh/images/elements.png">

<!-- source: zh/easy/_includes/native-components.md -->
#|
|| **广告资产** | **资产** | **类型** | **必需** ||
|| 标题 | titleLabel | UILabel | 是 ||
|| 域名 | domainLabel | UILabel | 是 ||
|| 免责声明 | warningLabel | UILabel | 是 ||
|| “广告”标签和年龄限制标签 | sponsoredLabel | UILabel | 是 ||
|| 菜单图标 | feedbackButton | UIButton | 是 ||
|| 操作按钮 | callToActionButton | UIButton | 是 ||
|| 媒体 | mediaView | YMANativeMediaView | 是 ||
|| 应用图标 | iconImageView | UIImageView | 是（适用于应用广告） ||
|| 价格 | priceLabel | UILabel | 是（适用于应用广告） ||
|| 网页图标 | faviconImageView | UIImageView | 否 ||
|| 评论数 | reviewCountLabel | UILabel | 否 ||
|| 评级 | ratingView | UIView | 否 ||
|| 文本 | bodyLabel | UILabel | 否 ||  
|#
<!-- endsource: zh/easy/_includes/native-components.md -->

必需资产列表定义了一组数据，如果存在这些资源，则必须提供视图以进行广告呈现。

{% note tip %}

我们建议您使用可以呈现一整套必需和可选广告资产的布局。

{% endnote %}
