Bidding denomination is inconsistent

target-bidding

#1

Hello,
While attempting to create line items we’ve run into an issue.
When we attempt to create a line item, we received the following error:
{“errors”:[{“code”:“INVALID_DENOMINATION”,“message”:“Invalid amount 55000 for bid_amount_local_micro: currency USD only allows precision to 100000000 (2 currency decimal places)”,“attribute”:“bid_amount_local_micro”}],“request”:{“params”:{“name”:"…",“placements”:[“ALL_ON_TWITTER”],“bid_amount_local_micro”:55000,“product_type”:“PROMOTED_TWEETS”,“objective”:“WEBSITE_CLICKS”,“entity_status”:“PAUSED”,“account_id”:"…",“campaign_id”:"…"}}}

However, when we query the bid denomination for USD, we get the following response:
{“currency”:“USD”,“minimum_cpe_bid_local_micro”:10000,“maximum_cpe_bid_local_micro”:1000000000,“minimum_denomination”:10000}

So what is the actual required denomination? How do we resolve this issue?
Thank you!


#2

The INVALID_DENOMINATION error code is returned because the request value for bid_amount_local_micro=55000 is smaller than the USD precision amount.

currency USD only allows precision … (2 currency decimal places)

As the query for the bid denomination shows, the smallest bid micro is 10000 which represents two decimal places as $0.01. Setting 55000 attempts to set the bid to $0.055 and is not valid. The solution would be to either use 50000 or round up to 60000.

It also appears that the error message is incorrect. It should return Invalid amount 55000 for bid_amount_local_micro: currency USD only allows precision to 10000 (2 currency decimal places)


closed #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.