You should first create a new view from your xml layout file by LayoutInflater. then add the banner to it. here is a sample:
LayoutInflater inflater = LayoutInflater.from(getContext());
ViewGroup yourview = (ViewGroup)inflater.inflate(R.layout.yourlayout, null);
RevMobBanner banner = revmob.createBanner(this);
yourview.addView(banner);
if you want use a linearlayout above your surfaceview, a simple way is this:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<LinearLayout android:id="@+id/banner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
</LinearLayout>
<CCGLSurfaceView android:id="@+id/yoursurfaceview"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</CCGLSurfaceView>
</LinearLayout>