public static void main(String[] args) throws Exception{
// Log SOAP XML request and response.
DfpServiceLogger.log();
// Get DfpUser from "~/dfp.properties".
DfpUser user = new DfpUser();
// Get the ForecastService.
ForecastServiceInterface forecastService =
user.getService(DfpService.V201211.FORECAST_SERVICE);
// Set the placement that the prospective line item will target.
long[] targetedPlacementIds = new long[] {Long.parseLong("INSERT_PLACEMENT_ID_HERE")};
// Create inventory targeting.