AdWordsSoapClient::GetLastOperations PHP Method

GetLastOperations() public method

Gets the last number of operations.
public GetLastOperations ( ) : string
return string the last number of operations
    public function GetLastOperations()
    {
        try {
            $operationsElements = $this->GetLastResponseDom()->getElementsByTagName('operations');
            foreach ($operationsElements as $operationsElement) {
                return $operationsElement->nodeValue;
            }
        } catch (DOMException $e) {
            // TODO(api.arogal): Log failures to retrieve headers.
            return 'null';
        }
    }