---
updatedAt: 2026-08-01T11:27:33.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# Search Advertisers

## Why Search for an Advertiser?

When you are working with campaigns and flights, you may wish to look for a specific advertiser that you want to review in order to make changes or updates. Instead of performing a `GET` API call and having every advertiser returned in a JSON object, you can search for a specific advertiser to limit the results and return just the one you want.

This API call returns advertiser properties via a search on the advertiser's name.

> 📘 Note
>
> This endpoint accepts a string key/value pair as its payload instead of a JSON object.

There are several different ways you can search for an advertiser:

* To search for an advertiser, you will need to pass in a single string with a key of `advertiserName`. The value should be the term you want to search for.
* To search for a single, exact word: `"advertiserName=Nike"`
* To search for multiple words, use URL encoding: `advertiserName=20th%20Century%20Fox`
* To search for a substring, URL encode the character `%` as a prefix and suffix. For example, to find all advertisers with names that contain the string `bank`, you should search for `%25bank%25`.

If nothing is found, you will see `items` is blank, like `"Items": []`.

## API Syntax

When using the Search Advertiser API endpoint, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

`POST https://api.kevel.co/v1/advertiser/search`

Where:

* `POST` - the type of API request being made.
* `https://api.kevel.co` - the URL for the request.
* `v1` - the API version.
* `advertiser` - the API endpoint being called.
* `search` - the key/value pair that you want to use to locate the specific advertiser.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "adzerk-management-apis",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.kevel.co"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "X-Adzerk-ApiKey",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/advertiser/search": {
      "post": {
        "summary": "Search Advertisers",
        "description": "",
        "operationId": "search-advertisers",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"Page\": 1,\n  \"Items\": [\n    {\n      \"IsActive\": true,\n      \"DailyCapAmount\": null,\n      \"FreqCapType\": 0,\n      \"Title\": \"Nike\",\n      \"CapType\": null,\n      \"IsFreqCap\": null,\n      \"IsDeleted\": false,\n      \"RtbCustomFields\": null,\n      \"LifetimeCapAmount\": null,\n      \"FreqCapDuration\": null,\n      \"PlacementLimit\": null,\n      \"FreqCap\": null,\n      \"PartnerId\": null,\n      \"Id\": 123456\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "Page": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "Items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "IsActive": {
                            "type": "boolean",
                            "example": true,
                            "default": true
                          },
                          "DailyCapAmount": {},
                          "FreqCapType": {
                            "type": "integer",
                            "example": 0,
                            "default": 0
                          },
                          "Title": {
                            "type": "string",
                            "example": "Nike"
                          },
                          "CapType": {},
                          "IsFreqCap": {},
                          "IsDeleted": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "RtbCustomFields": {},
                          "LifetimeCapAmount": {},
                          "FreqCapDuration": {},
                          "PlacementLimit": {},
                          "FreqCap": {},
                          "PartnerId": {},
                          "Id": {
                            "type": "integer",
                            "example": 123456,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl -X POST -H 'X-Adzerk-ApiKey:<APIKEY>' https://api.kevel.co/v1/advertiser/search --data-urlencode \"advertiserName=%Nike%\"",
              "name": "cURL"
            },
            {
              "language": "javascript",
              "code": "const Adzerk = require('@adzerk/management-sdk');\nconst apiKey = process.env.ADZERK_API_KEY;\n\nasync function searchAdvertisers() {\n  let specifications = await Adzerk.fetchSpecifications();\n  let client = await Adzerk.buildClient({apiKey, specifications});\n\n  let advertisers = await client.run(\"advertiser\", \"search\", {advertiserName: \"Ni%\"});\n  console.log(advertisers);\n\n  let titles = advertisers.items.map(a => a.title)\n  console.log(titles);\n}\n\nsearchAdvertisers();"
            },
            {
              "language": "ruby",
              "code": "require \"adzerk\"\n\ndef search_advertiser()\n    client = Adzerk::Client.new(ENV[\"ADZERK_API_KEY\"])\n    title = \"Advertiser Title\"\n    pp client.advertisers.search(title)\nend\nsearch_advertiser()"
            }
          ],
          "samples-languages": [
            "curl",
            "javascript",
            "ruby"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```