Appearance
Neighboring Content URLs
Neighboring content URLs are part of a feature in Google Ad Manager called "Multi-content URL mapping" for in-app advertising. This feature allows you to provide up to four URLs that describe the content surrounding an ad placement within your app.
Purpose:
The primary purpose of using neighboring content URLs is to give Google's crawlers a better understanding of the context in which an ad is displayed. This helps in two main ways:
- Contextual Relevance: It allows Google to serve ads that are more relevant to the content the user is viewing.
- Brand Safety: It helps ensure that ads are placed near content that is suitable for advertisers, which can encourage more advertisers to bid on that ad space and potentially increase revenue.
This feature is particularly useful for apps that display dynamic or personalized content feeds, where the information changes frequently or is tailored to the individual user.
To set neighboring content URLs for an AdMob ad request, use the setNeighboringContentUrls method of the RingierAdBannerView.
swift
import RingierAdSDK
let banner: RingierAdBannerView = RingierAdBannerView()
banner.setNeighboringContentUrls([
"https://example.ch/article/id1348.html",
"https://example.ch/sport"
"https://example.ch/article/id1444.html",
])
