public override void ViewDidLoad() { base.ViewDidLoad(); // the sample points to a number of different ad spaces - each is configured with different settings on the dev.flurry.com // integration for each takeover ad is the same regardless of the configuration on the server side. // all the entities in flurryAdSpaces refer to the ad space configured on dev.flurry.com // under Publishers tab, left-hand nav Inventory / Ad Spaces pickerSource = new AdPickerSource(new [] { "Takeover", "TakeoverRich", "TakeoverVideo", "TakeoverVideoSkip" }); adTypePicker.DataSource = pickerSource; adTypePicker.Delegate = pickerSource; showAd.Layer.BorderWidth = 0.5f; showAd.Layer.BorderColor = UIColor.Gray.CGColor; showAd.Layer.CornerRadius = 10; statusLbl.TextColor = UIColor.Orange; statusLbl.Text = "Request an Ad"; statusLbl.TextAlignment = UITextAlignment.Center; }
public override void ViewDidLoad() { base.ViewDidLoad(); // the sample points to a number of different ad spaces - each is configured with different settings on the dev.flurry.com // integration for each banner ad is the same regardless of the configuration on the server side. // all the entities in flurryAdSpaces refer to the ad space configured on dev.flurry.com // under Publishers tab, left-hand nav Inventory / Ad Spaces pickerSource = new AdPickerSource(new[] { "Banner", "BannerTop", "BannerRich", "BannerTopRich" }); adTypePicker.DataSource = pickerSource; adTypePicker.Delegate = pickerSource; showAd.Layer.BorderWidth = 0.5f; showAd.Layer.BorderColor = UIColor.Gray.CGColor; showAd.Layer.CornerRadius = 10; statusLbl.TextColor = UIColor.Orange; // Fetch and display banner ad for a given ad space. // Note: Choose an adspace name that // will uniquely identifiy the ad's placement within your app showAdClickedButton(null); }