GCKAdBreakClipVastAdsRequest クラス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
GCKVASTAdsRequest を継承します。
- (nullable instancetype) initWithAdTagURL: |
|
(nullable NSURL *) |
adTagURL |
adsResponse: |
|
(nullable NSString *) |
adsResponse |
|
|
| |
GCKVASTAdsRequest オブジェクトを初期化します。
adTagURL または 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. |
- 開始:
- 4.3.4
|
readnonatomicassigninherited |
- (NSString*) adsResponse |
|
readnonatomicassigninherited |
広告タグ URL を介してリクエストを行う代わりに、広告レスポンスとして使用する VAST ドキュメントを指定する文字列。
これは、デバッグなど、VAST レスポンスがすでに利用できる状況で役立ちます。adsResponse が nil でない場合、adTagURL はレシーバによって無視されます。
- 開始:
- 4.1
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-02 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 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"]]