src/Google/AdsApi/AdManager/Util/v201805/AdManagerDates.php
public static function toDateString(Date $adManagerDate)
    {
        return sprintf(
            '%d-%02d-%02d',
            $adManagerDate->getYear(),
            $adManagerDate->getMonth(),
            $adManagerDate->getDay()
        );
    }
public static function toDateString(Date $adManagerDate)
    {
        return sprintf(
            '%d-%02d-%02d',
            $adManagerDate->getYear(),
            $adManagerDate->getMonth(),
            $adManagerDate->getDay()
        );
    }
public static function toDateString ( Date $ adManagerDate ) { return sprintf ( '%d-%02d-%02d' , $ adManagerDate -> getYear ( ) , $ adManagerDate -> getMonth ( ) , $ adManagerDate -> getDay ( ) ) ; }
Returns string representation of the specified Ad Manager date in
`yyyy-MM-dd` format.

@param Date $adManagerDate
@return string
Returns string representation of the specified Ad Manager date in yyyy - MM - dd format .