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

Audiences API error

Audiences API error

When using the following request body, I get an error.

{
"audience_type": "CUSTOM",
"name": "Audience",
"description": "Audience desc",
"dataset_ids": [
"REDACTED"
],
"included_events": [
"ADDTOCART"
],
"excluded_events": [
"PURCHASE"
],
"lookback_days": 30
}
 
 
and the error:
{
"sp_trace_id": "4957947e-d3cf-40c3-8bb8-6ada1aba3cc0",
"messages": [
"Failed to create audience || error: java.lang.RuntimeException: [errorCode: REQUIRED_FIELD\nmessage: \"Missing value for required field Advertiser ID\"\n] || actorId: UserId(REDACTED) || adAccountId: REDACTED || audienceId: REDACTED",
"java.lang.RuntimeException: [errorCode: REQUIRED_FIELD\nmessage: \"Missing value for required field Advertiser ID\"\n]"
],
"errorCodes": []
}
 
I am authenticated; calls to the GET endpoint for audiences work fine.
Reply
1 Reply

bumping

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random