หากต้องการพูดคุยและแสดงความคิดเห็นเกี่ยวกับผลิตภัณฑ์ของเรา โปรดเข้าร่วมช่อง Discord อย่างเป็นทางการของ Ad Manager ในเซิร์ฟเวอร์ชุมชนการโฆษณาและการวัดผลของ Google
[[["เข้าใจง่าย","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"]],["อัปเดตล่าสุด 2025-08-21 UTC"],[[["\u003cp\u003e\u003ccode\u003eUiSettings\u003c/code\u003e allows publishers to customize the stream's user interface.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to set the locale for UI elements, impacting the language displayed to users.\u003c/p\u003e\n"],["\u003cp\u003eThe locale should be configured before initializing \u003ccode\u003eStreamManager\u003c/code\u003e for it to take effect.\u003c/p\u003e\n"],["\u003cp\u003eSupported locale codes are documented in the provided link for localization.\u003c/p\u003e\n"]]],[],null,["UiSettings \nclass public\n\nStream UI Settings.\n\nConstructor\n\nUiSettings\n\nnew\nUiSettings()\n\nConstructor.\n\nMethods\n\ngetLocale\n\ngetLocale() returns string\n\nReturns the locale set for the stream.\n\nReturns\n\n: `string`\n\nsetLocale\n\nsetLocale(locale) returns void\n\nSets the publisher provided locale. Must be called before creating\nStreamManager. The locale specifies the language\nin which to display UI elements. The supported codes can be found in\n[Localizing for Language and Locale](/ad-manager/dynamic-ad-insertion/sdk/html5/localization).\n\n| Parameter ||\n|--------|-----------------------------------|\n| locale | string Publisher provided locale. |\n\nReturns\n\n: `void`"]]