Google Ads Ad Manager V1 Client - Class AudioSettings (0.14.1)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class AudioSettings.

Information about the audio settings of an encoding profile.

Generated from protobuf message google.ads.admanager.v1.AudioSettings

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ codec string

Required. The RFC6381 codec string of the audio.

↳ bitrate int|string

Required. The bitrate of the audio, in bits per second. This value must be between 8kbps and 250 Mbps.

↳ channels int|string

Required. The number of audio channels, including low frequency channels. This value has a maximum of 8.

↳ sample_rate_hertz int|string

Required. The audio sample rate in hertz. Must be between 44kHz and 100kHz.

getCodec

Required. The RFC6381 codec string of the audio.

Returns
Type Description
string

hasCodec

clearCodec

setCodec

Required. The RFC6381 codec string of the audio.

Parameter
Name Description
var string
Returns
Type Description
$this

getBitrate

Required. The bitrate of the audio, in bits per second. This value must be between 8kbps and 250 Mbps.

Returns
Type Description
int|string

hasBitrate

clearBitrate

setBitrate

Required. The bitrate of the audio, in bits per second. This value must be between 8kbps and 250 Mbps.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getChannels

Required. The number of audio channels, including low frequency channels.

This value has a maximum of 8.

Returns
Type Description
int|string

hasChannels

clearChannels

setChannels

Required. The number of audio channels, including low frequency channels.

This value has a maximum of 8.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getSampleRateHertz

Required. The audio sample rate in hertz. Must be between 44kHz and 100kHz.

Returns
Type Description
int|string

hasSampleRateHertz

clearSampleRateHertz

setSampleRateHertz

Required. The audio sample rate in hertz. Must be between 44kHz and 100kHz.

Parameter
Name Description
var int|string
Returns
Type Description
$this