Page tree



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 pixel by using the pixel ID present in the PubMatic system.

Request

         

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

Request Headers

           

Header NameRequired
PubTokenyes

Request Path Parameters

             

Parameter NameTypeRequired
idintegeryes

Response

Response Headers

           

Response Header NameType
Content-type application-json

Response Body

                  

Response Body ParameterTypeDescription
idIntegerUnique identifier of the pixel
nameStringName of the pixel

Sample Response JSON


{
    "id": 3,
    "name": "TestPixel"
}


Error Codes

           

Error CodeError Description
CC03_004Resource not found

⇧ Top