2013-05-28 20 views
0

你好我正在用admob,JumpTap,Mobclix和InMobi實施亂舞調解。 而亂舞調解書說,與許多廣告網絡的Flurry調解

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 

這是否意味着我需要有API密鑰爲每個廣告網絡AdMob的一樣,JumpTap,Mobclix的和的InMobi?

或者通過亂序調解提供的相同API密鑰?

我很困惑,如果我們需要將每個廣告網絡的關鍵字與他們的sdk一起使用,那麼亂調解的用法是什麼?

任何人都可以請解釋我嗎?

對不起,我的英語。

回答

0

對於展示廣告,您需要在管理設置中擁有admob.com上提供的appId。

+0

你的意思是我可以接受使用亂舞這些網絡添加而是要表明我需要把鑰匙爲特定的廣告網絡(如admob)在我的清單中? – dd619

+0

您可以在清單或xml文件中添加addId,以在其中顯示廣告。 – rahultheOne

+0

如果您已經實施它,您是否可以分享您的manifest.xml和strings.xml? – dd619

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" 
    />