Ad::__construct PHP Méthode

__construct() public méthode

public __construct ( $id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $type = null, $devicePreference = null, $AdType = null )
        public function __construct($id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $type = null, $devicePreference = null, $AdType = null)
        {
            $this->id = $id;
            $this->url = $url;
            $this->displayUrl = $displayUrl;
            $this->finalUrls = $finalUrls;
            $this->finalMobileUrls = $finalMobileUrls;
            $this->finalAppUrls = $finalAppUrls;
            $this->trackingUrlTemplate = $trackingUrlTemplate;
            $this->urlCustomParameters = $urlCustomParameters;
            $this->type = $type;
            $this->devicePreference = $devicePreference;
            $this->AdType = $AdType;
        }

Usage Example

 public function __construct($promotionLine = null, $id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $devicePreference = null, $AdType = null)
 {
     parent::__construct();
     $this->promotionLine = $promotionLine;
     $this->id = $id;
     $this->url = $url;
     $this->displayUrl = $displayUrl;
     $this->finalUrls = $finalUrls;
     $this->finalMobileUrls = $finalMobileUrls;
     $this->trackingUrlTemplate = $trackingUrlTemplate;
     $this->urlCustomParameters = $urlCustomParameters;
     $this->devicePreference = $devicePreference;
     $this->AdType = $AdType;
 }
All Usage Examples Of Ad::__construct