Create campaign
POST/v1/campaigns
Creates a sponsored jobs campaign.
Prerequisites:
Wait 2 to 3 hours after posting new jobs before creating a campaign.
Your employer account must be associated with a job source before you create a campaign.
Use
GET /v1/accountto list job sources for your account.If no job sources are associated, contact Indeed Customer Support.
Your employer account must have valid billing information before the campaign can sponsor jobs.
| OAuth scope | Access token type |
|---|---|
employer.advertising.campaign |
Request
- application/json
Body
required
Request body must be a JSON object that defines the campaign to create.
HTTP request headers
Include these HTTP request headers:
Content-Type: application/jsonAccept: application/json"idempotency-key": "<key>": Required to create average daily budget (ADB) campaigns. Provide a unique ID, such ase8908cde-8ccc-4500-8762-588ced4b4a88, to make create-campaign requests idempotent.
Objectives
You cannot set or change objectives for average daily budget (ADB) campaigns ( STANDARD and PREMIUM). You can add an objective to a campaign that does not have one and update its target, but you cannot remove the objective or change its objectiveType.
Required fields
Always specify name, jobsSourceName, and jobsToInclude.
Select the jobs to sponsor
Sponsor all jobs in the job source: Set
jobsToIncludetoALL. Do not specifyjobsQuery,jobsTitle,jobsCompany,jobsLocation, orjobsLocationRadius.Sponsor a subset of jobs: Set
jobsToIncludetoQUERY.jobsQueryis required butjobsTitle,jobsCompany, andjobsLocationare optional.
Set the campaign budget and duration
Stop the campaign on a specific date: Specify
budgetOnetimeLimit, then eitherfixedEndDateortargetEndDate.fixedEndDatestops sponsorship on that date even if budget remains.targetEndDatelets the campaign continue until the budget is spent. For an equal monthly budget, usebudgetMonthlyLimit. In that case, you can use onlyfixedEndDate.Run the campaign until you stop it: Specify
budgetMonthlyLimit. Do not specify an end date.
Choose when the campaign starts
Start immediately: Default if you do not specify
startDateorstatus.Start on a future date: Specify
startDate.Start manually: Set
statustoPAUSED.
Optional features
Identify clicks from this campaign: Specify
trackingToken.Optimize for a hiring goal: Specify
objective. The Sponsored Jobs API supports objective-based campaigns. See Creating an Effective Recruitment Funnel With Indeed Ads. You cannot set or change objectives for average daily budget (ADB) campaigns. All other Sponsored Jobs API campaigns must have an objective. If the employer does not provide one when creating a campaign, Sponsored Jobs API selects an appropriate objective automatically.Sponsor jobs on the Trusted Media Network (TMN): Specify
channels. After you create a campaign with a channel enabled or disabled, you cannot change that channel status.
See the model definition for field details and example values.
For example requests, see the How-to guides for campaign management.
ACTIVE: Starts the campaign.PAUSED: Keeps the campaign inactive until you enable it, or temporarily stops sponsorship.DELETED: Stops sponsorship and hides the campaign from the default view in the campaign management portal.-
ALL: Sponsors all jobs in the job source. The API ignoresjobsQuery,jobsTitle,jobsCompany,jobsLocation, andjobsLocationRadius. -
QUERY: Sponsors only jobs that match the specified criteria. If you specify more than one field, a job must match all of them.If you set
jobsToIncludetoQUERYand omit all criteria, the campaign currently sponsors all jobs in the job source. To avoid an error, specify at least one criterion, or setjobsToIncludetoQUERY. - Set
budgetOnetimeLimitif the type isONETIME. - Set
budgetMonthlyLimitif the type isMONTHLY. objectiveType, which specifies the campaign objectivetarget, which specifies the goal metric for some objective typesBALANCE: Maximize total applications for your budget while balancing spend across jobs.MAXIMUM: Maximize total applications for your budget without balancing clicks across jobs.QUICK: Five-day campaign with a higher budget for faster results. You cannot create or update campaigns with this objective through Sponsored Jobs API. You can still retrieve reports for campaigns with this objective if they were created in Indeed for Employers.TARGET_APPLICATIONS: Aim for the number of applications specified bytarget. When the target is reached, spend on those jobs is greatly reduced and shifted elsewhere.TARGET_COST_PER_APPLICATION: Aim to keep the cost per application below the value specified bytarget.SCHEDULED_INTERVIEWS: Send screened candidates directly to interview and aim for the number of interviews specified bytarget. This objective requires an active Indeed Hiring Platform subscription and should be used only if the customer is ready to create hiring events for the included jobs.- BALANCE
- MAXIMUM
- QUICK
- TARGET_APPLICATIONS
- TARGET_COST_PER_APPLICATION
- SCHEDULED_INTERVIEWS
Array [
TMN: Trusted Media Network.CHANNEL_ENABLED: Channel is enabled to spendCHANNEL_DISABLED: Channel is disabled to spend]
Possible values: non-empty and <= 250 characters
Required. Campaign name. Use it to identify the campaign later. It must be unique within your employer account.
Possible values: [ACTIVE, DELETED, PAUSED]
Default value: ACTIVE
Campaign status.
Possible values: <= 255 characters
Click-tracking token added to the job URL for sponsored clicks. Use it to identify clicks from Indeed and the campaign that sponsored them.
Source ID string that overrides jobsSource. Identifies the job source this campaign sponsors jobs from. Specify the id of a job source returned in jobSourceList from GET /v1/account. If your employer account is not associated with any job sources yet, contact Indeed Customer Support.
Each campaign supports only one jobsSourceId. If you have multiple job sources, create a separate campaign for each one.
Source name (ATS partners only)
Possible values: [ALL, QUERY]
Required. ALL or QUERY.
Jobs query. If set, the campaign sponsors only jobs that match these search terms. Supports Boolean expressions. See Indexed jobs query format. Applies only when jobsToInclude is QUERY.
Jobs title in query. If set, the campaign sponsors only jobs with this title. Applies only when jobsToInclude is QUERY.
Jobs company in query. If set, the campaign sponsors only jobs from this hiring company. Applies only when jobsToInclude is QUERY.
Jobs location in query. If set, the campaign sponsors only jobs at or near this location. Applies only when jobsToInclude is QUERY.
Default value: 25
Maximum distance from the job location to jobsLocation in query. Valid values are 5, 10, 15, 25, 50, and 100. Use miles for jobs in the United States and the United Kingdom. Use kilometers elsewhere.
Possible values: [STANDARD, PREMIUM]
Set sponsorshipPlan only for average daily budget (ADB) campaigns. Employers must provide it when creating an ADB campaign. If omitted, the campaign defaults to STANDARD.
Possible values: [ONETIME, MONTHLY, FLEXIBLE]
Budget cap type. Valid values are ONETIME, MONTHLY, and FLEXIBLE.
Required for average daily budget (ADB) campaigns:
Indeed optimizes spending toward the configured monthly or one-time budget.
If the configured budget limit is high, Indeed might spend more than the recommended daily budget to meet the overall monthly or one-time budget target.
avgDailyBudgetConfig
object
Average daily budget (ADB) campaign details. Required for ADB campaigns.
Possible values: [AUTO]
Required. Average daily budget (ADB) behavior. Valid value: AUTO.
Possible values: <= 1500
Boost the base average daily budget (ADB) per job by a percentage.
Use this field only for flexible ADB campaigns. Do not use it for monthly or one-time campaigns.
Newly added jobs, whether added manually or through query resolution, inherit the same percentage increase over their recommended budgets.
Valid values: 0 to 1500.
One-time budget limit. If set, the campaign uses one budget for its full duration. Specify either budgetOnetimeLimit or budgetMonthlyLimit, but not both.
The budget uses the employer account's currency. Sponsored Jobs API parses, stores, and returns the value as an exact decimal fraction, not a floating-point number.
Monthly budget limit. If set, the campaign uses a recurring monthly budget. The end date is optional for campaigns with a monthly budget.
Specify exactly one of budgetOnetimeLimit or budgetMonthlyLimit.
The budget uses the employer account's currency. Sponsored Jobs API parses, stores, and returns the value as an exact decimal fraction, not a floating-point number.
Possible values: [startNowFullAmount, startNowProratedAmount, startNextMonthFullAmount]
Default value: startNowFullAmount
Used with budgetMonthlyLimit and a campaign startDate that is not the first day of the month, this field controls the first month's budget.
| Value | First month budget |
|---|---|
startNowFullAmount
| Full monthly budget. |
startNowProratedAmount
| Prorated based on the days remaining in the month. |
startNextMonthFullAmount
| No budget. |
This example uses a monthly budget of 900 USD, a start date of June 11, and each possible budgetFirstMonthBehavior value:
| Value | June 11 to 30 | July 1 to 31 |
|---|---|---|
startNowFullAmount
| 900 USD | 900 USD |
startNowProratedAmount
| 600 USD | 900 USD |
startNextMonthFullAmount
| 0 USD | 900 USD |
Start date for sponsoring jobs, in ISO 8601 YYYY-MM-DD format. Default: current date.
The campaign starts at the beginning of that day in US Central Time (US/Central). The date must be the current date in CT or later.
If you omit startDate or set it to the current date, the campaign starts immediately.
After the campaign becomes active and starts spending, you cannot update startDate.
To pause a campaign temporarily, set status to PAUSED.
Date when the campaign must stop sponsoring jobs, even if budget remains. Use ISO 8601 YYYY-MM-DD format.
A campaign with a one-time budget (budgetOnetimeLimit) must have either a fixedEndDate or a targetEndDate, but not both.
A campaign with a monthly recurring budget (budgetMonthlyLimit) can optionally have a fixedEndDate. Otherwise, the campaign continues until you manually pause or delete it. These are called evergreen campaigns.
The campaign stops at the start of the specified day in US Central Time (CT, US/Central).
The fixedEndDate must be at least one day after the current date in CT, or after the campaign startDate, if set.
For example, if fixedEndDate is 2026-06-20, the campaign stops on June 20, 2026 at 12:00 AM CT.
The date before when the campaign should stop sponsoring jobs, though it might continue sponsoring past the date if it has not spent its entire budget. Follows the ISO 8601 YYYY-MM-DD format.
A campaign with a one-time budget (budgetOnetimeLimit) must always have either a fixedEndDate or a targetEndDate, but not both. A campaign with a monthly recurring budget (budgetMonthlyLimit) cannot have a targetEndDate, only a fixedEndDate or no end date.
The campaign targets the start of the specified day in US Central Time (CT, US/Central). The target end date must be at least one day after the current date in CT, or the startDate of the campaign, if the campaign has one. For example, if the target end date is 2026-06-20, the campaign targets June 20, 2021 at 0:00 AM CT.
Possible values: [Budget, Bonus Sponsored Job Credits]
Default value: Budget
Funding source for the campaign. Valid values are Budget (default) or Bonus Sponsored Job Credits. You cannot change the funding source after you create the campaign.
Annual Deals clients receive Bonus Sponsored Job Credits as part of their Annual Deals and can use them to create monthly or lifetime campaigns.
objective
object
Hiring goals for the campaign. Setting this field makes the campaign an objective-based campaign.
See Setting Up a Sponsored Job Campaign.
This value is a JSON object with:
For example, to target 10 applications:
{ "objectiveType": "TARGET_APPLICATIONS", "target": 10}You can add an objective to a campaign that does not already have one, and you can change the target value. You cannot remove an objective or change its objectiveType.
objectiveType
string
Possible values: [BALANCE, MAXIMUM, QUICK, TARGET_APPLICATIONS, TARGET_COST_PER_APPLICATION, SCHEDULED_INTERVIEWS]
The campaign objective. You cannot update this field for average daily budget (ADB) campaigns (STANDARD and PREMIUM). Available values:
Campaigns created outside your application might use new objective types that your application does not yet support. Add fallback logic to handle unexpected objectiveType values.
any
any
any
Number of apps that the campaign seeks to reach.
Cost per app that the campaign should stay below, in the employer account's currency. Sponsored Jobs API parses, stores and returns the value as an exact decimal fraction, not a floating point number.
Number of interviews that the campaign should reach.
channels
object[]
Channels do not include default channels.
For example, to enable the TMN channel, set channels to:
[ { "channel": "TMN", "status": "CHANNEL_ENABLED" }]Possible values: [TMN]
Channel ID. Valid value is:
Possible values: [CHANNEL_ENABLED, CHANNEL_DISABLED]
Channel spending status ID. Valid values are:
Responses
- 201
- 400
- 401
- 403
- 500
Returns the new campaign ID in data.campaignId. The HTTP status is 201, not 200.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Array [
up: The related resource is a collection that contains the requested resource, or an entity that the requested resource is attached to.next: The next page of entries in a paginated result.prev: The previous page of entries in a paginated result.]
meta
object
Response-related metadata.
HTTP status code of the response.
errors
object[]
Any errors that prevented successful processing of the request. If there were no errors, the value is null.
Name of the error.
Human-readable description of the problem.
Base URL of the Sponsored Jobs API.
For endpoints that return paginated results, the effective maximum number of entries returned on one page. The value may be smaller than the maximum you requested with the perPage parameter. If the endpoint returns a single result or doesn't paginate, the value is null.
links
object[]
Resources related to the requested resource.
The relationship between the requested resource and the related resource. These values are commonly used:
However, the value may also be an arbitrary string describing the relationship, such as Campaign Info.
Endpoint URL of the related resource. Can contain query string parameters. To get the complete URL, append the href to rootLocation.
data
object
{ "meta": { "status": 200, "errors": [ { "type": "RESOURCE_NOT_FOUND", "description": "Couldn't locate the requested resource" } ], "rootLocation": "https://apis.indeed.com/ads", "perPage": 25, "links": [ { "rel": "next", "href": "/v1/campaigns/3141592653589793" } ] }, "data": { "campaignId": "ee4d641cab17b22c" }}{ "meta": { "status": 201, "errors": null, "rootLocation": "https://apis.indeed.com/ads", "perPage": null, "links": [ { "rel": "Campaign Info", "href": "/v1/campaigns/ee4d641cab17b22c" } ] }, "data": { "campaignId": "ee4d641cab17b22c" }}A request parameter is invalid.
description usually identifies the parameter and explains the error.
meta.errors can include multiple INVALID_REQUEST errors, one per invalid parameter.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Array [
up: The related resource is a collection that contains the requested resource, or an entity that the requested resource is attached to.next: The next page of entries in a paginated result.prev: The previous page of entries in a paginated result.]
meta
object
Response-related metadata.
HTTP status code of the response.
errors
object[]
Any errors that prevented successful processing of the request. If there were no errors, the value is null.
Name of the error.
Human-readable description of the problem.
Base URL of the Sponsored Jobs API.
For endpoints that return paginated results, the effective maximum number of entries returned on one page. The value may be smaller than the maximum you requested with the perPage parameter. If the endpoint returns a single result or doesn't paginate, the value is null.
links
object[]
Resources related to the requested resource.
The relationship between the requested resource and the related resource. These values are commonly used:
However, the value may also be an arbitrary string describing the relationship, such as Campaign Info.
Endpoint URL of the related resource. Can contain query string parameters. To get the complete URL, append the href to rootLocation.
{ "meta": { "status": 200, "errors": [ { "type": "RESOURCE_NOT_FOUND", "description": "Couldn't locate the requested resource" } ], "rootLocation": "https://apis.indeed.com/ads", "perPage": 25, "links": [ { "rel": "next", "href": "/v1/campaigns/3141592653589793" } ] }, "data": null}{ "meta": { "status": 400, "errors": [ { "type": "INVALID_REQUEST", "description": "jobsSourceId: malformed jobsSourceID is specified." }, { "type": "INVALID_REQUEST", "description": "startDate: The start date should be equal to or after today’s date in US Central Time." } ], "rootLocation": "https://apis.indeed.com/ads", "perPage": null, "links": [ { "rel": "up", "href": "/v1/campaigns" } ] }, "data": null}Request did not include a valid access token:
-
The
Authorizationheader is missing or malformed. Include the access token using theBearerscheme — for example,Authorization: Bearer XYZ. -
The access token is malformed. When building requests manually, check that you copied the token without missing or extra characters at the start or end.
-
The access token has expired. Tokens expire after one hour (3,600 seconds). Get a new token using your client credentials (2-legged OAuth) or a refresh token (3-legged OAuth).
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Array [
up: The related resource is a collection that contains the requested resource, or an entity that the requested resource is attached to.next: The next page of entries in a paginated result.prev: The previous page of entries in a paginated result.]
meta
object
Response-related metadata.
HTTP status code of the response.
errors
object[]
Any errors that prevented successful processing of the request. If there were no errors, the value is null.
Name of the error.
Human-readable description of the problem.
Base URL of the Sponsored Jobs API.
For endpoints that return paginated results, the effective maximum number of entries returned on one page. The value may be smaller than the maximum you requested with the perPage parameter. If the endpoint returns a single result or doesn't paginate, the value is null.
links
object[]
Resources related to the requested resource.
The relationship between the requested resource and the related resource. These values are commonly used:
However, the value may also be an arbitrary string describing the relationship, such as Campaign Info.
Endpoint URL of the related resource. Can contain query string parameters. To get the complete URL, append the href to rootLocation.
{ "meta": { "status": 200, "errors": [ { "type": "RESOURCE_NOT_FOUND", "description": "Couldn't locate the requested resource" } ], "rootLocation": "https://apis.indeed.com/ads", "perPage": 25, "links": [ { "rel": "next", "href": "/v1/campaigns/3141592653589793" } ] }, "data": null}{ "meta": { "status": 401, "errors": [ { "type": "INVALID_TOKEN", "description": "Invalid OAuth access token." } ], "rootLocation": "https://apis.indeed.com/ads", "perPage": null, "links": null }, "data": null}The access token was valid but can't be used with this API. Inspect the error returned in the meta.errors for details.
| Error type | Meaning and common causes |
|---|---|
INSUFFICIENT_SCOPE | The access token does not have the OAuth v2 token scope required for this API endpoint. For common causes, see FAQ and troubleshooting. |
NOT_EMPLOYER_ACCESS_TOKEN | This endpoint requires an access token that represents an employer. That is, you must specify the You need to do this for the majority of the Sponsored Jobs API endpoints. |
LEGACY_ACCESS_TOKEN_NOT_ALLOWED | Sponsored Jobs API no longer supports access tokens that you get through legacy OAuth endpoints. For updated endpoints, see Integrate with Indeed and call APIs. |
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Array [
up: The related resource is a collection that contains the requested resource, or an entity that the requested resource is attached to.next: The next page of entries in a paginated result.prev: The previous page of entries in a paginated result.]
meta
object
Response-related metadata.
HTTP status code of the response.
errors
object[]
Any errors that prevented successful processing of the request. If there were no errors, the value is null.
Name of the error.
Human-readable description of the problem.
Base URL of the Sponsored Jobs API.
For endpoints that return paginated results, the effective maximum number of entries returned on one page. The value may be smaller than the maximum you requested with the perPage parameter. If the endpoint returns a single result or doesn't paginate, the value is null.
links
object[]
Resources related to the requested resource.
The relationship between the requested resource and the related resource. These values are commonly used:
However, the value may also be an arbitrary string describing the relationship, such as Campaign Info.
Endpoint URL of the related resource. Can contain query string parameters. To get the complete URL, append the href to rootLocation.
{ "meta": { "status": 200, "errors": [ { "type": "RESOURCE_NOT_FOUND", "description": "Couldn't locate the requested resource" } ], "rootLocation": "https://apis.indeed.com/ads", "perPage": 25, "links": [ { "rel": "next", "href": "/v1/campaigns/3141592653589793" } ] }, "data": null}{ "meta": { "status": 403, "errors": [ { "type": "INSUFFICIENT_SCOPE", "description": "Access token does not have permission to access this API." } ], "rootLocation": "https://apis.indeed.com/ads", "perPage": null, "links": null }, "data": null}Unexpected error. The problem is sometimes temporary. The same request can succeed after retrying.
If retrying the request does not help, a problem with parsing the request might have occurred. Make sure that all the required parameters are present and that all parameters are correctly formatted.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Array [
up: The related resource is a collection that contains the requested resource, or an entity that the requested resource is attached to.next: The next page of entries in a paginated result.prev: The previous page of entries in a paginated result.]
meta
object
Response-related metadata.
HTTP status code of the response.
errors
object[]
Any errors that prevented successful processing of the request. If there were no errors, the value is null.
Name of the error.
Human-readable description of the problem.
Base URL of the Sponsored Jobs API.
For endpoints that return paginated results, the effective maximum number of entries returned on one page. The value may be smaller than the maximum you requested with the perPage parameter. If the endpoint returns a single result or doesn't paginate, the value is null.
links
object[]
Resources related to the requested resource.
The relationship between the requested resource and the related resource. These values are commonly used:
However, the value may also be an arbitrary string describing the relationship, such as Campaign Info.
Endpoint URL of the related resource. Can contain query string parameters. To get the complete URL, append the href to rootLocation.
{ "meta": { "status": 200, "errors": [ { "type": "RESOURCE_NOT_FOUND", "description": "Couldn't locate the requested resource" } ], "rootLocation": "https://apis.indeed.com/ads", "perPage": 25, "links": [ { "rel": "next", "href": "/v1/campaigns/3141592653589793" } ] }, "data": null}{ "meta": { "status": 500, "errors": [ { "type": "INTERNAL_SERVER_ERROR", "description": "Failed to process the request." } ], "rootLocation": "https://apis.indeed.com/ads", "perPage": null, "links": null }, "data": null}