BaseImageCreative::__construct PHP Méthode

__construct() public méthode

public __construct ( $overrideSize = null, $primaryImageAsset = null, $destinationUrl = null, $destinationUrlType = null )
        public function __construct($overrideSize = null, $primaryImageAsset = null, $destinationUrl = null, $destinationUrlType = null)
        {
            parent::__construct();
            $this->overrideSize = $overrideSize;
            $this->primaryImageAsset = $primaryImageAsset;
            $this->destinationUrl = $destinationUrl;
            $this->destinationUrlType = $destinationUrlType;
        }

Usage Example

 public function __construct($companionCreativeIds = null, $trackingUrls = null, $customParameters = null, $duration = null, $vastPreviewUrl = null, $overrideSize = null, $primaryImageAsset = null)
 {
     parent::__construct();
     $this->companionCreativeIds = $companionCreativeIds;
     $this->trackingUrls = $trackingUrls;
     $this->customParameters = $customParameters;
     $this->duration = $duration;
     $this->vastPreviewUrl = $vastPreviewUrl;
     $this->overrideSize = $overrideSize;
     $this->primaryImageAsset = $primaryImageAsset;
 }
All Usage Examples Of BaseImageCreative::__construct