v1

latestOpenAPI 3.0.12026-07-22204678550.0 KB
Campaign

/2026-01/marketing-solutions/ad-sets

Create the specified ad set

post/2026-01/marketing-solutions/ad-sets

Request body

Example request

{
  "data": {
    "attributes": {
      "name": "test adset",
      "datasetId": "108002",
      "campaignId": "358313",
      "objective": "conversions",
      "schedule": {
        "startDate": "2026-04-04T16:21:06.3809615+02:00",
        "endDate": "2026-04-13T16:21:06.3809642+02:00"
      },
      "bidding": {
        "costController": "dailyBudget"
      },
      "targeting": {
        "deliveryLimitations": {
          "environments": [
            "web"
          ],
          "devices": [
            "desktop"
          ],
          "operatingSystems": [
            "android"
          ]
        },
        "geoLocation": {
          "countries": {
            "operand": "in",
            "values": [
              "FR",
              "IT"
            ]
          }
        },
        "frequencyCapping": {
          "frequency": "daily",
          "maximumImpressions": 1000
        }
      },
      "budget": {
        "budgetStrategy": "capped",
        "budgetRenewal": "weekly",
        "budgetDeliverySmoothing": "standard",
        "budgetDeliveryWeek": "mondayToSunday",
        "budgetAmount": 1000
      },
      "trackingCode": "Test123",
      "mediaType": "display",
      "attributionConfiguration": {
        "attributionMethod": "criteoAttribution"
      }
    },
    "type": "AdSet"
  }
}

Response

The ad set that has been created and errors / warnings

Example response

{
  "data": {
    "type": "ReadAdSetV24Q3"
  }
}