Overview

Namespaces

  • Apptus
    • ESales
      • Connector
        • Report
        • Time
    • Util
      • Cache
  • PHP
  • Overview
  • Namespace
  • Class
  • Tree
 1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 
<?php
namespace Apptus\ESales\Connector\Report;

/**
 * Sub class for AdPlacementReport.
 *
 * Contains information about an ad together with a list of {@see Placement} elements containing number of clicks and displays
 * for different public paths where this ad has been displayed.
 */
class AdPlacementReportSection {
    private $ad;
    private $placements;

    /**
     * @param Ad
     *            Information about this ad. Can not be null.
     * @param array
     *            List of {@see Placement} information for this ad. Can not be null.
     */
    public function __construct(Ad $ad, array $placements) {
        $this->ad = $ad;
        $this->placements = $placements;
    }

    /**
     * @return Ad
     *            The ad information.
     */
    public function ad() {
        return $this->ad;
    }

    /**
     * @return array
     *            The placement information for this ad.
     */
    public function placements() {
        return $this->placements;
    }
}
Apptus ESales Connector PHP API documentation generated by ApiGen