GET /v1/entity/advertisers/inventorycheck

HTTP Method: GET

Path: /v1/entity/advertisers/inventorycheck

Authentication: API Key required

Description: Check that an advert is available for a given entity and publisher

Parameters:

parameter type description required example
entity_id string The unqiue identifier of the entity to fetch
yes 379236608286720
publisher_id string The id of the “publisher” of the advert no w4wer445t5gpo688

Response if inventory is available

{ 
	"success": true, 
	"msg": "ok", 
	"data": { 
		"available": true 
			}
 }  

Response if inventory is not available

{    
	 "success": true,    
	 "msg": "Advert already exists for this publisher",   
	  "data": {        
		 "available": false    
		 }
 }

Docs Navigation