Ads APIReferences / experiments / Get Experiment Creation Availability for Ad Account

Get Experiment Creation Availability for Ad Account

Returns which experiment types (CLS, SBL, A/B test) can be created for an ad account

Request

  • ad_account_idstring [uuid]
    Required

    A unique identifier for an Ad Account.

    Example: ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a

Response

Experiment availability retrieved successfully.

  • ad_account_idstring [uuid]
    Required

    A unique identifier for the entity.

    Example: "ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a"
  • can_create_clsboolean

    Whether a Conversion Lift Study can be created for this ad account.

  • can_create_sblboolean

    Whether a Survey Brand Lift experiment can be created for this ad account.

  • can_create_ab_testboolean

    Whether an A/B test can be created for this ad account.

  • active_experimentsarray of strings

    List of experiment types currently active on the ad account.

    The experiment type currently active on the ad account.

    Allowed values: "CLS", "SBL", "AB_TEST"

Response sample

{  "ad_account_id": "ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a",  "can_create_cls": false,  "can_create_sbl": false,  "can_create_ab_test": false,  "active_experiments": ["CLS"]}