code: public static void runExample(
        AdManagerServices adManagerServices, AdManagerSession session, long labelId)
        throws RemoteException {
      // Get the CreativeWrapperService.
      CreativeWrapperServiceInterface creativeWrapperService =
          adManagerServices.get(session, CreativeWrapperServiceInterface.class);
  
      // Create a creative wrapper.
      CreativeWrapper innerCreativeWrapper = new CreativeWrapper();
      // A label can only be associated with one creative wrapper.
      innerCreativeWrapper.setLabelId(labelId);
      innerCreativeWrapper.setOrdering(CreativeWrapperOrdering.INNER);
      innerCreativeWrapper.setHtmlHeader("<b>My creative wrapper header</b>");
      innerCreativeWrapper.setHtmlFooter("<b>My creative wrapper footer</b>");
  
      // Create the creative wrapper on the server.
      CreativeWrapper[] creativeWrappers =
          creativeWrapperService.createCreativeWrappers(new CreativeWrapper[] {innerCreativeWrapper});
  
      for (CreativeWrapper createdCreativeWrapper : creativeWrappers) {
        System.out.printf(
            "Creative wrapper with ID %d applying to label ID %d was created.%n",
            createdCreativeWrapper.getId(), createdCreativeWrapper.getLabelId());
      }
    }
docs: Runs the example.
  
  @param adManagerServices the services factory.
  @param session the session.
  @param labelId the ID of the label that can be associated with creative wrappers.
  @throws ApiException if the API request failed with one or more service errors.
  @throws RemoteException if the API request failed due to other errors.