MMRequestInfo Class Reference

Inherits from NSObject
Declared in MMRequestInfo.h

Overview

The object used to configure per-request settings. This object should only be constructed if the context in which your ad placement request is made can be used to imply any additional information useful for targeting.

  keywords

Keywords relevant to this individual request, e.g. ["videotapes"]

@property (nonatomic, copy, nullable) NSArray *keywords

Discussion

Keywords relevant to this individual request, e.g. ["videotapes"]

Declared In

MMRequestInfo.h

  impressionGroup

The impression group ID for sites that are enabled to group traffic in this way.

@property (nonatomic, copy, nullable) NSString *impressionGroup

Discussion

The impression group ID for sites that are enabled to group traffic in this way.

Declared In

MMRequestInfo.h

– addCustomTargetingKey:andValue:

Add custom targeting key value pairs. These values are passed on each ad request.

- (void)addCustomTargetingKey:(nullable NSString *)customTargetKey andValue:(nullable NSString *)customTargetValue

Parameters

customTargetKey

The custom targeting key. (Null, empty string and white space only values will not be added to the request)

customTargetValue

The custom targeting value. (Null, empty string and white space only values will delete the key value pair)

Discussion

Add custom targeting key value pairs. These values are passed on each ad request.

Declared In

MMRequestInfo.h

– getCustomTargetingValueForKey:

Get the custom target value assigned to the given key.

- (nullable NSString *)getCustomTargetingValueForKey:(nullable NSString *)customTargetKey

Parameters

customTargetKey

The custom targeting key to be retrieved.

Return Value

The custom target value assigned to the provided key.

Discussion

Get the custom target value assigned to the given key.

Declared In

MMRequestInfo.h