src/Google/AdsApi/AdWords/Query/v201809/ReportQueryBuilderDelegate.php
public function during($startDate, $endDate)
    {
        $validationResult = QueryValidator::validateCustomDateRange(
            $startDate,
            $endDate
        );
        if ($validationResult->isFailed()) {
            throw new InvalidArgumentException('The start or end date is' .
                ' invalid. Validation fail reasons: ' .
                $validationResult->getFailReason());
        }

        $this->duringStartDate = $startDate;
        $this->duringEndDate = $endDate;
    }
public function during($startDate, $endDate)
    {
        $validationResult = QueryValidator::validateCustomDateRange(
            $startDate,
            $endDate
        );
        if ($validationResult->isFailed()) {
            throw new InvalidArgumentException('The start or end date is' .
                ' invalid. Validation fail reasons: ' .
                $validationResult->getFailReason());
        }

        $this->duringStartDate = $startDate;
        $this->duringEndDate = $endDate;
    }
public function during ( $ startDate , $ endDate ) { $ validationResult = QueryValidator :: validateCustomDateRange ( $ startDate , $ endDate ) ; if ( $ validationResult -> isFailed ( ) ) { throw new InvalidArgumentException ( 'The start or end date is' . ' invalid. Validation fail reasons: ' . $ validationResult -> getFailReason ( ) ) ; } $ this -> duringStartDate = $ startDate ; $ this -> duringEndDate = $ endDate ; }
Sets a custom date range by specifying the start and end dates.

@param string $startDate the start date for the DURING clause of an
AWQL string
@param string $endDate the end date for the DURING clause of an AWQL
string
Sets a custom date range by specifying the start and end dates .