Install
$ agentstack add skill-adform-agentic-skills-adform-segment-governance ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Adform segment governance
Two governance jobs over first-party segments: enumerate segments with sizes and flag stale or unused ones; inspect segment builder rules and flag logic weaknesses. Read-only.
Connection & tooling
Runs on the Adform GraphQL MCP. Use graphql_execute to run queries. Use graphql_introspect on BuyerAudienceListItem and BuyerAudience to discover available fields including size and composition. Keep calls sequential (~1–2s apart).
Step 1 — List buyer audiences for an advertiser
{
buyerAudienceListItems(
filters: [{ fieldName: "buyerAudience.advertisers.advertiserIds", operation: intersects, values: ["71883"] }]
pagination: { offset: 0, limit: 100 }
) {
buyerAudiences {
id name status
composition { uidTotalCount }
stats { campaigns impressions lastImpressionDate }
createdAt
}
totalCount
}
}
Step 2 — Get audience detail including builder rule
{
buyerAudience(id: "12345") {
audience {
id name status
ttl frequency idFusion lookalike
rule { expression recalculable }
createdAt updatedAt
}
}
}
Identifying stale and unused segments
- Zero
uidTotalCount: audience has no reach — either the rule is too narrow or data has
expired
lastImpressionDateolder than 30 days (or null): segment has not contributed to recent
delivery — check whether it is referenced in any active line item's targeting
statusinactive: segment is disabled
To check whether a segment is referenced by active line items, search for its ID in line item targeting. Cross-reference using adform-line-items.
Identifying rule weaknesses
Inspect rule.expression for:
- No recency window — a segment that includes any historical event with no time limit grows
stale quickly
- Single broad event trigger with no additional AND conditions
- Missing OR/AND structure that would be needed to build a meaningful audience
Presenting
Two tables. Usage: segment name, status, reach (uidTotalCount), last impression date, referenced in active targeting (yes or no). Rule audit: segment name, rule summary, issue found. Lead with high-reach segments that are unused, and any segment with an invalid or logic-weak rule that may be wasting data spend.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: adform
- Source: adform/agentic-skills
- License: MIT
- Homepage: https://site.adform.com
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.