0

こんにちは、admob、JumpTap、Mobclix、および InMobi を使用して、慌ただしいメディエーションを実装しています。そして慌ただしい調停文書には、

To implement an Ad Network you must perform the following steps:
    1. Include the Ad Network Android SDK with your app and add it to the build path. Follow the
    instructions from the Ad network on how to complete this step.
    2. Create the proper “activity” and “meta-­data” tags in AndroidManifest.xml
    a. the first meta-­data tag instructs the SDK about how to find the API_KEY
    b. the second meta-­data tag instructs the SDK whether to request test ads
    3. Add your API_KEY in strings.xml

adMob、JumpTap、Mobclix、InMobi などの広告ネットワークごとに API キーが必要ということですか?

または突風メディエーションによって提供される同じ API キー?

SDK を使用して各広告ネットワークのキーを取得する必要がある場合、混乱しています。

誰か私に説明してもらえますか?

私の英語でごめんなさい。

4

2 に答える 2

1

これをマニフェストに貼り付けるだけです

<activity android:name="com.google.ads.AdActivity"
           android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>

そしてあなたのレイアウトファイルで

<com.google.ads.AdView
    android:id="@+id/adview"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    ads:adSize="BANNER"
    ads:adUnitId="Your app ID"
    ads:loadAdOnCreate="true"
     android:layout_below="@+id/advertRl"
    ads:testDevices="TEST_EMULATOR, TEST_DEVICE_ID"
    />
于 2013-05-30T04:58:19.767 に答える
0

広告を表示するには、admob.com の管理設定で利用できる appId が必要です。

于 2013-05-28T13:24:56.730 に答える