修改广告主信息
修改广告主信息接口
请求地址
https://openapi.aiclk.com/openapi/v1/adaccount/customer/update
所属权限
ads_write
请求方式
POST
请求参数
| 字段名 | 类型 | 是否必须 | 描述 |
|---|---|---|---|
| account_id | int | 是 | 代理商/子管理ID |
Post body(json)
json体是一个列表结构,列表中的每一个元素结构如下:
| 字段名 | 类型 | 是否必须 | 描述 |
|---|---|---|---|
| account_id | uint64 | 是 | 用户ID |
| company | string | 否 | 广告主公司名称 |
| license_code | string | 否 | 营业执照统一社会信用代码 |
| company_region | []uint64 | 否 | 公司地址省市区编码,枚举值 |
| company_address | string | 否 | 营业执照注册地 |
| license | uint64 | 否 | 营业执照资源id,资源上传接口文档 |
| qualification | []uint64 | 否 | 资质证明资源id,资源上传接口文档 |
| password | string | 否 | 账户密码,必须包含大小写字母和数字,6到30位 |
| link | string | 否 | 开户链接 |
| source_mark | string | 否 | 广告主来源标识 |
| app_company | string | 否 | 软著著作权人,当行业为应用下载时必填 |
| privacy_protocol_url | string | 否 | 隐私政策协议,当行业为应用下载时必填 |
| app_info | string | 否 | 应用介绍,当行业为应用下载时必填 |
| app_permission | string | 否 | 应用权限,当行业为应用下载时必填 |
| contacter | string | 否 | 联系人姓名 |
| contacter_phone | string | 否 | 联系人电话 |
| contacter_email | string | 否 | 联系人邮箱,必须为有效的邮箱格式 |
Body 示例
{
"account_id":1928316,
"contacter": "修改联系人姓名"
}
请求示例
curl --location 'https://openapi.aiclk.com/openapi/v1/adaccount/customer/update?account_id=1000003' \
--header 'Content-Type: application/json' \
--header 'OGW_ACCESS_TOKEN: your_access_token' \
--data '{
"account_id":1928316,
"contacter": "修改联系人姓名"
}'
返回字段释义
| 字段名 | 类型 | 描述 |
|---|---|---|
| code | int | 返回码 |
| message | string | 接口信息 |
| trace_id | string | trace ID |
返回示例
{
"code": 200,
"message": "success",
"data": null,
"trace_id": "56161c89ed743bff"
}