curl --location --request POST '/v1.3/audience_grant_relations/add' \
--header 'access_token;' \
--header 'timestamp;' \
--header 'nonce;' \
--header 'Content-Type: application/json' \
--data-raw '{
"account_id": "<ACCOUNT_ID>",
"audience_id_list": [
12,
23
],
"grant_type": "GRANT_TYPE_BUSINESS",
"grant_spec": {
"grant_to_business_spec": {
"grant_business_id": 12312,
"grant_scope_type": "GRANT_SCOPE_TYPE_ACCOUNT",
"grant_account_permission": [
{
"account_id": 20458,
"grant_permission_type_list": [
"GRANT_PERMISSION_TYPE_TARGET",
"GRANT_PERMISSION_TYPE_INSIGHT"
]
},
{
"account_id": 20345,
"grant_permission_type_list": [
"GRANT_PERMISSION_TYPE_TARGET",
"GRANT_PERMISSION_TYPE_INSIGHT"
]
}
]
}
}
}'