code: public static void runExample(
        AdWordsServicesInterface adWordsServices,
        AdWordsSession session,
        @Nullable Long sharedBudgetId)
        throws RemoteException {
      SharedBiddingStrategy portfolioBiddingStrategy =
          createBiddingStrategy(adWordsServices, session);
      if (sharedBudgetId == null) {
        Budget budget = createSharedBudget(adWordsServices, session);
        sharedBudgetId = budget.getBudgetId();
      }
      createCampaignWithBiddingStrategy(adWordsServices, session, portfolioBiddingStrategy.getId(), 
          sharedBudgetId);
    }
docs: Runs the example.
  
  @param adWordsServices the services factory.
  @param session the session.
  @param sharedBudgetId the ID of the shared budget to use. If null, this example will create a
  new shared budget.
  @throws ApiException if the API request failed with one or more service errors.
  @throws RemoteException if the API request failed due to other errors.