Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-5200

External API: Order is going to Error state if adType mentioned in deployment request

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: Zeus
    • Fix Version/s: Zeus
    • Component/s: None
    • Labels:
      None
    • Environment:

      QA2

    • Sprint:
      Sprint 11

      Description

      Steps:
      --------
      1. Create a deployment request as follows, mention adType in the request,

      {
      "merchantUuid": "101d76c9-7a0f-4996-9bd5-795192aaf582",
      "primaryDestinationUrl": "http://www.merchantsite.com",

      "name": "Test",
      "comments": "This is Comment section",
      "campaignList": [

      { "baId": 10002, "locationId": 12542, "distribution": "GOOGLE", "isPrimary": "true", "adType": "SEARCH_ENGINE" }

      ],
      "distributionBudgets": [

      { "monthlyBudget": 125, "distribution": "GOOGLE" }

      ]
      }

      2. Deploy the order through External API.

      Issue: Order is going to Error state. Without adType in the request deployment is working fine.

      Seeing the following response to the ADS request in the Jboss log.

      <resultCode>failure</resultCode><resultString>all non-deleted campaigns for the customer must be included in the request; please add the missing ones or delete them first (via updateCampaignStatus) then re-submit request</resultString>

      See the complete attached Jboss log.

        Attachments

          Activity

            People

            • Assignee:
              Madhan Madhan Pulipati [X] (Inactive)
              Reporter:
              Madhan Madhan Pulipati [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: