Millennial Media Android Ad SDK Public Documentation  6.3.1
Public Member Functions | List of all members
NativeAd.NativeAdMetadata Class Reference

Inherits AdPlacementMetadata< MetadataType >.

Public Member Functions

MetadataType setSupportedOrientations (String orientations)
 
List getSupportedOrientations ()
 
MetadataType setKeywords (String keywords)
 
String getKeywords ()
 

Detailed Description

Specifies metadata for a NativeAd request. NativeAdMetadata contains targeting information used when loading new ad content. Ad requests are created using NativeAdMetadata

Member Function Documentation

String getKeywords ( )
inherited

Get the keywords of the ad request

Returns
Comma-delimited string of keywords
List getSupportedOrientations ( )
inherited

Get the supported orientations of the ad request

Returns
List of orientations
MetadataType setKeywords ( String  keywords)
inherited

Set the keywords of the ad request

Parameters
keywordscomma-delimited string of keywords
Returns
InlineAd.InlineAdMetadata, InterstitialAd.InterstitialAdMetadata, or NativeAd.NativeAdMetadata
MetadataType setSupportedOrientations ( String  orientations)
inherited

Set the supported orientations of the ad request

Parameters
orientationscomma-delimited string of supported orientations. Possible values include "portrait" and "landscape"
Returns
InlineAd.InlineAdMetadata, InterstitialAd.InterstitialAdMetadata, or NativeAd.NativeAdMetadata