Skip to main content
POST
Assign account

Authorizations

Authorization
string
header
required

API key or access token

Path Parameters

advertiserId
string
required

Unique identifier for the advertiser

Minimum string length: 1
Example:

"12345"

Body

application/json

Request body for assigning a source account to an advertiser

storefrontId
integer
required

Storefront the source lives on. Pair with sourceId.

Required range: 1 <= x <= 9007199254740991
Example:

42

sourceId
string
required

Inventory source within storefrontId to register this account against.

Minimum string length: 1
Example:

"src_main"

accountId
string
required

Account ID at the source to assign to this advertiser. Must come from list_available_accounts.

Minimum string length: 1
Example:

"acc_67890"

credentialId
string

Credential ID returned by list_available_accounts. Required when the same account ID is exposed by more than one mapped connection.

Example:

"42"

billingType
string

Billing arrangement type for this account (e.g. "advertiser", "operator", "agent"). Defaults to the source's default billing type.

Example:

"advertiser"

Response

Assign account