# Adform Frequency Cap Audit

> >-

- **Type:** Skill
- **Install:** `agentstack add skill-adform-agentic-skills-adform-frequency-cap-audit`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [adform](https://agentstack.voostack.com/s/adform)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [adform](https://github.com/adform)
- **Source:** https://github.com/adform/agentic-skills/tree/main/dist/generic/adform-frequency-cap-audit
- **Website:** https://site.adform.com

## Install

```sh
agentstack add skill-adform-agentic-skills-adform-frequency-cap-audit
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Adform frequency cap audit

Retrieves frequency and impression capping settings for line items under an order or campaign
and compares them against campaign-level capping or a brief, flagging mismatches that could
cause over-exposure. Read-only.

## Connection & tooling

Runs on the Adform GraphQL MCP. Use `graphql_execute` to run queries. Use `graphql_introspect`
on `RtbLineItemCapping`, `RtbLineItemFrequencyCapping`, and `CampaignRtbSettings` to discover
the current field shapes for capping sub-objects. Keep calls sequential (~1–2s apart).

---

## Step 1 — List line items

```graphql
{
  rtbLineItems(
    orderIds: ["67890"]
    offset: 0
    limit: 20
  ) {
    lineItems { id name environments orderId campaignId paused deleted }
    totalCount
  }
}
```

## Step 2 — Get line item capping detail

The `id` is the RTB setup ID returned by `rtbLineItems()`, not the placement ID.

```graphql
{ rtbLineItem(id: "99999") { id impressionCappings { frequency { impressions } } } }
```

Use `graphql_introspect` on `RtbLineItemCapping` and `RtbLineItemFrequencyCapping` to confirm
available fields — the `impressions` value is the cap limit.

A line item with an empty `impressionCappings` list has no frequency capping applied.

## Step 3 — Get campaign-level cap for comparison

```graphql
{
  campaignRtbSettings(id: "3993873") {
    capping {
      type
      impressions
      period { type duration }
      viewability { type duration }
    }
  }
}
```

---

## Method

1. Read each line item's cap limit from `impressionCappings[].frequency.impressions`
2. Compare each limit against the campaign cap and the brief value (e.g. "3 impressions per user")
3. Flag: missing cap where one is required, a higher limit than the brief specifies, or no
   capping at all where the brief mandates one

## Presenting

Table of line items: name, cap limit (impressions), expected from the brief, and a PASS or FLAG
verdict with the reason. Summarise how many are non-compliant and the over-exposure risk. For
deeper line-item context use adform-line-items; for campaign config use
adform-campaign-management.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [adform](https://github.com/adform)
- **Source:** [adform/agentic-skills](https://github.com/adform/agentic-skills)
- **License:** MIT
- **Homepage:** https://site.adform.com

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-adform-agentic-skills-adform-frequency-cap-audit
- Seller: https://agentstack.voostack.com/s/adform
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
