Self-rendering Draw:: Suitable for use in vertical full-screen video streams. The access party can control the video to pause or continue to play. By default, video playback cannot be intervened. The configuration of video advertisements can be set on the platform.
Supported ad size: portrait video (aspect ratio 16:9)
Self-rendering Draw ads: Reclaimed and no longer available for creation
Parameter | Description |
setCodeId | The code bit ID created by the platform starts with 9 and 9 digits |
setAdCount | The number of requests is 1-3, it is recommended to set 1 |
setImageAcceptedSize | Set the size of the requested ad Unit: px |
The access party can call
loadDrawFeedAd(AdSlot adSlot, @NonNull DrawFeedAdListener listener)
to load ads asynchronously
Callback | Description |
onError() | The error code returned by the ad request failed callback indicates the reason for the ad request failure. For details, please see [link](https://www.pangle.cn/help/doc/5de4cc6d78c8690012a90aa5?from=ad. oceanengine.com&id=5de4cc6d78c8690012a90aa5) |
onDrawFeedAdLoad() | Callback for successful ad request, get the view of ad video playback and put it into the ad container |
Get the view of the advertising video part through
getAdView()
and put it into the specified container. The access party can also obtain other advertising information, such as title, buttonText and other information, and customize the drawing of the entire advertising area, which can be in accordance with the style of your own application. Style as close as possible
Important!!! AdInteractionListener involves advertising billing, convertView must be called correctly and ViewGroup must be used
Callback | Description |
onAdClicked() | Click the common area callback |
onAdCreativeClick() | Click on creative area callback |
onAdShow() | Advertising display callback |
Method | Description |
onClickRetry() | Callback for ad click retry |
onClick() | Click on the ad to view details or download callbacks |
Destroy the ad view in the onDestroy callback method of Activity
For native Draw ads, please refer to the DrawNativeVideoActivity
example in Demo
convertView
must be called correctly. **ViewGroup
must be used.
Online Customer Service24/7 Online Customer Service BotManual customer service, weekdays 10~ 12 o'clock/14~ 19 o'clock