GCKAdBreakClipVastAdsRequest Class

  • GCKAdBreakClipVastAdsRequest is a class representing a VAST request for an ad break clip that inherits from GCKVASTAdsRequest.

  • It has an instance method initWithAdTagURL:adsResponse: to initialize the object, requiring either an adTagURL or an adsResponse.

  • The properties adTagUrl and adsResponse store the URL for the VAST file or a string specifying a VAST document, respectively.

  • If adsResponse is provided, the adTagUrl will be ignored when making the request.

GCKAdBreakClipVastAdsRequest Class Reference

Inherits GCKVASTAdsRequest .

Instance Method Summary

(nullable instancetype) 
Initializes a GCKVASTAdsRequest object. More...
(instancetype) 
- init

Property Summary

NSURL * 
A URL for the VAST file. More...
NSString * 
A string specifying a VAST document to be used as the ads response instead of making a request via an ad tag url. More...

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

- (NSURL*) adTagUrl
read nonatomic assign inherited

A URL for the VAST file.

Since
4.1
- (NSString*) adsResponse
read nonatomic assign inherited

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
Create a Mobile Website
View Site in Mobile | Classic
Share by: