Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8231019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:19:58+00:00 2026-06-07T17:19:58+00:00

I started to use advertising control, but I’m going crazy trying to let it

  • 0

I started to use advertising control, but I’m going crazy trying to let it work.
I copied PivotPage.xaml from Microsoft Ad Control Sample and made it the starting page in my app, but ad control is not shown (I’m not able to see banner); if I try to run Microsoft app, banner is shown.

So I registered my app on pubCenter and I got an appId and a unitId and tried to use them in my app, but the result is the same: no banner!!
If I try to use my ids in Microsoft app, test banner is shown.

Why using Microsoft example I’m able to see banner and using same page in my app I can’t?
Why using my ids, Microsoft app does not show correct banner?

Here is XAML

    <!--Pivot Control-->
    <controls:Pivot Grid.Row="0" Title="Ad Control Sample">

        <!--Pivot item one-->
        <controls:PivotItem Header="piv 1">
        </controls:PivotItem>

        <!--Pivot item two-->
        <controls:PivotItem Header="piv 2">
        </controls:PivotItem>

        <!--Pivot item three-->
        <controls:PivotItem Header="piv 3">
        </controls:PivotItem>

    </controls:Pivot>

    <StackPanel Grid.Row="1" VerticalAlignment="Bottom" >
        <TextBlock Text="This is the same ad." 
                   TextWrapping="Wrap" 
                   HorizontalAlignment="Stretch" 
                   TextAlignment="Center" />
        <my:AdControl Name="adControl1" 
                      ApplicationId="test_client" 
                      AdUnitId="Image480_80" 
                      HorizontalAlignment="Center" 
                      Width="480" Height="80" />
    </StackPanel>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T17:20:00+00:00Added an answer on June 7, 2026 at 5:20 pm

    I finally managed to solve my problem and I want to share solution.
    I add an event handler for ErrorOccurred on ad control and reading Microsoft.Advertising.AdErrorEventArgs e I realized that my manifest (WMAppManifest.xml) was missing

    <Capability Name="ID_CAP_IDENTITY_USER" />
    <Capability Name="ID_CAP_MEDIALIB" />
    <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I started to use vim recently, but I miss the character/line selection methods from
I started to use the new ConcurrentDictionary from .Net4 to implement a simple caching
I started to use Dashcode with a Safari Custom Project, my apps work fine,
I've just started to use PHPUnit, but I've run into a bit of a
I run my own business from home and started use Python 2 days ago.
I just started to use meioupload to upload my files from cakephp, however, i'm
I just started to use Subversion with TortoiseSVN. Let's name my initial working copy
I lately started to use htaccess to rewrite my URL's but i've got some
I've started to use jQuery Templates and I think it's great. I am trying
I just started to use PHP Simple HTML DOM Parser . Now I'm trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.