Reputation: 1
Have anyone used InMobi SDK for Windows Phone app for both Windows 7 and Windows 8 AdMob ? If yes what is the procedure?
I already tried this following code
<InMobiSDK:IMAdView
Name="AdView1"
DisplayText="Test Ad"
AdSize="15"
RefreshInterval="20"
AnimationType="FLIP_FROM_LEFT"
AdTextColor="#131212"
AdBackgroundColor="#E40707"
AppId="xxxxxxxxxxxxxxx"
Background="#73808080"
Foreground="Black"
Height="50"
Width="320"
AdRequestFailed="AdView1_AdRequestFailed"
AdRequestLoaded="AdView1_AdRequestLoaded"
DismissFullAdScreen="AdView1_DismissFullAdScreen"
LeaveApplication="AdView1_LeaveApplication"
ShowFullAdScreen="AdView1_ShowFullAdScreen">
<!-- Set IMAdRquest Properties-->
<InMobiSDK:IMAdView.IMAdRequest>
<InMobiSDK:IMAdRequest IsInTestMode="True" >
<InMobiSDK:IMAdRequest.UserInfo >
<InMobiSDK:UserInfo
Age="20"
AreaCode="110"
Education="MastersDegree"
Ethnicity="Asian"
Gender="Male"
Income="10000"
PostalCode="11001"
>
</InMobiSDK:UserInfo>
</InMobiSDK:IMAdRequest.UserInfo>
</InMobiSDK:IMAdRequest>
</InMobiSDK:IMAdView.IMAdRequest>
</InMobiSDK:IMAdView>
Please Help me for the same..
Upvotes: 0
Views: 1688
Reputation: 129
As per the provided code snippet, its the older SDK version with "IsInTestMode" property which will not display test ads anymore. However to receive test ads with the newer SDK, the test device should be registered with inmobi using diagnostics flow.
To get test ads:
Download the new SDK bundle from here
Follow the complete Windows SDK integration guidelines provided here
Follow steps provided here to register you device with inmobi
Upvotes: 1
Reputation: 1287
Here is the InMobi Windows integration guide:
and Admob supports Windows Phone 8 and NOT Windows 8. Read this SO question for more details.
Upvotes: 1