curl --request POST \
--url https://api.shareofmodel.ai/v1/organizations/{organization_id}/workspaces/{workspace_id}/platform_accounts/{id}/activate \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"platform_account_id": "<string>",
"name": "<string>",
"platform": "google_ads",
"status": "active"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"platform_account_id": "<string>",
"name": "<string>",
"platform": "google_ads",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"platform_integration_id": "<string>",
"status": "active"
}Activate a platform account by setting its status to ACTIVE.
curl --request POST \
--url https://api.shareofmodel.ai/v1/organizations/{organization_id}/workspaces/{workspace_id}/platform_accounts/{id}/activate \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"platform_account_id": "<string>",
"name": "<string>",
"platform": "google_ads",
"status": "active"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"platform_account_id": "<string>",
"name": "<string>",
"platform": "google_ads",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"platform_integration_id": "<string>",
"status": "active"
}Documentation Index
Fetch the complete documentation index at: https://docs.shareofmodel.ai/llms.txt
Use this file to discover all available pages before exploring further.
A UUID string identifying this platform account.
A UUID string identifying the organization.
A UUID string identifying the workspace.
External platform account ID
255255google_ads - google adstiktok - tiktokgoogle_ads, tiktok active - activeexpired - expireddisabled - disabledactive, expired, disabled The activated platform account.
External platform account ID
255255google_ads - google adstiktok - tiktokgoogle_ads, tiktok active - activeexpired - expireddisabled - disabledactive, expired, disabled