Skip to content
Skills Library
Programming · Building & coding

uniapp-ad

/uniapp-ad

A comprehensive skill for uni-ad monetization in uni-app. Use this skill to integrate ads, configure ad types, handle ad events, and follow official uni-ad documentation.

Licence
Apache-2.0
Last repository change
04.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
11
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 04.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

A comprehensive skill for uni-ad monetization in uni-app. Use this skill to integrate ads, configure ad types, handle ad events, and follow official uni-ad documentation.

Original author description

A comprehensive skill for uni-ad monetization in uni-app. Use this skill to integrate ads, configure ad types, handle ad events, and follow official uni-ad documentation.

How it works

  1. When to use this skill
  2. How to use this skill
  3. Examples and Templates
  4. Best Practices
  5. Resources
  6. Keywords
Original SKILL.md headings · 64 lines, 273 words
SKILL.md preview
---
name: uniapp-ad
description: A comprehensive skill for uni-ad monetization in uni-app. Use this skill to integrate ads, configure ad types, handle ad events, and follow official uni-ad documentation.
license: Apache-2.0
---
## When to use this skill

Use this skill whenever the user wants to:
- Integrate ads into uni-app
- Implement ad monetization
- Configure different ad types (banner, interstitial, rewarded video, etc.)
- Handle ad events (load, show, close, error)
- Optimize ad revenue
- Set up ad placement and timing
- Handle ad policies and compliance

## How to use this skill

To integrate ads:

1. **Identify the ad type** from the user's request:
   - Banner ads → Use banner examples
   - Interstitial ads → Use interstitial examples
   - Rewarded video → Use rewarded video examples
   - Native ads → Use native ad examples

2. **Load the appropriate example file** from the `examples/` directory:
   - `examples/guide/` - Ad integration guide
   - `examples/ad-types/` - Different ad type examples
   - `examples/integration/` - Integration examples

3. **Load the appropriate API reference** from the `api/` directory:
   - `api/ad-api.md` - uni-ad API reference

4. **Follow the specific instructions** in those files for integration

## Examples and Templates

### Examples

Located in `examples/`:

- **guide/** - Ad integration guide and setup
- **ad-types/** - Different ad type examples (banner, interstitial, rewarded video, etc.)
- **integration/** - Integration examples and best practices

### API Reference

Located in `api/`:

- **ad-api.md** - Complete uni-ad API reference

## Best Practices

1. **User experience**: Don't interrupt user experience with excessive ads
2. **Ad placement**: Place ads strategically for maximum revenue
3. **Loading**: Handle ad loading states properly
4. **Error handling**: Implement proper error handling for ad failures
5. **Compliance**: Follow ad policies and regulations

## Resources

- **Official Documentation**: https://uniapp.dcloud.net.cn/uni-ad/

## Keywords

uni-ad, 广告变现, banner广告, 激励视频, 插屏广告, ad monetization, ad integration

Files in this package (11)
  • LICENSE.txt 11 KB
  • SKILL.md 2 KB
  • agents/openai.yaml 1 KB
  • api/ad-api.md 1 KB
  • examples/ad-types/banner.md 1 KB
  • examples/ad-types/interstitial.md 1 KB
  • examples/ad-types/native.md 1 KB
  • examples/ad-types/rewarded-video.md 1 KB
  • examples/guide/intro.md 1 KB
  • examples/integration/config.md 1 KB
  • examples/integration/events.md 1 KB

Versions

The database has no other skills named uniapp-ad.

Database snapshot: 13.11.2026 · package version e6947a8a51d5 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100uniapp-native-app
    A comprehensive skill for uni-app native app offline packaging. Use this skill to package uni-app as native Android/iOS apps, configure native app settings, handle signing, and follow official offline packaging documentation.
  • 100uniapp-cloud
    A comprehensive skill for uniCloud cloud development in the uni-app ecosystem. Use this skill when you need uniCloud project setup, cloud database CRUD, cloud functions, storage, or datacom components, following official uniCloud documentation.
  • 81uniapp
    uni-app 跨平台应用开发框架。适用于使用 Vue 语法开发 App、H5、各端小程序时的能力与用法。
  • 81uniapp-x
    uni-app x 跨平台应用开发引擎。适用于使用 UTS、uvue、Vue 语法开发 Android/iOS/鸿蒙/Web/小程序应用时的能力与用法。
  • 95lov-api-creator
    当开发某个 app 需要 API 网关能力时,在 uni-api(FastAPI 聚合网关)后端新增该 app 的网关 端点与分组,并在 uni-app 前端封装统一调用层。触发:集成网关到 uni-app / integrate an API gateway into my uni-app project。
  • 86uniapp
    UniApp开发专家助手。当用户需要进行UniApp跨平台开发、微信小程序、H5、App开发或uni-app框架项目时调用。

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.