Details
- 
    Type:Bug 
- 
    Status: Resolved
- 
    Priority:Major 
- 
    Resolution: Incomplete
- 
    Affects Version/s: unspecified
- 
    Fix Version/s: None
- 
    Component/s: Yahoo
- 
    Labels:None
- 
    Environment:Operating System: Windows XP 
 Platform: PC
- 
        Bugzilla Id:3610
Description
--------------------------------------------------
Project: Yahoo API.
Component Used: ./seupdate.sh
Build: tsa-build-bidmgr-2010-03-08-p9-r25155
--------------------------------------------------
   Executing the SE Updater with the arguments " -K --accounts --groups
--listings" for the seuser id 445 syncs deleted accounts but the modifications
made to campaign before deleting are not updated.
Steps to reproduce:
1. Log into Yahoo Online Marketing using the valid credentials. (Logs into
Cellular Safety Commission account in this case.)
2. Create a campaign,create adgroup,keywords ,an ad under it ,set the "daily
campaign spend limit" to $5 and sync (Campaign used here:
'Testing-Delcamp2',assigned it to the account id '17' and set 'enable' to 'true' )
3. Now edit the campaign in the Yahoo Portal ,change the "daily campaign spend
limit" to $4,save it and then DELETE the account.
4. Now run the seupdater with the following arguments and observe the output:
        ./seupdate.sh  -d3 --seuser 445 -K --accounts --groups --listings >&
/tmp/PN/Updatedelaccount1.log
Expected Result:
  The output of the script shows that the deleted accounts has been synced and
hence the value of the column 'budgetAmount'
(Table:tsacommon.searchEngineAccounts) for the campaign 'Testing-Delcamp2'
should be 4
Actual Result:
  Thought the deleted campaign is synced, the changes made to to its daily
spending limit is not updated in the table (Table:tsacommon.searchEngineAccounts).
> Attaching the log file for the command  "./seupdate.sh  -d3 --seuser 445 -K
--accounts --groups --listings >& /tmp/PN/Updatedelaccount1.log".
>Also attaching the snapshots of the daily spending limit value in the
"tsacommon.searchEngineAccounts" table and Yahoo Portal

