ads

xcode 6 swift ads GoogleMobileAdsSdkiOS

£可爱£侵袭症+ 提交于 2019-12-05 04:16:59
问题 I'm using Xcode 6 + Swift. Does anybody know how to integrate Google Ads , GoogleMobileAdsSdkiOS on a Swift Project? how to config, and how to program? I created a new file Teste-Bridging-Header.h on the project and put #import GADBannerView.h based on this reference on my ViewController.swift some thing like: class ViewController: UIViewController { override func viewDidAppear(animated: Bool) { super.viewWillAppear(animated) var adB = GADBannerView() adB.delegate = self adB

How do I disable or hide the unwanted Disqus ads on my website?

不问归期 提交于 2019-12-05 03:33:47
问题 Imagine that one day, suddenly, random ads started appearing on your website... Recently Disqus started forcing unwanted ads inside of the Disqus comments, displaying those nasty ads on your website(s) without your knowing. It seems that they only target the sites with "big enough" daily traffic or use some other arbitrary criteria, so the ads do not appear on all the websites, but only on relatively busy ones. This way Disqus "forces" you to upgrade to the paid subscription plan - for the

Unwanted css injected into posts

痞子三分冷 提交于 2019-12-05 02:48:23
问题 Some of our users have been having css inserted into their posts without their knowledge. This css appears to be advert related and is not generated by a wordprocessor and consists of only css and no html. Below is an example: .adslot-overlay { position:absolute; font-family:arial, sans-serif; background-color:rgba(0,0,0,0.65); border:2px solid rgba(0,0,0,0.65); color:#FFF!important; z-index:2147483647; text-decoration:none; box-sizing:border-box; text-align:left; margin:0; } .adslot-overlay

How do I create a passback tag from a URL?

為{幸葍}努か 提交于 2019-12-05 02:08:43
I have a couple of ad networks that have been able to integrate a passback URL (requested when a paid ad impression is not available) but one ad network can only accept a passback script tag, which I don't have. The passback script needs to load the contents of a URL (a 728x90 image or flash banner) into itself (it also needs to execute the Javascript that it loads). Can anyone help me construct a passback script tag? I tried this: <SCRIPT language="Javascript"> // loads within itself, in the 728x90 banner space document.write("<SCR"+"IPT language=\'Javascript\' src=\'http://www.mydomain.com

Improper advertising identifier [IDFA] usage (Limit Ad Tracking)

筅森魡賤 提交于 2019-12-05 01:29:04
问题 I'm submitting an ios game update to the app store. xcode shows the following error: "Improper advertising identifier [IDFA] usage. Your app contains the Advertising Identifier [IDFA] API but your app is not respecting the Limit Ad Tracking setting in iOS." I haven't changed anything regearding my ad settings and there were no problems with the last version of my app. I have been trying to find a workaround for the last 20 hours and I am starting to become insane. What do I have to change and

adding google ads to android app

你。 提交于 2019-12-05 01:15:52
问题 i am tying to add google ads to my app(this is my 1st time). i have added the jar file also. Here is the xml. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="

How to add native ads in a listview?

浪尽此生 提交于 2019-12-05 00:56:59
问题 this is my activity i want to insert a native ads into the list view. I'm trying to follow this guide https://github.com/StartApp-SDK/Documentation/wiki/android-advanced-usage But I find it hard to understand. can you give me a hand, maybe making examples of code? thank you ACTIVITY public class EpisodiActivity extends Activity { private StartAppAd startAppAd = new StartAppAd(this); public class ViewModel { private String url; private String name; public ViewModel(String url, String name) {

AdMob banner ad not showing

天涯浪子 提交于 2019-12-04 23:12:26
I am using admob in my app, it was working fine but suddenly it stopped showing ads at all. Bellow is my codes i used: mainActivity.xml: <com.google.android.gms.ads.AdView android:id="@+id/adView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_alignParentBottom="true" ads:adSize="BANNER" ads:adUnitId="@string/banner_ad_unit_id"> </com.google.android.gms.ads.AdView> MainActivity.java AdView mAdView = (AdView) findViewById(R.id.adView); AdRequest adRequest = new AdRequest.Builder().build(); mAdView.loadAd(adRequest);

How do I add Google Adsense every x posts?

浪尽此生 提交于 2019-12-04 18:22:14
I found this example http://wearevanity.co where the new ads are loaded in every page. In addition to the maximum number of posts allowed by Tumblr . The ads are automatically adjusted to the layout of the page, which makes them add to the look of the blog. Does anyone know how to achieve this? If so, would you please explain it to us, step by step? Use {block:Post6} and {block:Post12} to show content on the 6th and 12th posts. Documentation here Example usage: {block:Posts} {block:Photo}Your content blocks here{/block:Photo} {block:Video}Your content blocks here{/block:Video} {block:Post6}

Available & Most Profitable Ad System for iPhone App?

▼魔方 西西 提交于 2019-12-04 17:34:44
After release my first iPhone application I had a fairly decent turnover in turns of sales considering it was a pretty niche application in the health and fitness category. However, I decided to make the application free until the next update and in the first 3 days downloads of my app have increased by 1433% - which is quite staggering. So it got me thinking maybe the option of a free application, with ads would be a better option. With that said, what are the available options for integrating ads into an iPhone app and which is the most profitable? iAD is the most profitable as it pays lot