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

# /2025-04/marketing-solutions/ad-sets

> Patch a list of AdSets.



## OpenAPI

````yaml https://api.criteo.com/2025-04/marketingsolutions/open-api-specifications.json patch /2025-04/marketing-solutions/ad-sets
openapi: 3.0.1
info:
  title: Criteo API
  description: Criteo API - MarketingSolutions
  version: 2025-04
servers:
  - url: https://api.criteo.com
security:
  - oauth: []
tags:
  - name: Advertiser
  - name: Analytics
  - name: Audience
  - name: Campaign
  - name: Creative
  - name: Gateway
paths:
  /2025-04/marketing-solutions/ad-sets:
    patch:
      tags:
        - Campaign
      summary: /2025-04/marketing-solutions/ad-sets
      description: Patch a list of AdSets.
      operationId: PatchAdSets
      requestBody:
        description: List of adsets to patch.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestsPatchAdSetV24Q3'
        required: true
        x-bodyName: adSets
      responses:
        '200':
          description: List of patched adSets.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponsesAdSetIdV24Q3'
      security:
        - oauth:
            - MarketingSolutions_Campaign_Manage
components:
  schemas:
    RequestsPatchAdSetV24Q3:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/WriteModelPatchAdSetV24Q3'
          nullable: true
      description: List of input resources
    ResponsesAdSetIdV24Q3:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ReadModelAdSetIdV24Q3'
          nullable: true
          readOnly: true
        errors:
          type: array
          items:
            $ref: '#/components/schemas/CommonProblem'
          nullable: true
          readOnly: true
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/CommonProblem'
          nullable: true
          readOnly: true
      description: List of output resources
    WriteModelPatchAdSetV24Q3:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/PatchAdSetV24Q3'
        id:
          type: string
          description: Id of the entity
          nullable: true
        type:
          type: string
          description: Canonical type name of the entity
          nullable: true
          example: PatchAdSetV24Q3
      description: write model data for resources
    ReadModelAdSetIdV24Q3:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/AdSetIdV24Q3'
        id:
          type: string
          description: Id of the entity
          nullable: true
          readOnly: true
        type:
          type: string
          nullable: true
          readOnly: true
          example: AdSetIdV24Q3
      description: read model data for resources
    CommonProblem:
      type: object
      properties:
        code:
          type: string
          description: A machine-readable error code, expressed as a string value.
          nullable: true
        detail:
          type: string
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem
          nullable: true
        instance:
          type: string
          description: A URI that identifies the specific occurrence of the problem.
          nullable: true
        source:
          type: object
          additionalProperties:
            type: string
          description: >-
            A machine-readable structure to reference to the exact location(s)
            causing the error(s)
          nullable: true
        stackTrace:
          type: string
          nullable: true
        title:
          type: string
          description: A short human-readable description of the problem type
          nullable: true
        traceId:
          type: string
          description: The request correlation ID this problem comes from.
          nullable: true
        traceIdentifier:
          type: string
          description: >-
            The request correlation ID this problem comes from. (deprecated, use
            traceId instead)
          nullable: true
        type:
          enum:
            - unknown
            - access-control
            - authentication
            - authorization
            - availability
            - deprecation
            - quota
            - validation
          type: string
          description: The problem's category.
          nullable: true
      description: Common problem object.
    PatchAdSetV24Q3:
      type: object
      properties:
        attributionConfiguration:
          $ref: '#/components/schemas/PatchAdSetAttributionConfigurationV24Q3'
        bidding:
          $ref: '#/components/schemas/PatchAdSetBiddingV24Q3'
        budget:
          $ref: '#/components/schemas/PatchAdSetBudgetV24Q3'
        name:
          type: string
          nullable: true
        scheduling:
          $ref: '#/components/schemas/PatchAdSetSchedulingV24Q3'
        targeting:
          $ref: '#/components/schemas/AdSetTargetingV24Q3'
      description: ad set patch model
    AdSetIdV24Q3:
      type: object
      description: ad set id model
      nullable: true
    PatchAdSetAttributionConfigurationV24Q3:
      type: object
      properties:
        attributionMethod:
          enum:
            - unknown
            - criteoAttribution
            - googleAnalyticsLastClick
            - googleAnalyticsDataDriven
            - lastClick
            - postClick
          type: string
          description: The attribution method.
          nullable: true
        lookbackWindow:
          enum:
            - unknown
            - 30M
            - 24H
            - 7D
            - 30D
          type: string
          description: >-
            The lookback window. Optional, should be specified only for
            attribution methods PostClick and LastClick.
          nullable: true
      description: Patch model for an ad set's attribution configuration.
    PatchAdSetBiddingV24Q3:
      type: object
      properties:
        bidAmount:
          $ref: '#/components/schemas/NillableDecimal'
      description: ad set bidding patch model
    PatchAdSetBudgetV24Q3:
      type: object
      properties:
        budgetAmount:
          $ref: '#/components/schemas/NillableDecimal'
        budgetDeliverySmoothing:
          enum:
            - accelerated
            - standard
          type: string
          nullable: true
        budgetDeliveryWeek:
          enum:
            - undefined
            - mondayToSunday
            - tuesdayToMonday
            - wednesdayToTuesday
            - thursdayToWednesday
            - fridayToThursday
            - saturdayToFriday
            - sundayToSaturday
          type: string
          nullable: true
        budgetRenewal:
          enum:
            - undefined
            - daily
            - monthly
            - lifetime
            - weekly
          type: string
          nullable: true
        budgetStrategy:
          enum:
            - capped
            - uncapped
          type: string
          nullable: true
      description: ad set budget patch model
    PatchAdSetSchedulingV24Q3:
      type: object
      properties:
        endDate:
          $ref: '#/components/schemas/NillableDateTime'
        startDate:
          $ref: '#/components/schemas/NillableDateTime'
      description: ad set schedule patch model
    AdSetTargetingV24Q3:
      type: object
      properties:
        deliveryLimitations:
          $ref: '#/components/schemas/AdSetDeliveryLimitationsV24Q3'
        frequencyCapping:
          type: object
          properties:
            value:
              $ref: '#/components/schemas/AdSetFrequencyCappingV24Q3'
          nullable: true
        geoLocation:
          $ref: '#/components/schemas/AdSetGeoLocationV24Q3'
      description: ad set targeting model
      nullable: true
    NillableDecimal:
      type: object
      properties:
        value:
          type: number
          format: double
          nullable: true
      description: >-
        structure that encapsulates an object that have valid business null
        values. If the structure is provided (i.e. not null), then the value in
        it, even null, is provided.
      nullable: true
    NillableDateTime:
      type: object
      properties:
        value:
          type: string
          format: date-time
          nullable: true
      description: >-
        structure that encapsulates an object that have valid business null
        values. If the structure is provided (i.e. not null), then the value in
        it, even null, is provided.
      nullable: true
    AdSetDeliveryLimitationsV24Q3:
      type: object
      properties:
        devices:
          type: array
          items:
            enum:
              - other
              - desktop
              - mobile
              - tablet
            type: string
          nullable: true
        environments:
          type: array
          items:
            enum:
              - web
              - inApp
            type: string
          nullable: true
        operatingSystems:
          type: array
          items:
            enum:
              - android
              - ios
              - unknown
            type: string
          nullable: true
      description: ad set delivery limitations model
      nullable: true
    AdSetFrequencyCappingV24Q3:
      type: object
      properties:
        frequency:
          enum:
            - hourly
            - daily
            - lifetime
            - advanced
          type: string
          nullable: true
        maximumImpressions:
          type: integer
          format: int32
          nullable: true
      description: ad set frequency capping model
      nullable: true
    AdSetGeoLocationV24Q3:
      type: object
      properties:
        countries:
          $ref: '#/components/schemas/NillableAdSetTargetingRuleV24Q3'
        subdivisions:
          $ref: '#/components/schemas/NillableAdSetTargetingRuleV24Q3'
        zipCodes:
          $ref: '#/components/schemas/NillableAdSetTargetingRuleV24Q3'
      description: ad set geolocation model
      nullable: true
    NillableAdSetTargetingRuleV24Q3:
      type: object
      properties:
        value:
          type: object
          allOf:
            - $ref: '#/components/schemas/AdSetTargetingRuleV24Q3'
          nullable: true
      description: >-
        structure that encapsulates an object that have valid business null
        values. If the structure is provided (i.e. not null), then the value in
        it, even null, is provided.
      nullable: true
    AdSetTargetingRuleV24Q3:
      type: object
      properties:
        operand:
          enum:
            - undefined
            - in
            - notIn
          type: string
        values:
          type: array
          items:
            type: string
          nullable: true
      description: ad set targeting rule model
  securitySchemes:
    oauth:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes: {}
        authorizationCode:
          authorizationUrl: https://api.criteo.com/oauth2
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes: {}

````