Kelas GCKAdBreakClipVastAdsRequest
Mewarisi GCKVASTAdsRequest.
|
NSURL * | adTagUrl |
| URL untuk file VAST. Lainnya...
|
|
NSString * | adsResponse |
| String yang menentukan dokumen VAST untuk digunakan sebagai respons iklan, bukan membuat permintaan melalui URL tag iklan. Lainnya...
|
|
- (nullable instancetype) initWithAdTagURL: |
|
(nullable NSURL *) |
adTagURL |
adsResponse: |
|
(nullable NSString *) |
adsResponse |
|
|
| |
Menginisialisasi objek GCKVASTAdsRequest.
Membutuhkan adTagURL atau 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. |
- Sejak
- 4.3.4
|
readnonatomicassigninherited |
URL untuk file VAST.
- Sejak
- 4,1
- (NSString*) adsResponse |
|
readnonatomicassigninherited |
String yang menentukan dokumen VAST untuk digunakan sebagai respons iklan, bukan membuat permintaan melalui URL tag iklan.
Hal ini dapat berguna untuk proses debug dan situasi lain saat respons VAST sudah tersedia. Jika adsResponse tidak bernilai nol, adTagURL akan diabaikan oleh penerima.
- Sejak
- 4,1
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-12-02 UTC.
[null,null,["Terakhir diperbarui pada 2023-12-02 UTC."],[[["The `GCKAdBreakClipVastAdsRequest` class handles VAST ad requests for ad break clips within Google Cast."],["It inherits from `GCKVASTAdsRequest` and can be initialized with either an ad tag URL or a pre-fetched VAST response."],["The `adTagUrl` property stores the URL for fetching the VAST file, while `adsResponse` can hold a pre-fetched VAST response."],["If `adsResponse` is provided during initialization, `adTagUrl` is ignored."]]],["The `GCKAdBreakClipVastAdsRequest` class, inheriting from `GCKVASTAdsRequest`, manages VAST ad requests for ad break clips. It can be initialized using an ad tag URL or a VAST ad response string. Key properties include `adTagUrl`, a URL for the VAST file, and `adsResponse`, a string containing a VAST document. When both properties are given, `adsResponse` takes priority and it's considered the main source of the ads.\n"]]