Details
- 
    Type:Bug 
- 
    Status: Closed
- 
    Priority:Major 
- 
    Resolution: Fixed
- 
    Affects Version/s: PatchFix201402
- 
    Fix Version/s: AdWords v201309
- 
    Component/s: None
- 
    Labels:None
- 
    Environment:ST2 
 SMS-CORE TRUNK: P96
- 
        Sprint:Sprint 1 - Adwords Upgrade
Description
For the following redeploy scenario text ads are getting deleted.
Steps to Reproduce.
1. Deploy a Bing account with Paused status using Production build.
2. Re-deploy the account with  Production build.
-After redeploy Pending changes will be there in bce_textAdPendingChange table. (refer bce_textAdPendingChange-BeforeRedployWithNewBuild.txt)
-Additional text ads entry added in to bce_textAd with searchEngineIdentifier as NULL (refer bce_textAd-BeforeRedployWithNewBuild.txt)
Adcenter screenshot:BeforeRedeployWithErrorDuingUpdateBuild.jpg
3. Place the Error During Update Fix build.
4. Re-deploy with Error During Update Fix build
   -Pending changes are cleared from bce_textAdPendingChange table
mysql> select * from  bce_textAdPendingChange;
Empty set (0.00 sec)
-text ads entry are deleted from bce_textAd table and bce_textAd tables has only the entry which has searchEngineIdentifier as NULL. (refer bce_textAd-AfterRedployWithNewBuild.txt)
Adcenter Screenshot:AfterRedeployWithErrorDuingUpdateBuild.jpg
Actual Result: Text ads getting deleted in bing Adcenter and bce_textAd table.
Expected Result: Text ads should not be deleted in bing Adcenter and bce_textAd table.

