Menu

Admob content mapping feature

1. AdMob Content Mapping Instructions

With app content mapping, you can target users with content-related ads and ensure that ads are placed near content that is suitable for your advertisers. For details, refer to the AdMob Reference Documentation.

By default, only 1 URL can be passed. By submitting an application to AdMob, you can support up to 4 content URLs (multi-content URL).

  • Supported ad types: All ad formats
  • Supported starting from: v6.2.65

2. Sample Code

2.1 Add Content Mapping URLs

Copy
// Supports passing 1-4 URLs
NSMutableDictionary *mutableDict = [NSMutableDictionary dictionary];
mutableDict[kATAdLoadingExtraAdmobContentURLStringsKey] = @[@"https://www.example1.com", @"https://www.example2.com"];
[[ATAdManager sharedManager] loadADWithPlacementID:@"Your placement"  extra:mutableDict delegate:self containerView:nil];

Note: The content mapping URLs passed in will remain in effect; you do not need to pass the same URLs every time you make a request. If you need to change them, simply pass new content.

2.2 Cancel Content Mapping URLs

Parameters must be passed each time for it to take effect. If not passed, it means the content mapping is not used.

Previous
Third-party revenue feedback(SDK v6.4.12 below)
Next
Filter cross-promotion apps
Last modified: 2026-07-08Powered by