Uploaded image for project: 'SMB - Optus'
  1. SMB - Optus
  2. OPTUS-60

OPTUS_deployCustomerCampaign: Brand Campaign request gets deployed successfully although NO default campaigns exist for a customer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Labels:
      None
    • Environment:

      Description

      Brand Campaign request gets deployed successfully although NO default campaigns exists for a customer

      1.Deploy ADS/SGS for a customer - deletecamp3 ( requests are attached)

      2.Login to Brand Campaign UI for customer- deletecamp3

      3.Generate Ads and create keywords and click SAVE CHANGES.

      4.Brand Campaign has deployed and reflected in Search Engine.

      rom clients.externalCampaign where id = ?]
      2012-07-19 21:12:57.081 (3) [pool-3-thread-21]: Finished DEPLOY request for campaign deletecamp3_2000062_10000_deletecam3_GM: SUCCEEDED
      2012-07-19 21:12:57.081 (4) [pool-3-thread-21]: preparing SQL statement [select id, externalCampaignParentID, gceCampaignID, searchEngineAccountID, accountID, enabled from clients.externalCampaign where id = ?]
      2012-07-19 21:12:57.082 (3) [pool-3-thread-21]: Finished DEPLOY request for campaign deletecamp3_2000062_10000_deletecam3_GT: SUCCEEDED
      2012-07-19 21:12:57.082 (4) [pool-3-thread-21]: preparing SQL statement [select id, externalCampaignParentID, gceCampaignID, searchEngineAccountID, accountID, enabled from clients.externalCampaign where id = ?]
      2012-07-19 21:12:57.083 (3) [pool-3-thread-21]: Finished DEPLOY request for campaign deletecamp3_2000062_10000_deletecam3_MO: SUCCEEDED
      2012-07-19 21:12:57.083 (4) [pool-3-thread-21]: preparing SQL statement [select id, externalCampaignParentID, gceCampaignID, searchEngineAccountID, accountID, enabled from clients.externalCampaign where id = ?]
      2012-07-19 21:12:57.084 (3) [pool-3-thread-21]: Finished DEPLOY request for campaign deletecamp3_0_0_deletecamp3-1_BRAND: SUCCEEDED

      5.Now delete the Campaign using request;

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adm="http://www.thesearchagency.com/AdMaxDeploymentService/">
      <soapenv:Header/>
      <soapenv:Body>
      <adm:updateCampaignStatusRequest>
      <header>
      <requestID>1</requestID>
      </header>
      <customerID>deletecamp3</customerID>
      <!-1 or more repetitions:->
      <campaignStatusList>
      <campaignID>deletecam3</campaignID>
      <campaignStatus>terminated</campaignStatus>
      </campaignStatusList>
      </adm:updateCampaignStatusRequest>
      </soapenv:Body>
      </soapenv:Envelope>

      response shows:

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
      <ns2:updateCampaignStatusResponse xmlns:ns2="http://www.thesearchagency.com/AdMaxDeploymentService/">
      <header>
      <requestID>1</requestID>
      </header>
      <customerID>deletecamp3</customerID>
      <campaignResult>
      <campaignID>deletecam3</campaignID>
      <result>
      <resultCode>success</resultCode>
      <resultString>Information: [deletecam3_GM:SUCCEEDED] [deletecam3_GT:SUCCEEDED] [deletecam3_MO:SUCCEEDED]</resultString>
      </result>
      </campaignResult>
      </ns2:updateCampaignStatusResponse>
      </soap:Body>
      </soap:Envelope>

      6. Refresh Google Adwords - Campaigns are deleted.

      7.Now send request through soap request

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:core="http://thesearchagency.com/smb/core">
      <soapenv:Header/>
      <soapenv:Body>
      <core:deployCustomerCampaign>
      <!-Optional:->
      <entityID>503</entityID>
      <!-Optional:->
      <customerCampaignID>245</customerCampaignID>
      <!-Optional:->
      <redeployDeletedCampaign>
      <!-Optional:->
      <triggerRedeploy>?</triggerRedeploy>
      <!-Optional:->
      <namingIteration>?</namingIteration>
      </redeployDeletedCampaign>
      </core:deployCustomerCampaign>
      </soapenv:Body>
      </soapenv:Envelope>

      Response shows its queued and listener log shows

      2012-07-19 21:19:59.001 (4) [pool-3-thread-23]: time=0.0010
      2012-07-19 21:19:59.001 (4) [pool-3-thread-23]: Query executed in 0.001s
      2012-07-19 21:19:59.001 (4) [pool-3-thread-23]: test query succeeded, returned "5.1.60-rel13.1"
      2012-07-19 21:19:59.001 (3) [pool-3-thread-23]: Finished DEPLOY request for campaign deletecamp3_0_0_deletecamp3-?_BRAND: SUCCEEDED

      .
      .
      .
      2012-07-19 21:19:59.003 (4) [pool-3-thread-23]: test query succeeded, returned "5.1.60-rel13.1-log"
      2012-07-19 21:19:59.003 (3) [pool-3-thread-23]: Brand CampaignID [deletecamp3-?_BRAND] result: DeployResult [theDeployStatus=SUCCEEDED, theResultInfos=[]] (appender: null
      2012-07-19 21:19:59.003 (3) [pool-3-thread-23]: Brand CampaignID [deletecamp3-?_BRAND] result: DeployResult [theDeployStatus=SUCCEEDED, theResultInfos=[]] (appender: [deletecamp3-?_BRAND:SUCCEEDED]

        Attachments

          Activity

            People

            • Assignee:
              caitlyn Caitlyn Duggan (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: