Skip to main content

AdSet Details Metrics

This section provides detailed information about AdSet Details Metrics report in Retail Media.

Overview

AdSet Details Metrics provide insights into the performance of individual ad sets within your campaigns. These metrics help you track and analyze the effectiveness of your advertising sets across various placements and products.

API Endpoint

Method: GET

URL: https://<PA_RM_END_POINT>/retail-media/supplier/{supplierId}/retailers/{retailerId}/campaign/{campaignId}/adset-details-metrics

info

Please refer to the Supplier API documentation for detailed instructions on how to retrieve the supplierId, Retailer API for retailer and Campaign API for campaign.

Request Header

NameValue
Content-Typeapplication/json
AuthorizationBearer ACCESS_TOKEN
info

Please refer to the Authentication API documentation for bearer token.

Request Parameters

ParameterTypeDescription
retailerIdstringGet the retailer ID from the Retailer API
supplierIdstringGet the supplier ID from the Supplier API
campaignIdstringGet the campaign ID from the Campaign API

Response Payload

Success Response

  • Status Code: 200 OK
  • Payload: Returns list of ad sets with their metrics in JSON format
{
"status": "Success",
"message": "Data retrieved successfully",
"errorCode": "",
"data": {
"adSets": [
{
"name": "ADSET 111",
"version": "1",
"placements": [
{
"name": "ADSET 111 > PLACEMENT 111",
"products": [
{
"name": "PRODUCT NAME > 1",
"link": "https://www.xxx-xxx.com.au/PRODUCT_NAME_1",
"impressions": "2",
"roas": "0.00x",
"clicks": 0,
"amountSpent": 0,
"avgCPC": 0,
"sponsoredUnitsSold": 0,
"attributedRevenue": 0
}
]
}
]
}
]
},
"metadata": {
"requestId": "2c96811e-af4c-410e-9b31-6d3025973805",
"timestamp": "2025-04-07T04:54:59.7896246Z"
}
}

Available Metrics

The AdSet Details Metrics API provides comprehensive data about your ad sets, including performance indicators and financial metrics. Here's a detailed breakdown of the available metrics:

MetricDescriptionType
nameName of the ad setstring
versionVersion of the ad setstring
placementsArray of placements within the ad setarray
productsArray of products within each placementarray
impressionsNumber of times the product was displayedstring
roasReturn on ad spend (ROAS) for the productstring
clicksNumber of clicks receivedinteger
amountSpentTotal amount spent on the productdecimal
avgCPCAverage cost per clickdecimal
sponsoredUnitsSoldNumber of units sold through sponsored adsinteger
attributedRevenueRevenue attributed to the sponsored productdecimal

Understanding the Metrics

The AdSet Details Metrics provide insights into various aspects of your ad set performance:

Performance Metrics

  • Impressions: Total number of times your products were displayed
  • Clicks: Total number of clicks received
  • CPC (Cost per Click): Average cost for each click
  • ROAS (Return on Ad Spend): Return on investment for the product

Sales Metrics

  • Sponsored Units Sold: Number of units sold through sponsored ads
  • Attributed Revenue: Total revenue attributed to the sponsored product

Financial Metrics

  • Amount Spent: Total amount spent on the product
  • Average CPC: Average cost per click for the product

Example Usage (JavaScript)

var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "BEARER YOUR_ACCESS_TOKEN");

var urlencoded = new URLSearchParams();

var requestOptions = {
method: 'GET',
headers: myHeaders,
body: urlencoded,
redirect:'follow'
};

fetch("https://<PA_RM_END_POINT>//retail-media/supplier/{supplierId}/retailers/{retailerId}/campaign/{campaignId}/adset-details-metrics", requestOptions)
.then(response => response.json())
.then(result => {
console.log(result);
})
.catch(error => console.log('error', error));

Best Practices

  1. Regular Monitoring: Check ad set metrics daily to ensure optimal performance
  2. Performance Analysis: Use impressions and clicks to optimize product visibility
  3. ROAS Tracking: Monitor ROAS to ensure product-level profitability
  4. Budget Management: Track amount spent against performance metrics
  5. Product Performance: Analyze which products perform best in different placements
  6. Placement Optimization: Use placement data to optimize product positioning