GCKAdBreakClipVastAdsRequest Class
Stay organized with collections
Save and categorize content based on your preferences.
Inherits GCKVASTAdsRequest.
|
NSURL * | adTagUrl |
| A URL for the VAST file. More...
|
|
NSString * | adsResponse |
| A string specifying a VAST document to be used as the ads response instead of making a request via an ad tag url. More...
|
|
- (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
|
readnonatomicassigninherited |
A URL for the VAST file.
- Since
- 4.1
- (NSString*) adsResponse |
|
readnonatomicassigninherited |
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 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"]]