Mobile app ads
Mobile app ads have their own set of elements.
Required ad elements
App name
Added using the element <ya-unit-app-name />.
App icon
The app icon is handled by the <ya-unit-app-icon /> element. The icon's aspect ratio is 1 : 1. You can also specify a placeholder image in case your ad doesn't have an icon, such as: <ya-unit-app-icon src="https://someurl" />.
Price (with the currency symbol)
Added via the <ya-unit-price /> element.
Additional elements
App rating
Added using the element <ya-unit-rating />. Must be between 0 and 5. Looks like five gray star outlines, some of which are filled in yellow. The number of filled-in stars corresponds to the app's rating. Fractions are also supported (for example, a rating of 3.5 is displayed as 3.5 yellow stars).
To display the rating using the shortened format, use the isShort: <ya-unit-rating isShort /> parameter. The rating will then be displayed to the user as one yellow star with the rating as a number next to it.
App action button
Looks like a button with text, such as “Install”, “Download”, and so on. Added via the element <ya-unit-mobile-app-button />, which is rendered as <div /> with the specified text in the user's browser.
Number of reviews
Added via the element <ya-unit-review-count />. We recommend using this element together with the app rating.
Ad unit design rules
-
The ad unit design is set to the mobile ad type.
-
The app icon is set.
-
The app price is displayed in the app store.
-
The app name is specified.
-
The name of the app store (App Store, Google Play) or platform (iOS, Android) is specified as text or an icon.
-
The app rating is displayed and it's made clear that it can display the review count.