OverviewProductsPlatformsAPI ReferenceResources
Accounts & Ops

Get ad account DSA defaults

GEThttps://zernio.com/api/v1/ads/dsa-defaults

Shows the default EU DSA beneficiary and payor set on a Meta ad account.

Returns the default DSA beneficiary and payor currently set on a Meta ad account, whether they were set via PATCH /v1/ads/accounts or in Meta Ads Manager. Fields are omitted when no default is configured. Meta accounts only.

PlatformsMeta

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Query parameters

accountIdstringRequired

Account ID (metaads, or a facebook/instagram posting account)

adAccountIdstringRequired

Meta ad account ID (act_...)

Responses

Success· the request worked

Errors· the request failed

GET/v1/ads/dsa-defaults
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adaccounts.getDsaDefaults({  query: {    accountId: 'account_abc123',    adAccountId: 'adaccount_abc123',  },});console.log(data);
{  "adAccountId": "string",  "dsaDefaults": {    "beneficiary": "string",    "payor": "string"  }}
OpenAPI specification
Was this page helpful?