Modified ad code: Resizing Ad Frames

91 views
Skip to first unread message

Candy Leung

unread,
Jan 27, 2021, 2:07:46 AM1/27/21
to Google Mobile Ads SDK Developers
I've received an email from Google saying that my app violated the policy (Modified ad code: Resizing Ad Frames), but I did not resize the ad frame at all.

I've tried to appeal, but it is still "not approved", and the Policy Center was not helpful, they did not provide screenshots or specify which part of the app violates the policy.

Here is the layout xml, please tell me how I can fix the issue. Thanks.


fragment_home.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/list_bg"
android:orientation="vertical">

<com.youth.banner.Banner
android:id="@+id/main_event_banner"
android:layout_width="match_parent"
android:layout_height="0dp" />

<LinearLayout
android:id="@+id/main_event_banner_indicator_container"
android:layout_width="match_parent"
android:layout_height="3dp"
android:orientation="horizontal" />

<com.google.android.material.tabs.TabLayout
android:id="@+id/home_indicator"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/pager_tab_strip_bg_list"
app:tabIndicatorColor="@color/tab_indicator"
app:tabIndicatorFullWidth="true"
app:tabIndicatorHeight="3dp"
app:tabSelectedTextColor="@color/tab_indicator"
app:tabTextColor="@color/tab_text_unselected" />

<androidx.viewpager.widget.ViewPager
android:id="@+id/home_pager"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />

<include layout="@layout/banner_ad" />

</LinearLayout>


banner_ad.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/adViewContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:background="@android:color/transparent"
android:contentDescription="@string/accessibility_advertisement"
android:gravity="bottom|center_horizontal"
android:orientation="vertical" />

Mobile Ads SDK Forum Advisor Prod

unread,
Jan 27, 2021, 4:11:40 AM1/27/21
to candy.l...@gmail.com, google-adm...@googlegroups.com

Hi Candy,

Thank you for reaching out to us.

You may want refer to the implementation guidelines below to help you with this particular policy concern:


That being said, I would recommend that you reach out to the product specialists in the AdMob Help Center for further insights on this policy-related concern, as I'm afraid that we can only assist you with your technical issues on the AdMob SDK. They should be able to provide better insights on this.

Google Logo
Ziv Yves Sanchez
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2B3iQC:ref

Candy Leung

unread,
Jan 27, 2021, 5:59:09 AM1/27/21
to Google Mobile Ads SDK Developers
Hi Ziv,

I've posted in the AdMob Community, I wonder if there are AdMob Staff answering my question or there are only general users / developers. When you said "reach out to the product specialists", I kind of expected I was going to fill in some Contact Us form which can reach the staff directly, but I couldn't find such function.

Mobile Ads SDK Forum Advisor Prod

unread,
Jan 27, 2021, 9:07:51 AM1/27/21
to candy.l...@gmail.com, google-adm...@googlegroups.com
Hi Candy,

Thank you for responding back. Yes, there are support people there who can help to answer your questions or concerns. As they will be helping you with different issues than what we support here. As we are more technical in focus, they are able to help with issues such as account and policy.

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2B3iQC:ref
Reply all
Reply to author
Forward
0 new messages