Ejemplo n.º 1
0
 private String urlWithClickTrackingRedirect(AdView adView, String url) {
   String clickthroughUrl = adView.getClickthroughUrl();
   if (clickthroughUrl == null) return url;
   else {
     String encodedUrl = Uri.encode(url);
     return clickthroughUrl + "&r=" + encodedUrl;
   }
 }
Ejemplo n.º 2
0
 public String getClickthroughUrl() {
   return (mAdView != null) ? mAdView.getClickthroughUrl() : null;
 }