Bulk Upload Status Response contains "InvalidCustomerListId" error

Héctor Urbina 0 Reputation points
2023-03-28T17:42:32.57+00:00

Hi!

I have a microsoft advertising account and want to learn how to manage my Custom Audience through Microsoft Advertising API. I think the way to load or delete customers to/from my previously created audience is by following this documentation.

I was able to upload a csv file with the following content:

Type,Status,Id,Parent Id,Client Id,Modified Time,Name,Description,Scope,Audience,Action Type,Sub Type,Text
Format Version,,,,,,6.0,,,,,,
Customer List Item,,,817341276,1,,,,,,,Email,27aca50f9366e95e8e157d22d7fc2ebceacd8facfb9954daacd097ec5d6231ca

I'm trying to add a single email to my existing custom audience, whose ID is 817341276. However, I receive the error InvalidCustomerListId when downloading the bulk upload results.

What am I doing wrong?

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
415 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Héctor Urbina 0 Reputation points
    2023-03-30T16:26:34.4166667+00:00

    I managed to get it working!

    this is the minimal file that works for me right now:

    
    Type,Id,Parent Id,Name,Scope,Audience,Action Type,Sub Type,Text
    
    Format Version,,,6.0,,,,
    
    Customer List,<audience_id>,<customer_id>,,Customer,,Add,,
    
    Customer List Item,,<audience_id>,,,,,Email,<hashed_email>
    
    

    The Customer List line was missing. When Action Type is Add or Replace, the emails are added (Replace means all previous emails are dropped first). If it's Remove, the emails are removed.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.