Retrieving Details of an Ad Category

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

Overview

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

Request

         

URI

http://{domainName}/common/adCategory/{id}

HTTP MethodGET
 

Request Headers

                 

Header Name

Type

Value

Required

Description

Authorization

String

Bearer ${access_token}

Yes

Need 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 Name
Type
Required
Description
idintegeryesID of the ad category.
 

Response

Response Headers

           

Response Header Name
Type
Content-type application-json

Response Body

                  

Response Body Parameter
Type
Description
adCategoryId
IntegerUnique ID of the ad category
name
StringName of the ad category

Sample Response JSON

{
   "adCategoryId": 1,
   "name": "Alcohol"
}

Error Codes

Error Codes specific to this API method.

           

Error Code
Error Description
CC03_004Resource not found

Attachments

    Outcomes