Overview
The Events API will pass transaction events to you in near real-time. As soon as we receive a record of successful conversion from the advertiser, we pass the data in the postback. The same workflow applies to cancellations. When a customer returns or cancels a purchase, the advertiser will send us a record of this cancellation, which we also fire in the postback. The same data set is passed for cancellations, only with some values changed to indicate that the event is a cancellation.
This is the data you can expect to see changed in cancellation postbacks. Click the + sign to see the changes, if any:
YYYY-MM-DDTHH:mm:ss.SSS[+|-]Z
We highly recommend that you include at least the Sales and/or Commissions parameter when requesting a custom postback. Without the negative sales or commissions amount, it is virtually impossible to distinguish cancellation events from new conversion events.
Media Optimization Events and Batch-Tracking Advertisers
For advertisers utilizing batch-tracking, latency can be expected between when a conversion record hits our system and when the customer actually made the purchase. This is especially common for booking and travel advertisers, retailers who offer pre-orders, as well as advertisers who only report conversions when a purchase ships.
These advertisers employ the "Media Optimization Pixel" (MOP, which captures the real-time purchase as a preliminary event) so as to have an initial record of the subsequent conversion. These MOP events will be indicated as "is_event=Y" in the postback. In other words, please treat all Y records as preliminary.
When the conversion is subsequently finalized, then the postback will fire again with "is_event=N". If it's a partial return, the sales amount will only reflect the price of the returned item and not the full amount at the point of sale. All other data points will be the same, except for "etransaction_id" and "process_date".
Please note that, for real-time pixel tracking, advertisers with a Y event will be fired and followed almost immediately by a corresponding N event. Please treat the N events as finalized.
As with cancellations, we recommend including the "is_event" flag when requesting a custom postback. Excluding this flag will make it virtually impossible to distinguish preliminary events from finalized events.
For more information on this topic, see Events API Overview and Events API Common Questions.
Comments
Please sign in to leave a comment.