[09448480] OpenAI Ads Events and currency’s lowest denomination

,

I’m not sure where the new OpenAI Ads pixel and conversions API questions should go?

The documentation for adding amounts to the Ads events states:

“Event-level monetary value in the currency’s lowest denomination.” - Supported events - Event data shapes

The system I work on lets you set the number of decimal places for each currency and, therefore, its lowest denomination on a per-website basis. OpenAI would not know that, so it would not know how to calculate the true amount.

How does OpenAI Ads decide the lowest denomination decimal places per currency? How do we ensure we do the same?

Hi @Tiggerito :waving_hand:

This is a good place for Ads-related questions, as long as the topic has the ads tag. If you need to share private details, please email ads-support@openai.com rather than posting API keys or full payloads here.

OpenAI Ads does not infer a website-specific decimal setting here. For amount, send an integer in the standard minor unit for the ISO 4217 currency code you provide.

For example, 12999 with currency: “USD” means $129.99. A zero-decimal currency like JPY should be sent in whole yen, and a three-decimal currency should be sent at that currency’s standard three-decimal scale.

If your platform lets each site configure its own display precision, normalize that internal value to the currency’s standard minor unit before sending the Pixel or Conversions API event.