How to embed ads in WP7 app? - silverlight

I want to know how to embed ad frame into my WP7/WP7.1 application.
I also want to know places that I can get the ads from to put in the app.

Everything you need to know is provided right here by Microsoft. The control is included in the Windows Phone SDK and can be dropped right into your app (AdControl in the Visual Studio Toolbox).
You cannot directly control which ads are shown but you can influence it in some way (cited from FAQ):
As noted above, the most relevant ads will also be the most likely
ones to get you the most revenue. So the same advice holds true:
If your app is location-aware, provide that info to the Ad Control.
Set as many of the demographic targeting properties in the Ad Control as you can for each user.
Set the right category for the Ad Unit in pubCenter.
If you have a set of relevant ad keywords, set those in the Ad Control.
For more tutorials I strongly suggest a Google/Bing search as there are plenty of these.

Also, once you get the hang of using this AdControl, take a look at AdRotator (on CodePlex), as well as AdDuplex (AdDuplex.com). With AdRotator, you can rotate MS ads, Google ads, AdDuplex ads (to trade advertising other people's apps for them advertising yours). This can be beneficial to you, depending on what part of the world you are targeting. Not every country can see MS ads yet, so if you are targeting outside of MS's supported countries, this can help you. Also, you can configure AdRotator using an XML file on your web server, so you can change your ad mix by changing the XML file, and not have to push a new version of your app just to change ad mix.

Related

Azure AD SCIM - How to Enable the Provisioning Section

I need Azure AD users to be synced into my application, so I've been researching how to implement SCIM and configure Azure AD to work with it. My end goal is to have my application listed as the ones here: https://learn.microsoft.com/en-gb/azure/active-directory/saas-apps/tutorial-list, and to do this, it should support SSO + User provisioning.
The implementation is kind of straightforward as SCIM is a standard and I just need to implement a bunch of APIs complying with a specific contract, so this should work.
The problem I'm having, though, is I cannot find how to enable the "Provisioning" feature for my application. I've been reading the articles and watching the videos Microsoft provided (https://learn.microsoft.com/en-gb/azure/active-directory/app-provisioning/configure-automatic-user-provisioning-portal for instance) and it seems that when I click the Provisioning section in my app, I should be able to configure it. Unfortunately, I don't see the UI shown in the tutorials, so I suppose I've been missing some step that is not explained in the docs. Also, I'd expect to have somewhere to configure the base URL that should contain all endpoints required for the SCIM standard. I don't see this either, which confirms my feeling I'm missing something essential.
Here are the steps I've been taking:
Open the Azure portal
Create an enterprise app - Click on Enterprise applications, Create your own application, and Integrate any other application you don't find in the gallery (Non-gallery)
Once the application gets created, I can't see anything in the "Provisioning" settings
I found a solution to the problem I've described above. Unfortunately, I somehow the big blue "Get Started" button in the middle of the screen. When you click this button, the configuration I've been looking for appears and it is all good.

Can I use a Sharepoint view in an iFrame on an external website/app that has users autheticated with Azure AD SSO

We have a new intranet site that uses our AzureAD credentials with SSO (via SAML2.0). There's a widget that can display personal or specific Sharepoint Document folders but I've found that this is lacking in detail - particularly some of the document metadata.
Is there a way to use a curated Sharepoint View in an iFrame on this cross-domain website?
At present when I try, it comes up with an error
Refused to display "sharepoint-site-page" in a frame because it is set
'X-Frame-Options' to 'sameorigin'
I'd be grateful for any assistance if possible. Thanks!
Not sure if this applies to your particular view,
however this is a pretty well known thing that microsoft locks down sp to not allow cross site iframing by default,
you could try this solution:
https://www.sharepointpals.com/post/how-to-bypass-cross-domain-issues-to-display-sharepoint-online-pages-within-iframe-from-an-external-domain/
it makes use of the allowframing tag, that microsoft allows to do exactly that.
as per : https://learn.microsoft.com/en-us/archive/blogs/officeapps/iframing-sharepoint-hosted-pages-in-apps
hope this helps you a bit.

Configure Office 2013 add-in according to user specific settings

We try to make our Office 2013/16 html/javascript taskpane add-in to work against our customers own servers, running our software, to display their pictures, and add them to Word/PowerPoint. Our customers have one or more domains they would want to configure so the add-in connects to one of them. If we ship this add-in on Office Store, we don't know all the domains our customers might want to configure, so the App domain list would be empty.
Is it somehow possible to add a App Domain to the manifest during runtime based on user input?
Is it possible to put a manifest file on a CDN that we can update when we want? This is btw not the solution we want as this requires internet access, and not all of our customers have that. But I'm still curious about the answer to this one.
Any other solutions to this problem?
Edit:
Our product is a web based product. We have a html widget inside our product which can be used in for instance a CMS, or as we try to do now, add it to the taskpane add-in for word and Powerpoint. The widget can be located on a specific url, on a given domain. Since the widget is part of our product, and our customers are choosing which domain they run our server product on, we can't preconfigure this in the add-in.
1.Is it somehow possible to add a App Domain to the manifest during runtime based on user input?
No. There is no way we can config the manifest at the runtime.
Is it possible to put a manifest file on a CDN that we can update when we want? This is btw not the solution we want as this requires internet access, and not all of our customers have that. But I'm still curious about the answer to this one.
No. In this scenario, we need to publish the manifest to the Office store.
Based on my understanding, the domains specify in the Office add-in only enable users navigate the HTML page in the task pane.
work against our customers own servers, running our own software, to display their pictures
Usually, this does not require the app domain configuration. Would you mind share more detail how the users connect their service?

Ad Control in Windows Phone 7?

I am developing a Windows Phone7 App. In my app I need to show an advertisement. I am planning to use Microsoft's Ad Control for this.
Is it possible to show my own advertisements in the Ad Control. ?..
Is it possible to use OpenX ads in Ad Control ?
Thanks
The Microsoft Ad Control will only display Microsoft Ads, if you want to show your own Ads I would recommend something like the WP7 Unified Ad control, available from Codeplex (http://wpunifiedad.codeplex.com/)
The control allows you to specify which Ad providers are displayed, and the percentage chance that they are chosen. I don't believe that it currently supports OpenX Ads, but you can always raise that in the discussions on CodePlex.
I am using the control on the WP7 Apps that I have written (PayPhone Lite, LatinIslands Free and Bridges Free) and it works well.
HTH - Rupert.

Salesforce.com and database.com integration

We are designing a project in which we plan to use 20 SFDC users (managers) and more than 100 database.com light users (salesmen). The idea is that the SDFC users will use the site to see reports and so on, while the others will use our mobile software which relies on API calls to create orders and similar.
I never used database.com before and I am quite a newbie with force.com. I just created a db.com account but I have no idea on how I can connect the two systems together. I want the both types of users to access to the same records, so if a salesman creates an order the manager can see this order in the reports and the online tools. How can achieve that? I there any limitation I should be aware of?
Thanks!
See if these proprietary websites have a public API.
The only way you can interface with them is through an API, or via really hackish script which simulate a web browser. Thus if they don't have a public API, you should call the appropriate department on their Contact Us page.

Resources