// The type ID for regular agency paid placements is 3. See
// GetPlacementTypes.java
placement.setPlacementType(3);
// Set the pricing schedule for the placement.
PricingSchedule pricingSchedule = new PricingSchedule();
Calendar startDate = Calendar.getInstance();
Calendar endDate = Calendar.getInstance();
endDate.add(Calendar.MONTH, 1);
pricingSchedule.setStartDate(startDate);
pricingSchedule.setEndDate(endDate);
pricingSchedule.setPricingType(pricingType);
placement.setPricingSchedule(pricingSchedule);
// Set the placement tag settings.
TagSettings tagSettings = new TagSettings();
PlacementTagOption[] placementTagOptions = placementService.getRegularPlacementTagOptions();