// Set the ID of the creative to get.
Long creativeId = Long.parseLong("INSERT_CREATIVE_ID_HERE");
// Get the creative.
Creative creative = creativeService.getCreative(creativeId);
if (creative != null) {
System.out.println("Creative with ID \"" + creative.getId()
+ "\", name \"" + creative.getName()
+ "\", and type \"" + creative.getCreativeType() + "\" was found.");
} else {
System.out.println("No creative found for this ID.");
}
} catch (Exception e) {
e.printStackTrace();