Initializes a stream request instance with the given network code and custom
asset key. Uses the given ad display container to display the stream. Uses the picture in picture
proxy to track PIP events.
[[["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 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eIMAPodStreamRequest\u003c/code\u003e is a data object used to request a stream for content served by a pod.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a network code and a custom asset key to identify the stream.\u003c/p\u003e\n"],["\u003cp\u003eThe request must specify an \u003ccode\u003eIMAAdDisplayContainer\u003c/code\u003e for ad rendering and an \u003ccode\u003eIMAVideoDisplay\u003c/code\u003e for content playback.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003eIMAPictureInPictureProxy\u003c/code\u003e can be provided to track picture-in-picture events.\u003c/p\u003e\n"],["\u003cp\u003eA user context can be included for tracking purposes.\u003c/p\u003e\n"]]],["`IMAPodStreamRequest` describes a stream request for a pod serving stream. It uses a `customAssetKey` for the stream. Initialization requires a network code, custom asset key, `IMAAdDisplayContainer` for the ad UI, and `IMAVideoDisplay` for playback. There are two initializers: one for general streams and another for streams with picture-in-picture, including an `IMAPictureInPictureProxy`. An optional `userContext` is available for request tracking.\n"],null,["# GoogleInteractiveMediaAds Framework Reference\n\nIMAPodStreamRequest\n===================\n\n @interface IMAPodStreamRequest : ../Classes/IMAStreamRequest.html\n\nData object describing a stream request for a pod serving stream.\n- `\n ``\n ``\n `\n\n ### [customAssetKey](#/c:objc(cs)IMAPodStreamRequest(py)customAssetKey)\n\n `\n ` \n The custom asset key for the stream request. \n\n #### Declaration\n\n Swift \n\n var customAssetKey: String { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly) NSString *_Nonnull customAssetKey;\n\n- `\n ``\n ``\n `\n\n ### [-initWithNetworkCode:customAssetKey:adDisplayContainer:videoDisplay:userContext:](#/c:objc(cs)IMAPodStreamRequest(im)initWithNetworkCode:customAssetKey:adDisplayContainer:videoDisplay:userContext:)\n\n `\n ` \n Initializes a stream request instance with the given network code and custom\n asset key. Uses the given ad display container to display the stream. \n\n #### Declaration\n\n Swift \n\n init(networkCode: String, customAssetKey: String, adDisplayContainer: ../Classes/IMAAdDisplayContainer.html, videoDisplay: any ../Protocols/IMAVideoDisplay.html, userContext: Any?)\n\n Objective-C \n\n - (nonnull instancetype)\n initWithNetworkCode:(nonnull NSString *)networkCode\n customAssetKey:(nonnull NSString *)customAssetKey\n adDisplayContainer:(nonnull ../Classes/IMAAdDisplayContainer.html *)adDisplayContainer\n videoDisplay:(nonnull id\u003c../Protocols/IMAVideoDisplay.html\u003e)videoDisplay\n userContext:(nullable id)userContext;\n\n #### Parameters\n\n |----------------------------|------------------------------------------------------|\n | ` `*networkCode*` ` | The network code for the stream. |\n | ` `*customAssetKey*` ` | The asset key for the stream. |\n | ` `*adDisplayContainer*` ` | The IMAAdDisplayContainer for rendering the ad UI. |\n | ` `*videoDisplay*` ` | The IMAVideoDisplay where the stream will be played. |\n | ` `*userContext*` ` | The user context for tracking requests (optional) |\n\n #### Return Value\n\n The IMAPodStreamRequest instance.\n- `\n ``\n ``\n `\n\n ### [-initWithNetworkCode:customAssetKey:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:](#/c:objc(cs)IMAPodStreamRequest(im)initWithNetworkCode:customAssetKey:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:)\n\n `\n ` \n Initializes a stream request instance with the given network code and custom\n asset key. Uses the given ad display container to display the stream. Uses the picture in picture\n proxy to track PIP events. \n\n #### Declaration\n\n Swift \n\n init(networkCode: String, customAssetKey: String, adDisplayContainer: ../Classes/IMAAdDisplayContainer.html, videoDisplay: any ../Protocols/IMAVideoDisplay.html, pictureInPictureProxy: ../Classes/IMAPictureInPictureProxy.html?, userContext: Any?)\n\n Objective-C \n\n - (nonnull instancetype)\n initWithNetworkCode:(nonnull NSString *)networkCode\n customAssetKey:(nonnull NSString *)customAssetKey\n adDisplayContainer:(nonnull ../Classes/IMAAdDisplayContainer.html *)adDisplayContainer\n videoDisplay:(nonnull id\u003c../Protocols/IMAVideoDisplay.html\u003e)videoDisplay\n pictureInPictureProxy:\n (nullable ../Classes/IMAPictureInPictureProxy.html *)pictureInPictureProxy\n userContext:(nullable id)userContext;\n\n #### Parameters\n\n |-------------------------------|-------------------------------------------------------|\n | ` `*networkCode*` ` | The network code for the stream. |\n | ` `*customAssetKey*` ` | The asset key for the stream. |\n | ` `*adDisplayContainer*` ` | The IMAAdDisplayContainer for rendering the ad UI. |\n | ` `*videoDisplay*` ` | The IMAVideoDisplay where the stream will be played. |\n | ` `*pictureInPictureProxy*` ` | The IMAPictureInPictureProxy for tracking PIP events. |\n | ` `*userContext*` ` | The user context for tracking requests (optional) |\n\n #### Return Value\n\n The IMAPodStreamRequest instance."]]