> ## Documentation Index
> Fetch the complete documentation index at: https://docs.targeter.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Resume ad

> Restart delivery for a paused ad

## Overview

Resume a `paused` ad. If `start_date` is still in the future, return `scheduled`. If the flight is in progress, return `active`. If `end_date` has passed, return **409** instead of completing the ad implicitly.

Do not change budget, dates, or creatives.

## Request

### Headers

* `Authorization: Bearer {token}` (required)

### Path Parameters

<ParamField path="ad_id" type="string" required>
  Publisher-generated ad id returned from [Create ad](/integrations/ads/create)
</ParamField>

### Example Request

```bash theme={null}
curl -X POST "https://publisher.example.com/v1/ads/ad_9pL2wR/resume" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

## Response

### Success (200)

<ResponseField name="ad_id" type="string">
  Publisher-generated ad id
</ResponseField>

<ResponseField name="status" type="string">
  `scheduled` or `active` after resume
</ResponseField>

<ResponseField name="updated_at" type="string">
  UTC timestamp of the status change
</ResponseField>

```json theme={null}
{
    "ad_id": "ad_9pL2wR",
    "status": "active",
    "updated_at": "2026-08-19T09:05:00Z"
}
```

## Error Responses

### 401 - Unauthorized

```json theme={null}
{
    "error": "Missing or invalid Authorization header"
}
```

### 404 - Ad not found

```json theme={null}
{
    "error": "Ad not found"
}
```

### 409 - Ad cannot be resumed

```json theme={null}
{
    "error": "Ad cannot be resumed while status is completed"
}
```

Resuming an ad that is already `active` or `scheduled` should return **200** with the current status (idempotent).

### 500 - Server Error

```json theme={null}
{
    "error": "Unexpected server error. Please try again later."
}
```


## OpenAPI

````yaml integrations/openapi.json POST /ads/{ad_id}/resume
openapi: 3.1.0
info:
  title: Targeter Ideal Publisher API
  description: >-
    Contract Targeter expects from publisher and media platforms it creates ads
    on and fetches insights from. Implement these endpoints so Targeter can
    manage offices, ads, and reporting against your system.
  version: 1.0.0
  contact:
    name: Targeter Integration Support
servers:
  - url: https://{publisher_host}/v1
    description: Publisher API host (provided during integration setup)
    variables:
      publisher_host:
        default: publisher.example.com
security:
  - BearerAuth: []
tags:
  - name: Offices
    description: Broker or advertiser offices that ads are billed and attributed to
  - name: Ads
    description: Create, update, pause, resume, and delete ads
  - name: Insights
    description: Performance reporting for ads Targeter has created
  - name: Platforms
    description: Publisher channels available for delivery
paths:
  /ads/{ad_id}/resume:
    post:
      tags:
        - Ads
      summary: Resume ad
      description: >-
        Resume delivery for a paused ad. If `start_date` is in the future,
        status should become `scheduled` rather than `active`.
      operationId: resumeAd
      parameters:
        - $ref: '#/components/parameters/AdId'
      responses:
        '200':
          description: Ad resumed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdStatusResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/AdNotFound'
        '409':
          description: Ad cannot be resumed in its current status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Ad cannot be resumed while status is completed
        '500':
          $ref: '#/components/responses/ServerError'
components:
  parameters:
    AdId:
      name: ad_id
      in: path
      required: true
      description: Publisher-generated ad id returned from `POST /ads`
      schema:
        type: string
      example: ad_9pL2wR
  schemas:
    AdStatusResponse:
      type: object
      required:
        - ad_id
        - status
      properties:
        ad_id:
          type: string
          example: ad_9pL2wR
        status:
          $ref: '#/components/schemas/AdStatus'
        updated_at:
          type: string
          format: date-time
          example: '2026-08-19T09:00:00Z'
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Error message
          example: Missing required field
        details:
          type: array
          description: Per-field validation issues
          items:
            type: object
            required:
              - message
            properties:
              path:
                type: array
                items:
                  type: string
                example:
                  - material
                  - target_url
              message:
                type: string
                example: Target URL is required
    AdStatus:
      type: string
      description: Delivery status of the ad
      enum:
        - draft
        - pending_review
        - scheduled
        - active
        - paused
        - completed
        - rejected
        - error
      example: active
  responses:
    Unauthorized:
      description: Missing Authorization header, or invalid or expired token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missingHeader:
              value:
                error: Missing or invalid Authorization header
            invalidToken:
              value:
                error: Invalid or expired token
    AdNotFound:
      description: Ad not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Ad not found
    ServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unexpected server error. Please try again later.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API token issued to Targeter during integration setup. Send as
        `Authorization: Bearer <token>`.

````