Create attributes for ads programatically

  • Greetings, please give instructions on how to create attributes for ads programmatically?! is it possible to get a card somewhere, what should be recorded where? I have such incoming data, I still can’t understand the logic, what is created by hocks, what classes, what depends on what?

 {
 "id": 4370,
 "name": "Corps material",
"value": [
"ads-plastic",
"plastic",
"Durable plastic"
]
},
{
"id": 5023,
 "name": "Model",
"value": [
"video camera",
"surveillance camera",
"with night vision function"
]
},

Hi,

Please provide more details; what exactly do you mean by creating an attribute? Maybe, setting values? Have you already created attributes in Listings > Attributes? Are you trying to configure this via REST API or PHP code? This will help us to provide you with a more correct answer.