Skip to content

Updates a specified ad configuration

Description

Updates a specified ad configuration.

Usage

ivs_update_ad_configuration(arn, name,
  mediaTailorPlaybackConfigurations, postRollConfiguration)

Arguments

  • arn

    [required] ARN of the ad configuration to be updated.

  • name

    Ad configuration name. The value does not need to be unique.

  • mediaTailorPlaybackConfigurations

    List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration. To select a different configuration per viewing session, see Generate and Sign IVS Playback Tokens.

  • postRollConfiguration

    Configuration for the post-roll ad break to use for this ad configuration.

Value

A list with the following syntax:

list(
  adConfiguration = list(
    arn = "string",
    name = "string",
    mediaTailorPlaybackConfigurations = list(
      list(
        playbackConfigurationArn = "string"
      )
    ),
    postRollConfiguration = list(
      durationSeconds = 123,
      enabled = TRUE|FALSE
    ),
    tags = list(
      "string"
    )
  )
)

Request syntax

svc$update_ad_configuration(
  arn = "string",
  name = "string",
  mediaTailorPlaybackConfigurations = list(
    list(
      playbackConfigurationArn = "string"
    )
  ),
  postRollConfiguration = list(
    durationSeconds = 123,
    enabled = TRUE|FALSE
  )
)