I'm trying to call https://api.searchads.apple.com/api/v5/reports/campaigns but getting the following response:
{"data":null,"pagination":null,"error":{"errors":[{"messageCode":"INVALID_JSON_REQUEST","message":"This is an invalid json. The request can not be parsed","field":"Line#:1 Column#:13"}]}}
I've used all suggested options for request parameters from documentation, e.g.
{
"startTime": "2024-04-08",
"endTime": "2024-04-09",
"selector": {
"orderBy": [
{
"field": "countryOrRegion",
"sortOrder": "ASCENDING"
}
],
"conditions": [
{
"field": "countriesOrRegions",
"operator": "CONTAINS_ANY",
"values": [
"US",
"GB"
]
},
{
"field": "countryOrRegion",
"operator": "IN",
"values": [
"US"
]
}
],
"pagination": {
"offset": 0,
"limit": 1000
}
},
"groupBy": [
"countryOrRegion"
],
"timeZone": "UTC",
"returnRecordsWithNoMetrics": true,
"returnRowTotals": true,
"returnGrandTotals": true
}
What's the proper way to call this API?
Post
Replies
Boosts
Views
Activity
FinanceKit framework provides access to Apple Card / Apple Cash transactional data. Does it provide any test data? One does not have to buy their own in-app purchases in order to test payment flow. Or there is no such option right now, and developers have to test this functionality with their own financial history?
Greetings,
We're using MMP attribution (AppsFlyer), and also track attribution via https://api-adservices.apple.com/api/v1/ manually.
After releasing a new app version with the latest Xcode 15.3 / iOS 17.4 (the previous store version was built with the older software), our Apple Search Attribution in MMP statistics got worse. In out error log we can see that https://api-adservices.apple.com/api/v1/ returns 404, although we're calling API in 5 min after token is retrieved. Are there any issues observed with Apple Search Ads attribution on iOS 17.4?
Thanks