Retrieving Details of a Pixel by ID

Document created by pubmatic-archivist on Mar 27, 2017Last modified by catherine.racette on Nov 14, 2017
Version 4Show Document
  • View in full screen mode

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

         

URI
http://{domainName}/common/pixel/{id}
HTTP Method
GET

Request Headers

           

Header Name
Required
PubToken
yes

Request Path Parameters

             

Parameter Name
Type
Required
id
integer
yes

Response

Response Headers

           

Response Header Name
Type
Content-type 
application-json

Response Body

                  

Response Body Parameter
Type
Description
id
Integer
Unique identifier of the pixel
name
String
Name of the pixel

Sample Response JSON


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

Error Codes

           

Error Code
Error Description
CC03_004
Resource not found

Attachments

    Outcomes