capacitor-community / capacitor-community/admob

How to show ADS in a specific view location

Open
#253 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
296
Forks
97
Avg merge
2d 6h
Merged PRs (30d)
7

Description

**Description**
I have a use case where my ads shall be rendered as an element of a ion-list.
More in general, I would like to put the ads banner in a specific

of my application.
Is that use case feasible?

**To Reproduce**
Steps to reproduce the behavior:
1. Implements a ion-list
2. Inside a element of list , add the ads html code

**Expected behavior**
I expect that the ads is being shown in the row of the list which I have chosen.
More in general, I expect that the ads is being shown in the view I have chosen.
The view could also scroll.

**Screenshots**
Attached a screenshot of the expected behaviour. In the image, I've highlighted the ads I want to show and the location were I desire they appear. In green the ads which we are able to render; in red the ones we are not capable of creating.

![IMAGE 2023-06-07 11:00:26](https://github.com/capacitor-community/admob/assets/3052957/d62fb604-3ce9-475a-9054-80d7d84db451)

**Smartphone**
- OS: Android and iOS
- Browser (not required)
- Version: Android > (minSDKVersion) 22 and iOS > 13

**Additional context**
No additional context.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the plugin's current ad-rendering API for Android and iOS, then compare it with the reported ion-list and div placement scenarios. Confirm whether ads can be attached to a chosen scrolling view on both platforms; done means a documented or tested answer for the requested placement behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, html, ios
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.