Retrieving Details of a Vertical

 

Before using PubMatic APIs, first generate the API Token. For more information, refer to  Getting Started with PubMatic APIs

Overview

This API allows you to retrieve the details of a specific vertical from the PubMatic system.

Request

         

URIhttp://{domainName}/common/vertical/{id}
HTTP MethodGET


Request Headers

                 

Header NameTypeValueRequiredDescription
AuthorizationStringBearer ${access_token}YesNeed to send the access token generating for authentication at the place of ${access_token}.
For more information about access tokens, refer to Getting Started with PubMatic APIs.


Request Path Parameters

               

Parameter NameTypeRequiredDescription
idintegeryesID of the vertical.


Response

Response Headers

           

Response Header NameType
Content-type application-json


Response Body

                  

Response Body ParameterTypeDescription
verticalIdIntegerUnique identifier of the vertical.
nameStringName of the vertical.


Sample Response JSON

{
    "verticalId": 2,
    "name": "Automotive"
}‍‍‍‍‍‍‍‍‍‍‍‍

Error Codes

Error codes specific to this API method.

           

Error CodeError Description
CC03_004Resource not found


⇧ Top

⇧ Top

Do you have feedback on this document? Let us know: email us.

Table of Contents