/// <summary>
        /// Run the code example.
        /// </summary>
        public void Run(AdManagerUser user)
        {
            using (AdjustmentService adjustmentService = user.GetService <AdjustmentService>())
            {
                // Set the ID of the adjustment to update.
                long adjustmentId = long.Parse(_T("INSERT_ADJUSTMENT_ID_HERE"));

                // Create a statement to select adjustments.
                StatementBuilder statementBuilder =
                    new StatementBuilder()
                    .Where("id = :id")
                    .OrderBy("id ASC")
                    .Limit(1)
                    .AddValue("id", adjustmentId);

                ForecastAdjustmentPage page = adjustmentService
                                              .getForecastAdjustmentsByStatement(statementBuilder.ToStatement());

                ForecastAdjustment adjustment = page.results[0];
                adjustment.name += " (updated)";

                ForecastAdjustment[] adjustments = adjustmentService.updateForecastAdjustments(
                    new ForecastAdjustment[] { adjustment });

                foreach (ForecastAdjustment updatedAdjustment in adjustments)
                {
                    Console.WriteLine("Forecast adjustment with ID {0} and name '{1}' was found.",
                                      updatedAdjustment.id,
                                      updatedAdjustment.name);
                }
            }
        }