NAME

Google::Ads::AdWords::RequestStats

SYNOPSIS

Class that wraps API request statistics such as number of operations, units consumed, request id and others.

DESCRIPTION

This class holds the data coming from API response headers and others related to a given request.

ATTRIBUTES

authentication

Type of authentication used in the request.

client_id

The client id against which the call was made if available.

service_name

The name of the service that was called.

method_name

The method name of the service that was called.

response_time

Server side time of the duration of the call.

request_id

Request id of the call.

operations

Number of operations in the request.

units

Number of API units consumed in the request.

is_fault

Whether the request returned as a fault or not.

LICENSE AND COPYRIGHT

Copyright 2012 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

AUTHOR

David Torres <api.davidtorres at gmail.com>

REPOSITORY INFORMATION

$Rev: $
$LastChangedBy: $
$Id: $