Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Error Generate Report (ADS)

Error Generate Report (ADS)

I run this curl command:

 

curl --request POST \
--url https://api-partner.spotify.com/ads/v1/report \
--header 'Authorization: Bearer BQBqLCYU3205qb2Vk6RrsQBNlwKDeFO1ZH2YRqC454Os7lfN6As1rUFXryG7WVe8Sdf0xbKDc0UO9DZw5HNsd0FsEgibLpNXhF7mQ28f146NlCoi2pFzegGF-ze2N-yvaHsPHzP9XXXXXX' \
--header 'Content-Type: application/json' \
--data '{
"filters": {
"campaign_statuses": "ACTIVE",
"report_datetime_range": {
"report_start": "2022-01-24T14:15:22Z",
"report_end": "2022-10-30T14:15:22Z"
}
},
"dimensions": "CAMPAIGN",
"fields": "FETCHES",
"continuation_token": "string",
"page_size": 0
}'

Doesn´t matter if i change or add other filter, or change the date, but always obtain this answer:

 

{
"error": {
"type": "ParsingError",
"message": "Request is invalid",
"errors": ["Could not deserialize ReportingRequest"],
"sp_trace_id": "e09820b9-d1e6-4020-acc8-00a90ec9a37c"
}
}

Thanks.

 

Reply
0 Replies

Suggested posts