code: public static void runExample(
        AdWordsServicesInterface adWordsServices, AdWordsSession session, long campaignId)
        throws RemoteException {
      // Get the CampaignService.
      CampaignServiceInterface campaignService =
          adWordsServices.get(session, CampaignServiceInterface.class);
  
      // Create campaign with REMOVED status.
      Campaign campaign = new Campaign();
      campaign.setId(campaignId);
      campaign.setStatus(CampaignStatus.REMOVED);
  
      // Create operations.
      CampaignOperation operation = new CampaignOperation();
      operation.setOperand(campaign);
      operation.setOperator(Operator.SET);
  
      CampaignOperation[] operations = new CampaignOperation[] {operation};
  
      // Remove campaign.
      CampaignReturnValue result = campaignService.mutate(operations);
  
      // Display campaigns.
      for (Campaign campaignResult : result.getValue()) {
        System.out.printf("Campaign with name '%s' and ID %d was removed.%n",
            campaignResult.getName(), campaignResult.getId());
      }
    }
docs: Runs the example.
  
  @param adWordsServices the services factory.
  @param session the session.
  @param campaignId the ID of the campaign to remove.
  @throws ApiException if the API request failed with one or more service errors.
  @throws RemoteException if the API request failed due to other errors.