Inherits from NSObject
Declared in PTAdAsset.h

Overview

The PTAdAsset instance represents an asset to be displayed.

Tasks

Properties

  •   ad

    Returns the PTAd instance that this asset belongs to

    property
  •   id

    Returns the id of the asset.

    property
  •   format

    Returns the format of the asset.

    property
  •   source

    Returns the source of the asset.

    property
  •   resourceType

    Returns the resourceType of the asset (static, iframe or html).

    property
  •   creativeType

    Returns the mimeType of the asset.

    property
  •   mediaFiles

    Returns an array of media files (creative formats) for this asset

    property
  •   click

    Returns the click instance associated with this asset

    property
  •   behaviorData

    Returns the behavior data of the asset.

    property
  •   width

    Returns the width of the asset.

    property
  •   height

    Returns the height of the asset.

    property
  •   duration

    Returns the duration of the asset.

    property
  •   data

    Returns the data of the asset.

    property

Properties

ad

Returns the PTAd instance that this asset belongs to

@property (nonatomic, assign) PTAd *ad

Discussion

Returns the PTAd instance that this asset belongs to

Declared In

PTAdAsset.h

behaviorData

Returns the behavior data of the asset.

@property (nonatomic, retain) NSDictionary *behaviorData

Discussion

Returns the behavior data of the asset.

Declared In

PTAdAsset.h

click

Returns the click instance associated with this asset

@property (nonatomic, retain) PTAdClick *click

Discussion

Returns the click instance associated with this asset

Declared In

PTAdAsset.h

creativeType

Returns the mimeType of the asset.

@property (nonatomic, retain) NSString *creativeType

Discussion

Returns the mimeType of the asset.

Declared In

PTAdAsset.h

data

Returns the data of the asset.

@property (retain, nonatomic) NSDictionary *data

Discussion

Returns the data of the asset.

Declared In

PTAdAsset.h

duration

Returns the duration of the asset.

@property (nonatomic) double duration

Discussion

Returns the duration of the asset.

Declared In

PTAdAsset.h

format

Returns the format of the asset.

@property (nonatomic, retain) NSString *format

Discussion

Returns the format of the asset.

Declared In

PTAdAsset.h

height

Returns the height of the asset.

@property (nonatomic) int height

Discussion

Returns the height of the asset.

Declared In

PTAdAsset.h

id

Returns the id of the asset.

@property (nonatomic, retain) NSString *id

Discussion

Returns the id of the asset.

Declared In

PTAdAsset.h

mediaFiles

Returns an array of media files (creative formats) for this asset

@property (nonatomic, retain) NSMutableArray *mediaFiles

Discussion

Returns an array of media files (creative formats) for this asset

Declared In

PTAdAsset.h

resourceType

Returns the resourceType of the asset (static, iframe or html).

@property (nonatomic, retain) NSString *resourceType

Discussion

Returns the resourceType of the asset (static, iframe or html).

Declared In

PTAdAsset.h

source

Returns the source of the asset.

@property (nonatomic, retain) NSString *source

Discussion

Returns the source of the asset.

Declared In

PTAdAsset.h

width

Returns the width of the asset.

@property (nonatomic) int width

Discussion

Returns the width of the asset.

Declared In

PTAdAsset.h