简体   繁体   中英

Register windows phone app in google advertising platform

I have a free windows phone app and I want to generate revenue from advertising. I choose google admob to do this task, but when I add my app to admob system, there is no choice for windows phone app. There is only choice for android and iOS. I know that the google admob has the sdk for windows phone 8 but how can I register my app to get Ad ID?

You can use the "unit ID" in your application as a Ad ID.

// "MY_AD_UNIT_ID" with your interstitial Ad unit id.


private InterstitialAd objInterstitialAd;

objInterstitialAd= new objInterstitialAd("MY_AD_UNIT_ID");

Here is the useful links for the same:

Hope it helps

Admob doesnot support ad units for Windows phone in some countries. Thats why, it is not showing that option. PS: not in India as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM