ThirdPartyAdapters/unity/unity/src/main/java/com/google/ads/mediation/unity/UnityMediationAdapter.java
/**
   * Checks whether or not the provided Unity Ads IDs are valid.
   *
   * @param gameId Unity Ads Game ID to be verified.
   * @param placementId Unity Ads Placement ID to be verified.
   * @return {@code true} if all the IDs provided are valid.
   */
Checks whether or not the provided Unity Ads IDs are valid.
@param gameId Unity Ads Game ID to be verified.
@param placementId Unity Ads Placement ID to be verified.
@return  true if all the IDs provided are valid.
Checks whether or not the provided Unity Ads IDs are valid . @param gameId Unity Ads Game ID to be verified . @param placementId Unity Ads Placement ID to be verified . @return true if all the IDs provided are valid .
private static boolean isValidIds(String gameId, String placementId) {
    if (TextUtils.isEmpty(gameId) || TextUtils.isEmpty(placementId)) {
      String ids =
          TextUtils.isEmpty(gameId)
              ? TextUtils.isEmpty(placementId) ? "Game ID and Placement ID" : "Game ID"
              : "Placement ID";
      Log.w(TAG, ids + " cannot be empty.");
      return false;
    }
    return true;
  }
private static boolean isValidIds ( String gameId , String placementId ) { if ( TextUtils . isEmpty ( gameId ) || TextUtils . isEmpty ( placementId ) ) { String ids = TextUtils . isEmpty ( gameId ) ? TextUtils . isEmpty ( placementId ) ? "Game ID and Placement ID" : "Game ID" : "Placement ID" ; Log . w ( TAG , ids + " cannot be empty." ) ; return false ; } return true ; }
Checks whether or not the provided Unity Ads IDs are valid.
Checks whether or not the provided Unity Ads IDs are valid .