---
updatedAt: 2026-05-28T21:10:23.000Z
agentTools:
  projectIndex: https://docs.hivestack.com/llms.txt
---

# Update an advertiser

Updates an advertiser associated to your organization.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Campaigns",
    "description": "Campaigns management and data pushes",
    "version": "2",
    "contact": {
      "email": "support@perion.com"
    }
  },
  "servers": [
    {
      "url": "https://apps.hivestack.com/api/v2"
    }
  ],
  "security": [
    {
      "hs-auth": []
    }
  ],
  "tags": [
    {
      "name": "Advertisers"
    }
  ],
  "paths": {
    "/advertisers/{advertiser_id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/advertiser_id"
        }
      ],
      "put": {
        "tags": [
          "Advertisers"
        ],
        "summary": "Update an advertiser",
        "description": "Updates an advertiser associated to your organization.",
        "operationId": "putAdvertiser",
        "requestBody": {
          "description": "A payload containing required advertiser fields.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/advertiser"
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessAdvertiser"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "hs-auth": {
        "type": "apiKey",
        "name": "hs-auth",
        "in": "header",
        "description": "The value should follow the following format: `apikey access_key:secret_key`"
      }
    },
    "schemas": {
      "advertiser": {
        "type": "object",
        "properties": {
          "advertiser_id": {
            "type": "integer",
            "example": 1,
            "readOnly": true,
            "description": "The ID of the advertiser associated with the campaign."
          },
          "domain": {
            "pattern": "^(?!:\\/\\/)([a-zA-Z0-9-_]+\\.)*[a-zA-Z0-9][a-zA-Z0-9-_]+\\.[a-zA-Z]{2,11}?$",
            "type": "string",
            "example": "adidas.com",
            "description": "The domain name of the advertiser. Do not include \"www\" in the domain (www.adidas.com would have the domain adidas.com).",
            "writeOnly": true
          },
          "external_id": {
            "type": "string",
            "example": "adi123",
            "description": "A customizable id field.",
            "default": null
          },
          "name": {
            "type": "string",
            "example": "Adidas",
            "description": "The name to give the advertiser"
          },
          "organization_id": {
            "$ref": "#/components/schemas/organization_id"
          },
          "unique_advertiser": {
            "type": "object",
            "readOnly": true,
            "properties": {
              "uniqueadvertiser_id": {
                "type": "integer",
                "example": 1,
                "description": "Auto generated id associated to the unique advertiser."
              },
              "name": {
                "type": "string",
                "example": "Adidas",
                "description": "Name of the unique advertiser"
              },
              "logo_url": {
                "$ref": "#/components/schemas/logo_url"
              },
              "advertiser_domains": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "domain": {
                      "pattern": "^(?!:\\/\\/)([a-zA-Z0-9-_]+\\.)*[a-zA-Z0-9][a-zA-Z0-9-_]+\\.[a-zA-Z]{2,11}?$",
                      "type": "string",
                      "description": "The domain name of the advertiser"
                    }
                  },
                  "example": [
                    {
                      "domain": "adidas.com"
                    },
                    {
                      "domain": "adidas.ca"
                    }
                  ],
                  "description": "The domain name of the advertiser. Do not include \"www\" in the domain (www.adidas.com would have the domain adidas.com)."
                }
              }
            },
            "description": "Perion DOOH keeps an internal list of advertisers and every advertiser created by an organization will be associated with one"
          },
          "created_on_utc": {
            "$ref": "#/components/schemas/created_on_utc"
          },
          "modified_on_utc": {
            "$ref": "#/components/schemas/modified_on_utc"
          }
        }
      },
      "logo_url": {
        "type": "string",
        "example": "https://example.com/logo.jpg",
        "readOnly": true,
        "format": "url",
        "description": "url associated to the logo"
      },
      "modified_on_utc": {
        "type": "string",
        "format": "date-time",
        "example": "2020-12-31T00:00:00",
        "readOnly": true
      },
      "created_on_utc": {
        "type": "string",
        "format": "date-time",
        "example": "2020-12-31T00:00:00",
        "readOnly": true
      },
      "organization_id": {
        "type": "integer",
        "example": 1,
        "readOnly": true,
        "description": "The organization ID of the event's owner"
      }
    },
    "responses": {
      "SuccessAdvertiser": {
        "description": "OK - an object representing an advertiser",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/advertiser"
            }
          }
        }
      },
      "UnauthorizedError": {
        "description": "API key is missing or invalid. Please contact support@perion.com.",
        "headers": {
          "hs-auth": {
            "description": "Set the hs-auth header following this pattern `apikey your_access_key:your_secret_key`",
            "schema": {
              "type": "string"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "string",
                  "example": "Missing authorization info"
                }
              }
            }
          }
        }
      }
    },
    "parameters": {
      "advertiser_id": {
        "name": "advertiser_id",
        "in": "path",
        "description": "Auto generated id associated to the advertiser.",
        "required": true,
        "schema": {
          "type": "integer"
        }
      }
    }
  }
}
```