Ionic 3 | Set Admob Banner Position inside specified DIV - ionic-framework

I'm working on ionic 3 app ( similar to news feeds ) and wanted to show AdMob in it. It is working and it is showing at the bottom of the screen. But I wanted to show it in a Div ( basically I wanted to show it between news feeds ). Is it possible?
If not, is it possible to use Google Adsense inside ionic 3? Where I can place the Adsense tag wherever I wanted inside the HTML.
And is it permissible to use Google Adsense inside ionic 3 ?

Im guessing that you use this AdMob Free NPM Module.
With this module you can specify banner Ads only on top or bottom of your WebView. There is no possible way to specify a DIV as position.
However you could go with the AdSense Method.
I recommend this NG2 Adsense Module. It also has a live Demo here.
With this module you can place Ads in your News Feed just like this for example:
<ng-adsense
[adClient]="'ca-pub-7640562161899788'"
[adSlot]="7259870550"
[display]="'inline-block'"
[width]="320"
[height]="108">
</ng-adsense>

Related

Interstitial ads with Google ad manager

Since Google ad manager (former dfp) does no longer support synchronous tags, how should I run interstitial (or expandable) ads?
I've tried a template from richmediagallery (Manzoni Intro Fullscreen) but it does not work even if I set it up with defineOutOfPageSlot. The iframe, inside which the ad is displayed, is always 1x1px, and it never exapnds to full screen. The template works only when displayed stand alone and not from dfp.
Enabler.requestFullscreenExpand() inside the ad has no effect on the parenting iframe.
How do I force iframe to expand?

AdSense ads not inserted inside empty zones in website

I would like to know if there is a way to somehow declare some ads zones for AdSense. Right now, I am using page level ads, but there are too many ads inserted, and the ones that are inserted in the page are placed randomly and are ruining my design.
I tried to set a min-height and a min-width to divs that I want the ads placed in, but that didn't do anything.
Is there anyway to tell Google where they should insert the ads?
There is not... that is the whole point of Auto Ads (page-level ads) ... google decides where to put them, and locations usually suck ... so it looks bad, and you make less $$
You should really place your ads yourself. Is your site on WordPress?

Where can I set appery.io activeScreen page name?

Developers.
I am now developing ionic app, and Im using appery.io.
And I added new route and page.
But I dont know where can I set page name in Header.
In which file can I set activeScreen page name.
Please help me.
Thanks.
If you want the header to be the same at all pages then you can open index inside Pages and set header text there as described in Buiding Your First Ionic App tutorial.
Or you can make it dynamic as described in Building a Native App with Ionic, AngularJS and Appery.io tutorial.

Google Custom Search Element: Styling Ads

I added a Google Custom Search Element to my website. I already modified the look and feel of the CSE to my website, but I can't modify the look of the ads element since it is inside an Iframe.
Does anybody know how to set-up the style of the ads Iframe? I want do put in a background color and change the font.
Thanks!
This feature seems to be available only for Google Site Search customers. If you are one, you'll be able to recieve your search results as an XML feed, and apply a presentation layer on the raw data. All the details on how to do this are available at the official Google Custom Search site.
You can try this api for AdSence search - https://developers.google.com/custom-search-ads/docs/implementation-guide?hl=en , but you can't make ads view like search results.

Is it possible to add ads to an android Widget?

Im trying to make a free version of my widget and i would like to add ads to the widget, is it possible? if so how?
Views in widget apps are limited to :
AnalogClock
Button
Chronometer
ImageButton
ImageView
ProgressBar
TextView
Descendants of these classes are not supported.
So, as there is no webiew, you can't use admobs for instance.
Nevertheless, it looks like other people are trying to address this issue and provide widget with ads too by using simple imageButton :
http://openx-android.sourceforge.net/
Kind regards,
Stéphane
You could use StartApp.
When someone downloads your app,
Your user will then get a “search icon” on his home screen, a bookmark link and a browser home page. All directing to our web search URL.
According to the FAQ Page you get paid either 4 cents for partial integration or 5 cents for full integration just because your app is downloaded.