user3378953
user3378953

Reputation: 1

Windows phone 7 & 8 AdMob

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

Answers (2)

prabh.arora
prabh.arora

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:

  1. Download the new SDK bundle from here

  2. Follow the complete Windows SDK integration guidelines provided here

  3. Follow steps provided here to register you device with inmobi

Upvotes: 1

Sohan
Sohan

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

Related Questions