License soundcast
Platforms ios 8.0



To run the example project, clone the repo, and move to the project root directory SoundcastSampleSwift run pod install

Download our sample apps

Download our sample app from our github repository

git clone


Click here for the Swift documentation

cd SoundCastSampleSwift


Click here for the Objective-C documentation

cd SoundCastSampleObjectiveC


SoundcastSdk is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SoundCastIosSdk'

Import the library in your UIView:

import SoundCastIosSdk

Implements SoundcastDelegate and SoundcastDataSource

To use:

    soundcastController = SoundcastController()
    soundcastController?.delegate = self
    soundcastController?.dataSource = self

Call to load the ad:

    soundcastController.getXML(request: ResponseModel(networkID,siteID,tagID,pageTitle,pageDescription,keywords,pageUrl,tags))

The options HashMap is used to contextualize your article, it contains :

  • SoundcastID (String)
  • pageTitle (String): Title of the page
  • pageDescription (String): Description of the page
  • keywords (String): Keywords for the targeting
  • pageUrl (String): Url of the page
  • tags (String): Tags for the targeting

Method func onSuccess(response: ResponseModel): used non-advertising returns.

Method func onSuccessParserXML(response: ObjectAds): returns the object include:

  • rid (String): VAST or DAAST id
  • duration (Int): Ad delivery time
  • mediaFiles (Array): Array media file ad
  • companionAds Array:
  • impressionTrack (String): URL for track impression event
  • clickTrack (String): URL for track click event
  • clickThrough (String): URL for track through event

Method func onError(error: String): returns an error loading the creative

Any questions

Please contact our support team.

Latest podspec

    "name": "SoundCastIosSdk",
    "version": "",
    "summary": "IOS Soundcast SDK.",
    "description": "SDK for format VAST and DAAST",
    "homepage": "",
    "license": {
        "type": "soundcast",
        "file": "LICENSE"
    "authors": {
        "Soundcast": ""
    "platforms": {
        "ios": "8.0"
    "source": {
        "http": ""
    "vendored_frameworks": "SoundCastIosSdk.framework",
    "swift_version": "4.2"

Pin It on Pinterest

Share This