---
updatedAt: 2026-05-26T23:29:16.000Z
agentTools:
  projectIndex: https://docs.lytics.com/llms.txt
---

# AmazonAdsExportAudience: Get job

Get the summary of a AmazonAdsExportAudience job

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "lioerrors.ApiV2ErrorOut": {
        "properties": {
          "code": {
            "description": "Lytics Error Code",
            "enum": [
              "UNKNOWN-000",
              "BADREQ-001",
              "JOB-BADREQ-002",
              "NOTFOUND-003",
              "JOB-NOTFOUND-004",
              "WF-NOTFOUND-005",
              "AUTH-NOTFOUND-006",
              "AUTHTYPE-NOTFOUND-007",
              "AUTH-BADREQ-008",
              "TABLE-NOTFOUND-009",
              "SCHEMA-NOTFOUND-010",
              "SCHEMAVERSION-NOTFOUND-011",
              "ENTITY-NOTFOUND-012",
              "QUERY-NOTFOUND-013",
              "STREAM-NOTFOUND-014",
              "PROVIDER-BADREQ-015",
              "PROVIDER-NOTFOUND-016",
              "UNAUTHORIZED-017",
              "SCHEMA-INVALID-018",
              "INTERNAL-019",
              "ROUTERULE-NOTFOUND-020",
              "ACCOUNT-NOTFOUND-021",
              "JOB-FAULT-022",
              "USER-NOTFOUND-023",
              "USER-BADREQ-024",
              "JSON-BADREQ-025",
              "FORBIDDEN-026"
            ],
            "type": "string"
          },
          "level": {
            "description": "When the error was generated",
            "type": "string"
          },
          "message": {
            "description": "A description of the error that occurred",
            "type": "string"
          },
          "timestamp": {
            "description": "The time the error occurred",
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.AmazonAdsExportAudience": {
        "properties": {
          "ad_storage_consent": {
            "description": "Amazon ad storage consent status",
            "enum": [
              "GRANTED",
              "DENIED",
              "NOT_APPLICABLE",
              "UNKNOWN"
            ],
            "type": "string"
          },
          "advertiser_id": {
            "description": "Enter your Amazon Ads Advertiser ID",
            "type": "string"
          },
          "country_code": {
            "description": "Select the 2 letter country code where the users are located",
            "enum": [
              "CA",
              "DE",
              "ES",
              "FR",
              "IN",
              "IT",
              "JP",
              "UK",
              "US"
            ],
            "type": "string"
          },
          "external_user_id": {
            "description": "Select the Lytics user field that contains the external user id. If left empty, the email or phone number identifier that is mapped in identifier mapping will be used as the external user id.",
            "type": "string"
          },
          "identifier_mapping": {
            "description": "Map Lytics user fields to Amazon Ads PII. We will hash (SHA256) the identifiers before we send them to Amazon Ads. You can also select a field that is already hashed.",
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "type": "array"
          },
          "profile_id": {
            "description": "The Amazon DSP Profile/region you wish to export to",
            "type": "string"
          },
          "segment_id": {
            "description": "Select the Lytics audience that contains the users to export",
            "type": "string"
          },
          "user_data_consent": {
            "description": "Amazon user data consent status for Digital Markets Act compliance",
            "enum": [
              "GRANTED",
              "DENIED",
              "NOT_APPLICABLE",
              "UNKNOWN"
            ],
            "type": "string"
          },
          "withbackfill": {
            "description": "Select this to immediately push users who currently exist in the selected Lytics audience. Deselecting will only push users as they leave or enter the audience",
            "type": "boolean"
          }
        },
        "required": [
          "advertiser_id",
          "profile_id",
          "segment_id"
        ],
        "type": "object"
      },
      "models.AnomalyRuleResp": {
        "properties": {
          "aid": {
            "type": "integer"
          },
          "checks": {
            "items": {
              "$ref": "#/components/schemas/models.RuleCheckConfigReq"
            },
            "type": "array"
          },
          "created": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "subject_id": {
            "type": "string"
          },
          "subject_type": {
            "type": "string"
          },
          "updated": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.ApiErrorResponse": {
        "properties": {
          "errors": {
            "description": "Lytics API Errors",
            "items": {
              "$ref": "#/components/schemas/lioerrors.ApiV2ErrorOut"
            },
            "type": "array"
          },
          "request_id": {
            "type": "string"
          },
          "status": {
            "description": "HTTP Status Code",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.ApiResponse": {
        "properties": {
          "_meta": {
            "additionalProperties": true,
            "description": "Response Metadata",
            "type": "object"
          },
          "data": {
            "description": "Response Payload",
            "type": "object"
          },
          "request_id": {
            "type": "string"
          },
          "status": {
            "description": "HTTP Status Code",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.JobResponse": {
        "properties": {
          "account_id": {
            "description": "Lytics Account ID",
            "type": "string"
          },
          "anomaly_rule": {
            "$ref": "#/components/schemas/models.AnomalyRuleResp"
          },
          "api_token_auth_id": {
            "description": "this is set when work is create using access token",
            "type": "string"
          },
          "auth_ids": {
            "description": "Authorization IDs associated with the Job",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "config": {
            "description": "Job configuration, unique per-workflow",
            "type": "object"
          },
          "created": {
            "type": "string"
          },
          "deleted": {
            "description": "The Job has been deleted",
            "type": "boolean"
          },
          "description": {
            "description": "A user-defined description",
            "type": "string"
          },
          "drop_events_during_quiet_window": {
            "type": "boolean"
          },
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "A Lytics-assigned, immutable unique ID for the Job",
            "type": "string"
          },
          "meta": {
            "additionalProperties": true,
            "description": "Extra meta data about the job",
            "type": "object"
          },
          "monitoring": {
            "description": "Inline monitoring config. On write: omit to keep, null to clear, or a config to set.",
            "type": "object"
          },
          "name": {
            "description": "A user-defined name",
            "type": "string"
          },
          "quiet_period": {
            "type": "integer"
          },
          "quiet_time_of_day": {
            "type": "string"
          },
          "quiet_timezone": {
            "type": "string"
          },
          "sleep_until": {
            "type": "string"
          },
          "status": {
            "description": "The status of the job",
            "enum": [
              "runnable",
              "sleeping",
              "paused",
              "completed",
              "fault",
              "failed",
              "killed",
              "deleted",
              "unknown"
            ],
            "type": "string"
          },
          "updated": {
            "type": "string"
          },
          "user_id": {
            "description": "The user ID that created or updated the job",
            "type": "string"
          },
          "workflow": {
            "description": "The workflow slug",
            "type": "string"
          },
          "workflow_id": {
            "description": "The workflow ID",
            "type": "string"
          }
        },
        "required": [
          "config",
          "name"
        ],
        "type": "object"
      },
      "models.RuleCheckConfigReq": {
        "properties": {
          "allowable_violations": {
            "type": "integer"
          },
          "interval": {
            "type": "string"
          },
          "lookback_count": {
            "type": "integer"
          },
          "max_threshold": {
            "type": "integer"
          },
          "metric_type": {
            "type": "string"
          },
          "min_threshold": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "variance_pct": {
            "type": "number"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "contact": {
      "email": "support@lytics.com",
      "name": "Lytics Support",
      "url": "https://support.lytics.com/hc/en-us"
    },
    "description": "Version 2 of the Lytics API",
    "termsOfService": "https://www.lytics.com/terms-of-service/",
    "title": "Lytics API",
    "version": "2.0"
  },
  "openapi": "3.0.3",
  "paths": {
    "/job/amazon-ads-export-audience/{id}": {
      "get": {
        "description": "Get the summary of a AmazonAdsExportAudience job",
        "parameters": [
          {
            "description": "The account ID. Defaults to the user's default account.",
            "in": "query",
            "name": "account_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The Job ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/models.ApiResponse"
                    },
                    {
                      "properties": {
                        "data": {
                          "allOf": [
                            {
                              "$ref": "#/components/schemas/models.JobResponse"
                            },
                            {
                              "properties": {
                                "config": {
                                  "$ref": "#/components/schemas/models.AmazonAdsExportAudience"
                                }
                              },
                              "type": "object"
                            }
                          ]
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "AmazonAdsExportAudience Job"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ApiErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ApiErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "summary": "AmazonAdsExportAudience: Get job",
        "tags": [
          "Jobs"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.lytics.io/v2"
    }
  ],
  "tags": [
    {
      "description": "Create and manage data import and export jobs.",
      "name": "Jobs"
    }
  ]
}
```