Classe GCKVASTAdsRequest

Riferimento per la classe GCKVASTAdsRequest

Panoramica

Una classe che rappresenta una richiesta VAST di un clip di interruzione pubblicitaria.

Dal
4,1

Eredita NSObject, <NSCOPY> e <NSSecureCoding>.

Ereditato da GCKAdBreakClipVastAdsRequest.

Riepilogo del metodo di istanza

(nullable instancetype) - initWithAdTagURL:adsResponse:
 Inizializza un oggetto GCKVASTAdsRequest. Altro...
 
(instancetype) - init
 

Riepilogo proprietà

NSURL * adTagUrl
 Un URL per il file VAST. Altro...
 
NSString * adsResponse
 Una stringa che specifica un documento VAST da utilizzare come risposta agli annunci anziché effettuare una richiesta tramite l'URL di un tag annuncio. Altro...
 

Dettaglio metodo

- (nullable instancetype) initWithAdTagURL: (nullable NSURL *)  adTagURL
adsResponse: (nullable NSString *)  adsResponse 

Inizializza un oggetto GCKVASTAdsRequest.

Richiede un adTagURL o un adsResponse.

Parameters
adTagURLThe ad tag URL for the request.
adsResponseThe ads response for the request. If this is non-nil, adTagURL will be ignored by the receiver.
Dal
4.3.4

Dettagli della proprietà

- (NSURL*) adTagUrl
readnonatomicassign

Un URL per il file VAST.

Dal
4,1
- (NSString*) adsResponse
readnonatomicassign

Una stringa che specifica un documento VAST da utilizzare come risposta agli annunci anziché effettuare una richiesta tramite l'URL di un tag annuncio.

Questo può essere utile per il debug e altre situazioni in cui è già disponibile una risposta VAST. Se adsResponse non è null, l'URL adTagURL verrà ignorato dal destinatario.

Dal
4,1