versión API Graph

Business Owned Ad Accounts

Lectura

No puedes realizar esta operación en este extremo.

Creando

You can make a POST request to owned_ad_accounts edge from the following paths:
When posting to this edge, an AdAccount will be created.

Parámetros

ParámetroDescripción
adaccount_id
string

Ad account ID.

Obligatorio

Return Type

This endpoint supports read-after-write and will read the node to which you POSTed.
Struct {
access_status: string,
}

Error Codes

ErrorDescripción
100Invalid parameter
3994Personal accounts that do not have any history of activity are not eligible for migration to a business manager. Instead create an ad account inside your business manager.
3979You have exceeded the number of allowed ad accounts for your Business Manager at this time.
3980One or more of the ad accounts in your Business Manager are currently in bad standing or in review. All of your accounts must be in good standing in order to create new ad accounts.
415Two factor authentication required. User have to enter a code from SMS or TOTP code generator to pass 2fac. This could happen when accessing a 2fac-protected asset like a page that is owned by a 2fac-protected business manager.
3936You've already tried to claim this ad account. You'll see a notification if your request is accepted.
3944Your Business Manager already has access to this object.
2702This user can’t be added as an admin of this ad account. This may be because you lack permissions or the user you selected may not be authorized. Try managing people and ad accounts in Business Manager instead.
368The action attempted has been deemed abusive or is otherwise disallowed
457The session has an invalid origin

Actualizando

No puedes realizar esta operación en este extremo.

Eliminando

No puedes realizar esta operación en este extremo.