check_ads_status
Check whether ads SDK is activated for your app and cache the ad space ID. Returns activation status, space ID, and guidance URL if activation is needed.
Instructions
[Step 2 of Ads Workflow] Check ads SDK activation status and cache ad space ID.
PREREQUISITE: An app MUST be selected first. Before calling this tool, ALWAYS call get_current_app_info to verify an app is selected. If not, guide user through app selection process.
When to call this tool:
First time: when no ads status exists in local cache
Refresh: when user explicitly asks to re-check status (e.g. after activating ads in developer console)
DO NOT auto-poll - only call when user requests or when no cached status exists.
This tool queries the server, updates local cache, and returns:
Business status: 0=未开通 | 1=已生效 | 2=账号已被封禁
Ad space ID (space_id) - cached when status is "已生效"
Guidance URL for activation (if needed)
CRITICAL - Dual condition for proceeding to Step 3: Both conditions MUST be met simultaneously:
Status must be "已生效" (status === 1)
space_id must be valid (non-empty string) If status is 1 but space_id is empty → server-side issue, tell user to retry later.
Status 0: Tell user they can say "重新检查广告状态" to refresh after completing activation. Status 3 (已封禁): DO NOT proceed with any integration steps. Immediately inform user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||