ads

How to advertise manufacturer specific data using bluetooth low energy protocol in Xamarin iOS?

六眼飞鱼酱① 提交于 2020-01-03 05:36:05
问题 I need to broadcast advertisement packets which contain certain manufacturer specific data using Bluetooth low energy protocol in Xamarin iOS. I am able to broadcast advertising packets, but when they are received they contain no manufacturer specific data. They do contain local name and data service UUID key which I'm setting. I should mention doing this in Xamarin Android is not a problem. Could you please tell me why manufacturer specific data is not being broadcast in Xamarin iOS? I am

How to show admob ads vertical in landscape mode? (Android)

寵の児 提交于 2020-01-01 19:35:40
问题 I want to show the admob ads like the following. My game is locked in landscape mode, and I want to show the ads vertically. I used the XML layout to placed my ads. 回答1: To do this, you would have to create a custom View that extends the AdMob View, then override the onDraw() method. Because there is no source code available for the AdMob View (that I know of), however, this may be impossible. If you had the source of the AdMob onDraw() method, it could be simply an issue of swapping the x

Microsoft pubCenter ads not showing in my WP8 app

泪湿孤枕 提交于 2019-12-31 04:50:11
问题 I can't get Microsoft pubCenter ads to work in my Windows Phone 8 App. When I run my app I only see white space instead of the ad Changing to test values doesn't seem to show an ad neither Can you help me? Thanks in advance That's what I see in my pubCenter account That's my XAML and my app's references 回答1: Try this It Should Work fine Xaml: xmlns:UI="clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=Microsoft.Advertising.Mobile.UI" <UI:AdControl ApplicationId="test_client" AdUnitId=

admob fillrate = 0

早过忘川 提交于 2019-12-31 03:34:06
问题 i'm using admob for an app i just launched the other day, at first there were no downloads, but with a campaign i'm using now, i've gotten 140 requests yesterday and as of now, 44 and counting... but still, on the old admob website, it says that it isn't active because it has not yet received any ad request. I have another app in the admob list, and it is showing on the old website as a green light. I don't think there is anything wrong with my code, otherwise there wouldn't be any requests,

How to get test ad Banners and test Interstitial ads working for adMob?

旧城冷巷雨未停 提交于 2019-12-31 03:20:29
问题 I am trying to setup adMob ads. I have two questions: 1) Am I using adListener interface correctly? 2) How come I am unable to see ad Interstitials? Lets start with the adListener. As far as what I understood from the instructions, adListener is an interface. So I created an interface. import com.google.ads.AdRequest; import com.google.android.gms.ads.AdView; public interface AdListener { public void onReceiveAd(AdView ad); public void onFailedToReceiveAd(AdView ad, AdRequest.ErrorCode error)

Not able to get ads from admob with mopub

纵饮孤独 提交于 2019-12-31 01:06:29
问题 I've been trying to get ads running on my app for a couple of days now. I have everything setup, line item, banner, admob ID (the one with ca-app....), I got the right mopub Id and everything. However I still get this message: 12-16 20:13:44.984 2778-2778/com.spekz D/skia﹕ GFXPNG PNG bitmap created width:720 height:279 bitmap id is 184 12-16 20:13:44.994 2778-2778/com.spekz D/dalvikvm﹕ GC_FOR_ALLOC freed 55K, 18% free 27700K/33472K, paused 14ms, total 14ms 12-16 20:13:45.004 2778-2778/com

Not able to get ads from admob with mopub

谁说我不能喝 提交于 2019-12-31 01:06:25
问题 I've been trying to get ads running on my app for a couple of days now. I have everything setup, line item, banner, admob ID (the one with ca-app....), I got the right mopub Id and everything. However I still get this message: 12-16 20:13:44.984 2778-2778/com.spekz D/skia﹕ GFXPNG PNG bitmap created width:720 height:279 bitmap id is 184 12-16 20:13:44.994 2778-2778/com.spekz D/dalvikvm﹕ GC_FOR_ALLOC freed 55K, 18% free 27700K/33472K, paused 14ms, total 14ms 12-16 20:13:45.004 2778-2778/com

Swift - ADBannerView

陌路散爱 提交于 2019-12-30 09:45:39
问题 Hi guys I tryed to implement ADBannerView with the old way like Objective C but unsuccessfull. Everythings work but the advertisments didn't show up, it stays a blank field. func bannerViewDidLoadAd(banner: ADBannerView!) { UIView.beginAnimations(nil, context: nil) UIView.setAnimationDuration(1) banner.alpha = 1 UIView.commitAnimations() } func bannerView(banner: ADBannerView!, didFailToReceiveAdWithError error: NSError!) { UIView.beginAnimations(nil, context: nil) UIView.setAnimationDuration

Swift - ADBannerView

爷,独闯天下 提交于 2019-12-30 09:45:10
问题 Hi guys I tryed to implement ADBannerView with the old way like Objective C but unsuccessfull. Everythings work but the advertisments didn't show up, it stays a blank field. func bannerViewDidLoadAd(banner: ADBannerView!) { UIView.beginAnimations(nil, context: nil) UIView.setAnimationDuration(1) banner.alpha = 1 UIView.commitAnimations() } func bannerView(banner: ADBannerView!, didFailToReceiveAdWithError error: NSError!) { UIView.beginAnimations(nil, context: nil) UIView.setAnimationDuration

Get metrics from Facebook Ads API

别等时光非礼了梦想. 提交于 2019-12-30 05:20:07
问题 I am not able get the below metrics from Facebook API. How can I calculate the these metrics, which appear in Facebook's own ads interface, from the Facebook Ads API: Reach Social reach Frequency, CPC, CPM. 回答1: When you have the Ad group ID, you have to issue an API call: https://graph.facebook.com/<AD-GROUP_ID>/stats Then you get answer like this: { "id": "<AD-GROUP_ID>/stats/0/.....", "impressions": 31, "clicks": 0, "spent": 0, "social_impressions": 0, "social_clicks": 0, "social_spent": 0