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

# AdwordsExport: Update job

Update a AdwordsExport 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.AdwordsExport": {
        "properties": {
          "accounts_are_linked": {
            "description": "Select if you have already linked an Google Ads account with your Analytics account. If not, [link your Google Analytics and Ads accounts](https://developers.google.com/analytics/solutions/data-import-user#link) **before** marking complete or you won't be able to send Google Ads the audiences you create with Lytics data.",
            "type": "boolean"
          },
          "adwords_account_id": {
            "description": "Which account would you like to use?",
            "type": "string"
          },
          "created_data_source": {
            "description": "Select if you already created a data source for Lytics to use. If not, [create a data set](https://learn.lytics.com/understanding/integrations/google/google-analytics) with only the \"Lytics User ID\" and \"Lytics Audiences\" fields **before** marking complete. When you mark complete, we'll get a list of your data sources including your new one for you to select below.",
            "type": "boolean"
          },
          "data_source_id": {
            "description": "Select the data source for Lytics to use. This will be the data source you use for all future data syncs",
            "type": "string"
          },
          "segment_id": {
            "description": "The name of the audience that contains the users to export",
            "type": "string"
          },
          "web_property_id": {
            "description": "Which web property would you like to use?",
            "type": "string"
          }
        },
        "required": [
          "accounts_are_linked",
          "adwords_account_id",
          "created_data_source",
          "data_source_id",
          "web_property_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.JobRequest": {
        "properties": {
          "auth_ids": {
            "description": "Authorization IDs associated with the Job",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "config": {
            "description": "Job configuration, unique per-workflow",
            "type": "object"
          },
          "description": {
            "description": "A user-defined description",
            "type": "string"
          },
          "drop_events_during_quiet_window": {
            "type": "boolean"
          },
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "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"
          }
        },
        "required": [
          "config",
          "name"
        ],
        "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/adwords-export/{id}": {
      "put": {
        "description": "Update a AdwordsExport 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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "*/*": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/models.JobRequest"
                  },
                  {
                    "properties": {
                      "config": {
                        "$ref": "#/components/schemas/models.AdwordsExport"
                      }
                    },
                    "type": "object"
                  }
                ]
              }
            }
          },
          "description": "The Job Configuration",
          "required": true,
          "x-originalParamName": "job"
        },
        "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.AdwordsExport"
                                }
                              },
                              "type": "object"
                            }
                          ]
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "AdwordsExport 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": "AdwordsExport: Update job",
        "tags": [
          "Jobs"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.lytics.io/v2"
    }
  ],
  "tags": [
    {
      "description": "Create and manage data import and export jobs.",
      "name": "Jobs"
    }
  ]
}
```