Use this service to retrieve API usage information, such as the API units spent over a given date range. See the InfoSelector documentation for details.
- Production WSDL
-
https://adwords.google.com/api/adwords/info/v201206/InfoService?wsdl - Sandbox WSDL
-
https://adwords-sandbox.google.com/api/adwords/info/v201206/InfoService?wsdl - Namespace
-
https://adwords.google.com/api/adwords/info/v201206 - Operations
- Errors
get
Returns the API usage information based on the selection criteria specified in the selector.
Parameters
| Field | Type | Description |
|---|---|---|
| selector |
InfoSelector
|
Specifies the type of usage information to return. |
Response
| Field | Type | Description |
|---|---|---|
| rval |
ApiUsageInfo
|
The API usage information. |
Errors
| Error | Reasons |
|---|---|
| ApiUsageError | Represents possible error codes in InfoService. Enumerations
|
| AuthenticationError | Errors returned when Authentication failed. Enumerations
|
| AuthorizationError | Errors encountered when trying to authorize a user. Enumerations
|
| ClientTermsError | Error due to user not accepting the AdWords terms of service. Enumerations
|
| EntityNotFound | An id did not correspond to an entity, or it referred to an entity which does not belong to the
customer. Enumerations
|
| InternalApiError | Indicates that a server-side error has occured. InternalApiErrors
are generally not the result of an invalid request or message sent by the
client.Enumerations
|
| NotEmptyError | Errors corresponding with violation of a NOT EMPTY check. Enumerations
|
| NotWhitelistedError | Indicates that the customer is not whitelisted for accessing the API. Enumerations
|
| NullError | Errors associated with violation of a NOT NULL check. Enumerations
|
| OperatorError | Errors due to the use of unsupported operations. Enumerations
|
| QuotaCheckError | Encapsulates the errors thrown during developer quota checks. Enumerations
|
| RateExceededError | Signals that a call failed because a measured rate exceeded. Enumerations
|
| ReadOnlyError | Errors from attempting to write to read-only fields. Enumerations
|
| RequestError | Encapsulates the generic errors thrown when there's an error with user
request. Enumerations
|
| RequiredError | Errors due to missing required field. Enumerations
|
| SizeLimitError | Indicates that the number of entries in the request or response exceeds the system limit. Enumerations
|