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
consumer_key (required) |
Consumer (API) key generated by Twitter in the registered application. |
#consumer_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. |
Remember: At least one audience_id
OR audience_name
must be provided.
Remember: All credentials are placed in 1Password.
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 check audience_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 defined audience_name and import all given contacts to the newly created audience.