// Get DfpUser from "~/dfp.properties".
DfpUser user = new DfpUser();
// Get the PlacementService.
PlacementServiceInterface placementService =
user.getService(DfpService.V201302.PLACEMENT_SERVICE);
// Set the ID of the placement to get.
Long placementId = Long.parseLong("INSERT_PLACEMENT_ID_HERE");
// Get the placement.
Placement placement = placementService.getPlacement(placementId);
if (placement != null) {
System.out.println("Placement with ID \"" + placement.getId()
+ "\", name \"" + placement.getName()
+ "\", and status \"" + placement.getStatus() + "\" was found.");