<?php

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/analytics/admin/v1alpha/resources.proto
namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AttributionSettings;

use UnexpectedValueException;
/**
 * The Conversion Export Scope for data exported to linked Ads Accounts.
 *
 * Protobuf type <code>google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope</code>
 */
class AdsWebConversionDataExportScope
{
    /**
     * Default value. This value is unused.
     *
     * Generated from protobuf enum <code>ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED = 0;</code>
     */
    const ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED = 0;
    /**
     * No data export scope selected yet.
     * Export scope can never be changed back to this value.
     *
     * Generated from protobuf enum <code>NOT_SELECTED_YET = 1;</code>
     */
    const NOT_SELECTED_YET = 1;
    /**
     * Paid and organic channels are eligible to receive conversion credit, but
     * only credit assigned to Google Ads channels will appear in your Ads
     * accounts. To learn more, see [Paid and Organic
     * channels](https://support.google.com/analytics/answer/10632359).
     *
     * Generated from protobuf enum <code>PAID_AND_ORGANIC_CHANNELS = 2;</code>
     */
    const PAID_AND_ORGANIC_CHANNELS = 2;
    /**
     * Only Google Ads paid channels are eligible to receive conversion credit.
     * To learn more, see [Google Paid
     * channels](https://support.google.com/analytics/answer/10632359).
     *
     * Generated from protobuf enum <code>GOOGLE_PAID_CHANNELS = 3;</code>
     */
    const GOOGLE_PAID_CHANNELS = 3;
    private static $valueToName = [self::ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED => 'ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED', self::NOT_SELECTED_YET => 'NOT_SELECTED_YET', self::PAID_AND_ORGANIC_CHANNELS => 'PAID_AND_ORGANIC_CHANNELS', self::GOOGLE_PAID_CHANNELS => 'GOOGLE_PAID_CHANNELS'];
    public static function name($value)
    {
        if (!isset(self::$valueToName[$value])) {
            throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value));
        }
        return self::$valueToName[$value];
    }
    public static function value($name)
    {
        $const = __CLASS__ . '::' . strtoupper($name);
        if (!defined($const)) {
            throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name));
        }
        return constant($const);
    }
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdsWebConversionDataExportScope::class, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1alpha\AttributionSettings_AdsWebConversionDataExportScope::class);
