add/keywords_2/keywords/import
Method description
Use to import keywords to your project.
Import operation automatically creates folders and groups that didn't exist before.
Fields available for import
Add fields to import in the first line of keywords data.
- name (mandatory)
- tags
- target
- group_folder_path
- group_name
Method parameters
Parameter | Type | Description | Default |
Mandatory | |||
---|---|---|---|
project_id | int | Project ID | |
keywords | data of CSV |
CSV file contents
|
|
Additional | |||
folder_id | int |
ID of the target folder to import keyword groups
|
0 |
group_id | int |
ID of the target group to import keywords
| 0 |
group_name | string |
Group name to import keywords
|
|
move_duplicate | int boolean | Should duplicates be moved to a separate group | 0 |
move_duplicate_folder_id | int |
ID of the target folder to new group for move duplicates
|
0 |
move_duplicate_group_id | int |
Target group ID to move duplicates
|
0 |
move_duplicate_group_name | string |
Name of group to move duplicates
|
Returned data
Parameter | Type | Description |
result (object) | ||
---|---|---|
countSended | int | the number of sent keywords |
countDuplicated | int | the number of detected duplicates |
countAdded | int | the number of added keywords |
countChanged | int | the number of updated keywords |