Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter explanation

Headers

Header

Description

Data Type

Content-Type

Defines the content type of the request.

String

X-Auth-Token

Stores the API Authentication Token of the Admin user.

String

X-Auth-ID

Stores the ID of the Admin user.

Integer

Body

Parameter

Beschreibung

Datentyp

Pflichtfeld

campaign_id

Stores the Campaign_id.

Integer

Mandatory

project_ids

Whitelist in the form of a JSON array, e.g., [50012].

Array

Optional

title

Title of the admedia, max 255 characters.

String

Mandatory

deeplink

The deeplink of the admedia, max 255 characters.

String

Mandatory

category_id

Stores the category ID.

Integer

Optional

mediatype

Type of the media, e.g., text or banner.

String

Mandatory

linktext

Mandatory if mediatype = text. Stored in campaign.admedia_settings.

String

Only if mediatype = text

imageurl

Mandatory if mediatype = banner, max 255 characters. Stored in campaign.admedia_settings.

String

Only if mediatype = banner

size_width

Mandatory if mediatype = banner.

String

Only if mediatype = banner

size_height

Mandatory if mediatype = banner.

String

Only if mediatype = banner

status

Stores the status.

Integer

Mandatory

Response

The API returns the created Admedia's relevant details in JSON format, such as:

...