我無法將adcontrol集成到我的Windows Phone 8應用程序中。 在windows phone 8中,microsoft advertising sdk已經在參考文獻中提供,因此沒有下載相同的文件。 下面的代碼片段我用:無法在Windows Phone 8中集成Microsoft廣告SDK
// Constructor
public MainPage()
{
InitializeComponent();
// ApplicationID = "test_client", AdUnitID = "Image480_80",
AdControl adControl = new AdControl("test_client", // ApplicationID
"Image480_80", // AdUnitID
true); // isAutoRefreshEnabled
// Make the AdControl size large enough that it can contain the image
adControl.Width = 480;
adControl.Height = 80;
Grid grid = (Grid)this.LayoutRoot.Children[1];
grid.Children.Add(adControl);
}
在這個環節提到我還添加了多種功能: Windows phone ads not working
但是還是我有沒有運氣...在一個地方,我讀您需要連接互聯網才能看到adcontrol。這是真的嗎?
總之需要幫助。
在此先感謝!!! ...
任何人任何幫助,在同一... – Siddharth
我面對類似的問題,我嘗試了兩種方法,但來自酒吧中心的廣告根本不工作。 – sunder