ads-weibo
Skill1 starsChanged 5 days agoMITView on GitHub
Integrate Weibo Ads landing-page conversion reporting, OAuth access, campaign reporting, and first-party measurement with explicit platform boundaries. Use when evaluating Weibo Ads, launching a regional campaign, or wiring a Weibo conversion callback.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- pooriaarab/skillsword for word, first seen Nov 7, 2026
Other versions1 project uses a version of this.
Word for word · 1
- pooriaarab/skills★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository325 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accept-x402-paymentsSkill
- ad-auto-optimizerSkill
- ad-conversion-hubSkill
- ad-creative-generationSkill
- ad-creative-templatesSkill
- ad-experimentsSkill
- ad-image-prompt-librarySkill
- adobe-express-addonSkill
- ad-platform-credentialsSkill
- ads-amazonSkill
- ads-apple-searchSkill
- ads-baiduSkill
- ads-bilibiliSkill
- ads-chatgptSkill
- ads-copilotSkill
- ads-criteoSkill
- ads-discordSkill
- ads-douyinSkill
- ads-googleSkill
- ads-hotstarSkill
- ads-kakaoSkill
- ads-kuaishouSkill
- ads-lgSkill
- ads-lineSkill
- ads-linkedinSkill
- ads-mercadolibreSkill
- ads-meta-aiSkill
- ads-metaSkill
- ads-microsoftSkill
- ads-mojSkill
- ads-naverSkill
- ads-nextdoorSkill
- ads-outbrainSkill
- ads-perplexitySkill
- ads-pinterestSkill
- ads-quoraSkill
- ads-redditSkill
- ads-rokuSkill
- ads-samsungSkill
- ads-sharechatSkill
- ads-shopeeSkill
- ads-snapchatSkill
- ads-spotifySkill
- ads-stackadaptSkill
- ads-stravaSkill
- ads-taboolaSkill
- ads-tencentSkill
- ads-tiktokSkill
- ads-trade-deskSkill
- ads-twitchSkill
- ads-vkSkill
- ads-wazeSkill
- ads-xiaohongshuSkill
- ads-xSkill
- ads-yahoo-japanSkill
- ads-yandex-directSkill
- ads-yelpSkill
- agent-avatar-systemSkill
- agent-browser-consolesSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 7 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use ad-conversion-hub for the canonical event envelope, consent gate, identity rules, retry policy, and adapter contract.
- Distinctive: line 28
Create an application in the official developer portal.
- Distinctive: line 49
Keep tokens in the server secret store.
- Very specific: line 77
Use client_id, grant_type=authorization_code, redirect_uri, and code.
- Very specific: line 108
Add from=wb to the advertiser's landing-page URL when you need to identify Weibo traffic.
- Distinctive: line 187
Do not block first-party measurement when it is absent.
- Very specific: line 207
No first-party cookie name or cookie lifetime is documented in that guide.
- Distinctive: line 219
Create one canonical hub event for the business action.
- Very specific: line 222
Do not replay an uncertain GET without an adapter decision that accounts for the missing platform deduplication field.
- Very specific: line 234
If from=wb is absent, the guide says the landing page cannot identify Weibo traffic.
- Very specific: line 240
Callback proof: run the documented test request with a test mark_id.
- Distinctive: line 244
Reporting proof: use the Ads API reporting surface or console.
- Very specific: line 252
Do not use a guessed pixel, tag ID, cookie name, SDK method, event_id, or identity field.
- Very specific: line 254
Do not send the access token in a query parameter.
- Very specific: line 256
Do not log callback URLs with raw tokens or sensitive event data.
- Very specific: line 258
Do not use seconds for time.
- Distinctive: line 259
Do not wait more than two hours when you need model optimization, threshold counting, or plan-level reporting.
- Very specific: line 261
Do not treat code: 0 as payment proof, unique-count proof, or attribution proof.
- Very specific: line 263
Do not send a guessed refund behavior.
- Very specific: line 265
Do not let missing Weibo credentials block checkout.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Weibo Ads
Weibo has a public developer portal for its Ads API. The portal lists ad delivery, reporting, creative, and DMP audience interfaces. Its OCPA guide documents an authenticated landing-page conversion callback. See the Weibo Ads developer guide and OCPA conversion guide.
Use ad-conversion-hub for the canonical event envelope, consent gate, identity rules, retry policy, and adapter contract. This skill supplies only Weibo-specific fields and workflow. Pair it with ad-experiments for one-audience tests, seed sizing, PII-export authorization, and payment-provider truth.
Account and access
Weibo documents self-serve registration for 超级粉丝通 (Superfans). Its official FAQ lists web and mobile routes. Blue-verified, yellow-verified, and ordinary accounts can apply. Individual and enterprise registration are both supported. See How to register Superfans.
API access has a separate gate. The developer guide requires a company advertiser or agency account already opened on 微博掘金. It says other Weibo accounts cannot register as developers. See the API onboarding guide.
Create an application in the official developer portal. The form asks for an application name, email, callback URL, and requested permissions. It exposes these Superfans permissions:
ads_readfor reading Superfans campaigns, plans, creatives, and materials.ads_managementfor Superfans campaign-management operations.ads_insightfor Superfans reporting.
The names and descriptions appear on the official application form. Request only the scopes needed by this adapter.
These are adapter-local names, not Weibo field names:
WEIBO_ADS_APP_ID server-side application ID, used as client_id
WEIBO_ADS_ACCESS_TOKEN short-lived server-side access token
WEIBO_ADS_REFRESH_TOKEN server-side refresh token
WEIBO_ADS_ACCOUNT_UID advertiser UID used in a test mark_idThe official OCPA test example builds mark_id from an advertiser UID, time,
and the literal test (test request guide).
Keep tokens in the server secret store. Never place them in browser code, URLs,
logs, screenshots, or commits.
OAuth access
The developer guide documents an authorization-code flow. Build the consent URL with these documented parameters:
https://api.biz.weibo.com/oauth/authorize
?client_id={APP_ID}
&redirect_uri={CALLBACK_URL}
&response_type=code
&state={STATE}
&scope=ads_read,ads_insightThe guide documents client_id, redirect_uri, response_type, state, and
scope. It fixes response_type to code. The redirect URL must match the
application setting. The callback returns code and state. See the authorization workflow.
The authorization code expires after 10 minutes and can be used once. Exchange it at the documented token URL:
GET https://api.biz.weibo.com/oauth/tokenUse client_id, grant_type=authorization_code, redirect_uri, and code.
The guide shows access-token and refresh-token fields, expires_in,
refresh_expires_in, and token_type. It states that the access token lasts
24 hours and the refresh token lasts 90 days. See the token exchange documentation.
Refresh with the documented endpoint and JSON fields:
POST https://api.biz.weibo.com/oauth/refresh_token
Content-Type: application/json{
"client_id": "<WEIBO_ADS_APP_ID>",
"refresh_token": "<WEIBO_ADS_REFRESH_TOKEN>"
}The official guide documents this endpoint and both fields. Serialize refresh operations. Replace stored token values only after safely recording the response.
Authorized Ads API examples use Authorization: Bearer <token>. Use that
header for the conversion callback. See the OCPA request example.
Client-side landing-page measurement
The OCPA guide documents a landing-page URL flow. It does not name a Weibo
browser pixel, tag ID, cookie, or app SDK for this conversion path. Do not
invent WEIBO_ADS_PIXEL_ID, WEIBO_ADS_TAG_ID, a script URL, or an SDK event
method. See the OCPA flow.
Add from=wb to the advertiser's landing-page URL when you need to identify
Weibo traffic. Weibo appends mark_id when it sends the landing-page URL to a
user. Decide on your server whether the action qualifies, then call the
conversion endpoint with documented fields. See the OCPA flow.
The OCPA guide identifies
from=wb as an advertiser source marker and mark_id as the tracking value
added by Weibo. It says Weibo uses mark_id to associate the callback with the
advertising plan.
Capture mark_id at the landing request. Store it with the canonical event in
your first-party system. Preserve the raw value. Do not rename it to click_id.
Rule setup and event mapping
The OCPA guide calls the callback behavior a 行为码 (behavior code). The documented codes are:
| Weibo behavior | Code | Hub mapping | Dispatch rule |
| Form submission | 1001 | lead | Use for a qualifying form submission. |
| Phone call | 1002 | No direct hub event | Keep as an operational metric. |
| Valid consultation | 1003 | lead | Use for a qualifying consultation. |
| WeChat copy | 1004 | No direct hub event | Do not relabel it. |
| Landing-page visit | 1005 | page_view | Measure only the chosen landing visit. |
| Download start | 1006 | No direct hub event | Do not invent a hub mapping. |
| Product purchase | 1007 | purchase | Send after charge confirmation. |
| Other | 1100 | No automatic mapping | Use with an approved definition. |
The codes and labels come from the official behavior-code table. The table does not define a dedicated code for signup, view_content, begin_checkout, subscription_start, or refund. Do not invent codes for those events.
Server-side conversion API
Weibo documents a real authenticated conversion callback. It is a GET request
to this endpoint:
GET https://api.biz.weibo.com/v3/track/activate
Authorization: Bearer <WEIBO_ADS_ACCESS_TOKEN>
Accept: application/json,application/text+gw2.0The documented query parameters are time, behavior, mark_id, and host:
https://api.biz.weibo.com/v3/track/activate
?time={TIME}
&behavior={BEHAVIOR}
&mark_id={MARK_ID}
&host={HOST}The official OCPA guide documents the endpoint, method, headers, and parameters. It defines time as conversion time in epoch milliseconds. It allows an empty mark_id for natural traffic. It defines host as the callback source and gives the advertiser domain as the default example.
Send confirmed events only. Use the hub event time in milliseconds. Use a
behavior code from the table. Pass captured mark_id when present. Follow the
documented empty-mark_id behavior for natural events.
Example with redacted values:
curl --get 'https://api.biz.weibo.com/v3/track/activate' \
--header 'Authorization: Bearer <WEIBO_ADS_ACCESS_TOKEN>' \
--header 'Accept: application/json,application/text+gw2.0' \
--data-urlencode 'time=<EPOCH_MILLISECONDS>' \
--data-urlencode 'behavior=1007' \
--data-urlencode 'mark_id=<CAPTURED_MARK_ID>' \
--data-urlencode 'host=example.com'The guide shows success as code: 0 and message: "OK". It shows errors with
message: "Error" and an error code. See the response examples.
Callbacks delayed by more than two hours become natural conversions. They do not enter model optimization, threshold calculation, or plan-level reporting. Send in real time. Use the hub's bounded retry and dead-letter policy for transient failures. See the timing and attribution notes.
The guide says a missing mark_id prevents precise attribution to the plan.
Do not block first-party measurement when it is absent. Record the event
internally and report only the documented natural or attributable form.
Identity and consent
The fetched callback contract defines time, behavior, mark_id, and
host. It does not define an email field, phone field, external user ID,
hashing rule, or identity-match contract. Do not send such fields. See the documented callback fields.
Apply the hub consent gate before ad measurement. Send only fields documented by the current Weibo contract. Do not hash an email or phone number and assume Weibo will match it. Keep consent and the dispatch decision with the canonical event.
Click ID and first-party cookie
Weibo documents mark_id, not a conventional click-ID name. It appends
mark_id to the landing-page URL in the documented app traffic flow. The
advertiser may add from=wb or another source marker. See the official landing-page flow.
No first-party cookie name or cookie lifetime is documented in that guide. Do
not invent one. Capture mark_id from the URL and retain it in your own
first-party storage while consent allows measurement.
The callback contract lists no Weibo event_id, idempotency key, or
browser/server deduplication field. Use the hub event ID for your own dispatch
record. Do not add event_id to the Weibo query string. See the callback field list.
Deduplication
The documented callback contract has no deduplication parameter. Therefore:
- Create one canonical hub event for the business action.
- Record the Weibo dispatch using the hub event ID and destination.
- Retry only according to the hub policy and recorded dispatch state.
- Do not replay an uncertain
GETwithout an adapter decision that accounts for the missing platform deduplication field. - Reconcile Weibo reporting with payment-provider truth.
The retry and event-envelope rules belong to ad-conversion-hub.
Console settings that override code
The callback cannot replace campaign configuration. The OCPA flow requires
callback testing, campaign creation, a marketing objective, a target behavior,
a conversion-cost bid, and a creative URL containing from=wb. See the official campaign procedure.
If from=wb is absent, the guide says the landing page cannot identify Weibo
traffic. If mark_id is absent or lost, it says the conversion cannot be
precisely attributed to the plan. Check both before launch. See the OCPA questions and answers.
Verification
- Callback proof: run the documented test request with a test
mark_id. Record the redacted response. Requirecode: 0andmessage: "OK". The OCPA guide provides the test URL, value shape, headers, parameters, and response. - Campaign proof: confirm the objective, behavior target, bid, and landing-page URL in the console. The official procedure lists these setup steps.
- Reporting proof: use the Ads API reporting surface or console. The developer guide lists advertiser, campaign, plan, creative, material, audience, and asynchronous report areas. See the reporting index.
- Business proof: reconcile
purchaseandrefundwith payment-provider truth. A callback response does not prove that a charge succeeded.
Common pitfalls and security
- Do not use a guessed pixel, tag ID, cookie name, SDK method,
event_id, or identity field. The OCPA guide documents URL markers and a server callback instead. - Do not send the access token in a query parameter. The documented request
puts it in the
Authorizationheader. See the request example. - Do not log callback URLs with raw tokens or sensitive event data. Redact
tokens,
mark_idvalues, and account identifiers. - Do not use seconds for
time. The official guide specifies milliseconds. - Do not wait more than two hours when you need model optimization, threshold counting, or plan-level reporting. See the official timing rule.
- Do not treat
code: 0as payment proof, unique-count proof, or attribution proof. - Do not send a guessed
refundbehavior. The official table has no refund code. Reconcile refunds in the hub and payment system. See the behavior table. - Do not let missing Weibo credentials block checkout. Return a logged
skippedresult under the hub contract.
Official sources checked (2026-08-30)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

