> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zype.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Ad Tags

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Monetization",
    "version": "1.0.0",
    "description": ""
  },
  "servers": [
    {
      "url": "https://api.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "api_key",
        "in": "query"
      }
    }
  },
  "paths": {
    "/ad_tags": {
      "post": {
        "summary": "Create Ad Tags",
        "description": "",
        "tags": [
          "Ad Tags"
        ],
        "operationId": "createAdTag",
        "requestBody": {
          "description": "",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "AdTagRequest",
                "type": "object",
                "required": [
                  "ad_tag"
                ],
                "properties": {
                  "ad_tag": {
                    "title": "AdTagProperties",
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "active": {
                        "description": "Indicates if an AdTag should be applied to videos",
                        "type": "string"
                      },
                      "device_id": {
                        "description": "ID of device to display AdTag on",
                        "type": "string"
                      },
                      "device_category_id": {
                        "description": "ID of the category the device belongs to",
                        "type": "string"
                      },
                      "disabled": {
                        "description": "Indicates if an AdTag is disabled",
                        "type": "boolean"
                      },
                      "interval_count": {
                        "description": "How many times a video or videos in a collection will play before a single user gets an ad",
                        "type": "string"
                      },
                      "revenue_partner_id": {
                        "type": "string"
                      },
                      "scope": {
                        "description": "Indicates if an interval_count applies to single video (‘video’) or a collection of videos (‘library’).",
                        "type": "string"
                      },
                      "tag": {
                        "description": "URL of the AdTag",
                        "type": "string"
                      },
                      "vmap": {
                        "description": "Indicates if AdTag is a VMAP.",
                        "type": "boolean"
                      },
                      "_type": {
                        "description": "One of “AdTag::Vast” or “AdTag::Googima”",
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "title": "AdTagResponse",
                  "type": "object",
                  "properties": {
                    "response": {
                      "title": "AdTag",
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "site_id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "active": {
                          "type": "string"
                        },
                        "network_key": {
                          "type": "string"
                        },
                        "device_category_id": {
                          "type": "string"
                        },
                        "device_id": {
                          "type": "string"
                        },
                        "disabled": {
                          "description": "",
                          "type": "boolean"
                        },
                        "interval_count": {
                          "type": "string"
                        },
                        "interval_seconds": {
                          "type": "string"
                        },
                        "revenue_partner_id": {
                          "type": "string"
                        },
                        "scope": {
                          "type": "string"
                        },
                        "tag": {
                          "type": "string"
                        },
                        "vmap": {
                          "type": "string"
                        },
                        "_type": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1plans/post/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    }
  }
}
```