src/Ad/AbstractAdNode.php
public function addImpression($url, $id = null)
    {
        $attributes = array();
        if ($id !== null) {
            $attributes['id'] = $id;
        }

        $this->addCdataNode(
            'Impression',
            $url,
            $attributes
        );

        return $this;
    }
public function addImpression($url, $id = null)
    {
        $attributes = array();
        if ($id !== null) {
            $attributes['id'] = $id;
        }

        $this->addCdataNode(
            'Impression',
            $url,
            $attributes
        );

        return $this;
    }
public function addImpression ( $ url , $ id = null ) { $ attributes = array ( ) ; if ( $ id !== null ) { $ attributes [ 'id' ] = $ id ; } $ this -> addCdataNode ( 'Impression' , $ url , $ attributes ) ; return $ this ; }
Add Impression tracking url
Allowed multiple impressions

@param string $url A URI that directs the video player to a tracking resource file that the video player
ust use to notify the ad server when the impression occurs.
@param string|null $id An ad server id for the impression. Impression URIs of the same id for an ad should
be requested at the same time or as close in time as possible to help prevent
discrepancies.

@return $this
Add Impression tracking url Allowed multiple impressions