# coding: utf-8

"""
    Pinterest REST API

    Pinterest's REST API

    The version of the OpenAPI document: 5.23.0
    Contact: blah+oapicf@cliffano.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self


class MMMReportingColumn(str, Enum):
    """
    Marketing Mix Modeling (MMM) Reporting Columns
    """

    """
    allowed enum values
    """
    SPEND_IN_DOLLAR = 'SPEND_IN_DOLLAR'
    SPEND_IN_MICRO_DOLLAR = 'SPEND_IN_MICRO_DOLLAR'
    ECPC_IN_DOLLAR = 'ECPC_IN_DOLLAR'
    ECTR = 'ECTR'
    CAMPAIGN_NAME = 'CAMPAIGN_NAME'
    TOTAL_ENGAGEMENT = 'TOTAL_ENGAGEMENT'
    EENGAGEMENT_RATE = 'EENGAGEMENT_RATE'
    ECPM_IN_DOLLAR = 'ECPM_IN_DOLLAR'
    CAMPAIGN_ID = 'CAMPAIGN_ID'
    ADVERTISER_ID = 'ADVERTISER_ID'
    AD_GROUP_ID = 'AD_GROUP_ID'
    AD_GROUP_NAME = 'AD_GROUP_NAME'
    CLICKTHROUGH_1 = 'CLICKTHROUGH_1'
    IMPRESSION_1 = 'IMPRESSION_1'
    CLICKTHROUGH_2 = 'CLICKTHROUGH_2'
    IMPRESSION_2 = 'IMPRESSION_2'
    TOTAL_CLICKTHROUGH = 'TOTAL_CLICKTHROUGH'
    TOTAL_IMPRESSION = 'TOTAL_IMPRESSION'
    ADVERTISER_NAME = 'ADVERTISER_NAME'
    SPEND_ORDER_LINE_PAID_TYPE = 'SPEND_ORDER_LINE_PAID_TYPE'

    @classmethod
    def from_json(cls, json_str: str) -> Self:
        """Create an instance of MMMReportingColumn from a JSON string"""
        return cls(json.loads(json_str))


