List SBA Profile for Campaign

Retrieve a specific Sponsored Brands profile for a specific campaign by providing campaign ID and ad group ID.

You can retrieve only enabled Sponsored Brands profile by using URL v1. Using v2 URL, you can retrieve both the enabled and disabled profiles, in case you have created two profiles for the ad group.

🌐

v1 URL: ​GET/api/v1/sba_profile

Query Parameters

ParameterDescriptionTypeRequiredPossible Values
campaignIdThe ID of the campaign for which the Sponsored Brands Profile is retrievedintegerYA valid campaign ID
adGroupIdThe ID of the ad group belonging to this campaignintegerYA valid ad group ID

Sample Request

curl -X GET \ 'https://developer.api.stg.walmart.com/api-proxy/service/WPA/Api/v1/api/v1/sba_profile?campaignId=600001&adGroupId=500003' \
--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' \
--header 'accept: application/json' \ 

Response

ElementDescriptionType
searchAmpNameThe name of the Brandstring
headlineTextCustom headline text showcasing why customers should buy your productsstring
logoUrlThe direct link that is embedded in the logostring
clickUrlThe destination URL or landing page URL. It is the website address that a visitor goes to when he/she clicks on the ad. Clickable 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
string
reviewStatusThe current status of Sponsored Brands Profile review performed by Ad Ops team. Possible values of reviewStatus are: pending, approved, rejectedstring
reviewReasonIf value of reviewStatus is rejected, you will receive the reason for why it was rejected. Example: Invalid logo
Note: Value of reviewReason is “null” when reviewStatus is pending.
string
sbaProfileIdId of the Sponsored Brands profileinteger

Sample Response

[ { "searchAmpName": "Pepsi", "headlineText": "The coolest cold drink", "logoUrl": "logo URL", "clickUrl": "https://www.walmart.com", "reviewStatus": "pending", "reviewReason": null, "sbaProfileId": 50001 }
]
[ { "searchAmpName": "Pepsi", "headlineText": "The coolest cold drink", "logoUrl": "logo URL", "clickUrl": "https://www.walmart.com", "reviewStatus": "rejected", "reviewReason": "Invalid Logo", "sbaProfileId": 50001 }
]

🌐

v2 URL: ​GET/api/v2/sba_profile

Query Parameters

ParameterDescriptionTypeRequiredPossible Values
campaignIdThe ID of the campaign for which the Sponsored Brands Profile is retrievedintegerYA valid campaign ID
adGroupIdThe ID of the ad group belonging to this campaignintegerYA valid ad group ID

Sample Request

curl -X GET \ 'https://developer.api.stg.walmart.com/api-proxy/service/WPA/Api/v1/api/v2/sba_profile?campaignId=600001&adGroupId=500003' \
--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' \
--header 'accept: application/json' \ 

Response

Element DescriptionType
searchAmpNameThe name of the Brandstring
headlineTextCustom headline text showcasing why customers should buy your productsstring
logoUrl  The direct link that is embedded in the logostring
clickUrlThe destination URL or landing page URL. It is the website address that a visitor goes to when he/she clicks on the ad.Clickable 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
string
reviewStatusThe current status of Sponsored Brands Profile review performed by Ad Ops team. Possible values of reviewStatus are: pending, approved, rejectedstring
reviewReasonIf value of reviewStatus is rejected, you will receive the reason for why it was rejected. Example: Invalid logo
Note: Value of reviewReason is “null” when reviewStatus is pending.
string
sbaProfileId  Id of the enabled Sponsored Brands profileinteger
statusIndicates if a profile is activated to servestring

Sample Response

[ { "searchAmpName": "Pepsi", "headlineText": "The coolest cold drink", "logoUrl": "logo URL", "clickUrl": "https://www.walmart.com", "reviewStatus": "pending", "reviewReason": null, "sbaProfileId": 50001, "status": "enabled" }
]
[ { "searchAmpName": "Pepsi", "headlineText": "The coolest cold drink", "logoUrl": "logo URL", "clickUrl": "https://www.walmart.com", "reviewStatus": "rejected", "reviewReason": "Invalid Logo", "sbaProfileId": 50001, "status": "disabled" }
]