AdStoreLocations

AdStoreLocation

KeyTypeDescription
storeNamestringA List of adIds
addressaddressStore location metadata
phoneNumberstringMerchant location phone number
distancedoubleDistance the merchant is located at from the user’s current location in meters
latitudedoubleMerchant location latitude
longitudedoubleMerchant location longitude

Address

KeyTypeDescription
addressLine1stringMerchant address line 1
addressLine2stringMerchant address line 2
citystringMerchant location city
statestringMerchant state
postalCodestringMerchant postal code
CountrystringMerchant country

"adStoreLocations": {
        "5640760944": [
            {
                "storeName": "Mcdonalds",
                "address": {
                    "addressLine1": "123 Front St",
                    "addressLine2": "Suite 1",
                    "city": "San Francisco",
                    "state": "CA",
                    "postalCode": "94105",
                    "country": "US"
                },
                "phoneNumber": "123-456-7890",
                "distance": 1345.34,
                "latitude": 37.7749,
                "longitude": 122.4194
            },
            {
                "storeName": "Mcdonalds",
                "address": {
                    "addressLine1": "124 Front St",
                    "addressLine2": "Suite 11",
                    "city": "San Francisco",
                    "state": "CA",
                    "postalCode": "94115",
                    "country": "US"
                },
                "phoneNumber": "123-456-7890",
                "distance": 1000.23,
                "latitude": 37.7749,
                "longitude": 122.4194
            }
        ],
        "15640760334": [
            {
                "storeName": "Dunkin",
                "address": {
                    "addressLine1": "1240 Front St",
                    "addressLine2": "",
                    "city": "San Francisco",
                    "state": "CA",
                    "postalCode": "94101",
                    "country": "US"
                },
                "phoneNumber": "123-456-7291",
                "distance": 346,
                "latitude": 15.7749,
                "longitude": 102.4194
            }
        ]
    }
}