__construct() public method

public __construct ( $templateId = null, $adUnionId = null, $templateElements = null, $adAsImage = null, $dimensions = null, $name = null, $duration = null, $originAdId = null, $id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $type = null, $devicePreference = null, $AdType = null )
Beispiel #1
0
 public function __construct($id, $name, $videoMediaId, $displayUrl, $finalUrls)
 {
     parent::__construct($id, $name, "TemplateAd", 231, $displayUrl, $finalUrls);
     $this->videoMediaId = $videoMediaId;
 }
Beispiel #2
0
 /**
  * InStreamVideoAd constructor.
  * @param $id
  * @param string $name
  * @param $videoMediaId
  * @param string $companionBanner
  */
 public function __construct($id, $name, $videoMediaId, $companionBanner)
 {
     parent::__construct($id, $name, "TemplateAd", 49);
     $this->videoMediaId = $videoMediaId;
     $this->companionBanner = $companionBanner;
 }