Retrieves a single self-serve campaign banner prototype by its unique numeric ID.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/prototype/{prototypeId}.do
Retrieves a single self-serve campaign banner prototype by its unique numeric ID. The response includes the full prototype details: banner metadata (name, dimensions, type, approval status, ad unit), the default action with tracking URLs, and the self-serve campaign type. Returns HTTP 400 if no prototype exists with the given ID. Requires REST API authentication.
Path Params
prototypeIdintegerrequired
Unique numeric identifier of the banner prototype to retrieve
1
Responses
200
JSON object containing the banner prototype with id, type, banner details, and defaultAction
400
Bad request - no prototype found with the specified ID
401
Authentication error - invalid hash, timestamp, or username
403
Forbidden — insufficient permissions
404
Not found — resource does not exist
500
Internal server error while retrieving the prototype
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/prototype/1.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());