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

Inherits AdPlacementMetadata< MetadataType >.

Public Member Functions

InlineAdMetadata setAdSize (AdSize adSize)
 
AdSize getAdSize ()
 
MetadataType setSupportedOrientations (String orientations)
 
List getSupportedOrientations ()
 
MetadataType setKeywords (String keywords)
 
String getKeywords ()
 

Detailed Description

Specifies metadata for an InlineAd request. InlineAdMetadata contains targeting information used when loading new ad content. Ad requests are created using InlineAdMetadata.

Member Function Documentation

AdSize getAdSize ( )

Get the size of the ad to be loaded and displayed.

Returns
the AdSize to use when requesting a new ad
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
InlineAdMetadata setAdSize ( AdSize  adSize)

Sets the size of the ad to be loaded and displayed.

Parameters
adSizethe AdSize to use when requesting a new ad
Returns
InlineAdMetadata
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