---
title: "Creates a complete ad. Including ad campaign, ad set, escrow, and the ad.
Currently intended for creation of sponsorships only."
method: POST
path: "/v2/sponsored-campaigns/create"
tags: ["Advertising"]
---

# Creates a complete ad. Including ad campaign, ad set, escrow, and the ad.
Currently intended for creation of sponsorships only.

`POST /v2/sponsored-campaigns/create`

## Request body

- RobloxAdConfigurationApiModelsCreateSponsoredCampaignRequest — A request model for creating a sponsored game
  - `campaignTargetId` integer — The ID of the campaign target
  - `campaignTargetType` 0 | 1 | 2 | 3 — The type of the campaign target ['Undefined' = 0, 'Universe' = 1, 'Asset' = 2, 'ImmersiveAd' = 3]
  - `targetGender` 1 | 2 | 4 — Targeting gender(s) of the ad set ['Undefined' = 1, 'Male' = 2, 'Female' = 4]
  - `targetAgeBracket` 1 | 2 | 4 | 8 | 16 — Targeting age bracket(s) of the ad set ['Undefined' = 1, 'AgeUnder13' = 2, 'Age13OrOver' = 4, 'Age13To16' = 8, 'Age17OrOver' = 16]
  - `startDate` string, date-time — The start date of the ad set
  - `endDate` string, date-time — The end date of the ad set
  - `targetDeviceType` 1 | 2 | 4 | 8 | 16 | 32 — Targeting device type(s) of the ad set ['Undefined' = 1, 'Computer' = 2, 'Phone' = 4, 'Tablet' = 8, 'Console' = 16, 'VR' = 32]
  - `campaignName` string — The name of the Campaign / Ad
  - `dailyBidAmountInRobux` integer — The daily bid amount for the campaign / ad, in Robux
  - `placementLocation` 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 — The location to place the campaign ['Undefined' = 1, 'GameSort' = 2, 'AvatarShop' = 4, 'ItemDetails' = 8, 'HomePage' = 16, 'Billboard300x250' = 32, 'Billboard600x300' = 64, 'Billboard300x600' = 128]
  - `creativeModel` RobloxAdConfigurationApiCreativeModel — A model representing an Ad Creative (for example, an ad thumbnail).
    - `creativeId` integer — The ID of the creative. Typically, a thumbnail's imageId.
    - `creativeType` 0 | 1 | 2 — The type of the ad creative. Typically, CreativeType.Image. ['Undefined' = 0, 'Image' = 1, 'Video' = 2]

## Response `200`

OK

- integer

## Other responses

- `400` — 2: Daily budget is lower than minimum allowed. 3: Total budget must be greater than 0. 4: Ad name cannot be empty. 5: Start date must not be a future date. 6: End date must be a future date. 7: Start date must be earlier than end date. 8: Total budget does not match daily spend and number of days being scheduled 9: Cannot load the universe for the specified universe id. 11: Invalid target age bracket. 12: Invalid target gender. 13: Invalid target device type. 14: Invalid ad set id. 15: Ad name cannot exceed 255 characters. 16: Insufficient Robux balance. 17: Name has already been taken. 18: Daily budget is higher than maximum allowed. 19: Invalid group id. 20: Number of days scheduled exceeded maximum days allowed. 21: Your experience is currently not eligible for advertising. 22: Invalid campaign target ID. 23: Invalid campaign target type. 24: Invalid creative ID. 25: Invalid creative type. 28: Total budget must be campaign duration * daily bid 29: The target is not eligible for new campaigns 30: Invalid user ID
- `401` — 0: Authorization has been denied for this request. 10: Insufficient permissions.
- `403` — 0: Token Validation Failed
- `500` — 0: An unknown error occurred. 31: Internal server error
- `503` — 1: This feature is disabled.

---

[API](https://skmtc.net/roblox/apis/roblox-api.md) · [All operations](https://skmtc.net/roblox/apis/roblox-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/roblox/roblox-api/versions/756260310407/schema)
