Upload Logo Image to Sponsored Brands Profile for Campaign
v2 URL: POST /api/v2/sba_profile_image_upload
Note:
- You can change the brand logo image if the campaign is in “proposal” state, by resubmitting POST request
- Brand logo image:
- format should be png with size ≤ 200kb
- should be 300px wide and 180px tall
- Brand name should not be more than 35 characters long
- Logo click URL must be a URL that displays product(s) for the advertised brand. It can be either of:
- Search Page
- Browse Page
- Brand Shop
- Brand Shelf
Query Parameters
| Key | Value | Notes | Type | Required |
|---|---|---|---|---|
| SBABaseProfileRequest | {"campaignId": "<CAMPAIGN_ID>",adGroupId": "<ADGROUP_ID>", "sbaProfileId": "<SBAPROFILE_ID>"} | SBABaseProfileRequest is a JSON object specifying campaignId, adGroupId and sbaProfileId. campaignId adGroupId and sbaProfileId are IDs of the campaign, ad group and Sponsored Brands Profile respectively. All these IDs are type integer | string | Y |
| file | Any image file of the format png | The binary data for the suitable image file demonstrating your brand to potential buyers. Note:
| file | Y |
Sample Request
curl --location 'https://developer.api.stg.walmart.com/api-proxy/service/WPA/Api/v1/api/v2/sba_profile_image_upload'
--header 'WM_SEC.KEY_VERSION: 1'
--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: 1741384834083'
--header 'Content-Type: multipart/form-data'
--form 'SBABaseProfileRequest="{"campaignId": "112233445566" , "adGroupId": "77777777"}"'
--form 'file=@"placeholder-address:///1eec50a0-7267-4610-b8f1-64b35fb26934"'Response
| Element | Description | Type |
|---|---|---|
| code | Possible values of response code: success, failure | string |
| details | Details of the error if value of response code is failure | string |
| sbaProfileId | ID of the Sponsored Brands profile | integer |
Sample Response
[ { "code": "success", "details": "", "sbaProfileId": 500002 }, { "code": "failure", "details": "Missing form param SBABaseProfileRequest", "sbaProfileId ": 0 }
]Updated 22 days ago
