Skip to main content
POST
/
platforms
/
{platformID}
/
advertisers
Create Advertiser
curl --request POST \
  --url https://api.embedads.com/platforms/{platformID}/advertisers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "website_url": "<string>",
  "custom_event_type_key": "<string>",
  "phone_number": "<string>",
  "special_category": "<string>"
}'
{
    "id": 123
}

Path Parameters

platformID
string
required
The ID of the Reseller.

Body Parameters

name
string
required
The name of the advertiser.
website_url
string
required
The website URL of the advertiser.
custom_event_type_key
string
required
The custom event type key of the advertiser. Should be one of the following:
  • PURCHASE
  • LEAD
  • CONTENT_VIEW
  • COMPLETE_REGISTRATION
  • ADD_TO_CART
  • PHONE_CALL
phone_number
string
The phone number of the advertiser.
special_category
string
The special category of the advertiser. Should be one of the following:
  • HOUSING
  • EMPLOYMENT
  • FINANCIAL_PRODUCTS_SERVICES

Response

id
number
Id of the newly created advertiser.
{
    "id": 123
}