A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
Do you have a c# script how to perform the HttpClient upload please?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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?
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
Do you have a c# script how to perform the HttpClient upload please?
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.