我把我的另一个应用程序的链接(URL)放在我的流行应用程序中,所以当用户点击它时,它将重定向到play store中的另一个应用程序。我正在使用此代码做这件事,但它违反了made for ads策略,我如何才能在不违反策略的情况下做到这一点?
try {
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.setType("text/plain");
shareIntent.putExtra(Intent.EXTRA_SUBJECT, "My application name");
String shareMessage= "\nLet me recommend you this application\n\n";
shareMessage = shareMessage + "https://play.google.com/store/apps/details?id=" + BuildConfig.APPLICATION_ID +"\n\n";
shareIntent.putExtra(Intent.EXTRA_TEXT, shareMessage);
startActivity(Intent.createChooser(shareIntent, "choose one"));
} catch(Exception e) {
//e.toString();
} ```
发布于 2019-12-23 11:32:26
这将违反谷歌广告隐私政策。如果你必须这样做,你应该在里面放一个写有Ad
的小图片,或者只是在链接中添加文本(Ad)
,如下所示
其他应用(广告)
这将告诉用户您正在推广自己或他人的应用程序,并且不会违反任何隐私政策。
https://stackoverflow.com/questions/59454499
复制相似问题