How to Implement Ad Mob in Windows Phone 8.1 App

HarshulPatel1984

New member
Feb 19, 2016
13
0
0
Hello

I want to Implement Ad Mob in Windows Phone 8.1 App so can someone provide an example of implementing Ad Mob in Windows Phone 8.1
 
1: You have to reference GoogleAds.dll file

Mandatory Capabilities
ID_CAP_NETWORKING Access to network services is required when requesting ads.
ID_CAP_WEBBROWSERCOMPONENT Required since the AdView is a web browser.
ID_CAP_MEDIALIB_PLAYBACK Provides access for currently playing media items.
ID_CAP_MEDIALIB_AUDIO Provides read access to audio items in media library.

Then use AdView control in the Toolbox menu. Note that this is different from the AdControl control.

<GoogleAds:AdView AdUnitID="MY_AD_UNIT_ID" Format="MY_AD_FORMAT" />
where

MY_AD_UNIT_ID should be replaced with your actual AdMob ad unit ID
MY_AD_FORMAT should be replaced with the AdFormats constant you wish to request. Banner and SmartBanner are currently supported.

or Search "admob in windows phone 8.1" in google you will get it.
 
Hello

thank you for your response .

I have check it but its not working with windows phone 8.1 App its work with windows phone 8.0
 

Forum statistics

Threads
342,659
Messages
2,265,736
Members
428,873
Latest member
greysonkorn