Loader Twitter Ads Audience
This component is used to import contacts to Twitter Ads Audiences.
Learn more: about Twitter Ads API documentation here.
Data In/ Data Out
Data In |
Loader requires File structure:
Remember: (*) - At least one attribute - Remember: If any attribute is missing use empty array [] as a placeholder. Remember: DO NOT hash data in Learn more: about data structure in Twitter Ads documentation here and here. Example:
Plain CSV file:
|
||||||||||||||||||||||||||||||
Data Out | N/A |
Learn more: about the folder structure here.
Parameters
Credentials
Consumer (API) Key (required) |
Consumer (API) key generated by Twitter in the registered application. |
Consumer (API) Secret (required) |
Consumer (API) secret generated by Twitter in the registered application. |
Access Token (required) |
Access token generated by Twitter in the registered application. |
Access Token Secret (required) |
Access token secret generated by Twitter in the registered application. |
Account ID |
The ID of the account where the audience will be imported. |
Audience
Audience ID |
The ID of the audience where the contacts from the Remember: the |
Audience Name |
The name of the newly created audience. Warning: Using the same audience_name as an existing audience would cause the export to fail. Please keep this in mind when exporting to new audiences. If you wish to export to the same audience, remember to specify the |
Remember: At least one audience_id
OR audience_name
must be provided.
Example:
{
"parameters": {
"credentials": {
"consumer_key": "consumer_key",
"#consumer_secret": "###",
"access_token": "access_token",
"#access_token_secret": "###",
"account_id": "qwerty12345"
},
"audience": {
"audience_id": "foo42",
"audience_name": "my_audience_audience"
}
}
Methods
- When
audience_id
is provided in the configuration. The component will checkaudience_id
existence and import all given contacts there. - When
audience_id
is unknown,audience_name
must be provided in the configuration. The component will create a new audience with a definedaudience_name
and import all given contacts to the newly created audience.