Microsoft pubCenter ads not showing in my WP8 app

前端 未结 2 999
攒了一身酷
攒了一身酷 2021-01-26 21:30

I can\'t get Microsoft pubCenter ads to work in my Windows Phone 8 App. When I run my app I only see white space instead of the ad Changing to test values doesn\'t seem to show

2条回答
  •  孤城傲影
    2021-01-26 21:42

    It takes PubCenter a couple of days to populate ads for a new App. To see how the ads look, use the default ad in debug mode. Once PubCenter has seeded Bing's ad delivery system, you'll start seeing ads in App.

    #if DEBUG
            return new AdControl()
            {
                AdUnitId = "Image480_80",
                ApplicationId = "test_client",
                Height = 80,
                IsAutoCollapseEnabled = autocollapse,
                IsAutoRefreshEnabled = true,
                Width = 480,
            };
    #endif
    

提交回复
热议问题