MOLOCO Change History API

The ChangeHistory API from MOLOCO — 5 operation(s) for changehistory.

Operations 5

POST /rmp/mgmt/v1/platforms/{platform_id}/ad-accounts/{ad_account_id}/campaigns/{campaign_id}/change-log-items QueryCampaignItemsHistory #
POST /rmp/mgmt/v1/platforms/{platform_id}/ad-accounts/{ad_account_id}/campaigns/{campaign_id}/change-logs QueryCampaignHistory #
POST /rmp/mgmt/v1/platforms/{platform_id}/ad-accounts/{ad_account_id}/credits/{credit_id}/account-history QueryCreditsHistory #
POST /rmp/mgmt/v1/platforms/{platform_id}/ad-accounts/{ad_account_id}/wallets/{wallet_id}/account-history QueryWalletHistory #
POST /rmp/mgmt/v1/platforms/{platform_id}/ad-manager-accounts/{ad_manager_account_id}/change-logs QueryAdManagerAccountHistory #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/moloco-changehistory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

moloco-changehistory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Moloco Change History API
  version: '1.0'
  contact:
    name: Moloco Inc.
    url: https://www.molocoads.com
  description: 'Operations tagged ChangeHistory across 2 of this provider''s published API definitions: mcm-management-api.json, moloco-commerce-media-management-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://<platform>-mgmt.mcm-api.moloco.com
security:
- ApiKeyAuth: []
tags:
- name: ChangeHistory
paths:
  /rmp/mgmt/v1/platforms/{platform_id}/ad-accounts/{ad_account_id}/campaigns/{campaign_id}/change-log-items:
    post:
      summary: QueryCampaignItemsHistory
      description: Query items' history in the campaign.
      operationId: RmpManagementApi_QueryCampaignChangeLogItems
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicQueryCampaignChangeLogItemsResponse'
        '400':
          description: Bad request. Detailed cause can be found in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '403':
          description: Permission denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '404':
          description: Not found. One or more required resources do not exist.You can see the details in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '500':
          description: Internal server error. Detailed cause can be found in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
      parameters:
      - name: platform_id
        description: Identifier of the platform who requests management api. It is passed as a path parameter.
        in: path
        required: true
        schema:
          type: string
      - name: ad_account_id
        description: AdAccount id.
        in: path
        required: true
        schema:
          type: string
      - name: campaign_id
        description: Campaign id.
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                updated_at:
                  type: string
                  format: date-time
                  description: Updated timestamp of Campaign.
                type:
                  $ref: '#/components/schemas/v1ChangeLogItemsType'
                page_index:
                  type: integer
                  format: int32
                  description: Index of the page to be returned. If empty, the default page_index will be 1.
                page_size:
                  type: integer
                  format: int32
                  description: Number of items to be returned on this page index. The maximum number is 5000.
                search_keyword:
                  type: string
                  description: Search keyword. Specific string in the item id/title to search for.
                order_by:
                  $ref: '#/components/schemas/v1ChangeLogItemsOrderBy'
              description: Request message of QueryCampaignItemsHistory.
              required:
              - updated_at
              - type
              additionalProperties: true
        required: true
      tags:
      - ChangeHistory
    servers:
    - url: https://<platform>-mgmt.mcm-api.moloco.com
  /rmp/mgmt/v1/platforms/{platform_id}/ad-accounts/{ad_account_id}/campaigns/{campaign_id}/change-logs:
    post:
      summary: QueryCampaignHistory
      description: Query campaign history.
      operationId: RmpManagementApi_QueryCampaignChangeLogs
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicQueryCampaignChangeLogsResponse'
        '400':
          description: Bad request. Detailed cause can be found in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '403':
          description: Permission denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '404':
          description: Not found. One or more required resources do not exist.You can see the details in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '500':
          description: Internal server error. Detailed cause can be found in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
      parameters:
      - name: platform_id
        description: Identifier of the platform who requests management api. It is passed as a path parameter.
        in: path
        required: true
        schema:
          type: string
      - name: ad_account_id
        description: AdAccount id.
        in: path
        required: true
        schema:
          type: string
      - name: campaign_id
        description: Campaign id.
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                filters:
                  type: array
                  items:
                    $ref: '#/components/schemas/v1EntityChangeLogFilter'
                  description: Filters can be used to retrieve change logs that match specific entity change methods and field names. If multiple filters are provided, the change logs returned will include those that satisfy any of the filter conditions.
                start_time:
                  type: string
                  format: date-time
                  description: Start time in RFC3339 format, e.g. "2017-04-01T12:34:56+00:00"
                end_time:
                  type: string
                  format: date-time
                  description: End time in RFC3339 format, e.g. "2017-05-01-T21:09:08+00:00"
                page_index:
                  type: integer
                  format: int32
                  description: 'Index of the page to be returned. Default: 1'
                page_size:
                  type: integer
                  format: int32
                  description: 'Number of items to be returned on this page index. The maximum number is 5000. Default: 10'
                order_by:
                  $ref: '#/components/schemas/v1ChangeLogOrderBy'
              description: Request message of QueryCampaignChangeHistory.
              additionalProperties: true
        required: true
      tags:
      - ChangeHistory
    servers:
    - url: https://<platform>-mgmt.mcm-api.moloco.com
  /rmp/mgmt/v1/platforms/{platform_id}/ad-accounts/{ad_account_id}/credits/{credit_id}/account-history:
    post:
      summary: QueryCreditsHistory
      description: Query credits history. To be used for spending limit credit.
      operationId: RmpManagementApi_QueryCreditHistory
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicQueryCreditHistoryResponse'
        '400':
          description: Bad request. Detailed cause can be found in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '403':
          description: Permission denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '404':
          description: Not found. One or more required resources do not exist.You can see the details in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '500':
          description: Internal server error. Detailed cause can be found in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
      parameters:
      - name: platform_id
        description: Identifier of the platform who requests management api. It is passed as a path parameter.
        in: path
        required: true
        schema:
          type: string
      - name: ad_account_id
        description: AdAccount id.
        in: path
        required: true
        schema:
          type: string
      - name: credit_id
        description: Credit ID.
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                start_time:
                  type: string
                  format: date-time
                  description: Start time in RFC3339 format, e.g. "2017-04-01T12:34:56+00:00"
                end_time:
                  type: string
                  format: date-time
                  description: End time in RFC3339 format, e.g. "2017-05-01-T21:09:08+00:00"
                page_index:
                  type: integer
                  format: int32
                  description: 'Index of the page to be returned. Default: 1'
                page_size:
                  type: integer
                  format: int32
                  description: 'Number of items to be returned on this page index. The maximum number is 5000. Default: 10'
                order_by:
                  $ref: '#/components/schemas/v1ChangeLogOrderBy'
              description: QueryCreditHistory request for Spending Limit.
              additionalProperties: true
        required: true
      tags:
      - ChangeHistory
      deprecated: true
    servers:
    - url: https://<platform>-mgmt.mcm-api.moloco.com
  /rmp/mgmt/v1/platforms/{platform_id}/ad-accounts/{ad_account_id}/wallets/{wallet_id}/account-history:
    post:
      summary: QueryWalletHistory
      description: Query wallet account history.
      operationId: RmpManagementApi_QueryWalletAccountHistory
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicQueryWalletAccountHistoryResponse'
        '400':
          description: Bad request. Detailed cause can be found in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '403':
          description: Permission denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '404':
          description: Not found. One or more required resources do not exist.You can see the details in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '500':
          description: Internal server error. Detailed cause can be found in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
      parameters:
      - name: platform_id
        description: Identifier of the platform who requests management api. It is passed as a path parameter.
        in: path
        required: true
        schema:
          type: string
      - name: ad_account_id
        description: AdAccount id.
        in: path
        required: true
        schema:
          type: string
      - name: wallet_id
        description: Wallet id.
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                start_time:
                  type: string
                  format: date-time
                  description: Start time in RFC3339 format, e.g. "2017-04-01T12:34:56+00:00"
                end_time:
                  type: string
                  format: date-time
                  description: End time in RFC3339 format, e.g. "2017-05-01-T21:09:08+00:00"
                page_index:
                  type: integer
                  format: int32
                  description: 'Index of the page to be returned. Default: 1'
                page_size:
                  type: integer
                  format: int32
                  description: 'Number of items to be returned on this page index. The maximum number is 5000. Default: 10'
                order_by:
                  $ref: '#/components/schemas/v1ChangeLogOrderBy'
              description: QueryWalletAccountHistory request.
              additionalProperties: true
        required: true
      tags:
      - ChangeHistory
      deprecated: true
    servers:
    - url: https://<platform>-mgmt.mcm-api.moloco.com
  /rmp/mgmt/v1/platforms/{platform_id}/ad-manager-accounts/{ad_manager_account_id}/change-logs:
    post:
      summary: QueryAdManagerAccountHistory
      description: Query the ad manager account history.
      operationId: RmpManagementApi_QueryAdManagerAccountChangeLogs
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicQueryAdManagerAccountChangeLogsResponse'
        '400':
          description: Bad request. Detailed cause can be found in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '403':
          description: Permission denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '404':
          description: Not found. One or more required resources do not exist.You can see the details in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
        '500':
          description: Internal server error. Detailed cause can be found in the response message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/publicRepresentedError'
      parameters:
      - name: platform_id
        description: Identifier of the platform who requests management api. It is passed as a path parameter.
        in: path
        required: true
        schema:
          type: string
      - name: ad_manager_account_id
        description: AdManagerAccount id.
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                filters:
                  type: array
                  items:
                    $ref: '#/components/schemas/v1EntityChangeLogFilter'
                  description: Filters can be used to retrieve change logs that match specific entity change methods and field names. If multiple filters are provided, the change logs returned will include those that satisfy any of the filter conditions.
                start_time:
                  type: string
                  format: date-time
                  description: Start time in RFC3339 format, e.g. "2017-04-01T12:34:56+00:00"
                end_time:
                  type: string
                  format: date-time
                  description: End time in RFC3339 format, e.g. "2017-05-01-T21:09:08+00:00"
                page_index:
                  type: integer
                  format: int32
                  description: 'Index of the page to be returned. Default: 1'
                page_size:
                  type: integer
                  format: int32
                  description: 'Number of items to be returned on this page index. The maximum number is 5000. Default: 10'
                order_by:
                  $ref: '#/components/schemas/v1ChangeLogOrderBy'
              description: QueryAdManagerAccountChangeLogs request.
              additionalProperties: true
        required: true
      tags:
      - ChangeHistory
    servers:
    - url: https://<platform>-mgmt.mcm-api.moloco.com
components:
  schemas:
    publicQueryAdManagerAccountChangeLogsResponse:
      type: object
      properties:
        rows:
          type: array
          items:
            $ref: '#/components/schemas/v1EntityChangeLog'
          description: List of ad manager account change logs.
        page_info:
          $ref: '#/components/schemas/commonPageInfo'
      description: QueryAdManagerAccountChangeLogs response.
      required:
      - rows
      - page_info
      additionalProperties: true
    EntityChangeLogFieldType:
      type: string
      enum:
      - UNKNOWN_Field_TYPE
      - STRING
      - ARRAY
      - OBJECT
      default: UNKNOWN_Field_TYPE
    RepresentedErrorDetail:
      type: object
      properties:
        type:
          type: string
          description: The type of the metadata.
        category:
          $ref: '#/components/schemas/commonErrorCategory'
        metadata:
          type: object
          description: The metadata of the responded error.
          additionalProperties: true
      required:
      - type
      - category
      additionalProperties: true
    v1EntityChangeLog:
      type: object
      properties:
        method:
          $ref: '#/components/schemas/EntityChangeLogEntityChangeMethod'
        entity_id:
          type: string
          description: The id of the entity.
        field_type:
          $ref: '#/components/schemas/EntityChangeLogFieldType'
        field_name:
          type: string
          description: The name of the field.
        field_before:
          type: string
          description: Field value before the change.
        field_after:
          type: string
          description: Field value after the change.
        updated_at:
          type: string
          format: date-time
          description: Updated timestamp of the entity.
        changed_by:
          $ref: '#/components/schemas/v1ChangeLogUser'
      description: Definition of a EntityChangeLog.
      required:
      - method
      - entity_id
      - field_type
      - field_name
      - field_before
      - field_after
      - updated_at
      additionalProperties: true
    commonErrorCategory:
      type: string
      enum:
      - DEFAULT_ERROR_CATEGORY
      - INPUT_VALIDATION
      - CHARACTER_LIMIT_EXCEEDED
      - TIMESTAMP_MISMATCH
      - FEATURE_NOT_ALLOWED
      - REINVITE_NOT_ALLOWED
      - LAST_OWNER_REVOKE_NOT_ALLOWED
      - LAST_OWNER_DELETE_NOT_ALLOWED
      - SSO_USER_JOIN_REQUEST_NOT_ALLOWED
      - MFA_VERIFICATION_FAILED
      - INSUFFICIENT_SPENDING_LIMIT
      - AD_ACCOUNT_ALREADY_OWNED
      - INSUFFICIENT_WALLET_BALANCE
      - INSUFFICIENT_SPEND_CAP_BUDGET
      - MAX_SPEND_CAP_COUNT_REACHED
      - MAX_CAMPAIGNS_COUNT_PER_SPEND_CAP_REACHED
      - MAX_CAMPAIGN_COUNT_REACHED
      - MODIFY_ARCHIVED_CAMPAIGN_NOT_ALLOWED
      - INVALID_CAMPAIGN_STATUS_FOR_ARCHIVE
      - INVALID_MANAGED_CPT_CAMPAIGN_SCHEDULE
      - INACTIVE_AD_ACCOUNT
      - DUPLICATE_AUDIENCE
      - INVALID_RESERVED_TIME_LINE_ITEM_SCHEDULE
      - EXCEED_MAX_IMAGE_SIZE
      - MAX_LABEL_COUNT_REACHED
      - MAX_LABEL_VALUE_COUNT_REACHED
      - MAX_LABEL_VALUE_RELATIONSHIP_COUNT_REACHED
      - PLATFORM_INSIGHT_UNAVAILABLE
      - MAX_CUSTOM_TARGETING_KEY_COUNT_REACHED
      - INVALID_CUSTOM_TARGETING
      default: DEFAULT_ERROR_CATEGORY
      title: "- INPUT_VALIDATION: INPUT_VALIDATION: reserved for 1 ~ 99\n - TIMESTAMP_MISMATCH: TIMESTAMP_MISSMATCH: reserved for 100 ~ 199\n - FEATURE_NOT_ALLOWED: General policy: 1000 ~ 1999\n - REINVITE_NOT_ALLOWED: User policy: 2000 ~ 2999\n - INSUFFICIENT_SPENDING_LIMIT: Account policy: 3000 ~ 3999\nThis policy includes ad manager account, ad account, and wallet related policies\n - MAX_CAMPAIGN_COUNT_REACHED: Campaign policy: 4000 ~ 4999\n - INVALID_RESERVED_TIME_LINE_ITEM_SCHEDULE: Returned when a RESERVED_TIME line item's schedule overlaps an existing enabled RD booking on the same inventory.\n - EXCEED_MAX_IMAGE_SIZE: Asset policy: 5000 ~ 5999\n - MAX_LABEL_COUNT_REACHED: Labeling policy: 6000 ~ 6999\n - PLATFORM_INSIGHT_UNAVAILABLE: Insight metric policy: 7000 ~ 7999\n - MAX_CUSTOM_TARGETING_KEY_COUNT_REACHED: Custom Targeting policy: 8000 ~ 8999"
    v1CreditAccountHistoryLog:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/v1CreditAccountHistoryLogType'
        budget_change:
          $ref: '#/components/schemas/v1CreditAccountHistoryLogMoneyMicroByAccount'
        balance:
          $ref: '#/components/schemas/v1CreditAccountHistoryLogMoneyMicroByAccount'
        updated_at:
          type: string
          format: date-time
          description: Updated timestamp of wallet.
        metadata:
          $ref: '#/components/schemas/v1CreditAccountHistoryLogMetadata'
        changed_by:
          $ref: '#/components/schemas/v1CreditAccountHistoryLogChangedBy'
      description: Definition of a WalletAccountHistoryLog.
      required:
      - type
      - budget_change
      - balance
      - updated_at
      additionalProperties: true
    v1CreditAccountHistoryLogChangedBy:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        email:
          type: string
        role:
          $ref: '#/components/schemas/v1RoleName'
      additionalProperties: true
    commonOrderByDirection:
      type: string
      enum:
      - UNKNOWN_ORDER_BY_DIRECTION
      - ASC
      - DESC
      default: UNKNOWN_ORDER_BY_DIRECTION
    publicRepresentedError:
      type: object
      properties:
        code:
          type: integer
          format: int32
          description: The status code, which should be an enum value of google.rpc.Code.(https://developers.google.com/actions-center/reference/grpc-api/status_codes)
        message:
          type: string
          description: The detailed message of responded error.
        details:
          type: array
          items:
            $ref: '#/components/schemas/RepresentedErrorDetail'
          description: The detailed information of responded error. Please refer to the error category section in guides for more detailed information.(https://rmp-docs.moloco.com/docs/management-api-error-categories)
      title: Overridden from grpc status(https://github.com/grpc/grpc/blob/master/src/proto/grpc/status/status.proto)
      required:
      - code
      - message
      - details
      additionalProperties: true
    v1ChangeLogOrderByOrderByColumn:
      type: string
      enum:
      - UNKNOWN_ORDER_BY_COLUMN
      - UPDATED_AT
      default: UNKNOWN_ORDER_BY_COLUMN
    publicQueryCreditHistoryResponse:
      type: object
      properties:
        rows:
          type: array
          items:
            $ref: '#/components/schemas/v1CreditAccountHistoryLog'
          description: List of WalletAccountHistoryLogs.
        page_info:
          $ref: '#/components/schemas/commonPageInfo'
      description: QueryCreditHistory response.
      required:
      - rows
      - page_info
      additionalProperties: true
    v1WalletAccountHistoryLogMetadata:
      type: object
      properties:
        comment:
          type: string
          description: A comment for transaction. Optional.
      additionalProperties: true
    v1RoleName:
      type: string
      enum:
      - UNKNOWN_ROLE_NAME
      - PLATFORM_OWNER
      - PLATFORM_USER
      - AD_ACCOUNT_OWNER
      - AD_ACCOUNT_USER
      - AD_ACCOUNT_AGENCY
      - CREATIVE_REVIEWER
      default: UNKNOWN_ROLE_NAME
    v1ChangeLogItemsOrderByOrderByColumn:
      type: string
      enum:
      - UNKNOWN_ORDER_BY_COLUMN
      - ID
      - TITLE
      - UPDATED_AT
      default: UNKNOWN_ORDER_BY_COLUMN
    v1CampaignChangeLogItem:
      type: object
      properties:
        id:
          type: string
          description: The id of the CampaignChangeLogItem.
        title:
          type: string
          description: The title of the CampaignChangeLogItem.
      description: Definition of a CampaignChangeLogItem.
      required:
      - id
      - title
      additionalProperties: true
    v1CreditAccountHistoryLogMoneyMicroByAccount:
      type: object
      properties:
        credits:
          $ref: '#/components/schemas/rmpcommonMoneyMicro'
      additionalProperties: true
    v1ChangeLogItemsType:
      type: string
      enum:
      - UNKNOWN_TYPE
      - REMOVED
      - ADDED
      default: UNKNOWN_TYPE
    v1WalletAccountHistoryLogChangedBy:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        email:
          type: string
        role:
          $ref: '#/components/schemas/v1RoleName'
      additionalProperties: true
    EntityChangeLogEntityChangeMethod:
      type: string
      enum:
      - UNKNOWN_ENTITY_CHANGE_METHOD
      - CREATE
      - UPDATE
      - DELETE
      default: UNKNOWN_ENTITY_CHANGE_METHOD
    v1CampaignEntityChangeLog:
      type: object
      properties:
        method:
          $ref: '#/components/schemas/EntityChangeLogEntityChangeMethod'
        entity_id:
          type: string
          description: The id of the entity.
        field_type:
          $ref: '#/components/schemas/EntityChangeLogFieldType'
        field_name:
          type: string
          description: The name of the field. The nested field will have '.' as a separator. e.g. A.B.C represents the hierarchy, meaning top-level field is A, and the field C is under the field B below it.
        field_before:
          type: string
          description: Field value before the change. This field will be filled except for the case of item change.
        field_after:
          type: string
          description: Field value after the change. This field will be filled except for the case of item change.
        removed_items_count:
          type: integer
          format: int64
          description: The number of items that existed in the campaign and then disappeared. This field will be filled only for the case of item change.
        added_items_count:
          type: integer
          format: int64
          description: The number of items newly added that were not in the campaign. This field will be filled only for the case of item change.
        updated_at:
          type: string
          format: date-time
          description: Updated timestamp of the campaign entity.
        changed_by:
          $ref: '#/components/schemas/v1ChangeLogUser'
      description: Definition of a CampaignEntityChangeLog.
      required:
      - method
      - entity_id
      - field_type
      - field_name
      - updated_at
      additionalProperties: true
    rmpcommonCurrency:
      type: string
      enum:
      - UNKNOWN_CURRENCY
      - USD
      - KRW
      - JPY
      - EUR
      - GBP
      - SEK
      - INR
      - THB
      - IDR
      - CNY
      - CAD
      - RUB
      - BRL
      - SGD
      - HKD
      - AUD
      - PLN
      - DKK
      - VND
      - MYR
      - PHP
      - TRY
      - VES
      - AED
      - CHF
      default: UNKNOWN_CURRENCY
      description: "Currency enumerates available currencies.\n\n - UNKNOWN_CURRENCY: Unknown currency.\n - USD: US Dollar.\n - KRW: Korean Won.\n - JPY: Japanese Yen.\n - EUR: EU Euro.\n - GBP: British Pound.\n - SEK: Swedish Krona.\n - INR: India Rupee.\n - THB: Thailand Baht.\n - IDR: Indonesia Rupiah.\n - CNY: China Yuan.\n - CAD: Canada Dollar.\n - RUB: Russia Ruble.\n - BRL: Brazil Real.\n - SGD: Singapore Dollar.\n - HKD: Hong Kong Dollar.\n - AUD: Autrailia Dollar.\n - PLN: Poland Zloty.\n - DKK: Denmark Krone.\n - VND: Viet Nam Dong.\n - MYR: Malaysia Ringgit.\n - PHP: Philippines Peso.\n - TRY: Turkey Lira.\n - VES: Venezuela Bolívar Soberano.\n - AED: United Arab Emirates Dirham.\n - CHF: Swiss Franc."
    v1EntityChangeLogFilter:
      type: object
      properties:
        method:
          $ref: '#/components/schemas/EntityChangeLogEntityChangeMethod'
        field_name:
          type: string
          description: The name of the changed field.
      description: Definition of a ChangeLogFilter. The fields in the message compose AND condition filter.
      additionalProperties: true
    v1CreditAccountHistoryLogMetadata:
      type: object
      properties:
        comment:
          type: string
          description: A comment for transaction. Optional.
      additionalProperties: true
    publicQueryWalletAccountHistoryResponse:
      type: object
      properties:
        rows:
          type: array
          items:
            $ref: '#/components/schemas/v1WalletAccountHistoryLog'
          description: List of WalletAccountHistoryLogs.
        page_info:
          $ref: '#/components/schemas/commonPageInfo'
      description: QueryWalletAccountHistory response.
      required:
      - rows
      - page_info
      additionalProperties: true
    publicQueryCampaignChangeLogsResponse:
      type: object
      properties:
        rows:
          type: array
          items:
            $ref: '#/components/schemas/v1CampaignEntityChangeLog'
          description: List of campaign history.
        page_info:
          $ref: '#/components/schemas/commonPageInfo'
      description: Response message of QueryCampaignChangeHistory.
      required:
      - rows
      - page_info
      additionalProperties: true
    v1WalletAccountHistoryLog:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/v1WalletAccountHistoryLogType'
        budget_change:
          $ref: '#/components/schemas/v1WalletAccountHistoryLogMoneyMicroByAccount'
        balance:
          $ref: '#/components/schemas/v1WalletAccountHistoryLogMoneyMicroByAccount'
        updated_at:
          type: string
          format: date-time
          description: Updated timestamp of wallet.
        metadata:
          $ref: '#/components/schemas/v1WalletAccountHistoryLogMetadata'
        changed_by:
          $ref: '#/components/schemas/v1WalletAccountHistoryLogChangedBy'
      description: Definition of a WalletAccountHistoryLog.
      required:
      - type
      - budget_change
      - balance
      - updated_at
      additionalProperties: true
    publicQueryCampaignChangeLogItemsResponse:
      type: object
      properties:
        rows:
          type: array
          items:
            $ref: '#/components/sche

# --- truncated at 32 KB (35 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/moloco/refs/heads/main/openapi/moloco-changehistory-api-openapi.yml