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

DeploymentAPI: isPrimary field is false in getAds response for a primary BA/BL

    Details

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

      QA2

    • Sprint:
      Sprint 8

      Description

      Steps:
      -------
      1. Deploy an order to Facebook through external API

      Endpoint: https://orange.admaxlocal.com/deploymentapi/deployments/2f5f5f4f-1355-46ad-99bc-b55afa405ce2

      2. Get order details after successful deployment.

      Endpoint: https://orange.admaxlocal.com/deploymentapi/deployments/2f5f5f4f-1355-46ad-99bc-b55afa405ce2

      Response:

      {
      "deploymentId": "67ab918f-88e1-455f-9d6c-abe477e69823",
      "state": "PROCESSED",
      "merchantUuid": "2f5f5f4f-1355-46ad-99bc-b55afa405ce2",
      "name": "quote Name",
      "comments": "This is Comment section",
      "primaryDestinationUrl": "http://www.merchantsite.com",
      "campaignList": [ {
      "baId": 10002,
      "locationId": 12542,
      "distribution": "FACEBOOK",
      "isPrimary": true,
      "ads": [
      {
      "id": "5b989a20-36b9-4d2f-87cd-564f9a7734ef",

      3. Get ads using the following endpoint,

      Endpoint: https://orange.admaxlocal.com/deploymentapi/deployments/2f5f5f4f-1355-46ad-99bc-b55afa405ce2/ads

      Response:

      {
      "results": [ {
      "baId": 10002,
      "locationId": 12542,
      "isPrimary": false,
      "adType": "SOCIAL_NETWORK",
      "ads": [
      {
      "id": "5b989a20-36b9-4d2f-87cd-564f9a7734ef",

      Problem: In the above response isPrimary field is false. It should come as true.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: