AdWordsSoapClient::GetLastUnits PHP Метод

GetLastUnits() публичный Метод

Gets the last number of units.
public GetLastUnits ( ) : string
Результат string the last number of units
    public function GetLastUnits()
    {
        try {
            $unitsElements = $this->GetLastResponseDom()->getElementsByTagName('units');
            foreach ($unitsElements as $unitsElement) {
                return $unitsElement->nodeValue;
            }
        } catch (DOMException $e) {
            // TODO(api.arogal): Log failures to retrieve headers.
            return 'null';
        }
    }