terms_of_service

Get terms of service

Changed on

Get the text of the terms of service and see whether the advertiser has accepted the terms of service.

get/ad_accounts/{ad_account_id}/terms_of_service

Request

Path parameters

ad_account_idstring required

Unique identifier of an ad account.

Query parameters

include_htmlboolean

Return HTML in TOS text.

tos_typestring

Request type.

Response

The request has succeeded.

ad_account_idstring

The ID of the ad account.

has_acceptedboolean

Whether the ad account has accepted terms of service.

htmlstring nullable

The terms of service content

idstring

The ID of the terms of service

Example response

{
  "ad_account_id": "549755885175",
  "has_accepted": true,
  "html": "example test",
  "id": "2650449554526"
}

Changes

    • 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

    • breaking

      for the path request parameter ad_account_id, the maxLength was decreased from 19 to 18