Menu

Admob Content Mapping

1. Admob Content Mapping Description

With app content mapping, you can serve content-relevant ads to users and ensure that the ads are placed near content that is appropriate for your advertisers. For details, please refer to the Admob Reference Documentation

By default, only 1 URL can be passed. By applying to Admob, you can enable support for up to 4 content URLs (multi-content URL).

  • Supported ad types: All ad formats
  • Supported starting from version: 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 ad placement"  extra:mutableDict delegate:self containerView:nil];

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

2.2 Cancel Content Mapping URLs

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

Previous
WeChat mini program support
Next
Filter Cross-Promotion
Last modified: 2026-07-08Powered by