Keran
Keran

Reputation: 171

What is Package/Identity/Name and what does it correspond to?

Few days ago I submited my first WP 8.1 app on the Windows phone store (it's in the certification stage). Unfortunately, I'm having a bit of a trouble with correct IDs.

In my Microsoft Developer Dashboard, when I go to the "manage application", I have something like this (not exactly like this, but in this format):

Package/Identity/Name: 11111Keran.zzzzzxxxxxccccccc

Now, in my Package.appxmanifest file I am forced to put this as an Identity Name:

Identity Name="11111Keran.zzzzzxxxxxccccccc" etc...>

Is this the Application ID? Normally the application ID is a GUID, but I don't have it anywhere stored in any configuration file. I was only able to retrie it using this code:

var appId = Windows.ApplicationModel.Store.CurrentApp.AppId; And it returns me some GUID.

The problem starts when I try to extract the data from the Isolated Storage of my app using this script:

cd "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Tools\IsolatedStorageExplorerTool" ISETool.exe ts de [MYAPPGUID] C:\Isolated

When I provide the GUID that I got from the code, it says the app is not installed, when I provide the identity name (11111Keran.zzzzzxxxxxccccccc) it says that it's not a GUID.

Not to mention I now completely don't know what should I put in the ad configuration for the Microsoft Adveristing in Application ID - should it be the GUID I receive, or the 11111Keran.zzzzzxxxxxccccccc, or will it come once my app is certified? At the moment ads are completely not showing and the code doesn't even go to the errors (I'm using AdMediator control), just black box with nothing in it.

It's a real mess and I cannot find a good tutorial anywhere, so any help and tips will be much appreciated

Upvotes: 0

Views: 1350

Answers (2)

Neal wang - MSFT
Neal wang - MSFT

Reputation: 323

In addition to what @Andrey said, I want to add something for your third question.

At the moment ads are completely not showing and the code doesn't even go to the errors (I'm using AdMediator control)

Actually for AdControl and Interstitial Ads, you need the Application ID and Ad unit ID. In the Dashboard, Click Monetize with ads: enter image description here

After you find this column and click Show options

enter image description here

You will be able to create ad unit, you can get Application ID and Ad unit ID. In your VS project, please replace them with the test ones.

However about Admediator control, these parameters are automatically filled in for you when you submit your app package, based on the contents of your app, so you do not need to add the Application ID and Ad unit ID by yourself. For more information, please try to refer to the following article: Selecting and managing your ad networks

Here is the procedure to add an Admediator ad: First please download Microsoft Store Advertising SDK for Windows and Windows Phone 8.x. Then add reference enter image description here

After that Add connected service

Choose Ad mediator then click Configure Select Ad networks enter image description here

Then drag a AdMediatorControl to the main page.

   <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
    <WindowsPhone81:AdMediatorControl x:Name="AdMediator" HorizontalAlignment="Left" Height="304" Id="AdMediator-Id-269CB8A1-6751-4872-9F35-188DA32B9A2C" Margin="59,47,0,0" VerticalAlignment="Top" Width="306"/>
    <Button x:Name="button" Content="Button" HorizontalAlignment="Left" Margin="909,163,0,0" VerticalAlignment="Top"/>
   </Grid>

Upvotes: 2

Andrei Ashikhmin
Andrei Ashikhmin

Reputation: 2451

Package Name is the name of your package. It's unique and identifies your package in user's system. When you create a new project, Visual Studio assigns some GUID to use it as your package's name. But when you associate your app with the Store and choose one of your reserved app names, VS updates Package Name to some more readable value, usually involving a short string of letters and numbers combined with name of the app. If you not going to deploy your app to Windows Store, you can change this value to anything you want.

As far as I know, IsolatedStorageExplorerTool only supports Windows Phone 8.0, that's probably why you have problems with your 8.1 app. If you want to explore or modify your WP 8.1 local storage, best tool for this is IsoStoreSpy . Try it out!

Upvotes: 1

Related Questions