Posts tagged with ads

My app was getting too high CTR for AppOpenAd which was around 35%-40%. So after looking for the issue I found that the AppOpen Ad is displaying the AppContent background in place of the advertisement. Below are the screenshots to demonstrate the exact issue.

So, in normal implementation as per the Google Admob Documentation. Below is the picture of what is exactly happening at many times. There is a comparison between the perfect display and problem happening display.

So, to work around I tried setting the background to the AdActivity with the following style and theme in Manifest file.

<style name="Theme.AppThemeNoActionBar.AdTheme" ><item name="android:background">@color/black</item>     <item name="android:windowBackground">@color/black</item>     <item name="android:windowExitAnimation">@null</item>     <item name="android:windowEnterAnimation">@null</item></style>

And setting it into manifest file

<activity         android:name="com.google.android.gms.ads.AdActivity"         android:theme="@style/Theme.AppThemeNoActionBar.AdTheme"         tools:replace="android:theme"/> 

But still the issue remained same. Here the comparison picture.

I need to load a Portrait Full-screen native ad.

I have set the nativeAdOptions like these
val nativeAdOptions = NativeAdOptions.Builder().setMediaAspectRatio(MediaAspectRatio.PORTRAIT).build()

and load the ad like this

AdLoader.Builder(context, adUnitId).withNativeAdOptions(nativeAdOptions) 

Even I set the MediaAspectRatio to MediaAspectRatio.PORTRAIT. I am getting landscape ads.

Is there any issue with Google Ad Manager SDK or Do I need to specify any extra AdOptions?

Today, our google ads rejected due to macilious software issue. we have investgated this problem in details. we have checked the follow at our end:

  • we have check thorughly all website code
  • we have already scan our website using "malware scanner"
  • we have checked the website maleware scanner for virus total.
  • we have checked our database
  • the time-stamp of all pages are not change in recent time

BUT! occasionally a pop-up appears at the bottom of the webpage. the screenshot is attached to this message. https://exactautoglass.ca/[![enter image description here](https://i.sstatic.net/86TgZ.png)](https://i.sstatic.net/86TgZ.png)

i have tried eveything to run my google ads but it always rejected due to the "Malicious Software". I am looking for the solution!!

Any help would be appreciated. thanks

Does anybody have some sample code that shows how to get the daily, total billed cost (across all campaigns) of a google ads account?

I have been looking for a sample for a while but could not find where you can get the total cost/billed cost for the day (or for a certain period of time).

I am doing this in Js but a sample in any language is okay. I would like to send this data to an airtable base, so if you have any suggestions on how that can be done too, that would be great!

Thanks in advance!