type AudioSettings (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Service
DaiEncodingProfileService
Information about the audio settings of an encoding profile.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
codec
|
xsd:string
The RFC6381 codec string of the audio.
|
bitrate
|
xsd:long
The bitrate of the audio, in bits per second. Required. This value must be between 8kbps and
250 Mbps.
|
channels
|
xsd:long
The number of audio channels, including low frequency channels. This value has a maximum of 8.
|
sampleRateHertz
|
xsd:long
The audio sample rate in hertz. Must be between 44kHz and 100kHz.
|
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eDaiEncodingProfileService.AudioSettings\u003c/code\u003e defines audio settings within a Dynamic Ad Insertion (DAI) encoding profile, including codec, bitrate, channels, and sample rate.\u003c/p\u003e\n"],["\u003cp\u003eAudio settings require specifying the audio codec, bitrate (between 8kbps and 250 Mbps), channels (up to 8), and sample rate (between 44kHz and 100kHz) in hertz.\u003c/p\u003e\n"]]],["The `DaiEncodingProfileService` utilizes `AudioSettings` to define audio specifications. These settings include the `codec` string, `bitrate` (required, between 8kbps and 250Mbps), the number of `channels` (maximum of 8), and `sampleRateHertz` (between 44kHz and 100kHz). These configurations manage audio aspects for encoding profiles within the specified namespace.\n"],null,["# type AudioSettings (v202411)\n\n**Service** \n**DaiEncodingProfileService** **Dependencies** \n[DaiEncodingProfile](/ad-manager/api/reference/v202411/DaiEncodingProfileService.DaiEncodingProfile) \n▼\n**AudioSettings**\n\nInformation about the audio settings of an encoding profile.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|-----------------------|----------------------------------------------------------------------------------------------------------------------|\n| ### `codec` | ` `xsd:`string` The RFC6381 codec string of the audio. |\n| ### `bitrate` | ` `xsd:`long` The bitrate of the audio, in bits per second. Required. This value must be between 8kbps and 250 Mbps. |\n| ### `channels` | ` `xsd:`long` The number of audio channels, including low frequency channels. This value has a maximum of 8. |\n| ### `sampleRateHertz` | ` `xsd:`long` The audio sample rate in hertz. Must be between 44kHz and 100kHz. |"]]