Versions Compared

Key

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

...

Challenge

While using our Xandr integration with features like checking availability or submitting, Trade Desk integration, you may encounter an error message appears that is coming directly from the Xandr TTD API. What does an error from the API mean this error indicate and what are the best ways to handle thismost effective methods for managing it?

Solution: 

When submitting data is sent from ADvendio to external platforms, there are always two platforms are involved in the process. ADvendio is sends the system that sends data and , while the external platform (e.g. the AdServer) receives data.

...

This can have different reasons, for example, a problem with the authentication against the external system, a missing setting in ADvendio, or you are trying something which is generally not allowed (like changing , which could be an AdServer, receives it. There are various reasons why errors may occur, including authentication issues with the external system, missing settings in ADvendio, or attempting to perform unauthorized actions. For example, trying to change the start date of an already running active position). Following we are looking at . We will focus on the most common error messages returned from our Xandr integration, what they mean that occur during our TTD integration, their meanings, and how to prevent avoid them.

What are the most common error cases?

With the below information, you'll be equipped with a clear understanding of FreeWheel The following information will provide you with a comprehensive understanding of TTD error messages, the reasons behind themunderlying causes, and the necessary steps actions to troubleshoot and overcome integration challenges address integration issues that you may encounter:.

  1. Error Message: You 'll will see a list of different error messages, each with its own type and wording.

  2. Reason: We provide explanations to help you understand what caused the error message. This will give you insights into why the issue occurred.

  3. Solution: For each error message, we offer troubleshooting steps to resolve the problem. These steps guide you towards toward finding a solution and getting past the error.

Error Message

Reason

Solution

Id: SYNTAX, Code:

INVALID_COUNTRY_ACTION, Message: country_action must be set to exclude when country_targets are empty

You are trying to submit an Item of type Augmented, without any geo targeting set. Please be aware that Xandr requires at least one selected geo targeting criteria when using Augmented line items.

You can use our geo targeting features in the Media Configuration to change this or enhance your AdSpec definition, to automatically use certain geo targeting for each Campaign Item related to that product.

See also our wiki for more information: 7.3.8.3 Augmented Line Items

"Id: SYNTAX, Message: revenue_value must be between 0 and 999 (in USD), inclusively"

The Revenue Value you are trying to set for your Item is either too high or low. The revenue value in Xandr represents, the price charged per sold unit (for example a CPM rate) and can be used to prioritize delivery. In ADvendio we use to map Campaign Item prices or specific fields to map this information.

Please check the pricing information on your Campaign Item. The revenue value we send to Xandr either is calculated based on the Amount N2 or Amount N3 of your Campaign Item OR there is a specific field: AdServer Price used for this.

Please see the configuration on your connection record to find out what is used.

More information can be found here: 7.3.1.2 Submit Prices to the AdServer

Id: SYNTAX, Code: ALI_CREATIVE_AD_TYPE_MISMATCH, Message: Creative cannot be associated to a line item with a different value for 'ad_type'

Id: SYNTAX, Code: CREATIVE_LI_AD_TYPE_MISMATCH, Message: The 'ad_type' for the Line Item and Creative must match"

Each Xandr Item has Line Item Ad Type, like Banner, Video, Native, ect. . This steers what kind of creatives you can assign to this item.

When you get this error during Submit to AdServer, most likely the type you set up in ADvendio is not matching with what is set in Xandr and your item in Xandr already is assigned to Creatives.

This usually happens when you manually assign creatives within Xandr and thus change your Line Item Ad Type.

You are able to set the AdType in Xandr, by using the field Product Type in ADvendio, which can be found on the Campaign Item and Ad Type object.

[AdType] How to configure formats for your Xandr related products

4.2.5.6 How to overwrite Item Type and Goal settings from your Ad Type on Campaign Items(Ad Type, Goal Type, Goal Percent / Quantity)

Please make sure the value in ADvendio matches your setting in Xandr.

Id: SYNTAX, Code: INVALID_TYPE, Message: field 'type' is required

For Guaranteed Augmented Line Item (GDALI) bookings into Xandr *Mandatory
To define in the Ad Type > AdServer information > Delivery Type field if they have an Impression or Share of Voice (Exclusive) goal. This is usually referred to as Type in Xandr.

If this setting is missing or invalid in ADvendio, you can receive such a error message.

To fix this problem, please check your Delivery Type settings on the Ad Type object.

[AdType] How to configure formats for your Xandr related products

(No Ad Server Specified or it is inactive: null)

Our Gateway can not find which AdServer it needs to communicate with. The Item you're using is maybe not connected to an AdServer.

Check two things:

For your campaign item, has the connected AdType an AdServer Login entered?

If that is true, is the AdServer Login in ADvendio set to active? If inactive it will be ignored from our Gateway.

Id: SYNTAX, Code: CANNOT_CHANGE_INTERVAL_VALUES, Message: cannot change start_date on interval with start date in past, or end_date if end date is passed

Changing start dates of a Campaign Item in Advendio when the campaign has already started and then submitting these changes to the AdServer.

Xandr as an AdServer cannot change a start date on interval when the start date is in past, or the end date is passed.

Id: SYNTAX, Code: INVALID_BUDGET_INTERVALS, Message: daily_budget type must match lifetime_budget type

When the Secondary Goal Type options are not properly configured

Enter a GDALI/ALI Campaign Item > if the Secondary Goal Type option is “Custom pacing” on an AdType level the Secondary Goal Type option needs to be “none”

Id: SYNTAX, Code: INVALID_ENABLE_PACING, Message: 'enable_pacing' must be set to true when 'delivery_goal.type' is set to "impressions"

PENDING

In Campaign Item > Delivery Type > Set to “Impressions”

Id: SYSTEM, Message: flat fee requires start_date and end_date value set on line item

PENDING

Change AdType needs to be Guaranteed, Augmented or Guaranteed Augmented
Billing category needs to be CPM

Id: SYNTAX, Code: INCOMPATIBLE_LI_BUDGET_INTERVALS_TO_IO, Message: Line Item Flight Start and End Dates do not fall within Insertion Order Billing Periods

Start date of one or more Campaign Items are in the past

In Campaign Item > From (Date) > update date accordingly so the campaign has a start date of today or in the future

Id: SYNTAX, Code: INPUT_TOO_LONG Message: advertiser billing_name must be between 1 and 50 characters long

Xandr's API requires that the advertiser's billing name be between 1 and 50 characters long when submitting a campaign item. However, the field in Xandr's documentation is actually 100 characters long.

Limit advertiser's billing name to 50 characters and truncate longer names

Id: SYNTAX, Code: CANNOT_CHANGE_INTERVAL_VALUES, Message: cannot change start_date on interval if start date is in the past

PENDING

PENDING

Id: SYNTAX, Message: Non-Default splits must have at least one condition.

PENDING

PENDING

...

$.RTBAttributes.MaxBidCPM.Amount: Error deserializing the request as JSON: The value {null} is not valid for this property.

No values in the “Base Bid” and “Max Bid” fields

Add values accordingly to both fields

When Pacing mode is Off, (all flights of) the Paused campaign must have one of DailyBudget or DailyBudgetInImpressions set.

Nor Pacing mode or DailyBudget/Impressions has been added

Select a Pacing Mode, if ‘Pace to daily limit’ is selected remember to add a Daily Budget to the Buying item

$.AdvertiserId: The property ‘AdvertiserId’ may not be set to Paused null. & $.CampaignFlights[0].EndDateExclusiveUTC: Specified date must be valid and occur in the future

Advertiser not properly mapped. End date in the past

Set up an Advertiser correctly to a valid Connection ID. Check end dates of Buying order/Items to be in the future

Pace to daily limit was selected so Budget Amount (Daily) is mandatory and cannot be empty

‘Pace to daily limit’ is selected and no Daily Budget is assigned to the Buying item

Add a Daily Budget to the Buying item

Web Service Exception: Missing Query ID for TOTAL interval, please check the Additional Delivery Report settings in your thetradedesk connection Error processing result lines: Empty response from service

No AdditionalDeliveryReportSettings or Query ID is present for one or all the options needed (Daily, Monthly, and Total) to generate the report

Case #1: Go to AdditionalDeliveryReportSettings in your connection and create the missing one(s) (Daily, Monthly or Total)

Case #2: Go to the AdditionalDeliveryReportSettings and check on each one of them that QueryID has the Template ID value from The Trade Desk report template.

Info

To resolve common issues and find solutions for error messages, check out section 7.8 Troubleshooting Error Messages: Resolving Common Issues and Solutions.