Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: Fuji
-
Fix Version/s: Fuji
-
Component/s: Admax (bidding/budgeting)
-
Labels:None
-
Environment:
Sapi – RC - Build 836
Reseller UI – RC - Build 216
Core – Build 254
BidMgr – Build 482
-
Sprint:Sprint 10
Description
sebidupdater.sh throws error when it tries to send bids > acual budget value
NewBid value in `st-tracker`.admaxBids is 500 for both GT and GM
Budget value from `st-tracker`.admaxSearchEngineAccountActualDailyBudgets is 471.28 and 388.72 for GT and GM respectively.
On running sebidupdater.sh "OVER_BUDGET_AMOUNT" error is logged,
<ns1:operationSucceeded>false</ns1:operationSucceeded>
<ns1:error>
<ns1:code>10601</ns1:code>
<ns1:message>OVER_BUDGET_AMOUNT</ns1:message>
<ns1:detail>
<ns1:requestKey>bid/keywordMaxCpc</ns1:requestKey>
<ns1:requestValue>389</ns1:requestValue>
</ns1:detail>
</ns1:error>
</ns1:values>
</ns1:rval>
</ns1:mutateResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
2014-11-05 10:56:38,505 [P1T1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - ******* Error *******
2014-11-05 10:56:38,505 [P1T1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - code = 10601
2014-11-05 10:56:38,505 [P1T1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - message = OVER_BUDGET_AMOUNT
2014-11-05 10:56:38,506 [P1T1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - ******* Error Detail *******
2014-11-05 10:56:38,506 [P1T1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - request key = bid/keywordMaxCpc
2014-11-05 10:56:38,506 [P1T1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - request value = 389
2014-11-05 10:56:39,414 [P1T1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - ******* Error *******
2014-11-05 10:56:39,414 [P1T1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - code = 10601
2014-11-05 10:56:39,414 [P1T1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - message = OVER_BUDGET_AMOUNT
2014-11-05 10:56:39,414 [P1T1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - ******* Error Detail *******
2014-11-05 10:56:39,414 [P1T1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - request key = bid/keywordMaxCpc
2014-11-05 10:56:39,414 [P1T1] DEBUG c.t.s.c.yahoojapan.util.SoapUtils - request value = 471
2014-11-05 10:56:39.418 (3) [P1T1]: Updated rows (2) matched the number of pending updates (2)
2014-11-05 10:56:39.419 (3) [P1T1]: Completed User (595) "68e53050-11d5-4374-8183-5ba02d5b37c8_1"
2014-11-05 10:56:39.419 (3) [main]: ------------Search Engine Bid Updater done
`st-tracker`.admaxBids table has the actual budget set in currentBids column where as it is not set in Yahoo. Yahoo has the old bids set.
(screen shot attached)
SELECT * FROM `st-tracker`.admaxBids WHERE accountID=321
accountID elementType elementID currentBid currentBidSetDate newBid newBidSetDate retryCount
321 searchEngineAccount 1109 471.28 2014-11-05 \N \N 0
321 searchEngineAccount 1110 388.72 2014-11-05 \N \N 0