스트림 요청에서 제한된 수의 광고 태그 매개변수를 재정의할 수 있습니다. 추가된 값은 문자열이어야 합니다.
자세한 내용은
타겟팅 매개변수를 스트림에 공급하기를 참고하세요.
스트림 변형 환경설정에 dai-ot 및 dai-ov 매개변수를 사용할 수 있습니다.
자세한 내용은
스트림 변형 매개변수 재정의를 참고하세요.
apiKey
문자열
스트림 요청 API 키입니다.
DFP Admin UI를 통해 구성되며 게시자에게 제공되어 콘텐츠를 잠금 해제합니다.
콘텐츠에 액세스하려는 애플리케이션을 확인합니다.
authToken
문자열
스트림 요청 승인 토큰입니다. 더 엄격한 콘텐츠 승인을 위해 API 키 대신 사용됩니다. 게시자는 이 토큰을 기반으로 개별 콘텐츠 스트림 승인을 제어할 수 있습니다.
이 스트림 요청을 실행하는 게시자의 네트워크 코드입니다. 네트워크 코드는 포드 제공 스트림 요청 (PodStreamRequest 또는 PodVodStreamRequest) 및 클라우드 스티칭 스트림 요청(VideoStitcherLiveStreamRequest 또는 VideoStitcherVodStreamRequest)에 필요하며 전체 서비스 스트림 요청(LiveStreamRequest 또는 VODStreamRequest)의 경우 선택사항이지만 권장됩니다. 이 코드는 프로그래매틱 방식의 제한적인 광고 사용 설정과 같이 Ad Manager UI에서 선택한 설정을 적용하는 데 사용됩니다. 포드 게재 및 Cloud Stitching의 경우 스트림을 찾고 재생하는 데도 사용됩니다. 네트워크 코드를 찾으려면 이 도움말을 참고하세요.
senderCanSkip
부울
발신자가 최종 사용자에게 CAF 건너뛰기 UI를 표시하는지 여부입니다.
건너뛸 수 있는 광고를 사용 설정하는 데 사용됩니다.
streamActivityMonitorId
문자열
스트림 활동 모니터링 도구로 스트림을 디버그하는 데 사용할 ID입니다.
이는 게시자가 스트림 활동 모니터링 도구에서 스트림 로그를 쉽게 찾을 수 있도록 하는 데 사용됩니다.
[null,null,["최종 업데이트: 2025-08-21(UTC)"],[[["\u003cp\u003e\u003ccode\u003eStreamRequest\u003c/code\u003e class defines properties for requesting ad-integrated streams.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes \u003ccode\u003eapiKey\u003c/code\u003e or \u003ccode\u003eauthToken\u003c/code\u003e for content authorization and access control.\u003c/p\u003e\n"],["\u003cp\u003ePublishers can customize ad parameters, stream format (\u003ccode\u003ehls\u003c/code\u003e or \u003ccode\u003edash\u003c/code\u003e), and consent settings.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003enetworkCode\u003c/code\u003e is crucial for Pod/Cloud stitching requests & applying Ad Manager settings.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003esenderCanSkip\u003c/code\u003e enables skippable ads and \u003ccode\u003estreamActivityMonitorId\u003c/code\u003e aids in stream debugging.\u003c/p\u003e\n"]]],["The `StreamRequest` class defines stream properties, including: `adTagParameters` for overriding ad tag settings, `apiKey` and `authToken` for content access authorization, and `consentSettings` for regulatory compliance. The `format` property specifies the stream type (`hls` or `dash`). `networkCode` is for publisher network identification, with requirements depending on the stream type. `senderCanSkip` enables skippable ads, and `streamActivityMonitorId` is used for debugging through stream activity monitoring.\n"],null,["# Class: StreamRequest\n\nStreamRequest\n=============\n\nclass public\n\nA class for specifying properties of the stream request.\n\nConstructor\n-----------\n\n### StreamRequest\n\nnew\nStreamRequest()\n\nProperties\n----------\n\n### adTagParameters\n\n(null or non-null Object with string properties)\n\nYou can override a limited set of ad tag parameters on your stream\nrequest. Values added must be strings.\n[Supply targeting parameters to your stream](//support.google.com/dfp_premium/answer/7320899) provides more information.\nYou can use the dai-ot and dai-ov parameters for stream variant\npreference.\nSee [Override Stream Variant Parameters](//support.google.com/dfp_premium/answer/7320898) for more information.\n\n### apiKey\n\nstring\n\nThe stream request API key. It's configured through the\n[DFP Admin UI](//support.google.com/dfp_premium/answer/6381445) and provided to the publisher to unlock their content.\nIt verifies the applications that are attempting to access the content.\n\n### authToken\n\nstring\n\nThe stream request authorization token. Used in place of the API key\nfor stricter content authorization. The publisher can control individual\ncontent streams authorizations based on this token.\n\n### consentSettings\n\n(null or non-null [ConsentSettings](/ad-manager/dynamic-ad-insertion/sdk/cast/reference/js/ConsentSettings))\n\nSettings related to regulations and consent.\n\n### format\n\nstring\n\nThe stream format to request. Accepts the following string values:\n\n- `hls` (default)\n- `dash`\n\n. If an invalid string is provided, the default value will be used. Note: Values must be lowercase.\n\n### networkCode\n\nstring\n\nThe network code for the publisher making this stream request. Network\ncodes are required for Pod serving stream requests (PodStreamRequest or\nPodVodStreamRequest) and Cloud stitching stream requests\n(VideoStitcherLiveStreamRequest or VideoStitcherVodStreamRequest) and\nare optional but recommended for Full service stream requests\n(LiveStreamRequest or VODStreamRequest). The code is used to apply\nsettings selected in the Ad Manager UI such as programmatic limited\nads enablement. For Pod serving and Cloud stitching it is also used to\nlocate and play the stream. To find the network code, see [this article](//support.google.com/admanager/answer/7674889).\n\n### senderCanSkip\n\nboolean\n\nWhether or not the sender(s) display a CAF skip UI to the end user.\nUsed to enable skippable ads.\n\n### streamActivityMonitorId\n\nstring\n\nThe ID to be used to debug the stream with the stream activity monitor.\nThis is used to provide a convenient way to allow publishers to find a\nstream log in the stream activity monitor tool."]]