Inherits from NSObject
Declared in TWTRMoPubAdConfiguration.h

Overview

Bridging class for configuring how to load your MoPub ad unit.

Properties

adUnitID

Ad unit ID of the MoPub ad.

@property (nonatomic, copy, readonly) NSString *adUnitID

Declared In

TWTRMoPubAdConfiguration.h

keywords

Keywords specified in comma-separated key-value pairs to provide better targetting of the ads. e.g. “marital:single,age:24”

@property (nonatomic, copy, readonly, nullable) NSString *keywords

Declared In

TWTRMoPubAdConfiguration.h

Instance Methods

init

- (instancetype)init

initWithAdUnitID:keywords:

Initializes a new MoPub ad configuration.

- (instancetype)initWithAdUnitID:(NSString *)adUnitID keywords:(nullable NSString *)keywords

Parameters

adUnitID

The ad unit ID as configured in the MoPub dashboard

keywords

Keywords for better ad targeting

Return Value

Fully initialized ad configuration.

Declared In

TWTRMoPubAdConfiguration.h