audience_sharing

Update audience sharing from an ad account to businesses

Changed on

From an ad account, share a specific audience with a business account, or revoke access to a previously shared audience. Only the audience owner account can share the audience. The recipient business account must be in the same business hierarchy as the business owner of the ad account.

This endpoint is not available to all apps. Learn more.

patch/ad_accounts/{ad_account_id}/audiences/businesses/shared

Request

Path parameters

ad_account_idstring required

Unique identifier of an ad account.

Request body

audience_idstring required
operation_type'SHARE' | 'REVOKE' required

Operation type to share a specific audience or revoke access to a previously shared audience

recipient_business_idsPinterestLibIntegerFormatType[] required

Business IDs to share with or revoke from (request) / that received the audience (response).

Response

The request has succeeded.

audience_idstring required
permissionsRole[]

Permissions granted to the recipients.

recipient_business_idsPinterestLibIntegerFormatType[] required

Business IDs to share with or revoke from (request) / that received the audience (response).

Example response

{
  "permissions": [
    "RESOURCE_PINNER_LIST_READER",
    "RESOURCE_PINNER_LIST_OWNER"
  ]
}

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • warning

      removed subschema #2: BusinessSharedAudience from the request body allOf list

    • info

      removed subschema #2: BusinessSharedAudienceResponse from the response body allOf list for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • warning

      added the new CATALOGS_VIEWER enum value to the ///// response property for the response status

    • warning

      added the new FINANCE_EDIT enum value to the ///// response property for the response status

    • warning

      added the new FINANCE_VIEW enum value to the ///// response property for the response status