---
title: "Create/Update Tag"
method: POST
path: "/tag/{NetworkID}"
---

# Create/Update Tag

`POST /tag/{NetworkID}`

## Request

- Base URL: `https://e-YOUR-NETWORKID.adzerk.net`
- URL: `https://e-YOUR-NETWORKID.adzerk.net/tag/{NetworkID}`
- Auth: none required

This creates or updates the stored tags in your network. This should be used in combination with the Tag Manager URL to render tags. If you want to update tags, you must supply a tag `Id`. This will update all tag contents, so be sure to include the entire tag object when you update.

## Path parameters

- `NetworkID` integer, required

## Request body

- object
  - `Id` integer: The Tag Id. If you do not supply your own Id, an Id will be randomly generated. Id is _required_ when updating a tag.
  - `Body` string: The tag to be rendered. Must use HTML tags. Adzerk macro expansion is supported. Example: `"<img src=\"https://e.serverbid.com/udb/1234/match?redir=https%3A%2F%2Fmfad.domain.com%2Fudb%2F9874%2Fpool%2Fset%2Fi.gif%3FpoolId%3D1234%26poolKey%3D\">"`
  - `Enabled` boolean: Sets whether the tag is enabled. Only enabled tags will be rendered in the client.
  - `Priority` integer: The render order of the tag when tags are called. Tags are rendered in ascending order (1 is first).
  - `FrequencyCap` integer: How often to render this tag per user (**seconds**). A frequency cap less than or equal to zero disables frequency capping.
  - `Targeting` string: [Valid Zerkel markup](doc:zerkel-queries) used for targeting the tag to properties in the client. Example: `"$device.brandName like \"*Samsung*\"`

## Response `200`

200

- object
  - `Tags` object[]
    - `Id` string
    - `Enabled` boolean
    - `Body` string
    - `Targeting` string
    - `Priority` integer
    - `FrequencyCap` integer

## Changes

- **2026-11-03** `665ab18f7977`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kevel/apis/engine-apis/changes/tag/:NetworkID/post.md)

---

[API](https://skmtc.dev/kevel/apis/engine-apis.md) - [All operations](https://skmtc.dev/kevel/apis/engine-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/kevel/apis/engine-apis/revisions/665ab18f7977?raw)
