v1

latestOpenAPI 3.0.02026-07-2496664456.3 KB
AdAccount

Update an existing AdAccount.

Update an existing AdAccount.

put/cm/v1/ad-accounts/{ad_account_id}

Path parameters

ad_account_idstring required

The ID of the AdAccount.

Request body

idstring

Unique identifier of the AdAccount. Automatically set by server on creation.

titlestring required

A descriptive name of the AdAccount.

descriptionstring

An optional description of the AdAccount.

timezonestring

IANA timezone name. e.g. America/Los_Angeles.

currency'UNKNOWN_CURRENCY' | 'USD' | 'KRW' | 'JPY' | 'EUR' | 'GBP'

Enumeration of currencies supported by Moloco Ads.

This value is not part of the specification.

  • USD: US Dollar.
  • KRW: Korean Won.
  • JPY: Japanese Yen.
  • EUR: EU Euro.
  • GBP: British Pound.
custom_key_valuesobject

Custom key/values managed by the Moloco Ads client platform. It's up to the client ads platform to define the schema for the values and their optionality.

The keys are recommended, but not required, to be prefixed with the reversed internet domain of the AdCloud client platform company. For example, keys defined by the client ads platform company "example.com" should have "com.example." as the prefix.

For complex values, JSON payload is recommended.

Moloco doesn't interpret these data in any way for ads serving. Upon serving, the custom key/values in the AdAccount, Campaign, and Creative models will be combined into the serving Creative proto in the order of precedence, with Creative's value having the highest precedence on the same key.

billing_account_idstring

BillingAccount to be applied by default.

created_atstring date-time

Created time.

updated_atstring date-time

Last updated time. Should not modify on the client side.

targets_future_preferencesobject

targets_future_preferences maps each target_id to corresponding TargetFuturePreferenceInfo.

Response

A successful response.