-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User Control utilising multiple Ad-size and secondary Id's #48
Comments
First, all the documentation for AdRotator is on the http://GetAdRotator.com site 💃 Right, the way AdRotator currently works is that each instance is intended to work with a single AdSize (purely a limitation at the moment with the way Ads are requested) Other implementations have set up several instances of AdRotator for different sized ads from different providers (usually as different tiles). If you have a more specific implementation idea we'd love to hear it in more detail and we'll see what we can do to help. |
Hi Simon, |
Sorry for the delay in getting back to you @frontrunnersoftware AdGroups is a place holder for future functionality (we standardised the configu XML with the features we want to add in V2, so we wouldn't introduce any breaking changes :D) The rest of the config XML was described in some of the later posts on the AdRotator site (granted, we also need to include all that on the Wiki here, time willing :s Have you made progress since your last message? |
I'm developing a Windows 8.1 Store App and would like to implement a single user-control containing AdRotator and have it use multiple Ad-sizes and secondary Id's as provided by Microsoft pubCenter and AdDuplex. With the scarcity of updated online documentation for AdRotator V2, would someone please give me some pointers on how to achieve this.
UPDATE - Got it working just the way I needed...
To get AdRotator working the way I wanted to in my app I needed two things:
1 Multiple Ads per page.
2 Ads of various sizes.
After a great deal of testing I managed to get both working as follows:
Firstly I created a User Control:
In its Code behind I had:
Each Ad can have it's own Settings File with Secondary Id's for different Ad Sizes. The LocalSettingsLocationProperty is used to specify the AdSettings file for each Ad and the Register, Deregister and Refresh methods can be used to, in effect, turn an Ad off and on again as required.
This works intermittently in my App with pubCenter and AdDuplex. The ads display dependent upon how often each page is re-viewed. I suspect it has something to do with the Ad replenish rate. Please can you advise on improvements on how best to engineer this?
The text was updated successfully, but these errors were encountered: