-jio-start-block-type-2
-jio-style-title
Jio Ads SDK will render native ad in its default layout. Developer can further extend the rendition and create a customized experience.
Complete GETTING STARTED section and INITIALIZE SDK section before starting this section.
Developer can access native elements via data-native-element attribute.
Code Reference
<ins
id="[ENTER-UNIQUE-PLACEMENTID-HERE]"
data-adspot-key="[ENTER-ADSPOTKEY-HERE]"
data-customization="[set-ad-data/get-ad-data]"
click-element="[customClickButton]"
sec-click-element="[customSecClickButton]"
close-element="[customCloseButton]"
video-element="[customVideoTag]">
<video class="customVideoTag" controls data-native-element="video" style="width:100%; display: block;"></video>
<img class="customCloseButton" style="position:absolute; display: block;"/>
<img data-native-element="mainimage”/>
<button class="customClickButton" data-native-element="ctatext"></button>
<button class="customSecClickButton" data-native- element="secctatext"></button>
<div data-native-element="desc">
<strong>Description:</strong>
</div>
</ins>
-jio-style-title
-jio-bullet-type-1
-jio-bullet-type-1
-jio-bullet-type-1
-jio-bullet-type-1
-jio-bullet-type-1
-jio-bullet-type-1
-jio-bullet-type-1
-jio-bullet-type-1
-jio-style-title
-jio-tables
data-native-element | Values |
---|---|
title | Text for Title. Max 30 chars |
video | Video url |
ctaText | Text for Call To Action |
secctatext | Secondary text for call to action |
desc | Description. Max 90 chars |
desc2 | Tagline for ad |
rating | Rating for app |
downloads | Download count for app |
price | Price in the default format |
iconimage | Url for image icon. Dimension: 80x80 |
mainimage | Url for image. Dimension: IAB |
sponsored | Sponsored text |
likes | like |
salePrice | Price in USD after discount |
phone | Phone number |
address | Address |
customImage | Custom image |
-jio-end-block-type-2