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 specific ad network from the PubMatic system..

Request

         

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


Request Headers

                 

Header NameTypeValueRequiredDescription
AuthorizationStringBearer ${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 NameTypeRequiredDescription
idIntegeryesID of the ad network.


Response

Response Headers

           

Response Header NameType
Content-typeapplication-json 


Response Body

                       

Response Body ParameterTypeDescription
adNetworkIdIntegerUnique identifier of the ad network
nameStringName of the ad network.
networkTypeStringType of ad network. Possible values are NON_INTEGRATED and INTEGRATED.


Sample Response JSON


{

   "adNetworkId": 1,

   "name": "Google AdSense",

   "networkType": "INTEGRATED"

}

Error Codes

Error Codes specific to this API method.

           

Error CodeError Description
CC03_004Resource not found


⇧ Top