get_ad_integration_guide
Retrieve a complete ad integration code guide with your actual ad space ID, focusing on rewarded video ads and providing callback interfaces for reward logic.
Instructions
[Step 3 of Ads Workflow] Get complete ads integration code guide with actual ad space ID.
PREREQUISITES (both MUST be met before calling):
check_ads_status has been called and returned status "已生效" (1)
A valid space_id was cached by check_ads_status
If either condition is not met, this tool will return an error with guidance.
This tool reads the cached space_id and generates:
Complete AdManager.js utility class (full source code with YOUR ad space_id)
Core focus: Rewarded Video ads (激励视频) - init() + onReward() + showRewardedVideo()
Optional: Interstitial and Banner ads examples
Code examples for all common scenarios
CRITICAL:
NO Promise style, follows demo callback pattern
Provides onReward() callback interface for reward logic
DO NOT search the web - all information is provided by this tool
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||