Channel/Campaign/Ad-set/Ad level ads attribution
/{version}/api/get/ad-analysis/listAnalyze your paid advertising performance across channels
Rate limits: 5 requests per second.
version: v2-4-2.
Request
Path Params
versionstringrequiredv2-4-2Header Params
ApiKeystringrequired{{ApiKey}}YOUR_API_KEYBody Params
application/jsonstart_datestringrequiredThe start date range of the event in ISO format, e.g. 1970-01-01, the time zone should be consistent with your store settings.
end_datestringrequiredThe end date of the event in ISO format, e.g. 1970-01-01, the time zone should be consistent with your store settings.If you want to see the data for 1970-01-01, please enter 1970-01-02.
dimensionstringrequiredchannel/campaign/ad_set/ad
modelstringrequiredFirst click
Last click
Linear
Position
Full Impact
For other values, please refer to the “name” section in the API documentation (https://developer.attribuly.com/api-429980012)
goalstringrequiredAttribution goal: purchase/add_to_cart
pageintegerrequiredThe min is 1.
page_sizeintegerrequiredThe range is 1 to 100.
Examples
{
"start_date": "string",
"end_date": "string",
"dimension": "channel",
"model": "first",
"goal": "purchase",
"page": 1,
"page_size": 20
}Responses
Body
application/jsoncodeintegerrequired1:success; other:failed
messagestringrequiredmessage
dataobjectrequiredChild fields
totalintegerrequiredtotal
page_sizeintegerrequiredpage_size
recordsarray [object]requiredChild fields
channelstringchannel
campaignstringcampaign
ad_setstringad set
ad_namestringad name
new_lead_conversionsnumberConversions of new lead.
conversionsnumberNode conversions under corresponding attribution goal.
conversion_valueintegerNode conversion value under corresponding attribution goal.
new_order_conversion_valuenumberThe conversion value of new order.
new_order_roasnumberThe new order of roas.
ad_net_conversion_valuenumberThe conversion value which pulled from ads manager.
ad_net_roasnumberThe roas which pulled from ads manager.
spendnumberSpend is how much you’ve spent over a given period of time.
cpanumberCPA=Spend/Purchase conversions.
roasnumberROAS=(Purchase conversion value/ Spend).
impressionsintegerTotal impressions within the time range. It‘s pulled from ads manager.
cpmnumberCPM=(Spend/Impressions)*1000.
CPM stands for cost per 1,000 impressions.
clicksintegerNumbers visitors click to your website.
cvrnumberCVR=(Purchase conversions/Clicks)*100% CVR(conversion rate) is the percentage of link clicks to your website that resulted in a purchase.
cpcnumberCPC=Spend/Clicks. CPC stands for cost per click.
ctrnumberCTR=(Clicks/Impressions)*100%. CTR stands for click through rate.
outbound_clicksintegerThe number of clicks on links that take people off Meta technologies.
outbound_ctrnumberOutbound CTR=(Outbound clicks/impressions)*100%. The percentage of times people saw your ad and performed an outbound click.
cost_per_outbound_clicknumberCost per outbound click=Spend/Outbound clicks. The average cost for each outbound click.
view_through_conversionsnumberBased on Attribuly purchase conversions, add Facebook's view-through purchase conversions(1-day view).
view_through_conversion_valuenumberBased on Attribuly purchase conversion value, add Facebook's view-through purchase conversion value(1-day view).
view_through_roasnumberPurchase conversion value (Incl. view-through)/Spend.
profitnumberTotal sales-shipping-ad spend-product cost(COGS)-taxes-payment processing fees.
marginnumberNet Profit / Sales x 100%.