Data File Format

The File Format for Attribute import is a simple CSV file format.

All columns are required.

Lines in files may be terminated with either LF or CRLF.

Headers should be included on first line.

You may optionally GZIP-compress the file. If file is gzipped, filename should end in .gz.

Each line in the file will contain an advertising identifier, the type of the advertising identifier, the country the advertising identifier is sourced from, an operation code (ADD or DELETE), and a list of one or more Attributes to include the advertising identifier within.

PositionHeaderDescription
1idIDFA for iOS device
AAID for Android device
2id_type1 - for IDFA
3 - for AAID
3country2 character iso country code: US

We only accept US MAIDs, at this time.
4operation0 - for ADD
1 - for DELETE

All deletes for the file will be applied before adds.

You may specify a delete and an add for the same ID in a file.

Multiple adds for the same id in a file are applied in an undefined order.
5attribute_ids<attribute_id>|<attribute_id>|<attribute_id>

Pipe separated list of attribute_ids.

13|15|17

If you are leaving this column empty for a row with operation = 1 then put "" in for the value of this column otherwise you will get a column mismatch error.
id,id_type,country,operation,attribute_ids
xxxxxxxx-eff3-4bc4-8e7d-6ea47a3ed70f,3,US,0,1|2
yyyyyyyy-2024-4821-880d-9a8a5b307ebf,3,US,0,1|2
zzzzzzzz-1aea-4edf-bf54-c2ab2258ef52,1,US,0,1|3
wwwwwwww-bfd7-49c9-a43b-54c6b6e968e6,1,US,0,1|3