Page Summary
-
GCKVASTAdsRequest is a class representing a VAST request for an ad break clip.
-
This class inherits from NSObject,
-
A GCKVASTAdsRequest object can be initialized using either an ad tag URL or a VAST ads response string.
-
The
adTagUrlproperty stores the URL for the VAST file, and theadsResponseproperty stores a VAST document string to be used instead of an ad tag URL.
Overview
A class representing a VAST request for an ad break clip.
- Since
- 4.1
Inherits NSObject, <NSCopying>, and <NSSecureCoding>.
Inherited by GCKAdBreakClipVastAdsRequest .
Method Detail
| - (nullable instancetype) initWithAdTagURL: | (nullable NSURL *) | adTagURL | |
| adsResponse: | (nullable NSString *) | adsResponse | |
Initializes a GCKVASTAdsRequest object.
Needs an adTagURL or an adsResponse.
- Parameters
-
adTagURL The ad tag URL for the request. adsResponse The ads response for the request. If this is non-nil, adTagURL will be ignored by the receiver.
- Since
- 4.3.4
Property Detail
A URL for the VAST file.
- Since
- 4.1
A string specifying a VAST document to be used as the ads response instead of making a request via an ad tag url.
This can be useful for debugging and other situations where a VAST response is already available. If the adsResponse is non-nil, the adTagURL will be ignored by the receiver.
- Since
- 4.1

