Contents

AdAccountResponse

The response envelope ad account operations return.

Declaration

object AdAccountResponse

Properties

NameTypeDescription
resultAdAccount

The ad account object the operation returns. See AdAccount. Read-only.

errorError

An error object present when the operation fails. See Error. Read-only.

Discussion

The AdAccountResponse object wraps the result of create, read, and update operations on a single AdAccount. On success, the response populates result with the full AdAccount object and leaves error null. On failure, error describes the problem and result is null.

Example

{
  "result": {
    "id": 123456789,
    "name": "AwayFinder Ad Account",
    "orgId": 987654321,
    "timezone": "America/New_York",
    "currency": "USD",
    "paymentModel": "PAYG",
    "systemStatus": "ACTIVE",
    "systemStatusReasons": [],
    "delegations": [
      {
        "resourceId": "12345678",
        "resourceType": "CONTENT_PROVIDER",
        "resourceName": "AwayFinder Apps"
      }
    ],
    "productFeatures": [
      "APPSTORE_APP_MANUAL"
    ],
    "creationTime": "2025-01-10T08:00:00.000",
    "modificationTime": "2025-01-10T08:00:00.000"
  }
}

See Also