ads

What is fbclid? the new facebook parameter [closed]

北战南征 提交于 2019-11-27 17:47:17
For two days, I have noticed that the URL that I publish on Facebook, there is a parameter is added: ?fbclid=uFCrBkUgEvKg... To be more precise something like: http://example.com?fbclid=uFCrBkUgEvKg... Does anyone know what this parameter does? What is it for and what is the use of the developers? Thanks for your comments. Marcin Milowski I know that gclid , is short for ( G oogle Cl ick Id entifier) It's a unique tracking parameter that Google uses to transfer information between your Google Ads account and your Google Analytics account. Facebook must be doing the same thing or something

Adsense with AJAX

不想你离开。 提交于 2019-11-27 14:48:43
问题 I read this, this and this, but I think my situation is different. I don't need to refresh Ads everytime I make an AJAX call. I have a page call it "mypage.php". I load Adsense advertisement into first div, when page is opened. My second div is empty. After DOM is fully loaded, i make an AJAX post. And put the result into "lower_content" div. Does this break Adsense TOS? <body> <div id="adSense_content> <script> adsense script </script> </div> <div id="lower_content"> empty in start </div> <

Admob real ads not showing after publishing it

早过忘川 提交于 2019-11-27 14:02:35
问题 After I publish my game in google play and download from play store, I'am waiting for my banner ads to come up and unfortunately it doesn't showing up... but when I include the build.adTest(); when I trying the game/app the ads shows. What do you think is the problem or do admob take some time to show their live/real ads? 回答1: According to Google "It could be that you have only recently created a new Ad Unit ID and requesting for live ads. It could take a few hours for ads to start getting

Putting an AdMob native ad in a listView

故事扮演 提交于 2019-11-27 13:09:38
问题 I'd like to use the new AdMob native ad functionality in my app. I want to put a native ad within a listView, where every 20th item or so in the list is an ad. Is it possible to achieve this with a Native Express Ad? Or do I have to use a Natve Advanced Ad? 回答1: Well @Jagjit has shown the right approach. I will write it step by step 1. Create your own custom adapter (by extending BaseAdapter ) which will be shown as listview items 2. Create another layout resource file for showing native ad

Google DFP - Resize SafeFrame custom creative outer Iframe container from inside (expand ad)

戏子无情 提交于 2019-11-27 09:09:55
i'm searching for solution, that can expand SafeFrame custom ad from inside of custom creative in Google DFP, is that possible somehow? There are 2 possible solutions: 1) using SafeFrame API pros: u can use it "out of the box" you can use it on any website, no custom code on website is needed it's safe to use cons: it's limited to fill just visible area of website need to wait, until ad unit is visible to the user 2) code your own API with window.postMessage() javascript method cons: you need to add custom code to your website it's a possible threat, if you use some 3th party creatives pros:

How to prevent ad blocker from blocking ads on an app

ぐ巨炮叔叔 提交于 2019-11-27 08:57:55
问题 One of my users let the cat out of the bag and told me they were using one of my free apps, which is monetized by ads, but they were blocking the ads with an ad blocker. They told me this mockingly, as if I can't do anything about it. Can I do something about it? Is there a way to detect that ads are being blocked? 回答1: I am aware of one way that ad blocking works (on any computer really), they edit the hosts file to point to localhost for all known ad servers. For android this is located in

Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException: Why?

只愿长相守 提交于 2019-11-27 08:50:06
I update my Android Studio (3.2.1) and its sdk to the latest version. After that it required a manual update for Manifest by adding these tags: <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:roundIcon="@drawable/ic_launcher" android:supportsRtl="true" android:theme="@style/AppTheme" tools:ignore="AllowBackup,GoogleAppIndexingWarning"> <meta-data android:name="com.google.android.gms.ads.APP_ID" android:value="ca-app-pub-#############"/> <activity android:name=".MainActivity"> <intent-filter> <action android:name="android

The advertisingIdentifier and identifierForVendor return “00000000-0000-0000-0000-000000000000”

被刻印的时光 ゝ 提交于 2019-11-27 08:01:52
I've implemented this methods to get advertisingIdentifier and identifierForVendor : - (NSString *) advertisingIdentifier { if (!NSClassFromString(@"ASIdentifierManager")) { return [OpenUDID value]; } return [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]; } - (NSString *) identifierForVendor { if ([[UIDevice currentDevice] respondsToSelector:@selector(identifierForVendor)]) { return [[[UIDevice currentDevice] identifierForVendor] UUIDString]; } return @""; } - (BOOL)isAdvertisingTrackingEnabled { if (NSClassFromString(@"ASIdentifierManager") && ![[ASIdentifierManager

Programmatically close an interstitial ad

北城以北 提交于 2019-11-27 06:48:33
问题 I want to make sure that interstitial ads on Android, using the Android AdMob SDK, can be closed. After some research, it seems to me that this is not possible due to the ad being a separate activity. What I want to do is close the ad after 5 seconds. Can someone assure me that closing an interstitial ad is impossible or if there's a hack? 回答1: It's going to be a very late answer but I faced similar issue. A trick can be to call the back button event programmatically. this.dispatchKeyEvent

How to detect a click inside of an iframe (cross-domain)? Aka prevent click fraud

我们两清 提交于 2019-11-27 06:11:25
问题 I got a warning by my ad system provider about click fraud. No further info, all they are recommending is "hide the ads for users who click on ads too quickly'". I wrote a piece of JS script that hides all DIVs with ads for N seconds (using cookie) when clicked on, but this solution does not work as the "inner" content (with ads) is generated by an JS script that calls and renders the content from external server (as you would expect from an ad system). So, when one takes the cross-domain