Create Brand Asset

📘

URL: POST /api/v1/brand_assets

Note: If you are a 3P seller trying to create a Brand Asset, you need to have an accepted brand registered in the Walmart brand portal. Including brands that are not approved will result in an error

Query Parameters

ParameterDescriptionTypeRequiredPossible Values
advertiserIdAdvertiser IdstringYUnique advertiser ID

Request Parameters

ParameterDescriptionTypeRequiredPossible Values
brandAssetNameBrand name to be updatedstringYThe name of the brand asset
promotedBrandBrand that will be shown in the ad as “Sponsored by brand”stringYValid brand name
Note: The character limit is 35 characters
associatedBrandsAll brands to feature in your Sponsored Brands adstringYValid brand name
Note: The character limit is 255 characters
headlineTextCustom headline text showcasing why customers should buy your products.
This is for the promoted brand.
stringYPiece of text that explains your brand value with the following constraints:
  • Maximum 45 characters
  • It is recommended to NOT use all special characters in this field
clickUrlThe destination URL or landing page URL. It is the website address that a visitor lands on when he/she clicks on the adstringYClickable URL must be https://www.walmart.com URL that displays product(s) for the advertised brand. It can be either of:
  1. Search Page
  2. Browse Page
  3. Brand Shop
  4. Brand Shelf

clickUrl requirements:
  1. Any “:” in the URL should be replaced with “%3A”
  2. Any “+” in the URL should be replaced with “%20″
  3. Any “||” in the URL should be replaced with “%7C%7C”
  4. URL query string should not contain “typeahead=” parameter

Headers

Header NameDescriptionRequiredValues
AuthorizationThe token will provide you the access to the API. It is same for all advertisers you access through the API.YPlease utilize the generated auth_token shared with you at the time of partner onboarding from the Getting Started Guide
WM_CONSUMER.IDWe will provide you the consumer ID to access the API. It is same for all advertisers you access through the API.   YPlease use the generated ConsumerId shared with you at the time of partner onboarding. Refer to the Getting Started Guide for more information
WM_SEC.AUTH_SIGNATUREAuth signature as an API key.YUse the signature generator code from Getting Started Guide to generate this value
WM_SEC.KEY_VERSIONWe will provide you with the KEY VERSION to access the API. It is same for all advertisers you access through the API.Y1
WM_CONSUMER.intimestampTimestamp for which the auth signature is generated. Use Unix epoch format for the timestamp.YUse the signature generator code from Getting Started Guide to generate this value

Sample Request

curl -X POST \ 'https://developer.api.stg.walmart.com/api-proxy/service/WPA/Api/v1/api/v1/brand_assets?advertiserId=400001' \ --header 'accept: application/json' \ --header 'Authorization: Bearer <auth_token>' \ --header 'WM_SEC.AUTH_SIGNATURE: ***********' \ --header 'WM_SEC.KEY_VERSION: 1' \  --header 'WM_CONSUMER.ID: adfwe-v23-faasd2r-afs-asdfqeff' \ --header 'WM_CONSUMER.intimestamp: 1565309779' \ --data '[ { "brandAssetName": "Brand Name to be updated", "promotedBrand": "main brand", "associatedBrands": ["brand1", "brand2"], "headlineText":"Example Headline Text", "clickUrl":"https://www.walmart.com/2" }
]' 

Response

ParameterDescriptionType
brandAssetIDID of the newly created brand assetinteger
codeStatus of the brand asset request, either success or failurestring
detailsAdditional details if code is failurestring

Sample Response

[ { "brandAssetId": 6000000, "code": "success", "details": "" }
]