Path Parameters
The ID of the placement.
Get from the advertising manager.
Body
application/json
AdRequest is used for requesting an ad.
Response
Successfully served an ad
The response is of type object
.
Serves an ad based on the placement tag (tagid
) and request payload (AdRequest
).
Selects the most appropriate ad using campaign, creative, and bidding strategy data.
Returns the final ad determined through DSP response and internal mediation logic.
curl --request POST \
--url https://your_a2_service/app/v0/ad/{tagid} \
--header 'Content-Type: application/json' \
--data '{
"user": {
"gender": "M",
"id": "account-187acvbvz",
"yob": 1988
},
"version": "0.1.0"
}'
The ID of the placement.
Get from the advertising manager.
AdRequest is used for requesting an ad.
Successfully served an ad
The response is of type object
.