Update the flight

Update the flight. All the properties are optional, only the supplied properties are changed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

External ID of a campaign. See: Good and Bad External IDs

string
required

External ID of a flight. See: Good and Bad External IDs

Body Params

A goTom Flight

runtime
object

Start and Enddate of the flight

integer

Corresponds with the field "Tarif"

integer

Corresponds with the field "Medium"

integer

Corresponds with the field "Extra Preis Ebene"

integer

Corresponds with the field "Platform"

integer

Corresponds with the field "Channel"

integer

Corresponds with the field "Werbemittel"

integer

Corresponds with the field "Preistyp"

string | null

The flightPositionTypeName, which can be retrieved via the primary key endpoint. Note that even when this value is set to null, the application may use a default value, as shown in the primary key endpoint.

If no value is set, the read response will include the default flightPositionTypeName. Therefore, setting this field to null causes the flight to fall back to the default value.

integer

Corresponds with the field "Anzahl Einheiten"

Corresponds with the field "Finaler Bruttopreis Einheit". Can be a number (ie 15.20), or the string "loadFromRate" (will autoload the price from the rate sheet). Can be omitted when updating a flight (existing bruttoPriceUnit will stay the same)

string
enum

Corresponds with the field "WM Status"

Allowed:
string

Corresponds with the field "Bemerkungen"

string

Corresponds with the field "Interne Bemerkungen"

string

Corresponds with the field "Faktura Bemerkungen"

string

Corresponds with the field "AdServer"

keyValueSets
array of objects

Corresponds with the field "Targeting Configuration -> Key / Values"

keyValueSets
geoTargetingByZip
object

Corresponds with the field "Targeting Configuration -> Geo Targeting -> PLZ"

flightTags
array of integers

Tags of the flight. Corresponds with the "Flight Tags" Field in the UI of the "Umsatzarten" / "Revenue Types" campaign view When creating/updating only the array with IDs are expected, send null or an empty array to clear the tags on update.

flightTags
keyValueSetsXandr
array of objects

Xandr key-value targeting result set. Used for both read and write operations.

keyValueSetsXandr
adServerPushChanges
object
Responses
204

Flight has been updated

400

Returns a list of errors in the input data. For this call the following violation codes can be expected

  • 5658b9ca-ce50-4a98-a0da-97d9361845e3 - An invalid ID field has been given (for example the platformId in the customer object could not be found), here you have to refer to the propertyPath value to find out which property caused the error
  • e3a1d7f7-4fcf-4b7d-8d87-38a60126462f - The combination of platformId, channelId and advertisingId does not exist
  • 409d70bf-376e-4a21-a8d0-f75a4a6a7abc - There is no price entry found for the combination of platformId, channelId, advertisingId, tarifId, extraPriceLevelId and priceTypeId does not exist
  • 24a9375a-0b22-4676-9a29-9c9e7f2c195f - The adServerId provided in the KeyValueSet is invalid
404

The campaign does not exist

Language
LoadingLoading…
Response
Choose an example:
application/json