Details
-
Type: Bug
-
Status: Open
-
Priority: Trivial
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: AML Backlog
-
Component/s: None
-
Labels:None
-
Environment:
QA2
Description
Steps:
---------
1. Login to mysql database.
2. change the bid value to 1001 for a BA(eg: Hotels) in mms_common.businessAreas.
3. Login to Reseller UI.
4. Create a merchant and save it.
5. Create an order for the above merchant with the BA for which bid value is changed(eg: Hotels)
6. Deploy the order only to Bing.
7. Order will fail due to high bid value (max allowed bid value is 1000).
8. Verify the listener log for the Error details.
Issue: Error information says it as Google API Error. But, I haven't deployed the order to Google. See the below log snippet.
2020-07-03 05:15:50,511 [pool-19-thread-1] INFO c.t.s.bing.BingAccountDeployer - Created Bing campaign structure for accountID 997
2020-07-03 05:15:50.511 (3) [pool-19-thread-1]: Completed Bing Create Campaign Worker..
2020-07-03 05:15:50.526 (2) [pool-3-thread-2]: Budget (0.022) is less than min CPC bid (0.05), using the min CPC for the initial bid in the admaxBids table
2020-07-03 05:15:50.527 (2) [pool-3-thread-2]: Budget (0.022) is less than min CPC bid (0.05), using the min CPC for the initial bid in the admaxBids table
2020-07-03 05:15:50,539 [pool-3-thread-2] INFO jdbc.sqlonly - SELECT `errors`.`errorJson` FROM `campaigns` JOIN `errors` ON `errors`.`campaignName` = `campaigns`.`name`
WHERE `campaigns`.`id` IN (93497)
2020-07-03 05:15:50.549 (2) [pool-3-thread-2]: Error: CampID: 15233_GM Info: [[Google API error, type=AdGroup, errorCode=1516, errorText=CampaignServiceBidAmountsGreaterThanCeilingPrice, reason=Bid amounts are greater than ceiling price., field=]
2020-07-03 05:15:50.549 (2) [pool-3-thread-2]: 15233_GM has 1 distinct deployment errors.
2020-07-03 05:15:50,553 [pool-3-thread-2] INFO jdbc.sqlonly - SELECT `errors`.`errorJson` FROM `campaigns` JOIN `errors` ON `errors`.`campaignName` = `campaigns`.`name`
WHERE `campaigns`.`id` IN (93496)
2020-07-03 05:15:50.556 (2) [pool-3-thread-2]: Error: CampID: 15233_GT Info: [[Google API error, type=AdGroup, errorCode=1516, errorText=CampaignServiceBidAmountsGreaterThanCeilingPrice, reason=Bid amounts are greater than ceiling price., field=]
2020-07-03 05:15:50.556 (2) [pool-3-thread-2]: 15233_GT has 1 distinct deployment errors.
2020-07-03 05:15:50.558 (3) [pool-3-thread-2]: Finished DEPLOY request for campaign 210f234a-570a-4d49-9933-2c32952f2a79_10002_12542_15233_GT: FAILED (merchant: 210f234a-570a-4d49-9933-2c32952f2a79)
2020-07-03 05:15:50.558 (3) [pool-3-thread-2]: Finished DEPLOY request for campaign 210f234a-570a-4d49-9933-2c32952f2a79_10002_12542_15233_GM: FAILED (merchant: 210f234a-570a-4d49-9933-2c32952f2a79)
Attached the complete listener log file and database table screenshots.
Note: Deployment code is checking for GCE Errors even in case of Bing deployments. Hence, the Error information is incorrect. We should not check GCE Errors in case of Bing deployment.