labels

Closed beta

Apply one or more labels to a campaign. Future releases may support labels for other entities. Currently, you can apply brand and custom labels. Future releases will provide more options.

Note: You can only apply one brand label to a campaign. You can apply 30 custom labels to a campaign.

post/ad_accounts/{ad_account_id}/labels

Request

Path parameters

ad_account_idstring required

Unique identifier of an ad account.

Request body

Response

The request has succeeded.

Changes

    • breaking

      the request property // became not nullable

    • breaking

      removed the enum value undefined of the request property //

    • breaking

      the /// response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • warning

      removed the request property

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the 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 non-success response with the status

    • info

      added the non-success response with the status

    • info

      added to the /// response property allOf list for the response status

    • info

      added to the // response property allOf list for the response status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • warning

      changed the pattern of the request property from ^\d+$ to ^[C]?\d+$

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • info

      the request property // became nullable

    • info

      added the new undefined enum value to the request property //