code: public static void runExample(
        AdManagerServices adManagerServices, AdManagerSession session, long creativeWrapperId)
        throws RemoteException {
      // Get the CreativeWrapperService.
      CreativeWrapperServiceInterface creativeWrapperService =
          adManagerServices.get(session, CreativeWrapperServiceInterface.class);
  
      // Create a statement to only select a single creative wrapper by ID.
      StatementBuilder statementBuilder =
          new StatementBuilder()
              .where("id = :id")
              .orderBy("id ASC")
              .limit(1)
              .withBindVariableValue("id", creativeWrapperId);
  
      // Get the creative wrapper.
      CreativeWrapperPage page =
          creativeWrapperService.getCreativeWrappersByStatement(statementBuilder.toStatement());
  
      CreativeWrapper creativeWrapper = Iterables.getOnlyElement(Arrays.asList(page.getResults()));
  
      // Update the creative wrapper ordering.
      creativeWrapper.setOrdering(CreativeWrapperOrdering.OUTER);
  
      // Update the creative wrapper on the server.
      CreativeWrapper[] creativeWrappers =
          creativeWrapperService.updateCreativeWrappers(new CreativeWrapper[] {creativeWrapper});
  
      for (CreativeWrapper updatedCreativeWrapper : creativeWrappers) {
        System.out.printf(
            "Creative wrapper with ID %d and wrapping order '%s' was updated.%n",
            updatedCreativeWrapper.getId(), updatedCreativeWrapper.getOrdering());
      }
    }
docs: Runs the example.
  
  @param adManagerServices the services factory.
  @param session the session.
  @param creativeWrapperId the ID of the creative wrapper to update.
  @throws ApiException if the API request failed with one or more service errors.
  @throws RemoteException if the API request failed due to other errors.