1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 18546 18547 18548 18549 18550 18551 18552 18553 18554 18555 18556 18557 18558 18559 18560 18561 18562 18563 18564 18565 18566 18567 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 18708 18709 18710 18711 18712 18713 18714 18715 18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 19241 19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 19260 19261 19262 19263 19264 19265 19266 19267 19268 19269 19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 19322 19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 19407 19408 19409 19410 19411 19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 19514 19515 19516 19517 19518 19519 19520 19521 19522 19523 19524 19525 19526 19527 19528 19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 19613 19614 19615 19616 19617 19618 19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 19671 19672 19673 19674 19675 19676 19677 19678 19679 19680 19681 19682 19683 19684 19685 19686 19687 19688 19689 19690 19691 19692 19693 19694 19695 19696 19697 19698 19699 19700 19701 19702 19703 19704 19705 19706 19707 19708 19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 19764 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 19819 19820 19821 19822 19823 19824 19825 19826 19827 19828 19829 19830 19831 19832 19833 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 19896 19897 19898 19899 19900 19901 19902 19903 19904 19905 19906 19907 19908 19909 19910 19911 19912 19913 19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 19925 19926 19927 19928 19929 19930 19931 19932 19933 19934 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 19965 19966 19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 19984 19985 19986 19987 19988 19989
// This file is @generated by prost-build.
/// Container for enum describing possible ad group feed errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdGroupFeedErrorEnum {}
/// Nested message and enum types in `AdGroupFeedErrorEnum`.
pub mod ad_group_feed_error_enum {
/// Enum describing possible ad group feed errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AdGroupFeedError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// An active feed already exists for this ad group and place holder type.
FeedAlreadyExistsForPlaceholderType = 2,
/// The specified feed is removed.
CannotCreateForRemovedFeed = 3,
/// The AdGroupFeed already exists. UPDATE operation should be used to modify
/// the existing AdGroupFeed.
AdgroupFeedAlreadyExists = 4,
/// Cannot operate on removed AdGroupFeed.
CannotOperateOnRemovedAdgroupFeed = 5,
/// Invalid placeholder type.
InvalidPlaceholderType = 6,
/// Feed mapping for this placeholder type does not exist.
MissingFeedmappingForPlaceholderType = 7,
/// Location AdGroupFeeds cannot be created unless there is a location
/// CustomerFeed for the specified feed.
NoExistingLocationCustomerFeed = 8,
}
impl AdGroupFeedError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AdGroupFeedError::Unspecified => "UNSPECIFIED",
AdGroupFeedError::Unknown => "UNKNOWN",
AdGroupFeedError::FeedAlreadyExistsForPlaceholderType => {
"FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE"
}
AdGroupFeedError::CannotCreateForRemovedFeed => {
"CANNOT_CREATE_FOR_REMOVED_FEED"
}
AdGroupFeedError::AdgroupFeedAlreadyExists => {
"ADGROUP_FEED_ALREADY_EXISTS"
}
AdGroupFeedError::CannotOperateOnRemovedAdgroupFeed => {
"CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED"
}
AdGroupFeedError::InvalidPlaceholderType => "INVALID_PLACEHOLDER_TYPE",
AdGroupFeedError::MissingFeedmappingForPlaceholderType => {
"MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE"
}
AdGroupFeedError::NoExistingLocationCustomerFeed => {
"NO_EXISTING_LOCATION_CUSTOMER_FEED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE" => {
Some(Self::FeedAlreadyExistsForPlaceholderType)
}
"CANNOT_CREATE_FOR_REMOVED_FEED" => {
Some(Self::CannotCreateForRemovedFeed)
}
"ADGROUP_FEED_ALREADY_EXISTS" => Some(Self::AdgroupFeedAlreadyExists),
"CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED" => {
Some(Self::CannotOperateOnRemovedAdgroupFeed)
}
"INVALID_PLACEHOLDER_TYPE" => Some(Self::InvalidPlaceholderType),
"MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE" => {
Some(Self::MissingFeedmappingForPlaceholderType)
}
"NO_EXISTING_LOCATION_CUSTOMER_FEED" => {
Some(Self::NoExistingLocationCustomerFeed)
}
_ => None,
}
}
}
}
/// Container for enum describing possible CustomeClientLink errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomerClientLinkErrorEnum {}
/// Nested message and enum types in `CustomerClientLinkErrorEnum`.
pub mod customer_client_link_error_enum {
/// Enum describing possible CustomerClientLink errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CustomerClientLinkError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Trying to manage a client that already in being managed by customer.
ClientAlreadyInvitedByThisManager = 2,
/// Already managed by some other manager in the hierarchy.
ClientAlreadyManagedInHierarchy = 3,
/// Attempt to create a cycle in the hierarchy.
CyclicLinkNotAllowed = 4,
/// Managed accounts has the maximum number of linked accounts.
CustomerHasTooManyAccounts = 5,
/// Invitor has the maximum pending invitations.
ClientHasTooManyInvitations = 6,
/// Attempt to change hidden status of a link that is not active.
CannotHideOrUnhideManagerAccounts = 7,
/// Parent manager account has the maximum number of linked accounts.
CustomerHasTooManyAccountsAtManager = 8,
/// Client has too many managers.
ClientHasTooManyManagers = 9,
}
impl CustomerClientLinkError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CustomerClientLinkError::Unspecified => "UNSPECIFIED",
CustomerClientLinkError::Unknown => "UNKNOWN",
CustomerClientLinkError::ClientAlreadyInvitedByThisManager => {
"CLIENT_ALREADY_INVITED_BY_THIS_MANAGER"
}
CustomerClientLinkError::ClientAlreadyManagedInHierarchy => {
"CLIENT_ALREADY_MANAGED_IN_HIERARCHY"
}
CustomerClientLinkError::CyclicLinkNotAllowed => {
"CYCLIC_LINK_NOT_ALLOWED"
}
CustomerClientLinkError::CustomerHasTooManyAccounts => {
"CUSTOMER_HAS_TOO_MANY_ACCOUNTS"
}
CustomerClientLinkError::ClientHasTooManyInvitations => {
"CLIENT_HAS_TOO_MANY_INVITATIONS"
}
CustomerClientLinkError::CannotHideOrUnhideManagerAccounts => {
"CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS"
}
CustomerClientLinkError::CustomerHasTooManyAccountsAtManager => {
"CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER"
}
CustomerClientLinkError::ClientHasTooManyManagers => {
"CLIENT_HAS_TOO_MANY_MANAGERS"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CLIENT_ALREADY_INVITED_BY_THIS_MANAGER" => {
Some(Self::ClientAlreadyInvitedByThisManager)
}
"CLIENT_ALREADY_MANAGED_IN_HIERARCHY" => {
Some(Self::ClientAlreadyManagedInHierarchy)
}
"CYCLIC_LINK_NOT_ALLOWED" => Some(Self::CyclicLinkNotAllowed),
"CUSTOMER_HAS_TOO_MANY_ACCOUNTS" => {
Some(Self::CustomerHasTooManyAccounts)
}
"CLIENT_HAS_TOO_MANY_INVITATIONS" => {
Some(Self::ClientHasTooManyInvitations)
}
"CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS" => {
Some(Self::CannotHideOrUnhideManagerAccounts)
}
"CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER" => {
Some(Self::CustomerHasTooManyAccountsAtManager)
}
"CLIENT_HAS_TOO_MANY_MANAGERS" => Some(Self::ClientHasTooManyManagers),
_ => None,
}
}
}
}
/// Container for enum describing possible
/// CustomerSkAdNetworkConversionValueSchema errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomerSkAdNetworkConversionValueSchemaErrorEnum {}
/// Nested message and enum types in `CustomerSkAdNetworkConversionValueSchemaErrorEnum`.
pub mod customer_sk_ad_network_conversion_value_schema_error_enum {
/// Enum describing possible CustomerSkAdNetworkConversionValueSchema errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CustomerSkAdNetworkConversionValueSchemaError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The customer link ID provided is invalid.
InvalidLinkId = 2,
/// The app ID provided is invalid.
InvalidAppId = 3,
/// The conversion value schema provided is invalid.
InvalidSchema = 4,
/// The customer link id provided could not be found.
LinkCodeNotFound = 5,
}
impl CustomerSkAdNetworkConversionValueSchemaError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CustomerSkAdNetworkConversionValueSchemaError::Unspecified => {
"UNSPECIFIED"
}
CustomerSkAdNetworkConversionValueSchemaError::Unknown => "UNKNOWN",
CustomerSkAdNetworkConversionValueSchemaError::InvalidLinkId => {
"INVALID_LINK_ID"
}
CustomerSkAdNetworkConversionValueSchemaError::InvalidAppId => {
"INVALID_APP_ID"
}
CustomerSkAdNetworkConversionValueSchemaError::InvalidSchema => {
"INVALID_SCHEMA"
}
CustomerSkAdNetworkConversionValueSchemaError::LinkCodeNotFound => {
"LINK_CODE_NOT_FOUND"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_LINK_ID" => Some(Self::InvalidLinkId),
"INVALID_APP_ID" => Some(Self::InvalidAppId),
"INVALID_SCHEMA" => Some(Self::InvalidSchema),
"LINK_CODE_NOT_FOUND" => Some(Self::LinkCodeNotFound),
_ => None,
}
}
}
}
/// Container for enum describing possible account link errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AccountLinkErrorEnum {}
/// Nested message and enum types in `AccountLinkErrorEnum`.
pub mod account_link_error_enum {
/// Enum describing possible account link errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AccountLinkError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The new link status is invalid.
InvalidStatus = 2,
/// The authenticated user doesn't have the permission to do the change.
PermissionDenied = 3,
}
impl AccountLinkError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AccountLinkError::Unspecified => "UNSPECIFIED",
AccountLinkError::Unknown => "UNKNOWN",
AccountLinkError::InvalidStatus => "INVALID_STATUS",
AccountLinkError::PermissionDenied => "PERMISSION_DENIED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_STATUS" => Some(Self::InvalidStatus),
"PERMISSION_DENIED" => Some(Self::PermissionDenied),
_ => None,
}
}
}
}
/// Container for enum describing possible ad group criterion errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdGroupCriterionErrorEnum {}
/// Nested message and enum types in `AdGroupCriterionErrorEnum`.
pub mod ad_group_criterion_error_enum {
/// Enum describing possible ad group criterion errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AdGroupCriterionError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// No link found between the AdGroupCriterion and the label.
AdGroupCriterionLabelDoesNotExist = 2,
/// The label has already been attached to the AdGroupCriterion.
AdGroupCriterionLabelAlreadyExists = 3,
/// Negative AdGroupCriterion cannot have labels.
CannotAddLabelToNegativeCriterion = 4,
/// Too many operations for a single call.
TooManyOperations = 5,
/// Negative ad group criteria are not updateable.
CantUpdateNegative = 6,
/// Concrete type of criterion (keyword v.s. placement) is required for ADD
/// and SET operations.
ConcreteTypeRequired = 7,
/// Bid is incompatible with ad group's bidding settings.
BidIncompatibleWithAdgroup = 8,
/// Cannot target and exclude the same criterion at once.
CannotTargetAndExclude = 9,
/// The URL of a placement is invalid.
IllegalUrl = 10,
/// Keyword text was invalid.
InvalidKeywordText = 11,
/// Destination URL was invalid.
InvalidDestinationUrl = 12,
/// The destination url must contain at least one tag (for example, {lpurl})
MissingDestinationUrlTag = 13,
/// Keyword-level cpm bid is not supported
KeywordLevelBidNotSupportedForManualcpm = 14,
/// For example, cannot add a biddable ad group criterion that had been
/// removed.
InvalidUserStatus = 15,
/// Criteria type cannot be targeted for the ad group. Either the account is
/// restricted to keywords only, the criteria type is incompatible with the
/// campaign's bidding strategy, or the criteria type can only be applied to
/// campaigns.
CannotAddCriteriaType = 16,
/// Criteria type cannot be excluded for the ad group. Refer to the
/// documentation for a specific criterion to check if it is excludable.
CannotExcludeCriteriaType = 17,
/// Partial failure is not supported for shopping campaign mutate operations.
CampaignTypeNotCompatibleWithPartialFailure = 27,
/// Operations in the mutate request changes too many shopping ad groups.
/// Split requests for multiple shopping ad groups across multiple
/// requests.
OperationsForTooManyShoppingAdgroups = 28,
/// Not allowed to modify url fields of an ad group criterion if there are
/// duplicate elements for that ad group criterion in the request.
CannotModifyUrlFieldsWithDuplicateElements = 29,
/// Cannot set url fields without also setting final urls.
CannotSetWithoutFinalUrls = 30,
/// Cannot clear final urls if final mobile urls exist.
CannotClearFinalUrlsIfFinalMobileUrlsExist = 31,
/// Cannot clear final urls if final app urls exist.
CannotClearFinalUrlsIfFinalAppUrlsExist = 32,
/// Cannot clear final urls if tracking url template exists.
CannotClearFinalUrlsIfTrackingUrlTemplateExists = 33,
/// Cannot clear final urls if url custom parameters exist.
CannotClearFinalUrlsIfUrlCustomParametersExist = 34,
/// Cannot set both destination url and final urls.
CannotSetBothDestinationUrlAndFinalUrls = 35,
/// Cannot set both destination url and tracking url template.
CannotSetBothDestinationUrlAndTrackingUrlTemplate = 36,
/// Final urls are not supported for this criterion type.
FinalUrlsNotSupportedForCriterionType = 37,
/// Final mobile urls are not supported for this criterion type.
FinalMobileUrlsNotSupportedForCriterionType = 38,
}
impl AdGroupCriterionError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AdGroupCriterionError::Unspecified => "UNSPECIFIED",
AdGroupCriterionError::Unknown => "UNKNOWN",
AdGroupCriterionError::AdGroupCriterionLabelDoesNotExist => {
"AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST"
}
AdGroupCriterionError::AdGroupCriterionLabelAlreadyExists => {
"AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS"
}
AdGroupCriterionError::CannotAddLabelToNegativeCriterion => {
"CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION"
}
AdGroupCriterionError::TooManyOperations => "TOO_MANY_OPERATIONS",
AdGroupCriterionError::CantUpdateNegative => "CANT_UPDATE_NEGATIVE",
AdGroupCriterionError::ConcreteTypeRequired => "CONCRETE_TYPE_REQUIRED",
AdGroupCriterionError::BidIncompatibleWithAdgroup => {
"BID_INCOMPATIBLE_WITH_ADGROUP"
}
AdGroupCriterionError::CannotTargetAndExclude => {
"CANNOT_TARGET_AND_EXCLUDE"
}
AdGroupCriterionError::IllegalUrl => "ILLEGAL_URL",
AdGroupCriterionError::InvalidKeywordText => "INVALID_KEYWORD_TEXT",
AdGroupCriterionError::InvalidDestinationUrl => "INVALID_DESTINATION_URL",
AdGroupCriterionError::MissingDestinationUrlTag => {
"MISSING_DESTINATION_URL_TAG"
}
AdGroupCriterionError::KeywordLevelBidNotSupportedForManualcpm => {
"KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM"
}
AdGroupCriterionError::InvalidUserStatus => "INVALID_USER_STATUS",
AdGroupCriterionError::CannotAddCriteriaType => {
"CANNOT_ADD_CRITERIA_TYPE"
}
AdGroupCriterionError::CannotExcludeCriteriaType => {
"CANNOT_EXCLUDE_CRITERIA_TYPE"
}
AdGroupCriterionError::CampaignTypeNotCompatibleWithPartialFailure => {
"CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE"
}
AdGroupCriterionError::OperationsForTooManyShoppingAdgroups => {
"OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS"
}
AdGroupCriterionError::CannotModifyUrlFieldsWithDuplicateElements => {
"CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS"
}
AdGroupCriterionError::CannotSetWithoutFinalUrls => {
"CANNOT_SET_WITHOUT_FINAL_URLS"
}
AdGroupCriterionError::CannotClearFinalUrlsIfFinalMobileUrlsExist => {
"CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST"
}
AdGroupCriterionError::CannotClearFinalUrlsIfFinalAppUrlsExist => {
"CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST"
}
AdGroupCriterionError::CannotClearFinalUrlsIfTrackingUrlTemplateExists => {
"CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS"
}
AdGroupCriterionError::CannotClearFinalUrlsIfUrlCustomParametersExist => {
"CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST"
}
AdGroupCriterionError::CannotSetBothDestinationUrlAndFinalUrls => {
"CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS"
}
AdGroupCriterionError::CannotSetBothDestinationUrlAndTrackingUrlTemplate => {
"CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE"
}
AdGroupCriterionError::FinalUrlsNotSupportedForCriterionType => {
"FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE"
}
AdGroupCriterionError::FinalMobileUrlsNotSupportedForCriterionType => {
"FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST" => {
Some(Self::AdGroupCriterionLabelDoesNotExist)
}
"AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS" => {
Some(Self::AdGroupCriterionLabelAlreadyExists)
}
"CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION" => {
Some(Self::CannotAddLabelToNegativeCriterion)
}
"TOO_MANY_OPERATIONS" => Some(Self::TooManyOperations),
"CANT_UPDATE_NEGATIVE" => Some(Self::CantUpdateNegative),
"CONCRETE_TYPE_REQUIRED" => Some(Self::ConcreteTypeRequired),
"BID_INCOMPATIBLE_WITH_ADGROUP" => Some(Self::BidIncompatibleWithAdgroup),
"CANNOT_TARGET_AND_EXCLUDE" => Some(Self::CannotTargetAndExclude),
"ILLEGAL_URL" => Some(Self::IllegalUrl),
"INVALID_KEYWORD_TEXT" => Some(Self::InvalidKeywordText),
"INVALID_DESTINATION_URL" => Some(Self::InvalidDestinationUrl),
"MISSING_DESTINATION_URL_TAG" => Some(Self::MissingDestinationUrlTag),
"KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM" => {
Some(Self::KeywordLevelBidNotSupportedForManualcpm)
}
"INVALID_USER_STATUS" => Some(Self::InvalidUserStatus),
"CANNOT_ADD_CRITERIA_TYPE" => Some(Self::CannotAddCriteriaType),
"CANNOT_EXCLUDE_CRITERIA_TYPE" => Some(Self::CannotExcludeCriteriaType),
"CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE" => {
Some(Self::CampaignTypeNotCompatibleWithPartialFailure)
}
"OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS" => {
Some(Self::OperationsForTooManyShoppingAdgroups)
}
"CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS" => {
Some(Self::CannotModifyUrlFieldsWithDuplicateElements)
}
"CANNOT_SET_WITHOUT_FINAL_URLS" => Some(Self::CannotSetWithoutFinalUrls),
"CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST" => {
Some(Self::CannotClearFinalUrlsIfFinalMobileUrlsExist)
}
"CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST" => {
Some(Self::CannotClearFinalUrlsIfFinalAppUrlsExist)
}
"CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS" => {
Some(Self::CannotClearFinalUrlsIfTrackingUrlTemplateExists)
}
"CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST" => {
Some(Self::CannotClearFinalUrlsIfUrlCustomParametersExist)
}
"CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS" => {
Some(Self::CannotSetBothDestinationUrlAndFinalUrls)
}
"CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE" => {
Some(Self::CannotSetBothDestinationUrlAndTrackingUrlTemplate)
}
"FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE" => {
Some(Self::FinalUrlsNotSupportedForCriterionType)
}
"FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE" => {
Some(Self::FinalMobileUrlsNotSupportedForCriterionType)
}
_ => None,
}
}
}
}
/// Container for enum describing possible bidding errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct BiddingErrorEnum {}
/// Nested message and enum types in `BiddingErrorEnum`.
pub mod bidding_error_enum {
/// Enum describing possible bidding errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum BiddingError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Cannot transition to new bidding strategy.
BiddingStrategyTransitionNotAllowed = 2,
/// Cannot attach bidding strategy to campaign.
CannotAttachBiddingStrategyToCampaign = 7,
/// Bidding strategy is not supported or cannot be used as anonymous.
InvalidAnonymousBiddingStrategyType = 10,
/// The type does not match the named strategy's type.
InvalidBiddingStrategyType = 14,
/// The bid is invalid.
InvalidBid = 17,
/// Bidding strategy is not available for the account type.
BiddingStrategyNotAvailableForAccountType = 18,
/// Campaign can not be created with given bidding strategy. It can be
/// transitioned to the strategy, once eligible.
CannotCreateCampaignWithBiddingStrategy = 21,
/// Cannot target content network only as campaign uses Page One Promoted
/// bidding strategy.
CannotTargetContentNetworkOnlyWithCampaignLevelPopBiddingStrategy = 23,
/// Budget Optimizer and Target Spend bidding strategies are not supported
/// for campaigns with AdSchedule targeting.
BiddingStrategyNotSupportedWithAdSchedule = 24,
/// Pay per conversion is not available to all the customer, only few
/// customers on the allow-list can use this.
PayPerConversionNotAvailableForCustomer = 25,
/// Pay per conversion is not allowed with Target CPA.
PayPerConversionNotAllowedWithTargetCpa = 26,
/// Cannot set bidding strategy to Manual CPM for search network only
/// campaigns.
BiddingStrategyNotAllowedForSearchOnlyCampaigns = 27,
/// The bidding strategy is not supported for use in drafts or experiments.
BiddingStrategyNotSupportedInDraftsOrExperiments = 28,
/// Bidding strategy type does not support product type ad group criterion.
BiddingStrategyTypeDoesNotSupportProductTypeAdgroupCriterion = 29,
/// Bid amount is too small.
BidTooSmall = 30,
/// Bid amount is too big.
BidTooBig = 31,
/// Bid has too many fractional digit precision.
BidTooManyFractionalDigits = 32,
/// Invalid domain name specified.
InvalidDomainName = 33,
/// The field is not compatible with the payment mode.
NotCompatibleWithPaymentMode = 34,
/// Bidding strategy type is incompatible with shared budget.
BiddingStrategyTypeIncompatibleWithSharedBudget = 37,
/// The attached bidding strategy and budget must be aligned with each other
/// if alignment is specified on either entity.
BiddingStrategyAndBudgetMustBeAligned = 38,
/// The attached bidding strategy and budget must be attached to the same
/// campaigns to become aligned.
BiddingStrategyAndBudgetMustBeAttachedToTheSameCampaignsToAlign = 39,
/// The aligned bidding strategy and budget must be removed at the same time.
BiddingStrategyAndBudgetMustBeRemovedTogether = 40,
/// cpc_bid_floor_micros is greater than cpc_bid_ceiling_micros.
CpcBidFloorMicrosGreaterThanCpcBidCeilingMicros = 41,
}
impl BiddingError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
BiddingError::Unspecified => "UNSPECIFIED",
BiddingError::Unknown => "UNKNOWN",
BiddingError::BiddingStrategyTransitionNotAllowed => {
"BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED"
}
BiddingError::CannotAttachBiddingStrategyToCampaign => {
"CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN"
}
BiddingError::InvalidAnonymousBiddingStrategyType => {
"INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE"
}
BiddingError::InvalidBiddingStrategyType => {
"INVALID_BIDDING_STRATEGY_TYPE"
}
BiddingError::InvalidBid => "INVALID_BID",
BiddingError::BiddingStrategyNotAvailableForAccountType => {
"BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE"
}
BiddingError::CannotCreateCampaignWithBiddingStrategy => {
"CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY"
}
BiddingError::CannotTargetContentNetworkOnlyWithCampaignLevelPopBiddingStrategy => {
"CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY"
}
BiddingError::BiddingStrategyNotSupportedWithAdSchedule => {
"BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE"
}
BiddingError::PayPerConversionNotAvailableForCustomer => {
"PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER"
}
BiddingError::PayPerConversionNotAllowedWithTargetCpa => {
"PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA"
}
BiddingError::BiddingStrategyNotAllowedForSearchOnlyCampaigns => {
"BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS"
}
BiddingError::BiddingStrategyNotSupportedInDraftsOrExperiments => {
"BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS"
}
BiddingError::BiddingStrategyTypeDoesNotSupportProductTypeAdgroupCriterion => {
"BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION"
}
BiddingError::BidTooSmall => "BID_TOO_SMALL",
BiddingError::BidTooBig => "BID_TOO_BIG",
BiddingError::BidTooManyFractionalDigits => {
"BID_TOO_MANY_FRACTIONAL_DIGITS"
}
BiddingError::InvalidDomainName => "INVALID_DOMAIN_NAME",
BiddingError::NotCompatibleWithPaymentMode => {
"NOT_COMPATIBLE_WITH_PAYMENT_MODE"
}
BiddingError::BiddingStrategyTypeIncompatibleWithSharedBudget => {
"BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET"
}
BiddingError::BiddingStrategyAndBudgetMustBeAligned => {
"BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED"
}
BiddingError::BiddingStrategyAndBudgetMustBeAttachedToTheSameCampaignsToAlign => {
"BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN"
}
BiddingError::BiddingStrategyAndBudgetMustBeRemovedTogether => {
"BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER"
}
BiddingError::CpcBidFloorMicrosGreaterThanCpcBidCeilingMicros => {
"CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED" => {
Some(Self::BiddingStrategyTransitionNotAllowed)
}
"CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN" => {
Some(Self::CannotAttachBiddingStrategyToCampaign)
}
"INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE" => {
Some(Self::InvalidAnonymousBiddingStrategyType)
}
"INVALID_BIDDING_STRATEGY_TYPE" => Some(Self::InvalidBiddingStrategyType),
"INVALID_BID" => Some(Self::InvalidBid),
"BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE" => {
Some(Self::BiddingStrategyNotAvailableForAccountType)
}
"CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY" => {
Some(Self::CannotCreateCampaignWithBiddingStrategy)
}
"CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY" => {
Some(
Self::CannotTargetContentNetworkOnlyWithCampaignLevelPopBiddingStrategy,
)
}
"BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE" => {
Some(Self::BiddingStrategyNotSupportedWithAdSchedule)
}
"PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER" => {
Some(Self::PayPerConversionNotAvailableForCustomer)
}
"PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA" => {
Some(Self::PayPerConversionNotAllowedWithTargetCpa)
}
"BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS" => {
Some(Self::BiddingStrategyNotAllowedForSearchOnlyCampaigns)
}
"BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS" => {
Some(Self::BiddingStrategyNotSupportedInDraftsOrExperiments)
}
"BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION" => {
Some(
Self::BiddingStrategyTypeDoesNotSupportProductTypeAdgroupCriterion,
)
}
"BID_TOO_SMALL" => Some(Self::BidTooSmall),
"BID_TOO_BIG" => Some(Self::BidTooBig),
"BID_TOO_MANY_FRACTIONAL_DIGITS" => {
Some(Self::BidTooManyFractionalDigits)
}
"INVALID_DOMAIN_NAME" => Some(Self::InvalidDomainName),
"NOT_COMPATIBLE_WITH_PAYMENT_MODE" => {
Some(Self::NotCompatibleWithPaymentMode)
}
"BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET" => {
Some(Self::BiddingStrategyTypeIncompatibleWithSharedBudget)
}
"BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED" => {
Some(Self::BiddingStrategyAndBudgetMustBeAligned)
}
"BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN" => {
Some(
Self::BiddingStrategyAndBudgetMustBeAttachedToTheSameCampaignsToAlign,
)
}
"BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER" => {
Some(Self::BiddingStrategyAndBudgetMustBeRemovedTogether)
}
"CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS" => {
Some(Self::CpcBidFloorMicrosGreaterThanCpcBidCeilingMicros)
}
_ => None,
}
}
}
}
/// Container for enum describing possible ad group criterion customizer errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdGroupCriterionCustomizerErrorEnum {}
/// Nested message and enum types in `AdGroupCriterionCustomizerErrorEnum`.
pub mod ad_group_criterion_customizer_error_enum {
/// Enum describing possible ad group criterion customizer errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AdGroupCriterionCustomizerError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Only keyword type criterion is allowed to link customizer attribute.
CriterionIsNotKeyword = 2,
}
impl AdGroupCriterionCustomizerError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AdGroupCriterionCustomizerError::Unspecified => "UNSPECIFIED",
AdGroupCriterionCustomizerError::Unknown => "UNKNOWN",
AdGroupCriterionCustomizerError::CriterionIsNotKeyword => {
"CRITERION_IS_NOT_KEYWORD"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CRITERION_IS_NOT_KEYWORD" => Some(Self::CriterionIsNotKeyword),
_ => None,
}
}
}
}
/// Container for enum describing possible asset set link errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AssetSetLinkErrorEnum {}
/// Nested message and enum types in `AssetSetLinkErrorEnum`.
pub mod asset_set_link_error_enum {
/// Enum describing possible asset set link errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AssetSetLinkError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Advertising channel type cannot be attached to the asset set due to
/// channel-based restrictions.
IncompatibleAdvertisingChannelType = 2,
/// For this asset set type, only one campaign to feed linkage is allowed.
DuplicateFeedLink = 3,
/// The asset set type and campaign type are incompatible.
IncompatibleAssetSetTypeWithCampaignType = 4,
/// Cannot link duplicate asset sets to the same campaign.
DuplicateAssetSetLink = 5,
/// Cannot remove the asset set link. If a campaign is linked with only one
/// asset set and you attempt to unlink them, this error will be triggered.
AssetSetLinkCannotBeRemoved = 6,
}
impl AssetSetLinkError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AssetSetLinkError::Unspecified => "UNSPECIFIED",
AssetSetLinkError::Unknown => "UNKNOWN",
AssetSetLinkError::IncompatibleAdvertisingChannelType => {
"INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE"
}
AssetSetLinkError::DuplicateFeedLink => "DUPLICATE_FEED_LINK",
AssetSetLinkError::IncompatibleAssetSetTypeWithCampaignType => {
"INCOMPATIBLE_ASSET_SET_TYPE_WITH_CAMPAIGN_TYPE"
}
AssetSetLinkError::DuplicateAssetSetLink => "DUPLICATE_ASSET_SET_LINK",
AssetSetLinkError::AssetSetLinkCannotBeRemoved => {
"ASSET_SET_LINK_CANNOT_BE_REMOVED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE" => {
Some(Self::IncompatibleAdvertisingChannelType)
}
"DUPLICATE_FEED_LINK" => Some(Self::DuplicateFeedLink),
"INCOMPATIBLE_ASSET_SET_TYPE_WITH_CAMPAIGN_TYPE" => {
Some(Self::IncompatibleAssetSetTypeWithCampaignType)
}
"DUPLICATE_ASSET_SET_LINK" => Some(Self::DuplicateAssetSetLink),
"ASSET_SET_LINK_CANNOT_BE_REMOVED" => {
Some(Self::AssetSetLinkCannotBeRemoved)
}
_ => None,
}
}
}
}
/// Container for enum describing possible field errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FieldErrorEnum {}
/// Nested message and enum types in `FieldErrorEnum`.
pub mod field_error_enum {
/// Enum describing possible field errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum FieldError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The required field was not present.
Required = 2,
/// The field attempted to be mutated is immutable.
ImmutableField = 3,
/// The field's value is invalid.
InvalidValue = 4,
/// The field cannot be set.
ValueMustBeUnset = 5,
/// The required repeated field was empty.
RequiredNonemptyList = 6,
/// The field cannot be cleared.
FieldCannotBeCleared = 7,
/// The field's value is on a deny-list for this field.
BlockedValue = 9,
/// The field's value cannot be modified, except for clearing.
FieldCanOnlyBeCleared = 10,
}
impl FieldError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
FieldError::Unspecified => "UNSPECIFIED",
FieldError::Unknown => "UNKNOWN",
FieldError::Required => "REQUIRED",
FieldError::ImmutableField => "IMMUTABLE_FIELD",
FieldError::InvalidValue => "INVALID_VALUE",
FieldError::ValueMustBeUnset => "VALUE_MUST_BE_UNSET",
FieldError::RequiredNonemptyList => "REQUIRED_NONEMPTY_LIST",
FieldError::FieldCannotBeCleared => "FIELD_CANNOT_BE_CLEARED",
FieldError::BlockedValue => "BLOCKED_VALUE",
FieldError::FieldCanOnlyBeCleared => "FIELD_CAN_ONLY_BE_CLEARED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"REQUIRED" => Some(Self::Required),
"IMMUTABLE_FIELD" => Some(Self::ImmutableField),
"INVALID_VALUE" => Some(Self::InvalidValue),
"VALUE_MUST_BE_UNSET" => Some(Self::ValueMustBeUnset),
"REQUIRED_NONEMPTY_LIST" => Some(Self::RequiredNonemptyList),
"FIELD_CANNOT_BE_CLEARED" => Some(Self::FieldCannotBeCleared),
"BLOCKED_VALUE" => Some(Self::BlockedValue),
"FIELD_CAN_ONLY_BE_CLEARED" => Some(Self::FieldCanOnlyBeCleared),
_ => None,
}
}
}
}
/// Container for enum describing possible errors from applying a keyword plan
/// campaign.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct KeywordPlanCampaignErrorEnum {}
/// Nested message and enum types in `KeywordPlanCampaignErrorEnum`.
pub mod keyword_plan_campaign_error_enum {
/// Enum describing possible errors from applying a keyword plan campaign.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum KeywordPlanCampaignError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// A keyword plan campaign name is missing, empty, longer than allowed limit
/// or contains invalid chars.
InvalidName = 2,
/// A keyword plan campaign contains one or more untargetable languages.
InvalidLanguages = 3,
/// A keyword plan campaign contains one or more invalid geo targets.
InvalidGeos = 4,
/// The keyword plan campaign name is duplicate to an existing keyword plan
/// campaign name or other keyword plan campaign name in the request.
DuplicateName = 5,
/// The number of geo targets in the keyword plan campaign exceeds limits.
MaxGeosExceeded = 6,
/// The number of languages in the keyword plan campaign exceeds limits.
MaxLanguagesExceeded = 7,
}
impl KeywordPlanCampaignError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
KeywordPlanCampaignError::Unspecified => "UNSPECIFIED",
KeywordPlanCampaignError::Unknown => "UNKNOWN",
KeywordPlanCampaignError::InvalidName => "INVALID_NAME",
KeywordPlanCampaignError::InvalidLanguages => "INVALID_LANGUAGES",
KeywordPlanCampaignError::InvalidGeos => "INVALID_GEOS",
KeywordPlanCampaignError::DuplicateName => "DUPLICATE_NAME",
KeywordPlanCampaignError::MaxGeosExceeded => "MAX_GEOS_EXCEEDED",
KeywordPlanCampaignError::MaxLanguagesExceeded => {
"MAX_LANGUAGES_EXCEEDED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_NAME" => Some(Self::InvalidName),
"INVALID_LANGUAGES" => Some(Self::InvalidLanguages),
"INVALID_GEOS" => Some(Self::InvalidGeos),
"DUPLICATE_NAME" => Some(Self::DuplicateName),
"MAX_GEOS_EXCEEDED" => Some(Self::MaxGeosExceeded),
"MAX_LANGUAGES_EXCEEDED" => Some(Self::MaxLanguagesExceeded),
_ => None,
}
}
}
}
/// Container for enum describing possible ad group ad errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdGroupAdErrorEnum {}
/// Nested message and enum types in `AdGroupAdErrorEnum`.
pub mod ad_group_ad_error_enum {
/// Enum describing possible ad group ad errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AdGroupAdError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// No link found between the adgroup ad and the label.
AdGroupAdLabelDoesNotExist = 2,
/// The label has already been attached to the adgroup ad.
AdGroupAdLabelAlreadyExists = 3,
/// The specified ad was not found in the adgroup
AdNotUnderAdgroup = 4,
/// Removed ads may not be modified
CannotOperateOnRemovedAdgroupad = 5,
/// An ad of this type is deprecated and cannot be created. Only deletions
/// are permitted.
CannotCreateDeprecatedAds = 6,
/// Text ads are deprecated and cannot be created. Use expanded text ads
/// instead.
CannotCreateTextAds = 7,
/// A required field was not specified or is an empty string.
EmptyField = 8,
/// An ad may only be modified once per call
ResourceReferencedInMultipleOps = 9,
/// AdGroupAds with the given ad type cannot be paused.
AdTypeCannotBePaused = 10,
/// AdGroupAds with the given ad type cannot be removed.
AdTypeCannotBeRemoved = 11,
/// An ad of this type is deprecated and cannot be updated. Only removals
/// are permitted.
CannotUpdateDeprecatedAds = 12,
}
impl AdGroupAdError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AdGroupAdError::Unspecified => "UNSPECIFIED",
AdGroupAdError::Unknown => "UNKNOWN",
AdGroupAdError::AdGroupAdLabelDoesNotExist => {
"AD_GROUP_AD_LABEL_DOES_NOT_EXIST"
}
AdGroupAdError::AdGroupAdLabelAlreadyExists => {
"AD_GROUP_AD_LABEL_ALREADY_EXISTS"
}
AdGroupAdError::AdNotUnderAdgroup => "AD_NOT_UNDER_ADGROUP",
AdGroupAdError::CannotOperateOnRemovedAdgroupad => {
"CANNOT_OPERATE_ON_REMOVED_ADGROUPAD"
}
AdGroupAdError::CannotCreateDeprecatedAds => {
"CANNOT_CREATE_DEPRECATED_ADS"
}
AdGroupAdError::CannotCreateTextAds => "CANNOT_CREATE_TEXT_ADS",
AdGroupAdError::EmptyField => "EMPTY_FIELD",
AdGroupAdError::ResourceReferencedInMultipleOps => {
"RESOURCE_REFERENCED_IN_MULTIPLE_OPS"
}
AdGroupAdError::AdTypeCannotBePaused => "AD_TYPE_CANNOT_BE_PAUSED",
AdGroupAdError::AdTypeCannotBeRemoved => "AD_TYPE_CANNOT_BE_REMOVED",
AdGroupAdError::CannotUpdateDeprecatedAds => {
"CANNOT_UPDATE_DEPRECATED_ADS"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"AD_GROUP_AD_LABEL_DOES_NOT_EXIST" => {
Some(Self::AdGroupAdLabelDoesNotExist)
}
"AD_GROUP_AD_LABEL_ALREADY_EXISTS" => {
Some(Self::AdGroupAdLabelAlreadyExists)
}
"AD_NOT_UNDER_ADGROUP" => Some(Self::AdNotUnderAdgroup),
"CANNOT_OPERATE_ON_REMOVED_ADGROUPAD" => {
Some(Self::CannotOperateOnRemovedAdgroupad)
}
"CANNOT_CREATE_DEPRECATED_ADS" => Some(Self::CannotCreateDeprecatedAds),
"CANNOT_CREATE_TEXT_ADS" => Some(Self::CannotCreateTextAds),
"EMPTY_FIELD" => Some(Self::EmptyField),
"RESOURCE_REFERENCED_IN_MULTIPLE_OPS" => {
Some(Self::ResourceReferencedInMultipleOps)
}
"AD_TYPE_CANNOT_BE_PAUSED" => Some(Self::AdTypeCannotBePaused),
"AD_TYPE_CANNOT_BE_REMOVED" => Some(Self::AdTypeCannotBeRemoved),
"CANNOT_UPDATE_DEPRECATED_ADS" => Some(Self::CannotUpdateDeprecatedAds),
_ => None,
}
}
}
}
/// Container for enum describing possible merchant center errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MerchantCenterErrorEnum {}
/// Nested message and enum types in `MerchantCenterErrorEnum`.
pub mod merchant_center_error_enum {
/// Enum describing Merchant Center errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum MerchantCenterError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Merchant ID is either not found or not linked to the Google Ads customer.
MerchantIdCannotBeAccessed = 2,
/// Customer not allowlisted for Shopping in Performance Max Campaign.
CustomerNotAllowedForShoppingPerformanceMax = 3,
}
impl MerchantCenterError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
MerchantCenterError::Unspecified => "UNSPECIFIED",
MerchantCenterError::Unknown => "UNKNOWN",
MerchantCenterError::MerchantIdCannotBeAccessed => {
"MERCHANT_ID_CANNOT_BE_ACCESSED"
}
MerchantCenterError::CustomerNotAllowedForShoppingPerformanceMax => {
"CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"MERCHANT_ID_CANNOT_BE_ACCESSED" => {
Some(Self::MerchantIdCannotBeAccessed)
}
"CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX" => {
Some(Self::CustomerNotAllowedForShoppingPerformanceMax)
}
_ => None,
}
}
}
}
/// Container for enum describing possible ManagerLink errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ManagerLinkErrorEnum {}
/// Nested message and enum types in `ManagerLinkErrorEnum`.
pub mod manager_link_error_enum {
/// Enum describing possible ManagerLink errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ManagerLinkError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The manager and client have incompatible account types.
AccountsNotCompatibleForLinking = 2,
/// Client is already linked to too many managers.
TooManyManagers = 3,
/// Manager has too many pending invitations.
TooManyInvites = 4,
/// Client is already invited by this manager.
AlreadyInvitedByThisManager = 5,
/// The client is already managed by this manager.
AlreadyManagedByThisManager = 6,
/// Client is already managed in hierarchy.
AlreadyManagedInHierarchy = 7,
/// Manager and sub-manager to be linked have duplicate client.
DuplicateChildFound = 8,
/// Client has no active user that can access the client account.
ClientHasNoAdminUser = 9,
/// Adding this link would exceed the maximum hierarchy depth.
MaxDepthExceeded = 10,
/// Adding this link will create a cycle.
CycleNotAllowed = 11,
/// Manager account has the maximum number of linked clients.
TooManyAccounts = 12,
/// Parent manager account has the maximum number of linked clients.
TooManyAccountsAtManager = 13,
/// The account is not authorized owner.
NonOwnerUserCannotModifyLink = 14,
/// Your manager account is suspended, and you are no longer allowed to link
/// to clients.
SuspendedAccountCannotAddClients = 15,
/// You are not allowed to move a client to a manager that is not under your
/// current hierarchy.
ClientOutsideTree = 16,
/// The changed status for mutate link is invalid.
InvalidStatusChange = 17,
/// The change for mutate link is invalid.
InvalidChange = 18,
/// You are not allowed to link a manager account to itself.
CustomerCannotManageSelf = 19,
/// The link was created with status ACTIVE and not PENDING.
CreatingEnabledLinkNotAllowed = 20,
}
impl ManagerLinkError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ManagerLinkError::Unspecified => "UNSPECIFIED",
ManagerLinkError::Unknown => "UNKNOWN",
ManagerLinkError::AccountsNotCompatibleForLinking => {
"ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING"
}
ManagerLinkError::TooManyManagers => "TOO_MANY_MANAGERS",
ManagerLinkError::TooManyInvites => "TOO_MANY_INVITES",
ManagerLinkError::AlreadyInvitedByThisManager => {
"ALREADY_INVITED_BY_THIS_MANAGER"
}
ManagerLinkError::AlreadyManagedByThisManager => {
"ALREADY_MANAGED_BY_THIS_MANAGER"
}
ManagerLinkError::AlreadyManagedInHierarchy => {
"ALREADY_MANAGED_IN_HIERARCHY"
}
ManagerLinkError::DuplicateChildFound => "DUPLICATE_CHILD_FOUND",
ManagerLinkError::ClientHasNoAdminUser => "CLIENT_HAS_NO_ADMIN_USER",
ManagerLinkError::MaxDepthExceeded => "MAX_DEPTH_EXCEEDED",
ManagerLinkError::CycleNotAllowed => "CYCLE_NOT_ALLOWED",
ManagerLinkError::TooManyAccounts => "TOO_MANY_ACCOUNTS",
ManagerLinkError::TooManyAccountsAtManager => {
"TOO_MANY_ACCOUNTS_AT_MANAGER"
}
ManagerLinkError::NonOwnerUserCannotModifyLink => {
"NON_OWNER_USER_CANNOT_MODIFY_LINK"
}
ManagerLinkError::SuspendedAccountCannotAddClients => {
"SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS"
}
ManagerLinkError::ClientOutsideTree => "CLIENT_OUTSIDE_TREE",
ManagerLinkError::InvalidStatusChange => "INVALID_STATUS_CHANGE",
ManagerLinkError::InvalidChange => "INVALID_CHANGE",
ManagerLinkError::CustomerCannotManageSelf => {
"CUSTOMER_CANNOT_MANAGE_SELF"
}
ManagerLinkError::CreatingEnabledLinkNotAllowed => {
"CREATING_ENABLED_LINK_NOT_ALLOWED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING" => {
Some(Self::AccountsNotCompatibleForLinking)
}
"TOO_MANY_MANAGERS" => Some(Self::TooManyManagers),
"TOO_MANY_INVITES" => Some(Self::TooManyInvites),
"ALREADY_INVITED_BY_THIS_MANAGER" => {
Some(Self::AlreadyInvitedByThisManager)
}
"ALREADY_MANAGED_BY_THIS_MANAGER" => {
Some(Self::AlreadyManagedByThisManager)
}
"ALREADY_MANAGED_IN_HIERARCHY" => Some(Self::AlreadyManagedInHierarchy),
"DUPLICATE_CHILD_FOUND" => Some(Self::DuplicateChildFound),
"CLIENT_HAS_NO_ADMIN_USER" => Some(Self::ClientHasNoAdminUser),
"MAX_DEPTH_EXCEEDED" => Some(Self::MaxDepthExceeded),
"CYCLE_NOT_ALLOWED" => Some(Self::CycleNotAllowed),
"TOO_MANY_ACCOUNTS" => Some(Self::TooManyAccounts),
"TOO_MANY_ACCOUNTS_AT_MANAGER" => Some(Self::TooManyAccountsAtManager),
"NON_OWNER_USER_CANNOT_MODIFY_LINK" => {
Some(Self::NonOwnerUserCannotModifyLink)
}
"SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS" => {
Some(Self::SuspendedAccountCannotAddClients)
}
"CLIENT_OUTSIDE_TREE" => Some(Self::ClientOutsideTree),
"INVALID_STATUS_CHANGE" => Some(Self::InvalidStatusChange),
"INVALID_CHANGE" => Some(Self::InvalidChange),
"CUSTOMER_CANNOT_MANAGE_SELF" => Some(Self::CustomerCannotManageSelf),
"CREATING_ENABLED_LINK_NOT_ALLOWED" => {
Some(Self::CreatingEnabledLinkNotAllowed)
}
_ => None,
}
}
}
}
/// Container for enum describing possible bidding strategy errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct BiddingStrategyErrorEnum {}
/// Nested message and enum types in `BiddingStrategyErrorEnum`.
pub mod bidding_strategy_error_enum {
/// Enum describing possible bidding strategy errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum BiddingStrategyError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Each bidding strategy must have a unique name.
DuplicateName = 2,
/// Bidding strategy type is immutable.
CannotChangeBiddingStrategyType = 3,
/// Only bidding strategies not linked to campaigns, adgroups or adgroup
/// criteria can be removed.
CannotRemoveAssociatedStrategy = 4,
/// The specified bidding strategy is not supported.
BiddingStrategyNotSupported = 5,
/// The bidding strategy is incompatible with the campaign's bidding
/// strategy goal type.
IncompatibleBiddingStrategyAndBiddingStrategyGoalType = 6,
}
impl BiddingStrategyError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
BiddingStrategyError::Unspecified => "UNSPECIFIED",
BiddingStrategyError::Unknown => "UNKNOWN",
BiddingStrategyError::DuplicateName => "DUPLICATE_NAME",
BiddingStrategyError::CannotChangeBiddingStrategyType => {
"CANNOT_CHANGE_BIDDING_STRATEGY_TYPE"
}
BiddingStrategyError::CannotRemoveAssociatedStrategy => {
"CANNOT_REMOVE_ASSOCIATED_STRATEGY"
}
BiddingStrategyError::BiddingStrategyNotSupported => {
"BIDDING_STRATEGY_NOT_SUPPORTED"
}
BiddingStrategyError::IncompatibleBiddingStrategyAndBiddingStrategyGoalType => {
"INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"DUPLICATE_NAME" => Some(Self::DuplicateName),
"CANNOT_CHANGE_BIDDING_STRATEGY_TYPE" => {
Some(Self::CannotChangeBiddingStrategyType)
}
"CANNOT_REMOVE_ASSOCIATED_STRATEGY" => {
Some(Self::CannotRemoveAssociatedStrategy)
}
"BIDDING_STRATEGY_NOT_SUPPORTED" => {
Some(Self::BiddingStrategyNotSupported)
}
"INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE" => {
Some(Self::IncompatibleBiddingStrategyAndBiddingStrategyGoalType)
}
_ => None,
}
}
}
}
/// Container for enum describing possible campaign lifecycle goal errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CampaignLifecycleGoalErrorEnum {}
/// Nested message and enum types in `CampaignLifecycleGoalErrorEnum`.
pub mod campaign_lifecycle_goal_error_enum {
/// Enum describing possible campaign lifecycle goal errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CampaignLifecycleGoalError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Campaign is not specified.
CampaignMissing = 2,
/// Cannot find the specified campaign.
InvalidCampaign = 3,
/// Optimization mode is unspecified or invalid.
CustomerAcquisitionInvalidOptimizationMode = 4,
/// The configured lifecycle goal setting is not compatible with the bidding
/// strategy the campaign is using. Specifically, BID_HIGHER_FOR_NEW_CUSTOMER
/// requires conversion-value based bidding strategy type such as
/// MAXIMIZE_CONVERSION_VALUE.
IncompatibleBiddingStrategy = 5,
/// Lifecycle goals require the campaign to optimize towards purchase
/// conversion goal.
MissingPurchaseGoal = 6,
/// CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.high_lifetime_value
/// is invalid or not allowed, such as when the specified value is smaller
/// than 0.01, when the optimization mode is not BID_HIGHER_FOR_NEW_CUSTOMER,
/// or when
/// CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.high_lifetime_value
/// is specified smaller than/without
/// CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.value.
CustomerAcquisitionInvalidHighLifetimeValue = 7,
/// Customer acquisition goal is not supported on this campaign type.
CustomerAcquisitionUnsupportedCampaignType = 8,
/// CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.value
/// is invalid or not allowed, such as when the specified value is smaller
/// than 0.01, or when the optimization mode is not
/// BID_HIGHER_FOR_NEW_CUSTOMER.
CustomerAcquisitionInvalidValue = 9,
/// To use BID_HIGHER_FOR_NEW_CUSTOMER mode, either
/// CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.value
/// or CustomerLifecycleGoal.customer_acquisition_goal_value_settings.value
/// must have been specified. If a manager account is managing your account's
/// conversion tracking, then only the CustomerLifecycleGoal of that manager
/// account is used.
CustomerAcquisitionValueMissing = 10,
/// In order for a campaign to adopt the customer acquisition goal,
/// CustomerLifecycleGoal.lifecycle_goal_customer_definition_settings.existing_user_lists
/// must include active and accessible userlist with more than 1000 members
/// in the Search/Youtube network. If a manager account is managing your
/// account's conversion tracking, then only the CustomerLifecycleGoal of
/// that manager account is used. Also make sure that the manager account
/// shares audience segments with sub-accounts with continuous audience
/// sharing.
CustomerAcquisitionMissingExistingCustomerDefinition = 11,
/// In order for a campaign to adopt the customer acquisition goal with high
/// lifetime value optimization,
/// CustomerLifecycleGoal.lifecycle_goal_customer_definition_settings.high_lifetime_value_user_lists
/// must include active and accessible userlist with more than 1000 members
/// in the Search/Youtube network. If a manager account is managing your
/// account's conversion tracking, then only the CustomerLifecycleGoal of
/// that manager account is used. Also make sure that the manager account
/// shares audience segments with sub-accounts using continuous audience
/// sharing.
CustomerAcquisitionMissingHighValueCustomerDefinition = 12,
}
impl CampaignLifecycleGoalError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CampaignLifecycleGoalError::Unspecified => "UNSPECIFIED",
CampaignLifecycleGoalError::Unknown => "UNKNOWN",
CampaignLifecycleGoalError::CampaignMissing => "CAMPAIGN_MISSING",
CampaignLifecycleGoalError::InvalidCampaign => "INVALID_CAMPAIGN",
CampaignLifecycleGoalError::CustomerAcquisitionInvalidOptimizationMode => {
"CUSTOMER_ACQUISITION_INVALID_OPTIMIZATION_MODE"
}
CampaignLifecycleGoalError::IncompatibleBiddingStrategy => {
"INCOMPATIBLE_BIDDING_STRATEGY"
}
CampaignLifecycleGoalError::MissingPurchaseGoal => {
"MISSING_PURCHASE_GOAL"
}
CampaignLifecycleGoalError::CustomerAcquisitionInvalidHighLifetimeValue => {
"CUSTOMER_ACQUISITION_INVALID_HIGH_LIFETIME_VALUE"
}
CampaignLifecycleGoalError::CustomerAcquisitionUnsupportedCampaignType => {
"CUSTOMER_ACQUISITION_UNSUPPORTED_CAMPAIGN_TYPE"
}
CampaignLifecycleGoalError::CustomerAcquisitionInvalidValue => {
"CUSTOMER_ACQUISITION_INVALID_VALUE"
}
CampaignLifecycleGoalError::CustomerAcquisitionValueMissing => {
"CUSTOMER_ACQUISITION_VALUE_MISSING"
}
CampaignLifecycleGoalError::CustomerAcquisitionMissingExistingCustomerDefinition => {
"CUSTOMER_ACQUISITION_MISSING_EXISTING_CUSTOMER_DEFINITION"
}
CampaignLifecycleGoalError::CustomerAcquisitionMissingHighValueCustomerDefinition => {
"CUSTOMER_ACQUISITION_MISSING_HIGH_VALUE_CUSTOMER_DEFINITION"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CAMPAIGN_MISSING" => Some(Self::CampaignMissing),
"INVALID_CAMPAIGN" => Some(Self::InvalidCampaign),
"CUSTOMER_ACQUISITION_INVALID_OPTIMIZATION_MODE" => {
Some(Self::CustomerAcquisitionInvalidOptimizationMode)
}
"INCOMPATIBLE_BIDDING_STRATEGY" => {
Some(Self::IncompatibleBiddingStrategy)
}
"MISSING_PURCHASE_GOAL" => Some(Self::MissingPurchaseGoal),
"CUSTOMER_ACQUISITION_INVALID_HIGH_LIFETIME_VALUE" => {
Some(Self::CustomerAcquisitionInvalidHighLifetimeValue)
}
"CUSTOMER_ACQUISITION_UNSUPPORTED_CAMPAIGN_TYPE" => {
Some(Self::CustomerAcquisitionUnsupportedCampaignType)
}
"CUSTOMER_ACQUISITION_INVALID_VALUE" => {
Some(Self::CustomerAcquisitionInvalidValue)
}
"CUSTOMER_ACQUISITION_VALUE_MISSING" => {
Some(Self::CustomerAcquisitionValueMissing)
}
"CUSTOMER_ACQUISITION_MISSING_EXISTING_CUSTOMER_DEFINITION" => {
Some(Self::CustomerAcquisitionMissingExistingCustomerDefinition)
}
"CUSTOMER_ACQUISITION_MISSING_HIGH_VALUE_CUSTOMER_DEFINITION" => {
Some(Self::CustomerAcquisitionMissingHighValueCustomerDefinition)
}
_ => None,
}
}
}
}
/// Container for enum describing possible not allowlisted errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct NotAllowlistedErrorEnum {}
/// Nested message and enum types in `NotAllowlistedErrorEnum`.
pub mod not_allowlisted_error_enum {
/// Enum describing possible not allowlisted errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum NotAllowlistedError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Customer is not allowlisted for accessing this feature.
CustomerNotAllowlistedForThisFeature = 2,
}
impl NotAllowlistedError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
NotAllowlistedError::Unspecified => "UNSPECIFIED",
NotAllowlistedError::Unknown => "UNKNOWN",
NotAllowlistedError::CustomerNotAllowlistedForThisFeature => {
"CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE" => {
Some(Self::CustomerNotAllowlistedForThisFeature)
}
_ => None,
}
}
}
}
/// Container for enum describing possible list operation errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ListOperationErrorEnum {}
/// Nested message and enum types in `ListOperationErrorEnum`.
pub mod list_operation_error_enum {
/// Enum describing possible list operation errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ListOperationError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Field required in value is missing.
RequiredFieldMissing = 7,
/// Duplicate or identical value is sent in multiple list operations.
DuplicateValues = 8,
}
impl ListOperationError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ListOperationError::Unspecified => "UNSPECIFIED",
ListOperationError::Unknown => "UNKNOWN",
ListOperationError::RequiredFieldMissing => "REQUIRED_FIELD_MISSING",
ListOperationError::DuplicateValues => "DUPLICATE_VALUES",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"REQUIRED_FIELD_MISSING" => Some(Self::RequiredFieldMissing),
"DUPLICATE_VALUES" => Some(Self::DuplicateValues),
_ => None,
}
}
}
}
/// Container for enum describing possible user list errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct UserListErrorEnum {}
/// Nested message and enum types in `UserListErrorEnum`.
pub mod user_list_error_enum {
/// Enum describing possible user list errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum UserListError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Creating and updating external remarketing user lists is not supported.
ExternalRemarketingUserListMutateNotSupported = 2,
/// Concrete type of user list is required.
ConcreteTypeRequired = 3,
/// Creating/updating user list conversion types requires specifying the
/// conversion type Id.
ConversionTypeIdRequired = 4,
/// Remarketing user list cannot have duplicate conversion types.
DuplicateConversionTypes = 5,
/// Conversion type is invalid/unknown.
InvalidConversionType = 6,
/// User list description is empty or invalid.
InvalidDescription = 7,
/// User list name is empty or invalid.
InvalidName = 8,
/// Type of the UserList does not match.
InvalidType = 9,
/// Embedded logical user lists are not allowed.
CanNotAddLogicalListAsLogicalListOperand = 10,
/// User list rule operand is invalid.
InvalidUserListLogicalRuleOperand = 11,
/// Name is already being used for another user list for the account.
NameAlreadyUsed = 12,
/// Name is required when creating a new conversion type.
NewConversionTypeNameRequired = 13,
/// The given conversion type name has been used.
ConversionTypeNameAlreadyUsed = 14,
/// Only an owner account may edit a user list.
OwnershipRequiredForSet = 15,
/// Creating user list without setting type in oneof user_list field, or
/// creating/updating read-only user list types is not allowed.
UserListMutateNotSupported = 16,
/// Rule is invalid.
InvalidRule = 17,
/// The specified date range is empty.
InvalidDateRange = 27,
/// A UserList which is privacy sensitive or legal rejected cannot be mutated
/// by external users.
CanNotMutateSensitiveUserlist = 28,
/// Maximum number of rulebased user lists a customer can have.
MaxNumRulebasedUserlists = 29,
/// BasicUserList's billable record field cannot be modified once it is set.
CannotModifyBillableRecordCount = 30,
/// crm_based_user_list.app_id field must be set when upload_key_type is
/// MOBILE_ADVERTISING_ID.
AppIdNotSet = 31,
/// Name of the user list is reserved for system generated lists and cannot
/// be used.
UserlistNameIsReservedForSystemList = 32,
/// Advertiser needs to be on the allow-list to use remarketing lists created
/// from advertiser uploaded data (for example, Customer Match lists).
AdvertiserNotOnAllowlistForUsingUploadedData = 37,
/// The provided rule_type is not supported for the user list.
RuleTypeIsNotSupported = 34,
/// Similar user list cannot be used as a logical user list operand.
CanNotAddASimilarUserlistAsLogicalListOperand = 35,
/// Logical user list should not have a mix of CRM based user list and other
/// types of lists in its rules.
CanNotMixCrmBasedInLogicalListWithOtherLists = 36,
/// crm_based_user_list.app_id field can only be set when upload_key_type is
/// MOBILE_ADVERTISING_ID.
AppIdNotAllowed = 39,
/// Google system generated user lists cannot be mutated.
CannotMutateSystemList = 40,
/// The mobile app associated with the remarketing list is sensitive.
MobileAppIsSensitive = 41,
/// One or more given seed lists do not exist.
SeedListDoesNotExist = 42,
/// One or more given seed lists are not accessible to the current user.
InvalidSeedListAccessReason = 43,
/// One or more given seed lists have an unsupported type.
InvalidSeedListType = 44,
/// One or more invalid country codes are added to Lookalike UserList.
InvalidCountryCodes = 45,
}
impl UserListError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
UserListError::Unspecified => "UNSPECIFIED",
UserListError::Unknown => "UNKNOWN",
UserListError::ExternalRemarketingUserListMutateNotSupported => {
"EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED"
}
UserListError::ConcreteTypeRequired => "CONCRETE_TYPE_REQUIRED",
UserListError::ConversionTypeIdRequired => "CONVERSION_TYPE_ID_REQUIRED",
UserListError::DuplicateConversionTypes => "DUPLICATE_CONVERSION_TYPES",
UserListError::InvalidConversionType => "INVALID_CONVERSION_TYPE",
UserListError::InvalidDescription => "INVALID_DESCRIPTION",
UserListError::InvalidName => "INVALID_NAME",
UserListError::InvalidType => "INVALID_TYPE",
UserListError::CanNotAddLogicalListAsLogicalListOperand => {
"CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND"
}
UserListError::InvalidUserListLogicalRuleOperand => {
"INVALID_USER_LIST_LOGICAL_RULE_OPERAND"
}
UserListError::NameAlreadyUsed => "NAME_ALREADY_USED",
UserListError::NewConversionTypeNameRequired => {
"NEW_CONVERSION_TYPE_NAME_REQUIRED"
}
UserListError::ConversionTypeNameAlreadyUsed => {
"CONVERSION_TYPE_NAME_ALREADY_USED"
}
UserListError::OwnershipRequiredForSet => "OWNERSHIP_REQUIRED_FOR_SET",
UserListError::UserListMutateNotSupported => {
"USER_LIST_MUTATE_NOT_SUPPORTED"
}
UserListError::InvalidRule => "INVALID_RULE",
UserListError::InvalidDateRange => "INVALID_DATE_RANGE",
UserListError::CanNotMutateSensitiveUserlist => {
"CAN_NOT_MUTATE_SENSITIVE_USERLIST"
}
UserListError::MaxNumRulebasedUserlists => "MAX_NUM_RULEBASED_USERLISTS",
UserListError::CannotModifyBillableRecordCount => {
"CANNOT_MODIFY_BILLABLE_RECORD_COUNT"
}
UserListError::AppIdNotSet => "APP_ID_NOT_SET",
UserListError::UserlistNameIsReservedForSystemList => {
"USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST"
}
UserListError::AdvertiserNotOnAllowlistForUsingUploadedData => {
"ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA"
}
UserListError::RuleTypeIsNotSupported => "RULE_TYPE_IS_NOT_SUPPORTED",
UserListError::CanNotAddASimilarUserlistAsLogicalListOperand => {
"CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND"
}
UserListError::CanNotMixCrmBasedInLogicalListWithOtherLists => {
"CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS"
}
UserListError::AppIdNotAllowed => "APP_ID_NOT_ALLOWED",
UserListError::CannotMutateSystemList => "CANNOT_MUTATE_SYSTEM_LIST",
UserListError::MobileAppIsSensitive => "MOBILE_APP_IS_SENSITIVE",
UserListError::SeedListDoesNotExist => "SEED_LIST_DOES_NOT_EXIST",
UserListError::InvalidSeedListAccessReason => {
"INVALID_SEED_LIST_ACCESS_REASON"
}
UserListError::InvalidSeedListType => "INVALID_SEED_LIST_TYPE",
UserListError::InvalidCountryCodes => "INVALID_COUNTRY_CODES",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED" => {
Some(Self::ExternalRemarketingUserListMutateNotSupported)
}
"CONCRETE_TYPE_REQUIRED" => Some(Self::ConcreteTypeRequired),
"CONVERSION_TYPE_ID_REQUIRED" => Some(Self::ConversionTypeIdRequired),
"DUPLICATE_CONVERSION_TYPES" => Some(Self::DuplicateConversionTypes),
"INVALID_CONVERSION_TYPE" => Some(Self::InvalidConversionType),
"INVALID_DESCRIPTION" => Some(Self::InvalidDescription),
"INVALID_NAME" => Some(Self::InvalidName),
"INVALID_TYPE" => Some(Self::InvalidType),
"CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND" => {
Some(Self::CanNotAddLogicalListAsLogicalListOperand)
}
"INVALID_USER_LIST_LOGICAL_RULE_OPERAND" => {
Some(Self::InvalidUserListLogicalRuleOperand)
}
"NAME_ALREADY_USED" => Some(Self::NameAlreadyUsed),
"NEW_CONVERSION_TYPE_NAME_REQUIRED" => {
Some(Self::NewConversionTypeNameRequired)
}
"CONVERSION_TYPE_NAME_ALREADY_USED" => {
Some(Self::ConversionTypeNameAlreadyUsed)
}
"OWNERSHIP_REQUIRED_FOR_SET" => Some(Self::OwnershipRequiredForSet),
"USER_LIST_MUTATE_NOT_SUPPORTED" => {
Some(Self::UserListMutateNotSupported)
}
"INVALID_RULE" => Some(Self::InvalidRule),
"INVALID_DATE_RANGE" => Some(Self::InvalidDateRange),
"CAN_NOT_MUTATE_SENSITIVE_USERLIST" => {
Some(Self::CanNotMutateSensitiveUserlist)
}
"MAX_NUM_RULEBASED_USERLISTS" => Some(Self::MaxNumRulebasedUserlists),
"CANNOT_MODIFY_BILLABLE_RECORD_COUNT" => {
Some(Self::CannotModifyBillableRecordCount)
}
"APP_ID_NOT_SET" => Some(Self::AppIdNotSet),
"USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST" => {
Some(Self::UserlistNameIsReservedForSystemList)
}
"ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA" => {
Some(Self::AdvertiserNotOnAllowlistForUsingUploadedData)
}
"RULE_TYPE_IS_NOT_SUPPORTED" => Some(Self::RuleTypeIsNotSupported),
"CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND" => {
Some(Self::CanNotAddASimilarUserlistAsLogicalListOperand)
}
"CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS" => {
Some(Self::CanNotMixCrmBasedInLogicalListWithOtherLists)
}
"APP_ID_NOT_ALLOWED" => Some(Self::AppIdNotAllowed),
"CANNOT_MUTATE_SYSTEM_LIST" => Some(Self::CannotMutateSystemList),
"MOBILE_APP_IS_SENSITIVE" => Some(Self::MobileAppIsSensitive),
"SEED_LIST_DOES_NOT_EXIST" => Some(Self::SeedListDoesNotExist),
"INVALID_SEED_LIST_ACCESS_REASON" => {
Some(Self::InvalidSeedListAccessReason)
}
"INVALID_SEED_LIST_TYPE" => Some(Self::InvalidSeedListType),
"INVALID_COUNTRY_CODES" => Some(Self::InvalidCountryCodes),
_ => None,
}
}
}
}
/// Container for enum describing possible collection size errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CollectionSizeErrorEnum {}
/// Nested message and enum types in `CollectionSizeErrorEnum`.
pub mod collection_size_error_enum {
/// Enum describing possible collection size errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CollectionSizeError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Too few.
TooFew = 2,
/// Too many.
TooMany = 3,
}
impl CollectionSizeError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CollectionSizeError::Unspecified => "UNSPECIFIED",
CollectionSizeError::Unknown => "UNKNOWN",
CollectionSizeError::TooFew => "TOO_FEW",
CollectionSizeError::TooMany => "TOO_MANY",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"TOO_FEW" => Some(Self::TooFew),
"TOO_MANY" => Some(Self::TooMany),
_ => None,
}
}
}
}
/// Container for enum describing possible ad parameter errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdParameterErrorEnum {}
/// Nested message and enum types in `AdParameterErrorEnum`.
pub mod ad_parameter_error_enum {
/// Enum describing possible ad parameter errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AdParameterError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The ad group criterion must be a keyword criterion.
AdGroupCriterionMustBeKeyword = 2,
/// The insertion text is invalid.
InvalidInsertionTextFormat = 3,
}
impl AdParameterError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AdParameterError::Unspecified => "UNSPECIFIED",
AdParameterError::Unknown => "UNKNOWN",
AdParameterError::AdGroupCriterionMustBeKeyword => {
"AD_GROUP_CRITERION_MUST_BE_KEYWORD"
}
AdParameterError::InvalidInsertionTextFormat => {
"INVALID_INSERTION_TEXT_FORMAT"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"AD_GROUP_CRITERION_MUST_BE_KEYWORD" => {
Some(Self::AdGroupCriterionMustBeKeyword)
}
"INVALID_INSERTION_TEXT_FORMAT" => Some(Self::InvalidInsertionTextFormat),
_ => None,
}
}
}
}
/// Container for enum describing possible account budget proposal errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AccountBudgetProposalErrorEnum {}
/// Nested message and enum types in `AccountBudgetProposalErrorEnum`.
pub mod account_budget_proposal_error_enum {
/// Enum describing possible account budget proposal errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AccountBudgetProposalError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The field mask must be empty for create/end/remove proposals.
FieldMaskNotAllowed = 2,
/// The field cannot be set because of the proposal type.
ImmutableField = 3,
/// The field is required because of the proposal type.
RequiredFieldMissing = 4,
/// Proposals that have been approved cannot be cancelled.
CannotCancelApprovedProposal = 5,
/// Budgets that haven't been approved cannot be removed.
CannotRemoveUnapprovedBudget = 6,
/// Budgets that are currently running cannot be removed.
CannotRemoveRunningBudget = 7,
/// Budgets that haven't been approved cannot be truncated.
CannotEndUnapprovedBudget = 8,
/// Only budgets that are currently running can be truncated.
CannotEndInactiveBudget = 9,
/// All budgets must have names.
BudgetNameRequired = 10,
/// Expired budgets cannot be edited after a sufficient amount of time has
/// passed.
CannotUpdateOldBudget = 11,
/// It is not permissible a propose a new budget that ends in the past.
CannotEndInPast = 12,
/// An expired budget cannot be extended to overlap with the running budget.
CannotExtendEndTime = 13,
/// A purchase order number is required.
PurchaseOrderNumberRequired = 14,
/// Budgets that have a pending update cannot be updated.
PendingUpdateProposalExists = 15,
/// Cannot propose more than one budget when the corresponding billing setup
/// hasn't been approved.
MultipleBudgetsNotAllowedForUnapprovedBillingSetup = 16,
/// Cannot update the start time of a budget that has already started.
CannotUpdateStartTimeForStartedBudget = 17,
/// Cannot update the spending limit of a budget with an amount lower than
/// what has already been spent.
SpendingLimitLowerThanAccruedCostNotAllowed = 18,
/// Cannot propose a budget update without actually changing any fields.
UpdateIsNoOp = 19,
/// The end time must come after the start time.
EndTimeMustFollowStartTime = 20,
/// The budget's date range must fall within the date range of its billing
/// setup.
BudgetDateRangeIncompatibleWithBillingSetup = 21,
/// The user is not authorized to mutate budgets for the given billing setup.
NotAuthorized = 22,
/// Mutates are not allowed for the given billing setup.
InvalidBillingSetup = 23,
/// Budget creation failed as it overlaps with a pending budget proposal
/// or an approved budget.
OverlapsExistingBudget = 24,
/// The control setting in user's payments profile doesn't allow budget
/// creation through API. Log in to Google Ads to create budget.
CannotCreateBudgetThroughApi = 25,
/// Master service agreement has not been signed yet for the Payments
/// Profile.
InvalidMasterServiceAgreement = 26,
/// Budget mutates are not allowed because the given billing setup is
/// canceled.
CanceledBillingSetup = 27,
}
impl AccountBudgetProposalError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AccountBudgetProposalError::Unspecified => "UNSPECIFIED",
AccountBudgetProposalError::Unknown => "UNKNOWN",
AccountBudgetProposalError::FieldMaskNotAllowed => {
"FIELD_MASK_NOT_ALLOWED"
}
AccountBudgetProposalError::ImmutableField => "IMMUTABLE_FIELD",
AccountBudgetProposalError::RequiredFieldMissing => {
"REQUIRED_FIELD_MISSING"
}
AccountBudgetProposalError::CannotCancelApprovedProposal => {
"CANNOT_CANCEL_APPROVED_PROPOSAL"
}
AccountBudgetProposalError::CannotRemoveUnapprovedBudget => {
"CANNOT_REMOVE_UNAPPROVED_BUDGET"
}
AccountBudgetProposalError::CannotRemoveRunningBudget => {
"CANNOT_REMOVE_RUNNING_BUDGET"
}
AccountBudgetProposalError::CannotEndUnapprovedBudget => {
"CANNOT_END_UNAPPROVED_BUDGET"
}
AccountBudgetProposalError::CannotEndInactiveBudget => {
"CANNOT_END_INACTIVE_BUDGET"
}
AccountBudgetProposalError::BudgetNameRequired => "BUDGET_NAME_REQUIRED",
AccountBudgetProposalError::CannotUpdateOldBudget => {
"CANNOT_UPDATE_OLD_BUDGET"
}
AccountBudgetProposalError::CannotEndInPast => "CANNOT_END_IN_PAST",
AccountBudgetProposalError::CannotExtendEndTime => {
"CANNOT_EXTEND_END_TIME"
}
AccountBudgetProposalError::PurchaseOrderNumberRequired => {
"PURCHASE_ORDER_NUMBER_REQUIRED"
}
AccountBudgetProposalError::PendingUpdateProposalExists => {
"PENDING_UPDATE_PROPOSAL_EXISTS"
}
AccountBudgetProposalError::MultipleBudgetsNotAllowedForUnapprovedBillingSetup => {
"MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP"
}
AccountBudgetProposalError::CannotUpdateStartTimeForStartedBudget => {
"CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET"
}
AccountBudgetProposalError::SpendingLimitLowerThanAccruedCostNotAllowed => {
"SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED"
}
AccountBudgetProposalError::UpdateIsNoOp => "UPDATE_IS_NO_OP",
AccountBudgetProposalError::EndTimeMustFollowStartTime => {
"END_TIME_MUST_FOLLOW_START_TIME"
}
AccountBudgetProposalError::BudgetDateRangeIncompatibleWithBillingSetup => {
"BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP"
}
AccountBudgetProposalError::NotAuthorized => "NOT_AUTHORIZED",
AccountBudgetProposalError::InvalidBillingSetup => {
"INVALID_BILLING_SETUP"
}
AccountBudgetProposalError::OverlapsExistingBudget => {
"OVERLAPS_EXISTING_BUDGET"
}
AccountBudgetProposalError::CannotCreateBudgetThroughApi => {
"CANNOT_CREATE_BUDGET_THROUGH_API"
}
AccountBudgetProposalError::InvalidMasterServiceAgreement => {
"INVALID_MASTER_SERVICE_AGREEMENT"
}
AccountBudgetProposalError::CanceledBillingSetup => {
"CANCELED_BILLING_SETUP"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"FIELD_MASK_NOT_ALLOWED" => Some(Self::FieldMaskNotAllowed),
"IMMUTABLE_FIELD" => Some(Self::ImmutableField),
"REQUIRED_FIELD_MISSING" => Some(Self::RequiredFieldMissing),
"CANNOT_CANCEL_APPROVED_PROPOSAL" => {
Some(Self::CannotCancelApprovedProposal)
}
"CANNOT_REMOVE_UNAPPROVED_BUDGET" => {
Some(Self::CannotRemoveUnapprovedBudget)
}
"CANNOT_REMOVE_RUNNING_BUDGET" => Some(Self::CannotRemoveRunningBudget),
"CANNOT_END_UNAPPROVED_BUDGET" => Some(Self::CannotEndUnapprovedBudget),
"CANNOT_END_INACTIVE_BUDGET" => Some(Self::CannotEndInactiveBudget),
"BUDGET_NAME_REQUIRED" => Some(Self::BudgetNameRequired),
"CANNOT_UPDATE_OLD_BUDGET" => Some(Self::CannotUpdateOldBudget),
"CANNOT_END_IN_PAST" => Some(Self::CannotEndInPast),
"CANNOT_EXTEND_END_TIME" => Some(Self::CannotExtendEndTime),
"PURCHASE_ORDER_NUMBER_REQUIRED" => {
Some(Self::PurchaseOrderNumberRequired)
}
"PENDING_UPDATE_PROPOSAL_EXISTS" => {
Some(Self::PendingUpdateProposalExists)
}
"MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP" => {
Some(Self::MultipleBudgetsNotAllowedForUnapprovedBillingSetup)
}
"CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET" => {
Some(Self::CannotUpdateStartTimeForStartedBudget)
}
"SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED" => {
Some(Self::SpendingLimitLowerThanAccruedCostNotAllowed)
}
"UPDATE_IS_NO_OP" => Some(Self::UpdateIsNoOp),
"END_TIME_MUST_FOLLOW_START_TIME" => {
Some(Self::EndTimeMustFollowStartTime)
}
"BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP" => {
Some(Self::BudgetDateRangeIncompatibleWithBillingSetup)
}
"NOT_AUTHORIZED" => Some(Self::NotAuthorized),
"INVALID_BILLING_SETUP" => Some(Self::InvalidBillingSetup),
"OVERLAPS_EXISTING_BUDGET" => Some(Self::OverlapsExistingBudget),
"CANNOT_CREATE_BUDGET_THROUGH_API" => {
Some(Self::CannotCreateBudgetThroughApi)
}
"INVALID_MASTER_SERVICE_AGREEMENT" => {
Some(Self::InvalidMasterServiceAgreement)
}
"CANCELED_BILLING_SETUP" => Some(Self::CanceledBillingSetup),
_ => None,
}
}
}
}
/// Container for enum describing possible ProductLink errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProductLinkErrorEnum {}
/// Nested message and enum types in `ProductLinkErrorEnum`.
pub mod product_link_error_enum {
/// Enum describing possible ProductLink errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ProductLinkError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The requested operation is invalid. For example, you are not allowed to
/// remove a link from a partner account.
InvalidOperation = 2,
/// The creation request is not permitted.
CreationNotPermitted = 3,
}
impl ProductLinkError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ProductLinkError::Unspecified => "UNSPECIFIED",
ProductLinkError::Unknown => "UNKNOWN",
ProductLinkError::InvalidOperation => "INVALID_OPERATION",
ProductLinkError::CreationNotPermitted => "CREATION_NOT_PERMITTED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_OPERATION" => Some(Self::InvalidOperation),
"CREATION_NOT_PERMITTED" => Some(Self::CreationNotPermitted),
_ => None,
}
}
}
}
/// Container for enum describing possible header errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct HeaderErrorEnum {}
/// Nested message and enum types in `HeaderErrorEnum`.
pub mod header_error_enum {
/// Enum describing possible header errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum HeaderError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The login customer ID could not be validated.
InvalidLoginCustomerId = 3,
/// The linked customer ID could not be validated.
InvalidLinkedCustomerId = 7,
}
impl HeaderError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
HeaderError::Unspecified => "UNSPECIFIED",
HeaderError::Unknown => "UNKNOWN",
HeaderError::InvalidLoginCustomerId => "INVALID_LOGIN_CUSTOMER_ID",
HeaderError::InvalidLinkedCustomerId => "INVALID_LINKED_CUSTOMER_ID",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_LOGIN_CUSTOMER_ID" => Some(Self::InvalidLoginCustomerId),
"INVALID_LINKED_CUSTOMER_ID" => Some(Self::InvalidLinkedCustomerId),
_ => None,
}
}
}
}
/// Container for enum describing possible campaign shared set errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CampaignSharedSetErrorEnum {}
/// Nested message and enum types in `CampaignSharedSetErrorEnum`.
pub mod campaign_shared_set_error_enum {
/// Enum describing possible campaign shared set errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CampaignSharedSetError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The shared set belongs to another customer and permission isn't granted.
SharedSetAccessDenied = 2,
}
impl CampaignSharedSetError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CampaignSharedSetError::Unspecified => "UNSPECIFIED",
CampaignSharedSetError::Unknown => "UNKNOWN",
CampaignSharedSetError::SharedSetAccessDenied => {
"SHARED_SET_ACCESS_DENIED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"SHARED_SET_ACCESS_DENIED" => Some(Self::SharedSetAccessDenied),
_ => None,
}
}
}
}
/// Container for enum describing possible mutate errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MutateErrorEnum {}
/// Nested message and enum types in `MutateErrorEnum`.
pub mod mutate_error_enum {
/// Enum describing possible mutate errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum MutateError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Requested resource was not found.
ResourceNotFound = 3,
/// Cannot mutate the same resource twice in one request.
IdExistsInMultipleMutates = 7,
/// The field's contents don't match another field that represents the same
/// data.
InconsistentFieldValues = 8,
/// Mutates are not allowed for the requested resource.
MutateNotAllowed = 9,
/// The resource isn't in Google Ads. It belongs to another ads system.
ResourceNotInGoogleAds = 10,
/// The resource being created already exists.
ResourceAlreadyExists = 11,
/// This resource cannot be used with "validate_only".
ResourceDoesNotSupportValidateOnly = 12,
/// This operation cannot be used with "partial_failure".
OperationDoesNotSupportPartialFailure = 16,
/// Attempt to write to read-only fields.
ResourceReadOnly = 13,
}
impl MutateError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
MutateError::Unspecified => "UNSPECIFIED",
MutateError::Unknown => "UNKNOWN",
MutateError::ResourceNotFound => "RESOURCE_NOT_FOUND",
MutateError::IdExistsInMultipleMutates => "ID_EXISTS_IN_MULTIPLE_MUTATES",
MutateError::InconsistentFieldValues => "INCONSISTENT_FIELD_VALUES",
MutateError::MutateNotAllowed => "MUTATE_NOT_ALLOWED",
MutateError::ResourceNotInGoogleAds => "RESOURCE_NOT_IN_GOOGLE_ADS",
MutateError::ResourceAlreadyExists => "RESOURCE_ALREADY_EXISTS",
MutateError::ResourceDoesNotSupportValidateOnly => {
"RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY"
}
MutateError::OperationDoesNotSupportPartialFailure => {
"OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE"
}
MutateError::ResourceReadOnly => "RESOURCE_READ_ONLY",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"RESOURCE_NOT_FOUND" => Some(Self::ResourceNotFound),
"ID_EXISTS_IN_MULTIPLE_MUTATES" => Some(Self::IdExistsInMultipleMutates),
"INCONSISTENT_FIELD_VALUES" => Some(Self::InconsistentFieldValues),
"MUTATE_NOT_ALLOWED" => Some(Self::MutateNotAllowed),
"RESOURCE_NOT_IN_GOOGLE_ADS" => Some(Self::ResourceNotInGoogleAds),
"RESOURCE_ALREADY_EXISTS" => Some(Self::ResourceAlreadyExists),
"RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY" => {
Some(Self::ResourceDoesNotSupportValidateOnly)
}
"OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE" => {
Some(Self::OperationDoesNotSupportPartialFailure)
}
"RESOURCE_READ_ONLY" => Some(Self::ResourceReadOnly),
_ => None,
}
}
}
}
/// Container for enum describing possible custom audience errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomAudienceErrorEnum {}
/// Nested message and enum types in `CustomAudienceErrorEnum`.
pub mod custom_audience_error_enum {
/// Enum describing possible custom audience errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CustomAudienceError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// New name in the custom audience is duplicated ignoring cases.
NameAlreadyUsed = 2,
/// Cannot remove a custom audience while it's still being used as targeting.
CannotRemoveWhileInUse = 3,
/// Cannot update or remove a custom audience that is already removed.
ResourceAlreadyRemoved = 4,
/// The pair of \[type, value\] already exists in members.
MemberTypeAndParameterAlreadyExisted = 5,
/// Member type is invalid.
InvalidMemberType = 6,
/// Member type does not have associated value.
MemberTypeAndValueDoesNotMatch = 7,
/// Custom audience contains a member that violates policy.
PolicyViolation = 8,
/// Change in custom audience type is not allowed.
InvalidTypeChange = 9,
}
impl CustomAudienceError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CustomAudienceError::Unspecified => "UNSPECIFIED",
CustomAudienceError::Unknown => "UNKNOWN",
CustomAudienceError::NameAlreadyUsed => "NAME_ALREADY_USED",
CustomAudienceError::CannotRemoveWhileInUse => {
"CANNOT_REMOVE_WHILE_IN_USE"
}
CustomAudienceError::ResourceAlreadyRemoved => "RESOURCE_ALREADY_REMOVED",
CustomAudienceError::MemberTypeAndParameterAlreadyExisted => {
"MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED"
}
CustomAudienceError::InvalidMemberType => "INVALID_MEMBER_TYPE",
CustomAudienceError::MemberTypeAndValueDoesNotMatch => {
"MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH"
}
CustomAudienceError::PolicyViolation => "POLICY_VIOLATION",
CustomAudienceError::InvalidTypeChange => "INVALID_TYPE_CHANGE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"NAME_ALREADY_USED" => Some(Self::NameAlreadyUsed),
"CANNOT_REMOVE_WHILE_IN_USE" => Some(Self::CannotRemoveWhileInUse),
"RESOURCE_ALREADY_REMOVED" => Some(Self::ResourceAlreadyRemoved),
"MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED" => {
Some(Self::MemberTypeAndParameterAlreadyExisted)
}
"INVALID_MEMBER_TYPE" => Some(Self::InvalidMemberType),
"MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH" => {
Some(Self::MemberTypeAndValueDoesNotMatch)
}
"POLICY_VIOLATION" => Some(Self::PolicyViolation),
"INVALID_TYPE_CHANGE" => Some(Self::InvalidTypeChange),
_ => None,
}
}
}
}
/// Container for enum describing possible campaign customizer errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CampaignCustomizerErrorEnum {}
/// Nested message and enum types in `CampaignCustomizerErrorEnum`.
pub mod campaign_customizer_error_enum {
/// Enum describing possible campaign customizer errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CampaignCustomizerError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
}
impl CampaignCustomizerError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CampaignCustomizerError::Unspecified => "UNSPECIFIED",
CampaignCustomizerError::Unknown => "UNKNOWN",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
_ => None,
}
}
}
}
/// Container for enum describing possible label errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct LabelErrorEnum {}
/// Nested message and enum types in `LabelErrorEnum`.
pub mod label_error_enum {
/// Enum describing possible label errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum LabelError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// An inactive label cannot be applied.
CannotApplyInactiveLabel = 2,
/// A label cannot be applied to a disabled ad group criterion.
CannotApplyLabelToDisabledAdGroupCriterion = 3,
/// A label cannot be applied to a negative ad group criterion.
CannotApplyLabelToNegativeAdGroupCriterion = 4,
/// Cannot apply more than 50 labels per resource.
ExceededLabelLimitPerType = 5,
/// Labels from a manager account cannot be applied to campaign, ad group,
/// ad group ad, or ad group criterion resources.
InvalidResourceForManagerLabel = 6,
/// Label names must be unique.
DuplicateName = 7,
/// Label names cannot be empty.
InvalidLabelName = 8,
/// Labels cannot be applied to a draft.
CannotAttachLabelToDraft = 9,
/// Labels not from a manager account cannot be applied to the customer
/// resource.
CannotAttachNonManagerLabelToCustomer = 10,
}
impl LabelError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
LabelError::Unspecified => "UNSPECIFIED",
LabelError::Unknown => "UNKNOWN",
LabelError::CannotApplyInactiveLabel => "CANNOT_APPLY_INACTIVE_LABEL",
LabelError::CannotApplyLabelToDisabledAdGroupCriterion => {
"CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION"
}
LabelError::CannotApplyLabelToNegativeAdGroupCriterion => {
"CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION"
}
LabelError::ExceededLabelLimitPerType => "EXCEEDED_LABEL_LIMIT_PER_TYPE",
LabelError::InvalidResourceForManagerLabel => {
"INVALID_RESOURCE_FOR_MANAGER_LABEL"
}
LabelError::DuplicateName => "DUPLICATE_NAME",
LabelError::InvalidLabelName => "INVALID_LABEL_NAME",
LabelError::CannotAttachLabelToDraft => "CANNOT_ATTACH_LABEL_TO_DRAFT",
LabelError::CannotAttachNonManagerLabelToCustomer => {
"CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CANNOT_APPLY_INACTIVE_LABEL" => Some(Self::CannotApplyInactiveLabel),
"CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION" => {
Some(Self::CannotApplyLabelToDisabledAdGroupCriterion)
}
"CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION" => {
Some(Self::CannotApplyLabelToNegativeAdGroupCriterion)
}
"EXCEEDED_LABEL_LIMIT_PER_TYPE" => Some(Self::ExceededLabelLimitPerType),
"INVALID_RESOURCE_FOR_MANAGER_LABEL" => {
Some(Self::InvalidResourceForManagerLabel)
}
"DUPLICATE_NAME" => Some(Self::DuplicateName),
"INVALID_LABEL_NAME" => Some(Self::InvalidLabelName),
"CANNOT_ATTACH_LABEL_TO_DRAFT" => Some(Self::CannotAttachLabelToDraft),
"CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER" => {
Some(Self::CannotAttachNonManagerLabelToCustomer)
}
_ => None,
}
}
}
}
/// Container for enum describing possible errors from applying a keyword plan
/// ad group.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct KeywordPlanAdGroupErrorEnum {}
/// Nested message and enum types in `KeywordPlanAdGroupErrorEnum`.
pub mod keyword_plan_ad_group_error_enum {
/// Enum describing possible errors from applying a keyword plan ad group.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum KeywordPlanAdGroupError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The keyword plan ad group name is missing, empty, longer than allowed
/// limit or contains invalid chars.
InvalidName = 2,
/// The keyword plan ad group name is duplicate to an existing keyword plan
/// AdGroup name or other keyword plan AdGroup name in the request.
DuplicateName = 3,
}
impl KeywordPlanAdGroupError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
KeywordPlanAdGroupError::Unspecified => "UNSPECIFIED",
KeywordPlanAdGroupError::Unknown => "UNKNOWN",
KeywordPlanAdGroupError::InvalidName => "INVALID_NAME",
KeywordPlanAdGroupError::DuplicateName => "DUPLICATE_NAME",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_NAME" => Some(Self::InvalidName),
"DUPLICATE_NAME" => Some(Self::DuplicateName),
_ => None,
}
}
}
}
/// Container for enum describing possible customer feed errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomerFeedErrorEnum {}
/// Nested message and enum types in `CustomerFeedErrorEnum`.
pub mod customer_feed_error_enum {
/// Enum describing possible customer feed errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CustomerFeedError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// An active feed already exists for this customer and place holder type.
FeedAlreadyExistsForPlaceholderType = 2,
/// The specified feed is removed.
CannotCreateForRemovedFeed = 3,
/// The CustomerFeed already exists. Update should be used to modify the
/// existing CustomerFeed.
CannotCreateAlreadyExistingCustomerFeed = 4,
/// Cannot update removed customer feed.
CannotModifyRemovedCustomerFeed = 5,
/// Invalid placeholder type.
InvalidPlaceholderType = 6,
/// Feed mapping for this placeholder type does not exist.
MissingFeedmappingForPlaceholderType = 7,
/// Placeholder not allowed at the account level.
PlaceholderTypeNotAllowedOnCustomerFeed = 8,
}
impl CustomerFeedError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CustomerFeedError::Unspecified => "UNSPECIFIED",
CustomerFeedError::Unknown => "UNKNOWN",
CustomerFeedError::FeedAlreadyExistsForPlaceholderType => {
"FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE"
}
CustomerFeedError::CannotCreateForRemovedFeed => {
"CANNOT_CREATE_FOR_REMOVED_FEED"
}
CustomerFeedError::CannotCreateAlreadyExistingCustomerFeed => {
"CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED"
}
CustomerFeedError::CannotModifyRemovedCustomerFeed => {
"CANNOT_MODIFY_REMOVED_CUSTOMER_FEED"
}
CustomerFeedError::InvalidPlaceholderType => "INVALID_PLACEHOLDER_TYPE",
CustomerFeedError::MissingFeedmappingForPlaceholderType => {
"MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE"
}
CustomerFeedError::PlaceholderTypeNotAllowedOnCustomerFeed => {
"PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE" => {
Some(Self::FeedAlreadyExistsForPlaceholderType)
}
"CANNOT_CREATE_FOR_REMOVED_FEED" => {
Some(Self::CannotCreateForRemovedFeed)
}
"CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED" => {
Some(Self::CannotCreateAlreadyExistingCustomerFeed)
}
"CANNOT_MODIFY_REMOVED_CUSTOMER_FEED" => {
Some(Self::CannotModifyRemovedCustomerFeed)
}
"INVALID_PLACEHOLDER_TYPE" => Some(Self::InvalidPlaceholderType),
"MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE" => {
Some(Self::MissingFeedmappingForPlaceholderType)
}
"PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED" => {
Some(Self::PlaceholderTypeNotAllowedOnCustomerFeed)
}
_ => None,
}
}
}
}
/// Container for enum describing possible audience errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AudienceErrorEnum {}
/// Nested message and enum types in `AudienceErrorEnum`.
pub mod audience_error_enum {
/// Enum describing possible audience errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AudienceError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// An audience with this name already exists.
NameAlreadyInUse = 2,
/// A dimension within the audience definition is not valid.
DimensionInvalid = 3,
/// One of the audience segment added is not found.
AudienceSegmentNotFound = 4,
/// One of the audience segment type is not supported.
AudienceSegmentTypeNotSupported = 5,
/// The same segment already exists in this audience.
DuplicateAudienceSegment = 6,
/// Audience can't have more than allowed number segments.
TooManySegments = 7,
/// Audience can't have multiple dimensions of same type.
TooManyDimensionsOfSameType = 8,
/// The audience cannot be removed, because it is currently used in an
/// ad group criterion or asset group signal in an (enabled or paused)
/// ad group or campaign.
InUse = 9,
/// Asset Group scoped audience requires an asset group ID.
MissingAssetGroupId = 10,
/// Audience scope may not be changed from Customer to AssetGroup.
CannotChangeFromCustomerToAssetGroupScope = 11,
}
impl AudienceError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AudienceError::Unspecified => "UNSPECIFIED",
AudienceError::Unknown => "UNKNOWN",
AudienceError::NameAlreadyInUse => "NAME_ALREADY_IN_USE",
AudienceError::DimensionInvalid => "DIMENSION_INVALID",
AudienceError::AudienceSegmentNotFound => "AUDIENCE_SEGMENT_NOT_FOUND",
AudienceError::AudienceSegmentTypeNotSupported => {
"AUDIENCE_SEGMENT_TYPE_NOT_SUPPORTED"
}
AudienceError::DuplicateAudienceSegment => "DUPLICATE_AUDIENCE_SEGMENT",
AudienceError::TooManySegments => "TOO_MANY_SEGMENTS",
AudienceError::TooManyDimensionsOfSameType => {
"TOO_MANY_DIMENSIONS_OF_SAME_TYPE"
}
AudienceError::InUse => "IN_USE",
AudienceError::MissingAssetGroupId => "MISSING_ASSET_GROUP_ID",
AudienceError::CannotChangeFromCustomerToAssetGroupScope => {
"CANNOT_CHANGE_FROM_CUSTOMER_TO_ASSET_GROUP_SCOPE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"NAME_ALREADY_IN_USE" => Some(Self::NameAlreadyInUse),
"DIMENSION_INVALID" => Some(Self::DimensionInvalid),
"AUDIENCE_SEGMENT_NOT_FOUND" => Some(Self::AudienceSegmentNotFound),
"AUDIENCE_SEGMENT_TYPE_NOT_SUPPORTED" => {
Some(Self::AudienceSegmentTypeNotSupported)
}
"DUPLICATE_AUDIENCE_SEGMENT" => Some(Self::DuplicateAudienceSegment),
"TOO_MANY_SEGMENTS" => Some(Self::TooManySegments),
"TOO_MANY_DIMENSIONS_OF_SAME_TYPE" => {
Some(Self::TooManyDimensionsOfSameType)
}
"IN_USE" => Some(Self::InUse),
"MISSING_ASSET_GROUP_ID" => Some(Self::MissingAssetGroupId),
"CANNOT_CHANGE_FROM_CUSTOMER_TO_ASSET_GROUP_SCOPE" => {
Some(Self::CannotChangeFromCustomerToAssetGroupScope)
}
_ => None,
}
}
}
}
/// Container for enum describing possible errors in payments account service.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct PaymentsAccountErrorEnum {}
/// Nested message and enum types in `PaymentsAccountErrorEnum`.
pub mod payments_account_error_enum {
/// Enum describing possible errors in payments account service.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum PaymentsAccountError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Manager customers are not supported for payments account service.
NotSupportedForManagerCustomer = 2,
}
impl PaymentsAccountError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
PaymentsAccountError::Unspecified => "UNSPECIFIED",
PaymentsAccountError::Unknown => "UNKNOWN",
PaymentsAccountError::NotSupportedForManagerCustomer => {
"NOT_SUPPORTED_FOR_MANAGER_CUSTOMER"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"NOT_SUPPORTED_FOR_MANAGER_CUSTOMER" => {
Some(Self::NotSupportedForManagerCustomer)
}
_ => None,
}
}
}
}
/// Container for enum describing possible experiment arm error.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ExperimentArmErrorEnum {}
/// Nested message and enum types in `ExperimentArmErrorEnum`.
pub mod experiment_arm_error_enum {
/// Enum describing possible experiment arm errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ExperimentArmError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Number of experiment arms is above limit.
ExperimentArmCountLimitExceeded = 2,
/// Cannot add campaign with invalid status to the experiment arm.
InvalidCampaignStatus = 3,
/// Cannot add duplicate experiment arm name in one experiment.
DuplicateExperimentArmName = 4,
/// Cannot set campaigns of treatment experiment arm.
CannotSetTreatmentArmCampaign = 5,
/// Cannot edit campaign ids in trial arms in non SETUP experiment.
CannotModifyCampaignIds = 6,
/// Cannot modify the campaigns in the control arm
/// if there is not a suffix set in the trial.
CannotModifyCampaignWithoutSuffixSet = 7,
/// Traffic split related settings (like traffic share bounds) can't be
/// modified after the trial has started.
CannotMutateTrafficSplitAfterStart = 8,
/// Cannot use shared budget on experiment's control campaign.
CannotAddCampaignWithSharedBudget = 9,
/// Cannot use custom budget on experiment's control campaigns.
CannotAddCampaignWithCustomBudget = 10,
/// Cannot have enable_dynamic_assets turned on in experiment's campaigns.
CannotAddCampaignsWithDynamicAssetsEnabled = 11,
/// Cannot use campaign's advertising channel sub type in experiment.
UnsupportedCampaignAdvertisingChannelSubType = 12,
/// Experiment date range must be within base campaign's date range.
CannotAddBaseCampaignWithDateRange = 13,
/// Bidding strategy is not supported in experiments.
BiddingStrategyNotSupportedInExperiments = 14,
/// Traffic split is not supported for some channel types.
TrafficSplitNotSupportedForChannelType = 15,
}
impl ExperimentArmError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ExperimentArmError::Unspecified => "UNSPECIFIED",
ExperimentArmError::Unknown => "UNKNOWN",
ExperimentArmError::ExperimentArmCountLimitExceeded => {
"EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED"
}
ExperimentArmError::InvalidCampaignStatus => "INVALID_CAMPAIGN_STATUS",
ExperimentArmError::DuplicateExperimentArmName => {
"DUPLICATE_EXPERIMENT_ARM_NAME"
}
ExperimentArmError::CannotSetTreatmentArmCampaign => {
"CANNOT_SET_TREATMENT_ARM_CAMPAIGN"
}
ExperimentArmError::CannotModifyCampaignIds => {
"CANNOT_MODIFY_CAMPAIGN_IDS"
}
ExperimentArmError::CannotModifyCampaignWithoutSuffixSet => {
"CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET"
}
ExperimentArmError::CannotMutateTrafficSplitAfterStart => {
"CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START"
}
ExperimentArmError::CannotAddCampaignWithSharedBudget => {
"CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET"
}
ExperimentArmError::CannotAddCampaignWithCustomBudget => {
"CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET"
}
ExperimentArmError::CannotAddCampaignsWithDynamicAssetsEnabled => {
"CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED"
}
ExperimentArmError::UnsupportedCampaignAdvertisingChannelSubType => {
"UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE"
}
ExperimentArmError::CannotAddBaseCampaignWithDateRange => {
"CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE"
}
ExperimentArmError::BiddingStrategyNotSupportedInExperiments => {
"BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS"
}
ExperimentArmError::TrafficSplitNotSupportedForChannelType => {
"TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED" => {
Some(Self::ExperimentArmCountLimitExceeded)
}
"INVALID_CAMPAIGN_STATUS" => Some(Self::InvalidCampaignStatus),
"DUPLICATE_EXPERIMENT_ARM_NAME" => Some(Self::DuplicateExperimentArmName),
"CANNOT_SET_TREATMENT_ARM_CAMPAIGN" => {
Some(Self::CannotSetTreatmentArmCampaign)
}
"CANNOT_MODIFY_CAMPAIGN_IDS" => Some(Self::CannotModifyCampaignIds),
"CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET" => {
Some(Self::CannotModifyCampaignWithoutSuffixSet)
}
"CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START" => {
Some(Self::CannotMutateTrafficSplitAfterStart)
}
"CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET" => {
Some(Self::CannotAddCampaignWithSharedBudget)
}
"CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET" => {
Some(Self::CannotAddCampaignWithCustomBudget)
}
"CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED" => {
Some(Self::CannotAddCampaignsWithDynamicAssetsEnabled)
}
"UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE" => {
Some(Self::UnsupportedCampaignAdvertisingChannelSubType)
}
"CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE" => {
Some(Self::CannotAddBaseCampaignWithDateRange)
}
"BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS" => {
Some(Self::BiddingStrategyNotSupportedInExperiments)
}
"TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE" => {
Some(Self::TrafficSplitNotSupportedForChannelType)
}
_ => None,
}
}
}
}
/// Container for enum describing possible ID errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct IdErrorEnum {}
/// Nested message and enum types in `IdErrorEnum`.
pub mod id_error_enum {
/// Enum describing possible ID errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum IdError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// ID not found
NotFound = 2,
}
impl IdError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
IdError::Unspecified => "UNSPECIFIED",
IdError::Unknown => "UNKNOWN",
IdError::NotFound => "NOT_FOUND",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"NOT_FOUND" => Some(Self::NotFound),
_ => None,
}
}
}
}
/// Container for enum describing possible campaign errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CampaignErrorEnum {}
/// Nested message and enum types in `CampaignErrorEnum`.
pub mod campaign_error_enum {
/// Enum describing possible campaign errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CampaignError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Cannot target content network.
CannotTargetContentNetwork = 3,
/// Cannot target search network.
CannotTargetSearchNetwork = 4,
/// Cannot cover search network without google search network.
CannotTargetSearchNetworkWithoutGoogleSearch = 5,
/// Cannot target Google Search network for a CPM campaign.
CannotTargetGoogleSearchForCpmCampaign = 6,
/// Must target at least one network.
CampaignMustTargetAtLeastOneNetwork = 7,
/// Only some Google partners are allowed to target partner search network.
CannotTargetPartnerSearchNetwork = 8,
/// Cannot target content network only as campaign has criteria-level bidding
/// strategy.
CannotTargetContentNetworkOnlyWithCriteriaLevelBiddingStrategy = 9,
/// Cannot modify the start or end date such that the campaign duration would
/// not contain the durations of all runnable trials.
CampaignDurationMustContainAllRunnableTrials = 10,
/// Cannot modify dates, budget or status of a trial campaign.
CannotModifyForTrialCampaign = 11,
/// Trying to modify the name of an active or paused campaign, where the name
/// is already assigned to another active or paused campaign.
DuplicateCampaignName = 12,
/// Two fields are in conflicting modes.
IncompatibleCampaignField = 13,
/// Campaign name cannot be used.
InvalidCampaignName = 14,
/// Given status is invalid.
InvalidAdServingOptimizationStatus = 15,
/// Error in the campaign level tracking URL.
InvalidTrackingUrl = 16,
/// Cannot set both tracking URL template and tracking setting. A user has
/// to clear legacy tracking setting in order to add tracking URL template.
CannotSetBothTrackingUrlTemplateAndTrackingSetting = 17,
/// The maximum number of impressions for Frequency Cap should be an integer
/// greater than 0.
MaxImpressionsNotInRange = 18,
/// Only the Day, Week and Month time units are supported.
TimeUnitNotSupported = 19,
/// Operation not allowed on a campaign whose serving status has ended
InvalidOperationIfServingStatusHasEnded = 20,
/// This budget is exclusively linked to a Campaign that is using experiments
/// so it cannot be shared.
BudgetCannotBeShared = 21,
/// Campaigns using experiments cannot use a shared budget.
CampaignCannotUseSharedBudget = 22,
/// A different budget cannot be assigned to a campaign when there are
/// running or scheduled trials.
CannotChangeBudgetOnCampaignWithTrials = 23,
/// No link found between the campaign and the label.
CampaignLabelDoesNotExist = 24,
/// The label has already been attached to the campaign.
CampaignLabelAlreadyExists = 25,
/// A ShoppingSetting was not found when creating a shopping campaign.
MissingShoppingSetting = 26,
/// The country in shopping setting is not an allowed country.
InvalidShoppingSalesCountry = 27,
/// The requested channel type is not available according to the customer's
/// account setting.
AdvertisingChannelTypeNotAvailableForAccountType = 31,
/// The AdvertisingChannelSubType is not a valid subtype of the primary
/// channel type.
InvalidAdvertisingChannelSubType = 32,
/// At least one conversion must be selected.
AtLeastOneConversionMustBeSelected = 33,
/// Setting ad rotation mode for a campaign is not allowed. Ad rotation mode
/// at campaign is deprecated.
CannotSetAdRotationMode = 34,
/// Trying to change start date on a campaign that has started.
CannotModifyStartDateIfAlreadyStarted = 35,
/// Trying to modify a date into the past.
CannotSetDateToPast = 36,
/// Hotel center id in the hotel setting does not match any customer links.
MissingHotelCustomerLink = 37,
/// Hotel center id in the hotel setting must match an active customer link.
InvalidHotelCustomerLink = 38,
/// Hotel setting was not found when creating a hotel ads campaign.
MissingHotelSetting = 39,
/// A Campaign cannot use shared campaign budgets and be part of a campaign
/// group.
CannotUseSharedCampaignBudgetWhilePartOfCampaignGroup = 40,
/// The app ID was not found.
AppNotFound = 41,
/// Campaign.shopping_setting.enable_local is not supported for the specified
/// campaign type.
ShoppingEnableLocalNotSupportedForCampaignType = 42,
/// The merchant does not support the creation of campaigns for Shopping
/// Comparison Listing Ads.
MerchantNotAllowedForComparisonListingAds = 43,
/// The App campaign for engagement cannot be created because there aren't
/// enough installs.
InsufficientAppInstallsCount = 44,
/// The App campaign for engagement cannot be created because the app is
/// sensitive.
SensitiveCategoryApp = 45,
/// Customers with Housing, Employment, or Credit ads must accept updated
/// personalized ads policy to continue creating campaigns.
HecAgreementRequired = 46,
/// The field is not compatible with view through conversion optimization.
NotCompatibleWithViewThroughConversionOptimization = 49,
/// The field type cannot be excluded because an active campaign-asset link
/// of this type exists.
InvalidExcludedParentAssetFieldType = 48,
/// The app pre-registration campaign cannot be created for non-Android
/// applications.
CannotCreateAppPreRegistrationForNonAndroidApp = 50,
/// The campaign cannot be created since the app is not available for
/// pre-registration in any country.
AppNotAvailableToCreateAppPreRegistrationCampaign = 51,
/// The type of the Budget is not compatible with this Campaign.
IncompatibleBudgetType = 52,
/// Category bid list in the local services campaign setting contains
/// multiple bids for the same category ID.
LocalServicesDuplicateCategoryBid = 53,
/// Category bid list in the local services campaign setting contains
/// a bid for an invalid category ID.
LocalServicesInvalidCategoryBid = 54,
/// Category bid list in the local services campaign setting is missing a
/// bid for a category ID that must be present.
LocalServicesMissingCategoryBid = 55,
/// The requested change in status is not supported.
InvalidStatusChange = 57,
/// Travel Campaign's travel_account_id does not match any customer links.
MissingTravelCustomerLink = 58,
/// Travel Campaign's travel_account_id matches an existing customer link
/// but the customer link is not active.
InvalidTravelCustomerLink = 59,
/// The asset set type is invalid to be set in
/// excluded_parent_asset_set_types field.
InvalidExcludedParentAssetSetType = 62,
/// Campaign.hotel_property_asset_set must point to an asset set of type
/// HOTEL_PROPERTY.
AssetSetNotAHotelPropertyAssetSet = 63,
/// The hotel property asset set can only be set on Performance Max for
/// travel goals campaigns.
HotelPropertyAssetSetOnlyForPerformanceMaxForTravelGoals = 64,
/// Customer's average daily spend is too high to enable this feature.
AverageDailySpendTooHigh = 65,
/// Cannot attach the campaign to a deleted campaign group.
CannotAttachToRemovedCampaignGroup = 66,
/// Cannot attach the campaign to this bidding strategy.
CannotAttachToBiddingStrategy = 67,
/// A budget with a different period cannot be assigned to the campaign.
CannotChangeBudgetPeriod = 68,
/// Customer does not have enough conversions to enable this feature.
NotEnoughConversions = 71,
/// This campaign type can only have one conversion action.
CannotSetMoreThanOneConversionAction = 72,
/// The field is not compatible with the budget type.
NotCompatibleWithBudgetType = 73,
/// The feature is incompatible with ConversionActionType.UPLOAD_CLICKS.
NotCompatibleWithUploadClicksConversion = 74,
/// App campaign setting app ID must match selective optimization conversion
/// action app ID.
AppIdMustMatchConversionActionAppId = 76,
/// Selective optimization conversion action with Download category is not
/// allowed.
ConversionActionWithDownloadCategoryNotAllowed = 77,
/// One software download for selective optimization conversion action is
/// required for this campaign conversion action.
ConversionActionWithDownloadCategoryRequired = 78,
/// Conversion tracking is not enabled and is required for this feature.
ConversionTrackingNotEnabled = 79,
/// The field is not compatible with the bidding strategy type.
NotCompatibleWithBiddingStrategyType = 80,
/// Campaign is not compatible with a conversion tracker that has Google
/// attribution enabled.
NotCompatibleWithGoogleAttributionConversions = 81,
/// Customer level conversion lag is too high.
ConversionLagTooHigh = 82,
/// The advertiser set as an advertising partner is not an actively linked
/// advertiser to this customer.
NotLinkedAdvertisingPartner = 83,
/// Invalid number of advertising partner IDs.
InvalidNumberOfAdvertisingPartnerIds = 84,
/// Cannot target the display network without also targeting YouTube.
CannotTargetDisplayNetworkWithoutYoutube = 85,
}
impl CampaignError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CampaignError::Unspecified => "UNSPECIFIED",
CampaignError::Unknown => "UNKNOWN",
CampaignError::CannotTargetContentNetwork => {
"CANNOT_TARGET_CONTENT_NETWORK"
}
CampaignError::CannotTargetSearchNetwork => {
"CANNOT_TARGET_SEARCH_NETWORK"
}
CampaignError::CannotTargetSearchNetworkWithoutGoogleSearch => {
"CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH"
}
CampaignError::CannotTargetGoogleSearchForCpmCampaign => {
"CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN"
}
CampaignError::CampaignMustTargetAtLeastOneNetwork => {
"CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK"
}
CampaignError::CannotTargetPartnerSearchNetwork => {
"CANNOT_TARGET_PARTNER_SEARCH_NETWORK"
}
CampaignError::CannotTargetContentNetworkOnlyWithCriteriaLevelBiddingStrategy => {
"CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY"
}
CampaignError::CampaignDurationMustContainAllRunnableTrials => {
"CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS"
}
CampaignError::CannotModifyForTrialCampaign => {
"CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN"
}
CampaignError::DuplicateCampaignName => "DUPLICATE_CAMPAIGN_NAME",
CampaignError::IncompatibleCampaignField => "INCOMPATIBLE_CAMPAIGN_FIELD",
CampaignError::InvalidCampaignName => "INVALID_CAMPAIGN_NAME",
CampaignError::InvalidAdServingOptimizationStatus => {
"INVALID_AD_SERVING_OPTIMIZATION_STATUS"
}
CampaignError::InvalidTrackingUrl => "INVALID_TRACKING_URL",
CampaignError::CannotSetBothTrackingUrlTemplateAndTrackingSetting => {
"CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING"
}
CampaignError::MaxImpressionsNotInRange => "MAX_IMPRESSIONS_NOT_IN_RANGE",
CampaignError::TimeUnitNotSupported => "TIME_UNIT_NOT_SUPPORTED",
CampaignError::InvalidOperationIfServingStatusHasEnded => {
"INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED"
}
CampaignError::BudgetCannotBeShared => "BUDGET_CANNOT_BE_SHARED",
CampaignError::CampaignCannotUseSharedBudget => {
"CAMPAIGN_CANNOT_USE_SHARED_BUDGET"
}
CampaignError::CannotChangeBudgetOnCampaignWithTrials => {
"CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS"
}
CampaignError::CampaignLabelDoesNotExist => {
"CAMPAIGN_LABEL_DOES_NOT_EXIST"
}
CampaignError::CampaignLabelAlreadyExists => {
"CAMPAIGN_LABEL_ALREADY_EXISTS"
}
CampaignError::MissingShoppingSetting => "MISSING_SHOPPING_SETTING",
CampaignError::InvalidShoppingSalesCountry => {
"INVALID_SHOPPING_SALES_COUNTRY"
}
CampaignError::AdvertisingChannelTypeNotAvailableForAccountType => {
"ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE"
}
CampaignError::InvalidAdvertisingChannelSubType => {
"INVALID_ADVERTISING_CHANNEL_SUB_TYPE"
}
CampaignError::AtLeastOneConversionMustBeSelected => {
"AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED"
}
CampaignError::CannotSetAdRotationMode => "CANNOT_SET_AD_ROTATION_MODE",
CampaignError::CannotModifyStartDateIfAlreadyStarted => {
"CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED"
}
CampaignError::CannotSetDateToPast => "CANNOT_SET_DATE_TO_PAST",
CampaignError::MissingHotelCustomerLink => "MISSING_HOTEL_CUSTOMER_LINK",
CampaignError::InvalidHotelCustomerLink => "INVALID_HOTEL_CUSTOMER_LINK",
CampaignError::MissingHotelSetting => "MISSING_HOTEL_SETTING",
CampaignError::CannotUseSharedCampaignBudgetWhilePartOfCampaignGroup => {
"CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP"
}
CampaignError::AppNotFound => "APP_NOT_FOUND",
CampaignError::ShoppingEnableLocalNotSupportedForCampaignType => {
"SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE"
}
CampaignError::MerchantNotAllowedForComparisonListingAds => {
"MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS"
}
CampaignError::InsufficientAppInstallsCount => {
"INSUFFICIENT_APP_INSTALLS_COUNT"
}
CampaignError::SensitiveCategoryApp => "SENSITIVE_CATEGORY_APP",
CampaignError::HecAgreementRequired => "HEC_AGREEMENT_REQUIRED",
CampaignError::NotCompatibleWithViewThroughConversionOptimization => {
"NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION"
}
CampaignError::InvalidExcludedParentAssetFieldType => {
"INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE"
}
CampaignError::CannotCreateAppPreRegistrationForNonAndroidApp => {
"CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP"
}
CampaignError::AppNotAvailableToCreateAppPreRegistrationCampaign => {
"APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN"
}
CampaignError::IncompatibleBudgetType => "INCOMPATIBLE_BUDGET_TYPE",
CampaignError::LocalServicesDuplicateCategoryBid => {
"LOCAL_SERVICES_DUPLICATE_CATEGORY_BID"
}
CampaignError::LocalServicesInvalidCategoryBid => {
"LOCAL_SERVICES_INVALID_CATEGORY_BID"
}
CampaignError::LocalServicesMissingCategoryBid => {
"LOCAL_SERVICES_MISSING_CATEGORY_BID"
}
CampaignError::InvalidStatusChange => "INVALID_STATUS_CHANGE",
CampaignError::MissingTravelCustomerLink => {
"MISSING_TRAVEL_CUSTOMER_LINK"
}
CampaignError::InvalidTravelCustomerLink => {
"INVALID_TRAVEL_CUSTOMER_LINK"
}
CampaignError::InvalidExcludedParentAssetSetType => {
"INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE"
}
CampaignError::AssetSetNotAHotelPropertyAssetSet => {
"ASSET_SET_NOT_A_HOTEL_PROPERTY_ASSET_SET"
}
CampaignError::HotelPropertyAssetSetOnlyForPerformanceMaxForTravelGoals => {
"HOTEL_PROPERTY_ASSET_SET_ONLY_FOR_PERFORMANCE_MAX_FOR_TRAVEL_GOALS"
}
CampaignError::AverageDailySpendTooHigh => "AVERAGE_DAILY_SPEND_TOO_HIGH",
CampaignError::CannotAttachToRemovedCampaignGroup => {
"CANNOT_ATTACH_TO_REMOVED_CAMPAIGN_GROUP"
}
CampaignError::CannotAttachToBiddingStrategy => {
"CANNOT_ATTACH_TO_BIDDING_STRATEGY"
}
CampaignError::CannotChangeBudgetPeriod => "CANNOT_CHANGE_BUDGET_PERIOD",
CampaignError::NotEnoughConversions => "NOT_ENOUGH_CONVERSIONS",
CampaignError::CannotSetMoreThanOneConversionAction => {
"CANNOT_SET_MORE_THAN_ONE_CONVERSION_ACTION"
}
CampaignError::NotCompatibleWithBudgetType => {
"NOT_COMPATIBLE_WITH_BUDGET_TYPE"
}
CampaignError::NotCompatibleWithUploadClicksConversion => {
"NOT_COMPATIBLE_WITH_UPLOAD_CLICKS_CONVERSION"
}
CampaignError::AppIdMustMatchConversionActionAppId => {
"APP_ID_MUST_MATCH_CONVERSION_ACTION_APP_ID"
}
CampaignError::ConversionActionWithDownloadCategoryNotAllowed => {
"CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_NOT_ALLOWED"
}
CampaignError::ConversionActionWithDownloadCategoryRequired => {
"CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_REQUIRED"
}
CampaignError::ConversionTrackingNotEnabled => {
"CONVERSION_TRACKING_NOT_ENABLED"
}
CampaignError::NotCompatibleWithBiddingStrategyType => {
"NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE"
}
CampaignError::NotCompatibleWithGoogleAttributionConversions => {
"NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS"
}
CampaignError::ConversionLagTooHigh => "CONVERSION_LAG_TOO_HIGH",
CampaignError::NotLinkedAdvertisingPartner => {
"NOT_LINKED_ADVERTISING_PARTNER"
}
CampaignError::InvalidNumberOfAdvertisingPartnerIds => {
"INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS"
}
CampaignError::CannotTargetDisplayNetworkWithoutYoutube => {
"CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CANNOT_TARGET_CONTENT_NETWORK" => Some(Self::CannotTargetContentNetwork),
"CANNOT_TARGET_SEARCH_NETWORK" => Some(Self::CannotTargetSearchNetwork),
"CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH" => {
Some(Self::CannotTargetSearchNetworkWithoutGoogleSearch)
}
"CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN" => {
Some(Self::CannotTargetGoogleSearchForCpmCampaign)
}
"CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK" => {
Some(Self::CampaignMustTargetAtLeastOneNetwork)
}
"CANNOT_TARGET_PARTNER_SEARCH_NETWORK" => {
Some(Self::CannotTargetPartnerSearchNetwork)
}
"CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY" => {
Some(
Self::CannotTargetContentNetworkOnlyWithCriteriaLevelBiddingStrategy,
)
}
"CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS" => {
Some(Self::CampaignDurationMustContainAllRunnableTrials)
}
"CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN" => {
Some(Self::CannotModifyForTrialCampaign)
}
"DUPLICATE_CAMPAIGN_NAME" => Some(Self::DuplicateCampaignName),
"INCOMPATIBLE_CAMPAIGN_FIELD" => Some(Self::IncompatibleCampaignField),
"INVALID_CAMPAIGN_NAME" => Some(Self::InvalidCampaignName),
"INVALID_AD_SERVING_OPTIMIZATION_STATUS" => {
Some(Self::InvalidAdServingOptimizationStatus)
}
"INVALID_TRACKING_URL" => Some(Self::InvalidTrackingUrl),
"CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING" => {
Some(Self::CannotSetBothTrackingUrlTemplateAndTrackingSetting)
}
"MAX_IMPRESSIONS_NOT_IN_RANGE" => Some(Self::MaxImpressionsNotInRange),
"TIME_UNIT_NOT_SUPPORTED" => Some(Self::TimeUnitNotSupported),
"INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED" => {
Some(Self::InvalidOperationIfServingStatusHasEnded)
}
"BUDGET_CANNOT_BE_SHARED" => Some(Self::BudgetCannotBeShared),
"CAMPAIGN_CANNOT_USE_SHARED_BUDGET" => {
Some(Self::CampaignCannotUseSharedBudget)
}
"CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS" => {
Some(Self::CannotChangeBudgetOnCampaignWithTrials)
}
"CAMPAIGN_LABEL_DOES_NOT_EXIST" => Some(Self::CampaignLabelDoesNotExist),
"CAMPAIGN_LABEL_ALREADY_EXISTS" => Some(Self::CampaignLabelAlreadyExists),
"MISSING_SHOPPING_SETTING" => Some(Self::MissingShoppingSetting),
"INVALID_SHOPPING_SALES_COUNTRY" => {
Some(Self::InvalidShoppingSalesCountry)
}
"ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE" => {
Some(Self::AdvertisingChannelTypeNotAvailableForAccountType)
}
"INVALID_ADVERTISING_CHANNEL_SUB_TYPE" => {
Some(Self::InvalidAdvertisingChannelSubType)
}
"AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED" => {
Some(Self::AtLeastOneConversionMustBeSelected)
}
"CANNOT_SET_AD_ROTATION_MODE" => Some(Self::CannotSetAdRotationMode),
"CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED" => {
Some(Self::CannotModifyStartDateIfAlreadyStarted)
}
"CANNOT_SET_DATE_TO_PAST" => Some(Self::CannotSetDateToPast),
"MISSING_HOTEL_CUSTOMER_LINK" => Some(Self::MissingHotelCustomerLink),
"INVALID_HOTEL_CUSTOMER_LINK" => Some(Self::InvalidHotelCustomerLink),
"MISSING_HOTEL_SETTING" => Some(Self::MissingHotelSetting),
"CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP" => {
Some(Self::CannotUseSharedCampaignBudgetWhilePartOfCampaignGroup)
}
"APP_NOT_FOUND" => Some(Self::AppNotFound),
"SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE" => {
Some(Self::ShoppingEnableLocalNotSupportedForCampaignType)
}
"MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS" => {
Some(Self::MerchantNotAllowedForComparisonListingAds)
}
"INSUFFICIENT_APP_INSTALLS_COUNT" => {
Some(Self::InsufficientAppInstallsCount)
}
"SENSITIVE_CATEGORY_APP" => Some(Self::SensitiveCategoryApp),
"HEC_AGREEMENT_REQUIRED" => Some(Self::HecAgreementRequired),
"NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION" => {
Some(Self::NotCompatibleWithViewThroughConversionOptimization)
}
"INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE" => {
Some(Self::InvalidExcludedParentAssetFieldType)
}
"CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP" => {
Some(Self::CannotCreateAppPreRegistrationForNonAndroidApp)
}
"APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN" => {
Some(Self::AppNotAvailableToCreateAppPreRegistrationCampaign)
}
"INCOMPATIBLE_BUDGET_TYPE" => Some(Self::IncompatibleBudgetType),
"LOCAL_SERVICES_DUPLICATE_CATEGORY_BID" => {
Some(Self::LocalServicesDuplicateCategoryBid)
}
"LOCAL_SERVICES_INVALID_CATEGORY_BID" => {
Some(Self::LocalServicesInvalidCategoryBid)
}
"LOCAL_SERVICES_MISSING_CATEGORY_BID" => {
Some(Self::LocalServicesMissingCategoryBid)
}
"INVALID_STATUS_CHANGE" => Some(Self::InvalidStatusChange),
"MISSING_TRAVEL_CUSTOMER_LINK" => Some(Self::MissingTravelCustomerLink),
"INVALID_TRAVEL_CUSTOMER_LINK" => Some(Self::InvalidTravelCustomerLink),
"INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE" => {
Some(Self::InvalidExcludedParentAssetSetType)
}
"ASSET_SET_NOT_A_HOTEL_PROPERTY_ASSET_SET" => {
Some(Self::AssetSetNotAHotelPropertyAssetSet)
}
"HOTEL_PROPERTY_ASSET_SET_ONLY_FOR_PERFORMANCE_MAX_FOR_TRAVEL_GOALS" => {
Some(Self::HotelPropertyAssetSetOnlyForPerformanceMaxForTravelGoals)
}
"AVERAGE_DAILY_SPEND_TOO_HIGH" => Some(Self::AverageDailySpendTooHigh),
"CANNOT_ATTACH_TO_REMOVED_CAMPAIGN_GROUP" => {
Some(Self::CannotAttachToRemovedCampaignGroup)
}
"CANNOT_ATTACH_TO_BIDDING_STRATEGY" => {
Some(Self::CannotAttachToBiddingStrategy)
}
"CANNOT_CHANGE_BUDGET_PERIOD" => Some(Self::CannotChangeBudgetPeriod),
"NOT_ENOUGH_CONVERSIONS" => Some(Self::NotEnoughConversions),
"CANNOT_SET_MORE_THAN_ONE_CONVERSION_ACTION" => {
Some(Self::CannotSetMoreThanOneConversionAction)
}
"NOT_COMPATIBLE_WITH_BUDGET_TYPE" => {
Some(Self::NotCompatibleWithBudgetType)
}
"NOT_COMPATIBLE_WITH_UPLOAD_CLICKS_CONVERSION" => {
Some(Self::NotCompatibleWithUploadClicksConversion)
}
"APP_ID_MUST_MATCH_CONVERSION_ACTION_APP_ID" => {
Some(Self::AppIdMustMatchConversionActionAppId)
}
"CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_NOT_ALLOWED" => {
Some(Self::ConversionActionWithDownloadCategoryNotAllowed)
}
"CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_REQUIRED" => {
Some(Self::ConversionActionWithDownloadCategoryRequired)
}
"CONVERSION_TRACKING_NOT_ENABLED" => {
Some(Self::ConversionTrackingNotEnabled)
}
"NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE" => {
Some(Self::NotCompatibleWithBiddingStrategyType)
}
"NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS" => {
Some(Self::NotCompatibleWithGoogleAttributionConversions)
}
"CONVERSION_LAG_TOO_HIGH" => Some(Self::ConversionLagTooHigh),
"NOT_LINKED_ADVERTISING_PARTNER" => {
Some(Self::NotLinkedAdvertisingPartner)
}
"INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS" => {
Some(Self::InvalidNumberOfAdvertisingPartnerIds)
}
"CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE" => {
Some(Self::CannotTargetDisplayNetworkWithoutYoutube)
}
_ => None,
}
}
}
}
/// Container for enum describing possible region code errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RegionCodeErrorEnum {}
/// Nested message and enum types in `RegionCodeErrorEnum`.
pub mod region_code_error_enum {
/// Enum describing possible region code errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum RegionCodeError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Invalid region code.
InvalidRegionCode = 2,
}
impl RegionCodeError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
RegionCodeError::Unspecified => "UNSPECIFIED",
RegionCodeError::Unknown => "UNKNOWN",
RegionCodeError::InvalidRegionCode => "INVALID_REGION_CODE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_REGION_CODE" => Some(Self::InvalidRegionCode),
_ => None,
}
}
}
}
/// Container for enum describing possible customer errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomerErrorEnum {}
/// Nested message and enum types in `CustomerErrorEnum`.
pub mod customer_error_enum {
/// Set of errors that are related to requests dealing with Customer.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CustomerError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Customer status is not allowed to be changed from DRAFT and CLOSED.
/// Currency code and at least one of country code and time zone needs to be
/// set when status is changed to ENABLED.
StatusChangeDisallowed = 2,
/// CustomerService cannot get a customer that has not been fully set up.
AccountNotSetUp = 3,
}
impl CustomerError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CustomerError::Unspecified => "UNSPECIFIED",
CustomerError::Unknown => "UNKNOWN",
CustomerError::StatusChangeDisallowed => "STATUS_CHANGE_DISALLOWED",
CustomerError::AccountNotSetUp => "ACCOUNT_NOT_SET_UP",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"STATUS_CHANGE_DISALLOWED" => Some(Self::StatusChangeDisallowed),
"ACCOUNT_NOT_SET_UP" => Some(Self::AccountNotSetUp),
_ => None,
}
}
}
}
/// Container for enum describing possible partial failure errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct PartialFailureErrorEnum {}
/// Nested message and enum types in `PartialFailureErrorEnum`.
pub mod partial_failure_error_enum {
/// Enum describing possible partial failure errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum PartialFailureError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The partial failure field was false in the request.
/// This method requires this field be set to true.
PartialFailureModeRequired = 2,
}
impl PartialFailureError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
PartialFailureError::Unspecified => "UNSPECIFIED",
PartialFailureError::Unknown => "UNKNOWN",
PartialFailureError::PartialFailureModeRequired => {
"PARTIAL_FAILURE_MODE_REQUIRED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"PARTIAL_FAILURE_MODE_REQUIRED" => Some(Self::PartialFailureModeRequired),
_ => None,
}
}
}
}
/// Container for enum describing possible campaign feed errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CampaignFeedErrorEnum {}
/// Nested message and enum types in `CampaignFeedErrorEnum`.
pub mod campaign_feed_error_enum {
/// Enum describing possible campaign feed errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CampaignFeedError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// An active feed already exists for this campaign and placeholder type.
FeedAlreadyExistsForPlaceholderType = 2,
/// The specified feed is removed.
CannotCreateForRemovedFeed = 4,
/// The CampaignFeed already exists. UPDATE should be used to modify the
/// existing CampaignFeed.
CannotCreateAlreadyExistingCampaignFeed = 5,
/// Cannot update removed campaign feed.
CannotModifyRemovedCampaignFeed = 6,
/// Invalid placeholder type.
InvalidPlaceholderType = 7,
/// Feed mapping for this placeholder type does not exist.
MissingFeedmappingForPlaceholderType = 8,
/// Location CampaignFeeds cannot be created unless there is a location
/// CustomerFeed for the specified feed.
NoExistingLocationCustomerFeed = 9,
/// Feed is read only.
LegacyFeedTypeReadOnly = 10,
}
impl CampaignFeedError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CampaignFeedError::Unspecified => "UNSPECIFIED",
CampaignFeedError::Unknown => "UNKNOWN",
CampaignFeedError::FeedAlreadyExistsForPlaceholderType => {
"FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE"
}
CampaignFeedError::CannotCreateForRemovedFeed => {
"CANNOT_CREATE_FOR_REMOVED_FEED"
}
CampaignFeedError::CannotCreateAlreadyExistingCampaignFeed => {
"CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED"
}
CampaignFeedError::CannotModifyRemovedCampaignFeed => {
"CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED"
}
CampaignFeedError::InvalidPlaceholderType => "INVALID_PLACEHOLDER_TYPE",
CampaignFeedError::MissingFeedmappingForPlaceholderType => {
"MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE"
}
CampaignFeedError::NoExistingLocationCustomerFeed => {
"NO_EXISTING_LOCATION_CUSTOMER_FEED"
}
CampaignFeedError::LegacyFeedTypeReadOnly => "LEGACY_FEED_TYPE_READ_ONLY",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE" => {
Some(Self::FeedAlreadyExistsForPlaceholderType)
}
"CANNOT_CREATE_FOR_REMOVED_FEED" => {
Some(Self::CannotCreateForRemovedFeed)
}
"CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED" => {
Some(Self::CannotCreateAlreadyExistingCampaignFeed)
}
"CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED" => {
Some(Self::CannotModifyRemovedCampaignFeed)
}
"INVALID_PLACEHOLDER_TYPE" => Some(Self::InvalidPlaceholderType),
"MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE" => {
Some(Self::MissingFeedmappingForPlaceholderType)
}
"NO_EXISTING_LOCATION_CUSTOMER_FEED" => {
Some(Self::NoExistingLocationCustomerFeed)
}
"LEGACY_FEED_TYPE_READ_ONLY" => Some(Self::LegacyFeedTypeReadOnly),
_ => None,
}
}
}
}
/// Container for enum describing possible feed item set link errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FeedItemSetLinkErrorEnum {}
/// Nested message and enum types in `FeedItemSetLinkErrorEnum`.
pub mod feed_item_set_link_error_enum {
/// Enum describing possible feed item set link errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum FeedItemSetLinkError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The feed IDs of the FeedItemSet and FeedItem do not match. Only FeedItems
/// in a given Feed can be linked to a FeedItemSet in that Feed.
FeedIdMismatch = 2,
/// Cannot add or remove links to a dynamic set.
NoMutateAllowedForDynamicSet = 3,
}
impl FeedItemSetLinkError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
FeedItemSetLinkError::Unspecified => "UNSPECIFIED",
FeedItemSetLinkError::Unknown => "UNKNOWN",
FeedItemSetLinkError::FeedIdMismatch => "FEED_ID_MISMATCH",
FeedItemSetLinkError::NoMutateAllowedForDynamicSet => {
"NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"FEED_ID_MISMATCH" => Some(Self::FeedIdMismatch),
"NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET" => {
Some(Self::NoMutateAllowedForDynamicSet)
}
_ => None,
}
}
}
}
/// Container for enum describing possible feed item errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FeedItemErrorEnum {}
/// Nested message and enum types in `FeedItemErrorEnum`.
pub mod feed_item_error_enum {
/// Enum describing possible feed item errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum FeedItemError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Cannot convert the feed attribute value from string to its real type.
CannotConvertAttributeValueFromString = 2,
/// Cannot operate on removed feed item.
CannotOperateOnRemovedFeedItem = 3,
/// Date time zone does not match the account's time zone.
DateTimeMustBeInAccountTimeZone = 4,
/// Feed item with the key attributes could not be found.
KeyAttributesNotFound = 5,
/// Url feed attribute value is not valid.
InvalidUrl = 6,
/// Some key attributes are missing.
MissingKeyAttributes = 7,
/// Feed item has same key attributes as another feed item.
KeyAttributesNotUnique = 8,
/// Cannot modify key attributes on an existing feed item.
CannotModifyKeyAttributeValue = 9,
/// The feed attribute value is too large.
SizeTooLargeForMultiValueAttribute = 10,
/// Feed is read only.
LegacyFeedTypeReadOnly = 11,
}
impl FeedItemError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
FeedItemError::Unspecified => "UNSPECIFIED",
FeedItemError::Unknown => "UNKNOWN",
FeedItemError::CannotConvertAttributeValueFromString => {
"CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING"
}
FeedItemError::CannotOperateOnRemovedFeedItem => {
"CANNOT_OPERATE_ON_REMOVED_FEED_ITEM"
}
FeedItemError::DateTimeMustBeInAccountTimeZone => {
"DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE"
}
FeedItemError::KeyAttributesNotFound => "KEY_ATTRIBUTES_NOT_FOUND",
FeedItemError::InvalidUrl => "INVALID_URL",
FeedItemError::MissingKeyAttributes => "MISSING_KEY_ATTRIBUTES",
FeedItemError::KeyAttributesNotUnique => "KEY_ATTRIBUTES_NOT_UNIQUE",
FeedItemError::CannotModifyKeyAttributeValue => {
"CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE"
}
FeedItemError::SizeTooLargeForMultiValueAttribute => {
"SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE"
}
FeedItemError::LegacyFeedTypeReadOnly => "LEGACY_FEED_TYPE_READ_ONLY",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING" => {
Some(Self::CannotConvertAttributeValueFromString)
}
"CANNOT_OPERATE_ON_REMOVED_FEED_ITEM" => {
Some(Self::CannotOperateOnRemovedFeedItem)
}
"DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE" => {
Some(Self::DateTimeMustBeInAccountTimeZone)
}
"KEY_ATTRIBUTES_NOT_FOUND" => Some(Self::KeyAttributesNotFound),
"INVALID_URL" => Some(Self::InvalidUrl),
"MISSING_KEY_ATTRIBUTES" => Some(Self::MissingKeyAttributes),
"KEY_ATTRIBUTES_NOT_UNIQUE" => Some(Self::KeyAttributesNotUnique),
"CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE" => {
Some(Self::CannotModifyKeyAttributeValue)
}
"SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE" => {
Some(Self::SizeTooLargeForMultiValueAttribute)
}
"LEGACY_FEED_TYPE_READ_ONLY" => Some(Self::LegacyFeedTypeReadOnly),
_ => None,
}
}
}
}
/// Container for enum describing possible internal errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct InternalErrorEnum {}
/// Nested message and enum types in `InternalErrorEnum`.
pub mod internal_error_enum {
/// Enum describing possible internal errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum InternalError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Google Ads API encountered unexpected internal error.
InternalError = 2,
/// The intended error code doesn't exist in specified API version. It will
/// be released in a future API version.
ErrorCodeNotPublished = 3,
/// Google Ads API encountered an unexpected transient error. The user
/// should retry their request in these cases.
TransientError = 4,
/// The request took longer than a deadline.
DeadlineExceeded = 5,
}
impl InternalError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
InternalError::Unspecified => "UNSPECIFIED",
InternalError::Unknown => "UNKNOWN",
InternalError::InternalError => "INTERNAL_ERROR",
InternalError::ErrorCodeNotPublished => "ERROR_CODE_NOT_PUBLISHED",
InternalError::TransientError => "TRANSIENT_ERROR",
InternalError::DeadlineExceeded => "DEADLINE_EXCEEDED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INTERNAL_ERROR" => Some(Self::InternalError),
"ERROR_CODE_NOT_PUBLISHED" => Some(Self::ErrorCodeNotPublished),
"TRANSIENT_ERROR" => Some(Self::TransientError),
"DEADLINE_EXCEEDED" => Some(Self::DeadlineExceeded),
_ => None,
}
}
}
}
/// Container for enum describing possible conversion custom variable errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ConversionCustomVariableErrorEnum {}
/// Nested message and enum types in `ConversionCustomVariableErrorEnum`.
pub mod conversion_custom_variable_error_enum {
/// Enum describing possible conversion custom variable errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ConversionCustomVariableError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// A conversion custom variable with the specified name already exists.
DuplicateName = 2,
/// A conversion custom variable with the specified tag already exists.
DuplicateTag = 3,
/// A conversion custom variable with the specified tag is reserved for other
/// uses.
ReservedTag = 4,
}
impl ConversionCustomVariableError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ConversionCustomVariableError::Unspecified => "UNSPECIFIED",
ConversionCustomVariableError::Unknown => "UNKNOWN",
ConversionCustomVariableError::DuplicateName => "DUPLICATE_NAME",
ConversionCustomVariableError::DuplicateTag => "DUPLICATE_TAG",
ConversionCustomVariableError::ReservedTag => "RESERVED_TAG",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"DUPLICATE_NAME" => Some(Self::DuplicateName),
"DUPLICATE_TAG" => Some(Self::DuplicateTag),
"RESERVED_TAG" => Some(Self::ReservedTag),
_ => None,
}
}
}
}
/// Container for enum describing possible string format errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct StringFormatErrorEnum {}
/// Nested message and enum types in `StringFormatErrorEnum`.
pub mod string_format_error_enum {
/// Enum describing possible string format errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum StringFormatError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The input string value contains disallowed characters.
IllegalChars = 2,
/// The input string value is invalid for the associated field.
InvalidFormat = 3,
}
impl StringFormatError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
StringFormatError::Unspecified => "UNSPECIFIED",
StringFormatError::Unknown => "UNKNOWN",
StringFormatError::IllegalChars => "ILLEGAL_CHARS",
StringFormatError::InvalidFormat => "INVALID_FORMAT",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"ILLEGAL_CHARS" => Some(Self::IllegalChars),
"INVALID_FORMAT" => Some(Self::InvalidFormat),
_ => None,
}
}
}
}
/// Container for enum describing possible size limit errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct SizeLimitErrorEnum {}
/// Nested message and enum types in `SizeLimitErrorEnum`.
pub mod size_limit_error_enum {
/// Enum describing possible size limit errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum SizeLimitError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The number of entries in the request exceeds the system limit, or the
/// contents of the operations exceed transaction limits due to their size
/// or complexity. Try reducing the number of entries per request.
RequestSizeLimitExceeded = 2,
/// The number of entries in the response exceeds the system limit.
ResponseSizeLimitExceeded = 3,
}
impl SizeLimitError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
SizeLimitError::Unspecified => "UNSPECIFIED",
SizeLimitError::Unknown => "UNKNOWN",
SizeLimitError::RequestSizeLimitExceeded => "REQUEST_SIZE_LIMIT_EXCEEDED",
SizeLimitError::ResponseSizeLimitExceeded => {
"RESPONSE_SIZE_LIMIT_EXCEEDED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"REQUEST_SIZE_LIMIT_EXCEEDED" => Some(Self::RequestSizeLimitExceeded),
"RESPONSE_SIZE_LIMIT_EXCEEDED" => Some(Self::ResponseSizeLimitExceeded),
_ => None,
}
}
}
}
/// Container for enum describing possible string length errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct StringLengthErrorEnum {}
/// Nested message and enum types in `StringLengthErrorEnum`.
pub mod string_length_error_enum {
/// Enum describing possible string length errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum StringLengthError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The specified field should have a least one non-whitespace character in
/// it.
Empty = 4,
/// Too short.
TooShort = 2,
/// Too long.
TooLong = 3,
}
impl StringLengthError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
StringLengthError::Unspecified => "UNSPECIFIED",
StringLengthError::Unknown => "UNKNOWN",
StringLengthError::Empty => "EMPTY",
StringLengthError::TooShort => "TOO_SHORT",
StringLengthError::TooLong => "TOO_LONG",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"EMPTY" => Some(Self::Empty),
"TOO_SHORT" => Some(Self::TooShort),
"TOO_LONG" => Some(Self::TooLong),
_ => None,
}
}
}
}
/// Container for enum describing possible invoice errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct InvoiceErrorEnum {}
/// Nested message and enum types in `InvoiceErrorEnum`.
pub mod invoice_error_enum {
/// Enum describing possible invoice errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum InvoiceError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Cannot request invoices issued before 2019-01-01.
YearMonthTooOld = 2,
/// Cannot request invoices for customer who doesn't receive invoices.
NotInvoicedCustomer = 3,
/// Cannot request invoices for a non approved billing setup.
BillingSetupNotApproved = 4,
/// Cannot request invoices for a billing setup that is not on monthly
/// invoicing.
BillingSetupNotOnMonthlyInvoicing = 5,
/// Cannot request invoices for a non serving customer.
NonServingCustomer = 6,
}
impl InvoiceError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
InvoiceError::Unspecified => "UNSPECIFIED",
InvoiceError::Unknown => "UNKNOWN",
InvoiceError::YearMonthTooOld => "YEAR_MONTH_TOO_OLD",
InvoiceError::NotInvoicedCustomer => "NOT_INVOICED_CUSTOMER",
InvoiceError::BillingSetupNotApproved => "BILLING_SETUP_NOT_APPROVED",
InvoiceError::BillingSetupNotOnMonthlyInvoicing => {
"BILLING_SETUP_NOT_ON_MONTHLY_INVOICING"
}
InvoiceError::NonServingCustomer => "NON_SERVING_CUSTOMER",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"YEAR_MONTH_TOO_OLD" => Some(Self::YearMonthTooOld),
"NOT_INVOICED_CUSTOMER" => Some(Self::NotInvoicedCustomer),
"BILLING_SETUP_NOT_APPROVED" => Some(Self::BillingSetupNotApproved),
"BILLING_SETUP_NOT_ON_MONTHLY_INVOICING" => {
Some(Self::BillingSetupNotOnMonthlyInvoicing)
}
"NON_SERVING_CUSTOMER" => Some(Self::NonServingCustomer),
_ => None,
}
}
}
}
/// Container for enum describing possible asset group listing group filter
/// errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AssetGroupListingGroupFilterErrorEnum {}
/// Nested message and enum types in `AssetGroupListingGroupFilterErrorEnum`.
pub mod asset_group_listing_group_filter_error_enum {
/// Enum describing possible asset group listing group filter errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AssetGroupListingGroupFilterError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Listing group tree is too deep.
TreeTooDeep = 2,
/// Listing Group UNIT node cannot have children.
UnitCannotHaveChildren = 3,
/// Listing Group SUBDIVISION node must have everything else child.
SubdivisionMustHaveEverythingElseChild = 4,
/// Dimension type of Listing Group must be the same as that of its siblings.
DifferentDimensionTypeBetweenSiblings = 5,
/// The sibling Listing Groups target exactly the same dimension value.
SameDimensionValueBetweenSiblings = 6,
/// The dimension type is the same as one of the ancestor Listing Groups.
SameDimensionTypeBetweenAncestors = 7,
/// Each Listing Group tree must have a single root.
MultipleRoots = 8,
/// Invalid Listing Group dimension value.
InvalidDimensionValue = 9,
/// Hierarchical dimension must refine a dimension of the same type.
MustRefineHierarchicalParentType = 10,
/// Invalid Product Bidding Category.
InvalidProductBiddingCategory = 11,
/// Modifying case value is allowed only while updating the entire subtree at
/// the same time.
ChangingCaseValueWithChildren = 12,
/// Subdivision node has children which must be removed first.
SubdivisionHasChildren = 13,
/// Dimension can't subdivide everything-else node in its own hierarchy.
CannotRefineHierarchicalEverythingElse = 14,
/// There cannot be more than one mutate operation per request that targets a
/// single asset group listing group filter.
MultipleOperationsOnOneNode = 23,
}
impl AssetGroupListingGroupFilterError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AssetGroupListingGroupFilterError::Unspecified => "UNSPECIFIED",
AssetGroupListingGroupFilterError::Unknown => "UNKNOWN",
AssetGroupListingGroupFilterError::TreeTooDeep => "TREE_TOO_DEEP",
AssetGroupListingGroupFilterError::UnitCannotHaveChildren => {
"UNIT_CANNOT_HAVE_CHILDREN"
}
AssetGroupListingGroupFilterError::SubdivisionMustHaveEverythingElseChild => {
"SUBDIVISION_MUST_HAVE_EVERYTHING_ELSE_CHILD"
}
AssetGroupListingGroupFilterError::DifferentDimensionTypeBetweenSiblings => {
"DIFFERENT_DIMENSION_TYPE_BETWEEN_SIBLINGS"
}
AssetGroupListingGroupFilterError::SameDimensionValueBetweenSiblings => {
"SAME_DIMENSION_VALUE_BETWEEN_SIBLINGS"
}
AssetGroupListingGroupFilterError::SameDimensionTypeBetweenAncestors => {
"SAME_DIMENSION_TYPE_BETWEEN_ANCESTORS"
}
AssetGroupListingGroupFilterError::MultipleRoots => "MULTIPLE_ROOTS",
AssetGroupListingGroupFilterError::InvalidDimensionValue => {
"INVALID_DIMENSION_VALUE"
}
AssetGroupListingGroupFilterError::MustRefineHierarchicalParentType => {
"MUST_REFINE_HIERARCHICAL_PARENT_TYPE"
}
AssetGroupListingGroupFilterError::InvalidProductBiddingCategory => {
"INVALID_PRODUCT_BIDDING_CATEGORY"
}
AssetGroupListingGroupFilterError::ChangingCaseValueWithChildren => {
"CHANGING_CASE_VALUE_WITH_CHILDREN"
}
AssetGroupListingGroupFilterError::SubdivisionHasChildren => {
"SUBDIVISION_HAS_CHILDREN"
}
AssetGroupListingGroupFilterError::CannotRefineHierarchicalEverythingElse => {
"CANNOT_REFINE_HIERARCHICAL_EVERYTHING_ELSE"
}
AssetGroupListingGroupFilterError::MultipleOperationsOnOneNode => {
"MULTIPLE_OPERATIONS_ON_ONE_NODE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"TREE_TOO_DEEP" => Some(Self::TreeTooDeep),
"UNIT_CANNOT_HAVE_CHILDREN" => Some(Self::UnitCannotHaveChildren),
"SUBDIVISION_MUST_HAVE_EVERYTHING_ELSE_CHILD" => {
Some(Self::SubdivisionMustHaveEverythingElseChild)
}
"DIFFERENT_DIMENSION_TYPE_BETWEEN_SIBLINGS" => {
Some(Self::DifferentDimensionTypeBetweenSiblings)
}
"SAME_DIMENSION_VALUE_BETWEEN_SIBLINGS" => {
Some(Self::SameDimensionValueBetweenSiblings)
}
"SAME_DIMENSION_TYPE_BETWEEN_ANCESTORS" => {
Some(Self::SameDimensionTypeBetweenAncestors)
}
"MULTIPLE_ROOTS" => Some(Self::MultipleRoots),
"INVALID_DIMENSION_VALUE" => Some(Self::InvalidDimensionValue),
"MUST_REFINE_HIERARCHICAL_PARENT_TYPE" => {
Some(Self::MustRefineHierarchicalParentType)
}
"INVALID_PRODUCT_BIDDING_CATEGORY" => {
Some(Self::InvalidProductBiddingCategory)
}
"CHANGING_CASE_VALUE_WITH_CHILDREN" => {
Some(Self::ChangingCaseValueWithChildren)
}
"SUBDIVISION_HAS_CHILDREN" => Some(Self::SubdivisionHasChildren),
"CANNOT_REFINE_HIERARCHICAL_EVERYTHING_ELSE" => {
Some(Self::CannotRefineHierarchicalEverythingElse)
}
"MULTIPLE_OPERATIONS_ON_ONE_NODE" => {
Some(Self::MultipleOperationsOnOneNode)
}
_ => None,
}
}
}
}
/// Container for enum describing possible policy validation parameter errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct PolicyValidationParameterErrorEnum {}
/// Nested message and enum types in `PolicyValidationParameterErrorEnum`.
pub mod policy_validation_parameter_error_enum {
/// Enum describing possible policy validation parameter errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum PolicyValidationParameterError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Ignorable policy topics are not supported for the ad type.
UnsupportedAdTypeForIgnorablePolicyTopics = 2,
/// Exempt policy violation keys are not supported for the ad type.
UnsupportedAdTypeForExemptPolicyViolationKeys = 3,
/// Cannot set ignorable policy topics and exempt policy violation keys in
/// the same policy violation parameter.
CannotSetBothIgnorablePolicyTopicsAndExemptPolicyViolationKeys = 4,
}
impl PolicyValidationParameterError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
PolicyValidationParameterError::Unspecified => "UNSPECIFIED",
PolicyValidationParameterError::Unknown => "UNKNOWN",
PolicyValidationParameterError::UnsupportedAdTypeForIgnorablePolicyTopics => {
"UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS"
}
PolicyValidationParameterError::UnsupportedAdTypeForExemptPolicyViolationKeys => {
"UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS"
}
PolicyValidationParameterError::CannotSetBothIgnorablePolicyTopicsAndExemptPolicyViolationKeys => {
"CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS" => {
Some(Self::UnsupportedAdTypeForIgnorablePolicyTopics)
}
"UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS" => {
Some(Self::UnsupportedAdTypeForExemptPolicyViolationKeys)
}
"CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS" => {
Some(
Self::CannotSetBothIgnorablePolicyTopicsAndExemptPolicyViolationKeys,
)
}
_ => None,
}
}
}
}
/// Container for enum describing possible batch job errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct BatchJobErrorEnum {}
/// Nested message and enum types in `BatchJobErrorEnum`.
pub mod batch_job_error_enum {
/// Enum describing possible request errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum BatchJobError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The batch job cannot add more operations or run after it has started
/// running.
CannotModifyJobAfterJobStartsRunning = 2,
/// The operations for an AddBatchJobOperations request were empty.
EmptyOperations = 3,
/// The sequence token for an AddBatchJobOperations request was invalid.
InvalidSequenceToken = 4,
/// Batch job results can only be retrieved once the job is finished.
ResultsNotReady = 5,
/// The page size for ListBatchJobResults was invalid.
InvalidPageSize = 6,
/// The batch job cannot be removed because it has started running.
CanOnlyRemovePendingJob = 7,
/// The batch job cannot be listed due to unexpected errors such as duplicate
/// checkpoints.
CannotListResults = 8,
}
impl BatchJobError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
BatchJobError::Unspecified => "UNSPECIFIED",
BatchJobError::Unknown => "UNKNOWN",
BatchJobError::CannotModifyJobAfterJobStartsRunning => {
"CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING"
}
BatchJobError::EmptyOperations => "EMPTY_OPERATIONS",
BatchJobError::InvalidSequenceToken => "INVALID_SEQUENCE_TOKEN",
BatchJobError::ResultsNotReady => "RESULTS_NOT_READY",
BatchJobError::InvalidPageSize => "INVALID_PAGE_SIZE",
BatchJobError::CanOnlyRemovePendingJob => "CAN_ONLY_REMOVE_PENDING_JOB",
BatchJobError::CannotListResults => "CANNOT_LIST_RESULTS",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING" => {
Some(Self::CannotModifyJobAfterJobStartsRunning)
}
"EMPTY_OPERATIONS" => Some(Self::EmptyOperations),
"INVALID_SEQUENCE_TOKEN" => Some(Self::InvalidSequenceToken),
"RESULTS_NOT_READY" => Some(Self::ResultsNotReady),
"INVALID_PAGE_SIZE" => Some(Self::InvalidPageSize),
"CAN_ONLY_REMOVE_PENDING_JOB" => Some(Self::CanOnlyRemovePendingJob),
"CANNOT_LIST_RESULTS" => Some(Self::CannotListResults),
_ => None,
}
}
}
}
/// Container for enum describing possible function parsing errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FunctionParsingErrorEnum {}
/// Nested message and enum types in `FunctionParsingErrorEnum`.
pub mod function_parsing_error_enum {
/// Enum describing possible function parsing errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum FunctionParsingError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Unexpected end of function string.
NoMoreInput = 2,
/// Could not find an expected character.
ExpectedCharacter = 3,
/// Unexpected separator character.
UnexpectedSeparator = 4,
/// Unmatched left bracket or parenthesis.
UnmatchedLeftBracket = 5,
/// Unmatched right bracket or parenthesis.
UnmatchedRightBracket = 6,
/// Functions are nested too deeply.
TooManyNestedFunctions = 7,
/// Missing right-hand-side operand.
MissingRightHandOperand = 8,
/// Invalid operator/function name.
InvalidOperatorName = 9,
/// Feed attribute operand's argument is not an integer.
FeedAttributeOperandArgumentNotInteger = 10,
/// Missing function operands.
NoOperands = 11,
/// Function had too many operands.
TooManyOperands = 12,
}
impl FunctionParsingError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
FunctionParsingError::Unspecified => "UNSPECIFIED",
FunctionParsingError::Unknown => "UNKNOWN",
FunctionParsingError::NoMoreInput => "NO_MORE_INPUT",
FunctionParsingError::ExpectedCharacter => "EXPECTED_CHARACTER",
FunctionParsingError::UnexpectedSeparator => "UNEXPECTED_SEPARATOR",
FunctionParsingError::UnmatchedLeftBracket => "UNMATCHED_LEFT_BRACKET",
FunctionParsingError::UnmatchedRightBracket => "UNMATCHED_RIGHT_BRACKET",
FunctionParsingError::TooManyNestedFunctions => {
"TOO_MANY_NESTED_FUNCTIONS"
}
FunctionParsingError::MissingRightHandOperand => {
"MISSING_RIGHT_HAND_OPERAND"
}
FunctionParsingError::InvalidOperatorName => "INVALID_OPERATOR_NAME",
FunctionParsingError::FeedAttributeOperandArgumentNotInteger => {
"FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER"
}
FunctionParsingError::NoOperands => "NO_OPERANDS",
FunctionParsingError::TooManyOperands => "TOO_MANY_OPERANDS",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"NO_MORE_INPUT" => Some(Self::NoMoreInput),
"EXPECTED_CHARACTER" => Some(Self::ExpectedCharacter),
"UNEXPECTED_SEPARATOR" => Some(Self::UnexpectedSeparator),
"UNMATCHED_LEFT_BRACKET" => Some(Self::UnmatchedLeftBracket),
"UNMATCHED_RIGHT_BRACKET" => Some(Self::UnmatchedRightBracket),
"TOO_MANY_NESTED_FUNCTIONS" => Some(Self::TooManyNestedFunctions),
"MISSING_RIGHT_HAND_OPERAND" => Some(Self::MissingRightHandOperand),
"INVALID_OPERATOR_NAME" => Some(Self::InvalidOperatorName),
"FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER" => {
Some(Self::FeedAttributeOperandArgumentNotInteger)
}
"NO_OPERANDS" => Some(Self::NoOperands),
"TOO_MANY_OPERANDS" => Some(Self::TooManyOperands),
_ => None,
}
}
}
}
/// Container for enum describing possible distinct errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DistinctErrorEnum {}
/// Nested message and enum types in `DistinctErrorEnum`.
pub mod distinct_error_enum {
/// Enum describing possible distinct errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum DistinctError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Duplicate element.
DuplicateElement = 2,
/// Duplicate type.
DuplicateType = 3,
}
impl DistinctError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
DistinctError::Unspecified => "UNSPECIFIED",
DistinctError::Unknown => "UNKNOWN",
DistinctError::DuplicateElement => "DUPLICATE_ELEMENT",
DistinctError::DuplicateType => "DUPLICATE_TYPE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"DUPLICATE_ELEMENT" => Some(Self::DuplicateElement),
"DUPLICATE_TYPE" => Some(Self::DuplicateType),
_ => None,
}
}
}
}
/// Container for enum describing possible feed errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FeedErrorEnum {}
/// Nested message and enum types in `FeedErrorEnum`.
pub mod feed_error_enum {
/// Enum describing possible feed errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum FeedError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The names of the FeedAttributes must be unique.
AttributeNamesNotUnique = 2,
/// The attribute list must be an exact copy of the existing list if the
/// attribute ID's are present.
AttributesDoNotMatchExistingAttributes = 3,
/// Cannot specify USER origin for a system generated feed.
CannotSpecifyUserOriginForSystemFeed = 4,
/// Cannot specify GOOGLE origin for a non-system generated feed.
CannotSpecifyGoogleOriginForNonSystemFeed = 5,
/// Cannot specify feed attributes for system feed.
CannotSpecifyFeedAttributesForSystemFeed = 6,
/// Cannot update FeedAttributes on feed with origin GOOGLE.
CannotUpdateFeedAttributesWithOriginGoogle = 7,
/// The given ID refers to a removed Feed. Removed Feeds are immutable.
FeedRemoved = 8,
/// The origin of the feed is not valid for the client.
InvalidOriginValue = 9,
/// A user can only create and modify feeds with USER origin.
FeedOriginIsNotUser = 10,
/// Invalid auth token for the given email.
InvalidAuthTokenForEmail = 11,
/// Invalid email specified.
InvalidEmail = 12,
/// Feed name matches that of another active Feed.
DuplicateFeedName = 13,
/// Name of feed is not allowed.
InvalidFeedName = 14,
/// Missing OAuthInfo.
MissingOauthInfo = 15,
/// New FeedAttributes must not affect the unique key.
NewAttributeCannotBePartOfUniqueKey = 16,
/// Too many FeedAttributes for a Feed.
TooManyAttributes = 17,
/// The business account is not valid.
InvalidBusinessAccount = 18,
/// Business account cannot access Business Profile.
BusinessAccountCannotAccessLocationAccount = 19,
/// Invalid chain ID provided for affiliate location feed.
InvalidAffiliateChainId = 20,
/// There is already a feed with the given system feed generation data.
DuplicateSystemFeed = 21,
/// An error occurred accessing Business Profile.
GmbAccessError = 22,
/// A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds.
CannotHaveLocationAndAffiliateLocationFeeds = 23,
/// Feed-based extension is read-only for this extension type.
LegacyExtensionTypeReadOnly = 24,
}
impl FeedError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
FeedError::Unspecified => "UNSPECIFIED",
FeedError::Unknown => "UNKNOWN",
FeedError::AttributeNamesNotUnique => "ATTRIBUTE_NAMES_NOT_UNIQUE",
FeedError::AttributesDoNotMatchExistingAttributes => {
"ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES"
}
FeedError::CannotSpecifyUserOriginForSystemFeed => {
"CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED"
}
FeedError::CannotSpecifyGoogleOriginForNonSystemFeed => {
"CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED"
}
FeedError::CannotSpecifyFeedAttributesForSystemFeed => {
"CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED"
}
FeedError::CannotUpdateFeedAttributesWithOriginGoogle => {
"CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE"
}
FeedError::FeedRemoved => "FEED_REMOVED",
FeedError::InvalidOriginValue => "INVALID_ORIGIN_VALUE",
FeedError::FeedOriginIsNotUser => "FEED_ORIGIN_IS_NOT_USER",
FeedError::InvalidAuthTokenForEmail => "INVALID_AUTH_TOKEN_FOR_EMAIL",
FeedError::InvalidEmail => "INVALID_EMAIL",
FeedError::DuplicateFeedName => "DUPLICATE_FEED_NAME",
FeedError::InvalidFeedName => "INVALID_FEED_NAME",
FeedError::MissingOauthInfo => "MISSING_OAUTH_INFO",
FeedError::NewAttributeCannotBePartOfUniqueKey => {
"NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY"
}
FeedError::TooManyAttributes => "TOO_MANY_ATTRIBUTES",
FeedError::InvalidBusinessAccount => "INVALID_BUSINESS_ACCOUNT",
FeedError::BusinessAccountCannotAccessLocationAccount => {
"BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT"
}
FeedError::InvalidAffiliateChainId => "INVALID_AFFILIATE_CHAIN_ID",
FeedError::DuplicateSystemFeed => "DUPLICATE_SYSTEM_FEED",
FeedError::GmbAccessError => "GMB_ACCESS_ERROR",
FeedError::CannotHaveLocationAndAffiliateLocationFeeds => {
"CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS"
}
FeedError::LegacyExtensionTypeReadOnly => {
"LEGACY_EXTENSION_TYPE_READ_ONLY"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"ATTRIBUTE_NAMES_NOT_UNIQUE" => Some(Self::AttributeNamesNotUnique),
"ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES" => {
Some(Self::AttributesDoNotMatchExistingAttributes)
}
"CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED" => {
Some(Self::CannotSpecifyUserOriginForSystemFeed)
}
"CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED" => {
Some(Self::CannotSpecifyGoogleOriginForNonSystemFeed)
}
"CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED" => {
Some(Self::CannotSpecifyFeedAttributesForSystemFeed)
}
"CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE" => {
Some(Self::CannotUpdateFeedAttributesWithOriginGoogle)
}
"FEED_REMOVED" => Some(Self::FeedRemoved),
"INVALID_ORIGIN_VALUE" => Some(Self::InvalidOriginValue),
"FEED_ORIGIN_IS_NOT_USER" => Some(Self::FeedOriginIsNotUser),
"INVALID_AUTH_TOKEN_FOR_EMAIL" => Some(Self::InvalidAuthTokenForEmail),
"INVALID_EMAIL" => Some(Self::InvalidEmail),
"DUPLICATE_FEED_NAME" => Some(Self::DuplicateFeedName),
"INVALID_FEED_NAME" => Some(Self::InvalidFeedName),
"MISSING_OAUTH_INFO" => Some(Self::MissingOauthInfo),
"NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY" => {
Some(Self::NewAttributeCannotBePartOfUniqueKey)
}
"TOO_MANY_ATTRIBUTES" => Some(Self::TooManyAttributes),
"INVALID_BUSINESS_ACCOUNT" => Some(Self::InvalidBusinessAccount),
"BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT" => {
Some(Self::BusinessAccountCannotAccessLocationAccount)
}
"INVALID_AFFILIATE_CHAIN_ID" => Some(Self::InvalidAffiliateChainId),
"DUPLICATE_SYSTEM_FEED" => Some(Self::DuplicateSystemFeed),
"GMB_ACCESS_ERROR" => Some(Self::GmbAccessError),
"CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS" => {
Some(Self::CannotHaveLocationAndAffiliateLocationFeeds)
}
"LEGACY_EXTENSION_TYPE_READ_ONLY" => {
Some(Self::LegacyExtensionTypeReadOnly)
}
_ => None,
}
}
}
}
/// Container for enum describing possible resource count limit exceeded errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ResourceCountLimitExceededErrorEnum {}
/// Nested message and enum types in `ResourceCountLimitExceededErrorEnum`.
pub mod resource_count_limit_exceeded_error_enum {
/// Enum describing possible resource count limit exceeded errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ResourceCountLimitExceededError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Indicates that this request would exceed the number of allowed resources
/// for the Google Ads account. The exact resource type and limit being
/// checked can be inferred from accountLimitType.
AccountLimit = 2,
/// Indicates that this request would exceed the number of allowed resources
/// in a Campaign. The exact resource type and limit being checked can be
/// inferred from accountLimitType, and the numeric id of the
/// Campaign involved is given by enclosingId.
CampaignLimit = 3,
/// Indicates that this request would exceed the number of allowed resources
/// in an ad group. The exact resource type and limit being checked can be
/// inferred from accountLimitType, and the numeric id of the
/// ad group involved is given by enclosingId.
AdgroupLimit = 4,
/// Indicates that this request would exceed the number of allowed resources
/// in an ad group ad. The exact resource type and limit being checked can
/// be inferred from accountLimitType, and the enclosingId
/// contains the ad group id followed by the ad id, separated by a single
/// comma (,).
AdGroupAdLimit = 5,
/// Indicates that this request would exceed the number of allowed resources
/// in an ad group criterion. The exact resource type and limit being checked
/// can be inferred from accountLimitType, and the
/// enclosingId contains the ad group id followed by the
/// criterion id, separated by a single comma (,).
AdGroupCriterionLimit = 6,
/// Indicates that this request would exceed the number of allowed resources
/// in this shared set. The exact resource type and limit being checked can
/// be inferred from accountLimitType, and the numeric id of the
/// shared set involved is given by enclosingId.
SharedSetLimit = 7,
/// Exceeds a limit related to a matching function.
MatchingFunctionLimit = 8,
/// The response for this request would exceed the maximum number of rows
/// that can be returned.
ResponseRowLimitExceeded = 9,
/// This request would exceed a limit on the number of allowed resources.
/// The details of which type of limit was exceeded will eventually be
/// returned in ErrorDetails.
ResourceLimit = 10,
}
impl ResourceCountLimitExceededError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ResourceCountLimitExceededError::Unspecified => "UNSPECIFIED",
ResourceCountLimitExceededError::Unknown => "UNKNOWN",
ResourceCountLimitExceededError::AccountLimit => "ACCOUNT_LIMIT",
ResourceCountLimitExceededError::CampaignLimit => "CAMPAIGN_LIMIT",
ResourceCountLimitExceededError::AdgroupLimit => "ADGROUP_LIMIT",
ResourceCountLimitExceededError::AdGroupAdLimit => "AD_GROUP_AD_LIMIT",
ResourceCountLimitExceededError::AdGroupCriterionLimit => {
"AD_GROUP_CRITERION_LIMIT"
}
ResourceCountLimitExceededError::SharedSetLimit => "SHARED_SET_LIMIT",
ResourceCountLimitExceededError::MatchingFunctionLimit => {
"MATCHING_FUNCTION_LIMIT"
}
ResourceCountLimitExceededError::ResponseRowLimitExceeded => {
"RESPONSE_ROW_LIMIT_EXCEEDED"
}
ResourceCountLimitExceededError::ResourceLimit => "RESOURCE_LIMIT",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"ACCOUNT_LIMIT" => Some(Self::AccountLimit),
"CAMPAIGN_LIMIT" => Some(Self::CampaignLimit),
"ADGROUP_LIMIT" => Some(Self::AdgroupLimit),
"AD_GROUP_AD_LIMIT" => Some(Self::AdGroupAdLimit),
"AD_GROUP_CRITERION_LIMIT" => Some(Self::AdGroupCriterionLimit),
"SHARED_SET_LIMIT" => Some(Self::SharedSetLimit),
"MATCHING_FUNCTION_LIMIT" => Some(Self::MatchingFunctionLimit),
"RESPONSE_ROW_LIMIT_EXCEEDED" => Some(Self::ResponseRowLimitExceeded),
"RESOURCE_LIMIT" => Some(Self::ResourceLimit),
_ => None,
}
}
}
}
/// Container for enum describing possible campaign budget errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CampaignBudgetErrorEnum {}
/// Nested message and enum types in `CampaignBudgetErrorEnum`.
pub mod campaign_budget_error_enum {
/// Enum describing possible campaign budget errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CampaignBudgetError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The campaign budget cannot be shared.
CampaignBudgetCannotBeShared = 17,
/// The requested campaign budget no longer exists.
CampaignBudgetRemoved = 2,
/// The campaign budget is associated with at least one campaign, and so the
/// campaign budget cannot be removed.
CampaignBudgetInUse = 3,
/// Customer is not on the allow-list for this campaign budget period.
CampaignBudgetPeriodNotAvailable = 4,
/// This field is not mutable on implicitly shared campaign budgets
CannotModifyFieldOfImplicitlySharedCampaignBudget = 6,
/// Cannot change explicitly shared campaign budgets back to implicitly
/// shared ones.
CannotUpdateCampaignBudgetToImplicitlyShared = 7,
/// An implicit campaign budget without a name cannot be changed to
/// explicitly shared campaign budget.
CannotUpdateCampaignBudgetToExplicitlySharedWithoutName = 8,
/// Cannot change an implicitly shared campaign budget to an explicitly
/// shared one.
CannotUpdateCampaignBudgetToExplicitlyShared = 9,
/// Only explicitly shared campaign budgets can be used with multiple
/// campaigns.
CannotUseImplicitlySharedCampaignBudgetWithMultipleCampaigns = 10,
/// A campaign budget with this name already exists.
DuplicateName = 11,
/// A money amount was not in the expected currency.
MoneyAmountInWrongCurrency = 12,
/// A money amount was less than the minimum CPC for currency.
MoneyAmountLessThanCurrencyMinimumCpc = 13,
/// A money amount was greater than the maximum allowed.
MoneyAmountTooLarge = 14,
/// A money amount was negative.
NegativeMoneyAmount = 15,
/// A money amount was not a multiple of a minimum unit.
NonMultipleOfMinimumCurrencyUnit = 16,
/// Total budget amount must be unset when BudgetPeriod is DAILY.
TotalBudgetAmountMustBeUnsetForBudgetPeriodDaily = 18,
/// The period of the budget is not allowed.
InvalidPeriod = 19,
/// Cannot use accelerated delivery method on this budget.
CannotUseAcceleratedDeliveryMode = 20,
/// Budget amount must be unset when BudgetPeriod is CUSTOM.
BudgetAmountMustBeUnsetForCustomBudgetPeriod = 21,
}
impl CampaignBudgetError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CampaignBudgetError::Unspecified => "UNSPECIFIED",
CampaignBudgetError::Unknown => "UNKNOWN",
CampaignBudgetError::CampaignBudgetCannotBeShared => {
"CAMPAIGN_BUDGET_CANNOT_BE_SHARED"
}
CampaignBudgetError::CampaignBudgetRemoved => "CAMPAIGN_BUDGET_REMOVED",
CampaignBudgetError::CampaignBudgetInUse => "CAMPAIGN_BUDGET_IN_USE",
CampaignBudgetError::CampaignBudgetPeriodNotAvailable => {
"CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE"
}
CampaignBudgetError::CannotModifyFieldOfImplicitlySharedCampaignBudget => {
"CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET"
}
CampaignBudgetError::CannotUpdateCampaignBudgetToImplicitlyShared => {
"CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED"
}
CampaignBudgetError::CannotUpdateCampaignBudgetToExplicitlySharedWithoutName => {
"CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME"
}
CampaignBudgetError::CannotUpdateCampaignBudgetToExplicitlyShared => {
"CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED"
}
CampaignBudgetError::CannotUseImplicitlySharedCampaignBudgetWithMultipleCampaigns => {
"CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS"
}
CampaignBudgetError::DuplicateName => "DUPLICATE_NAME",
CampaignBudgetError::MoneyAmountInWrongCurrency => {
"MONEY_AMOUNT_IN_WRONG_CURRENCY"
}
CampaignBudgetError::MoneyAmountLessThanCurrencyMinimumCpc => {
"MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC"
}
CampaignBudgetError::MoneyAmountTooLarge => "MONEY_AMOUNT_TOO_LARGE",
CampaignBudgetError::NegativeMoneyAmount => "NEGATIVE_MONEY_AMOUNT",
CampaignBudgetError::NonMultipleOfMinimumCurrencyUnit => {
"NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT"
}
CampaignBudgetError::TotalBudgetAmountMustBeUnsetForBudgetPeriodDaily => {
"TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY"
}
CampaignBudgetError::InvalidPeriod => "INVALID_PERIOD",
CampaignBudgetError::CannotUseAcceleratedDeliveryMode => {
"CANNOT_USE_ACCELERATED_DELIVERY_MODE"
}
CampaignBudgetError::BudgetAmountMustBeUnsetForCustomBudgetPeriod => {
"BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CAMPAIGN_BUDGET_CANNOT_BE_SHARED" => {
Some(Self::CampaignBudgetCannotBeShared)
}
"CAMPAIGN_BUDGET_REMOVED" => Some(Self::CampaignBudgetRemoved),
"CAMPAIGN_BUDGET_IN_USE" => Some(Self::CampaignBudgetInUse),
"CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE" => {
Some(Self::CampaignBudgetPeriodNotAvailable)
}
"CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET" => {
Some(Self::CannotModifyFieldOfImplicitlySharedCampaignBudget)
}
"CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED" => {
Some(Self::CannotUpdateCampaignBudgetToImplicitlyShared)
}
"CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME" => {
Some(Self::CannotUpdateCampaignBudgetToExplicitlySharedWithoutName)
}
"CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED" => {
Some(Self::CannotUpdateCampaignBudgetToExplicitlyShared)
}
"CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS" => {
Some(
Self::CannotUseImplicitlySharedCampaignBudgetWithMultipleCampaigns,
)
}
"DUPLICATE_NAME" => Some(Self::DuplicateName),
"MONEY_AMOUNT_IN_WRONG_CURRENCY" => {
Some(Self::MoneyAmountInWrongCurrency)
}
"MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC" => {
Some(Self::MoneyAmountLessThanCurrencyMinimumCpc)
}
"MONEY_AMOUNT_TOO_LARGE" => Some(Self::MoneyAmountTooLarge),
"NEGATIVE_MONEY_AMOUNT" => Some(Self::NegativeMoneyAmount),
"NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT" => {
Some(Self::NonMultipleOfMinimumCurrencyUnit)
}
"TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY" => {
Some(Self::TotalBudgetAmountMustBeUnsetForBudgetPeriodDaily)
}
"INVALID_PERIOD" => Some(Self::InvalidPeriod),
"CANNOT_USE_ACCELERATED_DELIVERY_MODE" => {
Some(Self::CannotUseAcceleratedDeliveryMode)
}
"BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD" => {
Some(Self::BudgetAmountMustBeUnsetForCustomBudgetPeriod)
}
_ => None,
}
}
}
}
/// Container for enum describing possible asset group errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AssetGroupErrorEnum {}
/// Nested message and enum types in `AssetGroupErrorEnum`.
pub mod asset_group_error_enum {
/// Enum describing possible asset group errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AssetGroupError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Each asset group in a single campaign must have a unique name.
DuplicateName = 2,
/// Cannot add asset group for the campaign type.
CannotAddAssetGroupForCampaignType = 3,
/// Not enough headline asset for a valid asset group.
NotEnoughHeadlineAsset = 4,
/// Not enough long headline asset for a valid asset group.
NotEnoughLongHeadlineAsset = 5,
/// Not enough description headline asset for a valid asset group.
NotEnoughDescriptionAsset = 6,
/// Not enough business name asset for a valid asset group.
NotEnoughBusinessNameAsset = 7,
/// Not enough marketing image asset for a valid asset group.
NotEnoughMarketingImageAsset = 8,
/// Not enough square marketing image asset for a valid asset group.
NotEnoughSquareMarketingImageAsset = 9,
/// Not enough logo asset for a valid asset group.
NotEnoughLogoAsset = 10,
/// Final url and shopping merchant url does not have the same domain.
FinalUrlShoppingMerchantHomePageUrlDomainsDiffer = 11,
/// Path1 required when path2 is set.
Path1RequiredWhenPath2IsSet = 12,
/// At least one short description asset is required for a valid asset group.
ShortDescriptionRequired = 13,
/// Final url field is required for asset group.
FinalUrlRequired = 14,
/// Final url contains invalid domain name.
FinalUrlContainsInvalidDomainName = 15,
/// Ad customizers are not supported in asset group's text field.
AdCustomizerNotSupported = 16,
/// Cannot mutate asset group for campaign with removed status.
CannotMutateAssetGroupForRemovedCampaign = 17,
}
impl AssetGroupError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AssetGroupError::Unspecified => "UNSPECIFIED",
AssetGroupError::Unknown => "UNKNOWN",
AssetGroupError::DuplicateName => "DUPLICATE_NAME",
AssetGroupError::CannotAddAssetGroupForCampaignType => {
"CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE"
}
AssetGroupError::NotEnoughHeadlineAsset => "NOT_ENOUGH_HEADLINE_ASSET",
AssetGroupError::NotEnoughLongHeadlineAsset => {
"NOT_ENOUGH_LONG_HEADLINE_ASSET"
}
AssetGroupError::NotEnoughDescriptionAsset => {
"NOT_ENOUGH_DESCRIPTION_ASSET"
}
AssetGroupError::NotEnoughBusinessNameAsset => {
"NOT_ENOUGH_BUSINESS_NAME_ASSET"
}
AssetGroupError::NotEnoughMarketingImageAsset => {
"NOT_ENOUGH_MARKETING_IMAGE_ASSET"
}
AssetGroupError::NotEnoughSquareMarketingImageAsset => {
"NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET"
}
AssetGroupError::NotEnoughLogoAsset => "NOT_ENOUGH_LOGO_ASSET",
AssetGroupError::FinalUrlShoppingMerchantHomePageUrlDomainsDiffer => {
"FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER"
}
AssetGroupError::Path1RequiredWhenPath2IsSet => {
"PATH1_REQUIRED_WHEN_PATH2_IS_SET"
}
AssetGroupError::ShortDescriptionRequired => "SHORT_DESCRIPTION_REQUIRED",
AssetGroupError::FinalUrlRequired => "FINAL_URL_REQUIRED",
AssetGroupError::FinalUrlContainsInvalidDomainName => {
"FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME"
}
AssetGroupError::AdCustomizerNotSupported => {
"AD_CUSTOMIZER_NOT_SUPPORTED"
}
AssetGroupError::CannotMutateAssetGroupForRemovedCampaign => {
"CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"DUPLICATE_NAME" => Some(Self::DuplicateName),
"CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE" => {
Some(Self::CannotAddAssetGroupForCampaignType)
}
"NOT_ENOUGH_HEADLINE_ASSET" => Some(Self::NotEnoughHeadlineAsset),
"NOT_ENOUGH_LONG_HEADLINE_ASSET" => {
Some(Self::NotEnoughLongHeadlineAsset)
}
"NOT_ENOUGH_DESCRIPTION_ASSET" => Some(Self::NotEnoughDescriptionAsset),
"NOT_ENOUGH_BUSINESS_NAME_ASSET" => {
Some(Self::NotEnoughBusinessNameAsset)
}
"NOT_ENOUGH_MARKETING_IMAGE_ASSET" => {
Some(Self::NotEnoughMarketingImageAsset)
}
"NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET" => {
Some(Self::NotEnoughSquareMarketingImageAsset)
}
"NOT_ENOUGH_LOGO_ASSET" => Some(Self::NotEnoughLogoAsset),
"FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER" => {
Some(Self::FinalUrlShoppingMerchantHomePageUrlDomainsDiffer)
}
"PATH1_REQUIRED_WHEN_PATH2_IS_SET" => {
Some(Self::Path1RequiredWhenPath2IsSet)
}
"SHORT_DESCRIPTION_REQUIRED" => Some(Self::ShortDescriptionRequired),
"FINAL_URL_REQUIRED" => Some(Self::FinalUrlRequired),
"FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME" => {
Some(Self::FinalUrlContainsInvalidDomainName)
}
"AD_CUSTOMIZER_NOT_SUPPORTED" => Some(Self::AdCustomizerNotSupported),
"CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN" => {
Some(Self::CannotMutateAssetGroupForRemovedCampaign)
}
_ => None,
}
}
}
}
/// Container for enum describing possible CustomerManagerLink errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomerManagerLinkErrorEnum {}
/// Nested message and enum types in `CustomerManagerLinkErrorEnum`.
pub mod customer_manager_link_error_enum {
/// Enum describing possible CustomerManagerLink errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CustomerManagerLinkError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// No pending invitation.
NoPendingInvite = 2,
/// Attempt to operate on the same client more than once in the same call.
SameClientMoreThanOncePerCall = 3,
/// Manager account has the maximum number of linked accounts.
ManagerHasMaxNumberOfLinkedAccounts = 4,
/// If no active user on account it cannot be unlinked from its manager.
CannotUnlinkAccountWithoutActiveUser = 5,
/// Account should have at least one active owner on it before being
/// unlinked.
CannotRemoveLastClientAccountOwner = 6,
/// Only account owners may change their permission role.
CannotChangeRoleByNonAccountOwner = 7,
/// When a client's link to its manager is not active, the link role cannot
/// be changed.
CannotChangeRoleForNonActiveLinkAccount = 8,
/// Attempt to link a child to a parent that contains or will contain
/// duplicate children.
DuplicateChildFound = 9,
/// The authorized customer is a test account. It can add no more than the
/// allowed number of accounts
TestAccountLinksTooManyChildAccounts = 10,
}
impl CustomerManagerLinkError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CustomerManagerLinkError::Unspecified => "UNSPECIFIED",
CustomerManagerLinkError::Unknown => "UNKNOWN",
CustomerManagerLinkError::NoPendingInvite => "NO_PENDING_INVITE",
CustomerManagerLinkError::SameClientMoreThanOncePerCall => {
"SAME_CLIENT_MORE_THAN_ONCE_PER_CALL"
}
CustomerManagerLinkError::ManagerHasMaxNumberOfLinkedAccounts => {
"MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS"
}
CustomerManagerLinkError::CannotUnlinkAccountWithoutActiveUser => {
"CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER"
}
CustomerManagerLinkError::CannotRemoveLastClientAccountOwner => {
"CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER"
}
CustomerManagerLinkError::CannotChangeRoleByNonAccountOwner => {
"CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER"
}
CustomerManagerLinkError::CannotChangeRoleForNonActiveLinkAccount => {
"CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT"
}
CustomerManagerLinkError::DuplicateChildFound => "DUPLICATE_CHILD_FOUND",
CustomerManagerLinkError::TestAccountLinksTooManyChildAccounts => {
"TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"NO_PENDING_INVITE" => Some(Self::NoPendingInvite),
"SAME_CLIENT_MORE_THAN_ONCE_PER_CALL" => {
Some(Self::SameClientMoreThanOncePerCall)
}
"MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS" => {
Some(Self::ManagerHasMaxNumberOfLinkedAccounts)
}
"CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER" => {
Some(Self::CannotUnlinkAccountWithoutActiveUser)
}
"CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER" => {
Some(Self::CannotRemoveLastClientAccountOwner)
}
"CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER" => {
Some(Self::CannotChangeRoleByNonAccountOwner)
}
"CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT" => {
Some(Self::CannotChangeRoleForNonActiveLinkAccount)
}
"DUPLICATE_CHILD_FOUND" => Some(Self::DuplicateChildFound),
"TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS" => {
Some(Self::TestAccountLinksTooManyChildAccounts)
}
_ => None,
}
}
}
}
/// Container for enum describing validation errors of extension settings.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ExtensionSettingErrorEnum {}
/// Nested message and enum types in `ExtensionSettingErrorEnum`.
pub mod extension_setting_error_enum {
/// Enum describing possible extension setting errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ExtensionSettingError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// A platform restriction was provided without input extensions or existing
/// extensions.
ExtensionsRequired = 2,
/// The provided feed type does not correspond to the provided extensions.
FeedTypeExtensionTypeMismatch = 3,
/// The provided feed type cannot be used.
InvalidFeedType = 4,
/// The provided feed type cannot be used at the customer level.
InvalidFeedTypeForCustomerExtensionSetting = 5,
/// Cannot change a feed item field on a CREATE operation.
CannotChangeFeedItemOnCreate = 6,
/// Cannot update an extension that is not already in this setting.
CannotUpdateNewlyCreatedExtension = 7,
/// There is no existing AdGroupExtensionSetting for this type.
NoExistingAdGroupExtensionSettingForType = 8,
/// There is no existing CampaignExtensionSetting for this type.
NoExistingCampaignExtensionSettingForType = 9,
/// There is no existing CustomerExtensionSetting for this type.
NoExistingCustomerExtensionSettingForType = 10,
/// The AdGroupExtensionSetting already exists. UPDATE should be used to
/// modify the existing AdGroupExtensionSetting.
AdGroupExtensionSettingAlreadyExists = 11,
/// The CampaignExtensionSetting already exists. UPDATE should be used to
/// modify the existing CampaignExtensionSetting.
CampaignExtensionSettingAlreadyExists = 12,
/// The CustomerExtensionSetting already exists. UPDATE should be used to
/// modify the existing CustomerExtensionSetting.
CustomerExtensionSettingAlreadyExists = 13,
/// An active ad group feed already exists for this place holder type.
AdGroupFeedAlreadyExistsForPlaceholderType = 14,
/// An active campaign feed already exists for this place holder type.
CampaignFeedAlreadyExistsForPlaceholderType = 15,
/// An active customer feed already exists for this place holder type.
CustomerFeedAlreadyExistsForPlaceholderType = 16,
/// Value is not within the accepted range.
ValueOutOfRange = 17,
/// Cannot simultaneously set specified field with final urls.
CannotSetFieldWithFinalUrls = 18,
/// Must set field with final urls.
FinalUrlsNotSet = 19,
/// Phone number for a call extension is invalid.
InvalidPhoneNumber = 20,
/// Phone number for a call extension is not supported for the given country
/// code.
PhoneNumberNotSupportedForCountry = 21,
/// A carrier specific number in short format is not allowed for call
/// extensions.
CarrierSpecificShortNumberNotAllowed = 22,
/// Premium rate numbers are not allowed for call extensions.
PremiumRateNumberNotAllowed = 23,
/// Phone number type for a call extension is not allowed.
DisallowedNumberType = 24,
/// Phone number for a call extension does not meet domestic format
/// requirements.
InvalidDomesticPhoneNumberFormat = 25,
/// Vanity phone numbers (for example, those including letters) are not
/// allowed for call extensions.
VanityPhoneNumberNotAllowed = 26,
/// Country code provided for a call extension is invalid.
InvalidCountryCode = 27,
/// Call conversion type id provided for a call extension is invalid.
InvalidCallConversionTypeId = 28,
/// For a call extension, the customer is not on the allow-list for call
/// tracking.
CustomerNotInAllowlistForCalltracking = 69,
/// Call tracking is not supported for the given country for a call
/// extension.
CalltrackingNotSupportedForCountry = 30,
/// App id provided for an app extension is invalid.
InvalidAppId = 31,
/// Quotation marks present in the review text for a review extension.
QuotesInReviewExtensionSnippet = 32,
/// Hyphen character present in the review text for a review extension.
HyphensInReviewExtensionSnippet = 33,
/// A blocked review source name or url was provided for a review
/// extension.
ReviewExtensionSourceNotEligible = 34,
/// Review source name should not be found in the review text.
SourceNameInReviewExtensionText = 35,
/// Field must be set.
MissingField = 36,
/// Inconsistent currency codes.
InconsistentCurrencyCodes = 37,
/// Price extension cannot have duplicated headers.
PriceExtensionHasDuplicatedHeaders = 38,
/// Price item cannot have duplicated header and description.
PriceItemHasDuplicatedHeaderAndDescription = 39,
/// Price extension has too few items
PriceExtensionHasTooFewItems = 40,
/// Price extension has too many items
PriceExtensionHasTooManyItems = 41,
/// The input value is not currently supported.
UnsupportedValue = 42,
/// Unknown or unsupported device preference.
InvalidDevicePreference = 43,
/// Invalid feed item schedule end time (for example, endHour = 24 and
/// endMinute != 0).
InvalidScheduleEnd = 45,
/// Date time zone does not match the account's time zone.
DateTimeMustBeInAccountTimeZone = 47,
/// Overlapping feed item schedule times (for example, 7-10AM and 8-11AM) are
/// not allowed.
OverlappingSchedulesNotAllowed = 48,
/// Feed item schedule end time must be after start time.
ScheduleEndNotAfterStart = 49,
/// There are too many feed item schedules per day.
TooManySchedulesPerDay = 50,
/// Cannot edit the same extension feed item more than once in the same
/// request.
DuplicateExtensionFeedItemEdit = 51,
/// Invalid structured snippet header.
InvalidSnippetsHeader = 52,
/// Phone number with call tracking enabled is not supported for the
/// specified country.
PhoneNumberNotSupportedWithCalltrackingForCountry = 53,
/// The targeted adgroup must belong to the targeted campaign.
CampaignTargetingMismatch = 54,
/// The feed used by the ExtensionSetting is removed and cannot be operated
/// on. Remove the ExtensionSetting to allow a new one to be created using
/// an active feed.
CannotOperateOnRemovedFeed = 55,
/// The ExtensionFeedItem type is required for this operation.
ExtensionTypeRequired = 56,
/// The matching function that links the extension feed to the customer,
/// campaign, or ad group is not compatible with the ExtensionSetting
/// services.
IncompatibleUnderlyingMatchingFunction = 57,
/// Start date must be before end date.
StartDateAfterEndDate = 58,
/// Input price is not in a valid format.
InvalidPriceFormat = 59,
/// The promotion time is invalid.
PromotionInvalidTime = 60,
/// Cannot set both percent discount and money discount fields.
PromotionCannotSetPercentDiscountAndMoneyDiscount = 61,
/// Cannot set both promotion code and orders over amount fields.
PromotionCannotSetPromotionCodeAndOrdersOverAmount = 62,
/// This field has too many decimal places specified.
TooManyDecimalPlacesSpecified = 63,
/// The language code is not valid.
InvalidLanguageCode = 64,
/// The language is not supported.
UnsupportedLanguage = 65,
/// Customer hasn't consented for call recording, which is required for
/// adding/updating call extensions. See
/// <https://support.google.com/google-ads/answer/7412639.>
CustomerConsentForCallRecordingRequired = 66,
/// The UPDATE operation does not specify any fields other than the resource
/// name in the update mask.
ExtensionSettingUpdateIsANoop = 67,
/// The extension contains text which has been prohibited on policy grounds.
DisallowedText = 68,
}
impl ExtensionSettingError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ExtensionSettingError::Unspecified => "UNSPECIFIED",
ExtensionSettingError::Unknown => "UNKNOWN",
ExtensionSettingError::ExtensionsRequired => "EXTENSIONS_REQUIRED",
ExtensionSettingError::FeedTypeExtensionTypeMismatch => {
"FEED_TYPE_EXTENSION_TYPE_MISMATCH"
}
ExtensionSettingError::InvalidFeedType => "INVALID_FEED_TYPE",
ExtensionSettingError::InvalidFeedTypeForCustomerExtensionSetting => {
"INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING"
}
ExtensionSettingError::CannotChangeFeedItemOnCreate => {
"CANNOT_CHANGE_FEED_ITEM_ON_CREATE"
}
ExtensionSettingError::CannotUpdateNewlyCreatedExtension => {
"CANNOT_UPDATE_NEWLY_CREATED_EXTENSION"
}
ExtensionSettingError::NoExistingAdGroupExtensionSettingForType => {
"NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE"
}
ExtensionSettingError::NoExistingCampaignExtensionSettingForType => {
"NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE"
}
ExtensionSettingError::NoExistingCustomerExtensionSettingForType => {
"NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE"
}
ExtensionSettingError::AdGroupExtensionSettingAlreadyExists => {
"AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS"
}
ExtensionSettingError::CampaignExtensionSettingAlreadyExists => {
"CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS"
}
ExtensionSettingError::CustomerExtensionSettingAlreadyExists => {
"CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS"
}
ExtensionSettingError::AdGroupFeedAlreadyExistsForPlaceholderType => {
"AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE"
}
ExtensionSettingError::CampaignFeedAlreadyExistsForPlaceholderType => {
"CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE"
}
ExtensionSettingError::CustomerFeedAlreadyExistsForPlaceholderType => {
"CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE"
}
ExtensionSettingError::ValueOutOfRange => "VALUE_OUT_OF_RANGE",
ExtensionSettingError::CannotSetFieldWithFinalUrls => {
"CANNOT_SET_FIELD_WITH_FINAL_URLS"
}
ExtensionSettingError::FinalUrlsNotSet => "FINAL_URLS_NOT_SET",
ExtensionSettingError::InvalidPhoneNumber => "INVALID_PHONE_NUMBER",
ExtensionSettingError::PhoneNumberNotSupportedForCountry => {
"PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY"
}
ExtensionSettingError::CarrierSpecificShortNumberNotAllowed => {
"CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED"
}
ExtensionSettingError::PremiumRateNumberNotAllowed => {
"PREMIUM_RATE_NUMBER_NOT_ALLOWED"
}
ExtensionSettingError::DisallowedNumberType => "DISALLOWED_NUMBER_TYPE",
ExtensionSettingError::InvalidDomesticPhoneNumberFormat => {
"INVALID_DOMESTIC_PHONE_NUMBER_FORMAT"
}
ExtensionSettingError::VanityPhoneNumberNotAllowed => {
"VANITY_PHONE_NUMBER_NOT_ALLOWED"
}
ExtensionSettingError::InvalidCountryCode => "INVALID_COUNTRY_CODE",
ExtensionSettingError::InvalidCallConversionTypeId => {
"INVALID_CALL_CONVERSION_TYPE_ID"
}
ExtensionSettingError::CustomerNotInAllowlistForCalltracking => {
"CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING"
}
ExtensionSettingError::CalltrackingNotSupportedForCountry => {
"CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY"
}
ExtensionSettingError::InvalidAppId => "INVALID_APP_ID",
ExtensionSettingError::QuotesInReviewExtensionSnippet => {
"QUOTES_IN_REVIEW_EXTENSION_SNIPPET"
}
ExtensionSettingError::HyphensInReviewExtensionSnippet => {
"HYPHENS_IN_REVIEW_EXTENSION_SNIPPET"
}
ExtensionSettingError::ReviewExtensionSourceNotEligible => {
"REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE"
}
ExtensionSettingError::SourceNameInReviewExtensionText => {
"SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT"
}
ExtensionSettingError::MissingField => "MISSING_FIELD",
ExtensionSettingError::InconsistentCurrencyCodes => {
"INCONSISTENT_CURRENCY_CODES"
}
ExtensionSettingError::PriceExtensionHasDuplicatedHeaders => {
"PRICE_EXTENSION_HAS_DUPLICATED_HEADERS"
}
ExtensionSettingError::PriceItemHasDuplicatedHeaderAndDescription => {
"PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION"
}
ExtensionSettingError::PriceExtensionHasTooFewItems => {
"PRICE_EXTENSION_HAS_TOO_FEW_ITEMS"
}
ExtensionSettingError::PriceExtensionHasTooManyItems => {
"PRICE_EXTENSION_HAS_TOO_MANY_ITEMS"
}
ExtensionSettingError::UnsupportedValue => "UNSUPPORTED_VALUE",
ExtensionSettingError::InvalidDevicePreference => {
"INVALID_DEVICE_PREFERENCE"
}
ExtensionSettingError::InvalidScheduleEnd => "INVALID_SCHEDULE_END",
ExtensionSettingError::DateTimeMustBeInAccountTimeZone => {
"DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE"
}
ExtensionSettingError::OverlappingSchedulesNotAllowed => {
"OVERLAPPING_SCHEDULES_NOT_ALLOWED"
}
ExtensionSettingError::ScheduleEndNotAfterStart => {
"SCHEDULE_END_NOT_AFTER_START"
}
ExtensionSettingError::TooManySchedulesPerDay => {
"TOO_MANY_SCHEDULES_PER_DAY"
}
ExtensionSettingError::DuplicateExtensionFeedItemEdit => {
"DUPLICATE_EXTENSION_FEED_ITEM_EDIT"
}
ExtensionSettingError::InvalidSnippetsHeader => "INVALID_SNIPPETS_HEADER",
ExtensionSettingError::PhoneNumberNotSupportedWithCalltrackingForCountry => {
"PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY"
}
ExtensionSettingError::CampaignTargetingMismatch => {
"CAMPAIGN_TARGETING_MISMATCH"
}
ExtensionSettingError::CannotOperateOnRemovedFeed => {
"CANNOT_OPERATE_ON_REMOVED_FEED"
}
ExtensionSettingError::ExtensionTypeRequired => "EXTENSION_TYPE_REQUIRED",
ExtensionSettingError::IncompatibleUnderlyingMatchingFunction => {
"INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION"
}
ExtensionSettingError::StartDateAfterEndDate => {
"START_DATE_AFTER_END_DATE"
}
ExtensionSettingError::InvalidPriceFormat => "INVALID_PRICE_FORMAT",
ExtensionSettingError::PromotionInvalidTime => "PROMOTION_INVALID_TIME",
ExtensionSettingError::PromotionCannotSetPercentDiscountAndMoneyDiscount => {
"PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT"
}
ExtensionSettingError::PromotionCannotSetPromotionCodeAndOrdersOverAmount => {
"PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT"
}
ExtensionSettingError::TooManyDecimalPlacesSpecified => {
"TOO_MANY_DECIMAL_PLACES_SPECIFIED"
}
ExtensionSettingError::InvalidLanguageCode => "INVALID_LANGUAGE_CODE",
ExtensionSettingError::UnsupportedLanguage => "UNSUPPORTED_LANGUAGE",
ExtensionSettingError::CustomerConsentForCallRecordingRequired => {
"CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED"
}
ExtensionSettingError::ExtensionSettingUpdateIsANoop => {
"EXTENSION_SETTING_UPDATE_IS_A_NOOP"
}
ExtensionSettingError::DisallowedText => "DISALLOWED_TEXT",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"EXTENSIONS_REQUIRED" => Some(Self::ExtensionsRequired),
"FEED_TYPE_EXTENSION_TYPE_MISMATCH" => {
Some(Self::FeedTypeExtensionTypeMismatch)
}
"INVALID_FEED_TYPE" => Some(Self::InvalidFeedType),
"INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING" => {
Some(Self::InvalidFeedTypeForCustomerExtensionSetting)
}
"CANNOT_CHANGE_FEED_ITEM_ON_CREATE" => {
Some(Self::CannotChangeFeedItemOnCreate)
}
"CANNOT_UPDATE_NEWLY_CREATED_EXTENSION" => {
Some(Self::CannotUpdateNewlyCreatedExtension)
}
"NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE" => {
Some(Self::NoExistingAdGroupExtensionSettingForType)
}
"NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE" => {
Some(Self::NoExistingCampaignExtensionSettingForType)
}
"NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE" => {
Some(Self::NoExistingCustomerExtensionSettingForType)
}
"AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS" => {
Some(Self::AdGroupExtensionSettingAlreadyExists)
}
"CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS" => {
Some(Self::CampaignExtensionSettingAlreadyExists)
}
"CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS" => {
Some(Self::CustomerExtensionSettingAlreadyExists)
}
"AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE" => {
Some(Self::AdGroupFeedAlreadyExistsForPlaceholderType)
}
"CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE" => {
Some(Self::CampaignFeedAlreadyExistsForPlaceholderType)
}
"CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE" => {
Some(Self::CustomerFeedAlreadyExistsForPlaceholderType)
}
"VALUE_OUT_OF_RANGE" => Some(Self::ValueOutOfRange),
"CANNOT_SET_FIELD_WITH_FINAL_URLS" => {
Some(Self::CannotSetFieldWithFinalUrls)
}
"FINAL_URLS_NOT_SET" => Some(Self::FinalUrlsNotSet),
"INVALID_PHONE_NUMBER" => Some(Self::InvalidPhoneNumber),
"PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY" => {
Some(Self::PhoneNumberNotSupportedForCountry)
}
"CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED" => {
Some(Self::CarrierSpecificShortNumberNotAllowed)
}
"PREMIUM_RATE_NUMBER_NOT_ALLOWED" => {
Some(Self::PremiumRateNumberNotAllowed)
}
"DISALLOWED_NUMBER_TYPE" => Some(Self::DisallowedNumberType),
"INVALID_DOMESTIC_PHONE_NUMBER_FORMAT" => {
Some(Self::InvalidDomesticPhoneNumberFormat)
}
"VANITY_PHONE_NUMBER_NOT_ALLOWED" => {
Some(Self::VanityPhoneNumberNotAllowed)
}
"INVALID_COUNTRY_CODE" => Some(Self::InvalidCountryCode),
"INVALID_CALL_CONVERSION_TYPE_ID" => {
Some(Self::InvalidCallConversionTypeId)
}
"CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING" => {
Some(Self::CustomerNotInAllowlistForCalltracking)
}
"CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY" => {
Some(Self::CalltrackingNotSupportedForCountry)
}
"INVALID_APP_ID" => Some(Self::InvalidAppId),
"QUOTES_IN_REVIEW_EXTENSION_SNIPPET" => {
Some(Self::QuotesInReviewExtensionSnippet)
}
"HYPHENS_IN_REVIEW_EXTENSION_SNIPPET" => {
Some(Self::HyphensInReviewExtensionSnippet)
}
"REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE" => {
Some(Self::ReviewExtensionSourceNotEligible)
}
"SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT" => {
Some(Self::SourceNameInReviewExtensionText)
}
"MISSING_FIELD" => Some(Self::MissingField),
"INCONSISTENT_CURRENCY_CODES" => Some(Self::InconsistentCurrencyCodes),
"PRICE_EXTENSION_HAS_DUPLICATED_HEADERS" => {
Some(Self::PriceExtensionHasDuplicatedHeaders)
}
"PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION" => {
Some(Self::PriceItemHasDuplicatedHeaderAndDescription)
}
"PRICE_EXTENSION_HAS_TOO_FEW_ITEMS" => {
Some(Self::PriceExtensionHasTooFewItems)
}
"PRICE_EXTENSION_HAS_TOO_MANY_ITEMS" => {
Some(Self::PriceExtensionHasTooManyItems)
}
"UNSUPPORTED_VALUE" => Some(Self::UnsupportedValue),
"INVALID_DEVICE_PREFERENCE" => Some(Self::InvalidDevicePreference),
"INVALID_SCHEDULE_END" => Some(Self::InvalidScheduleEnd),
"DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE" => {
Some(Self::DateTimeMustBeInAccountTimeZone)
}
"OVERLAPPING_SCHEDULES_NOT_ALLOWED" => {
Some(Self::OverlappingSchedulesNotAllowed)
}
"SCHEDULE_END_NOT_AFTER_START" => Some(Self::ScheduleEndNotAfterStart),
"TOO_MANY_SCHEDULES_PER_DAY" => Some(Self::TooManySchedulesPerDay),
"DUPLICATE_EXTENSION_FEED_ITEM_EDIT" => {
Some(Self::DuplicateExtensionFeedItemEdit)
}
"INVALID_SNIPPETS_HEADER" => Some(Self::InvalidSnippetsHeader),
"PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY" => {
Some(Self::PhoneNumberNotSupportedWithCalltrackingForCountry)
}
"CAMPAIGN_TARGETING_MISMATCH" => Some(Self::CampaignTargetingMismatch),
"CANNOT_OPERATE_ON_REMOVED_FEED" => {
Some(Self::CannotOperateOnRemovedFeed)
}
"EXTENSION_TYPE_REQUIRED" => Some(Self::ExtensionTypeRequired),
"INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION" => {
Some(Self::IncompatibleUnderlyingMatchingFunction)
}
"START_DATE_AFTER_END_DATE" => Some(Self::StartDateAfterEndDate),
"INVALID_PRICE_FORMAT" => Some(Self::InvalidPriceFormat),
"PROMOTION_INVALID_TIME" => Some(Self::PromotionInvalidTime),
"PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT" => {
Some(Self::PromotionCannotSetPercentDiscountAndMoneyDiscount)
}
"PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT" => {
Some(Self::PromotionCannotSetPromotionCodeAndOrdersOverAmount)
}
"TOO_MANY_DECIMAL_PLACES_SPECIFIED" => {
Some(Self::TooManyDecimalPlacesSpecified)
}
"INVALID_LANGUAGE_CODE" => Some(Self::InvalidLanguageCode),
"UNSUPPORTED_LANGUAGE" => Some(Self::UnsupportedLanguage),
"CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED" => {
Some(Self::CustomerConsentForCallRecordingRequired)
}
"EXTENSION_SETTING_UPDATE_IS_A_NOOP" => {
Some(Self::ExtensionSettingUpdateIsANoop)
}
"DISALLOWED_TEXT" => Some(Self::DisallowedText),
_ => None,
}
}
}
}
/// Container for enum describing possible conversion action errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ConversionActionErrorEnum {}
/// Nested message and enum types in `ConversionActionErrorEnum`.
pub mod conversion_action_error_enum {
/// Enum describing possible conversion action errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ConversionActionError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The specified conversion action name already exists.
DuplicateName = 2,
/// Another conversion action with the specified app id already exists.
DuplicateAppId = 3,
/// Android first open action conflicts with Google play codeless download
/// action tracking the same app.
TwoConversionActionsBiddingOnSameAppDownload = 4,
/// Android first open action conflicts with Google play codeless download
/// action tracking the same app.
BiddingOnSameAppDownloadAsGlobalAction = 5,
/// The attribution model cannot be set to DATA_DRIVEN because a data-driven
/// model has never been generated.
DataDrivenModelWasNeverGenerated = 6,
/// The attribution model cannot be set to DATA_DRIVEN because the
/// data-driven model is expired.
DataDrivenModelExpired = 7,
/// The attribution model cannot be set to DATA_DRIVEN because the
/// data-driven model is stale.
DataDrivenModelStale = 8,
/// The attribution model cannot be set to DATA_DRIVEN because the
/// data-driven model is unavailable or the conversion action was newly
/// added.
DataDrivenModelUnknown = 9,
/// Creation of this conversion action type isn't supported by Google
/// Ads API.
CreationNotSupported = 10,
/// Update of this conversion action isn't supported by Google Ads API.
UpdateNotSupported = 11,
/// Rule-based attribution models are deprecated and not allowed to be set
/// by conversion action.
CannotSetRuleBasedAttributionModels = 12,
}
impl ConversionActionError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ConversionActionError::Unspecified => "UNSPECIFIED",
ConversionActionError::Unknown => "UNKNOWN",
ConversionActionError::DuplicateName => "DUPLICATE_NAME",
ConversionActionError::DuplicateAppId => "DUPLICATE_APP_ID",
ConversionActionError::TwoConversionActionsBiddingOnSameAppDownload => {
"TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD"
}
ConversionActionError::BiddingOnSameAppDownloadAsGlobalAction => {
"BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION"
}
ConversionActionError::DataDrivenModelWasNeverGenerated => {
"DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED"
}
ConversionActionError::DataDrivenModelExpired => {
"DATA_DRIVEN_MODEL_EXPIRED"
}
ConversionActionError::DataDrivenModelStale => "DATA_DRIVEN_MODEL_STALE",
ConversionActionError::DataDrivenModelUnknown => {
"DATA_DRIVEN_MODEL_UNKNOWN"
}
ConversionActionError::CreationNotSupported => "CREATION_NOT_SUPPORTED",
ConversionActionError::UpdateNotSupported => "UPDATE_NOT_SUPPORTED",
ConversionActionError::CannotSetRuleBasedAttributionModels => {
"CANNOT_SET_RULE_BASED_ATTRIBUTION_MODELS"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"DUPLICATE_NAME" => Some(Self::DuplicateName),
"DUPLICATE_APP_ID" => Some(Self::DuplicateAppId),
"TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD" => {
Some(Self::TwoConversionActionsBiddingOnSameAppDownload)
}
"BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION" => {
Some(Self::BiddingOnSameAppDownloadAsGlobalAction)
}
"DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED" => {
Some(Self::DataDrivenModelWasNeverGenerated)
}
"DATA_DRIVEN_MODEL_EXPIRED" => Some(Self::DataDrivenModelExpired),
"DATA_DRIVEN_MODEL_STALE" => Some(Self::DataDrivenModelStale),
"DATA_DRIVEN_MODEL_UNKNOWN" => Some(Self::DataDrivenModelUnknown),
"CREATION_NOT_SUPPORTED" => Some(Self::CreationNotSupported),
"UPDATE_NOT_SUPPORTED" => Some(Self::UpdateNotSupported),
"CANNOT_SET_RULE_BASED_ATTRIBUTION_MODELS" => {
Some(Self::CannotSetRuleBasedAttributionModels)
}
_ => None,
}
}
}
}
/// Container for enum describing possible policy violation errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct PolicyViolationErrorEnum {}
/// Nested message and enum types in `PolicyViolationErrorEnum`.
pub mod policy_violation_error_enum {
/// Enum describing possible policy violation errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum PolicyViolationError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// A policy was violated. See PolicyViolationDetails for more detail.
PolicyError = 2,
}
impl PolicyViolationError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
PolicyViolationError::Unspecified => "UNSPECIFIED",
PolicyViolationError::Unknown => "UNKNOWN",
PolicyViolationError::PolicyError => "POLICY_ERROR",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"POLICY_ERROR" => Some(Self::PolicyError),
_ => None,
}
}
}
}
/// Container for enum describing possible ad group bid modifier errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdGroupBidModifierErrorEnum {}
/// Nested message and enum types in `AdGroupBidModifierErrorEnum`.
pub mod ad_group_bid_modifier_error_enum {
/// Enum describing possible ad group bid modifier errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AdGroupBidModifierError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The criterion ID does not support bid modification.
CriterionIdNotSupported = 2,
/// Cannot override the bid modifier for the given criterion ID if the parent
/// campaign is opted out of the same criterion.
CannotOverrideOptedOutCampaignCriterionBidModifier = 3,
}
impl AdGroupBidModifierError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AdGroupBidModifierError::Unspecified => "UNSPECIFIED",
AdGroupBidModifierError::Unknown => "UNKNOWN",
AdGroupBidModifierError::CriterionIdNotSupported => {
"CRITERION_ID_NOT_SUPPORTED"
}
AdGroupBidModifierError::CannotOverrideOptedOutCampaignCriterionBidModifier => {
"CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CRITERION_ID_NOT_SUPPORTED" => Some(Self::CriterionIdNotSupported),
"CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER" => {
Some(Self::CannotOverrideOptedOutCampaignCriterionBidModifier)
}
_ => None,
}
}
}
}
/// Container for enum describing possible asset set errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AssetSetErrorEnum {}
/// Nested message and enum types in `AssetSetErrorEnum`.
pub mod asset_set_error_enum {
/// Enum describing possible asset set errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AssetSetError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The asset set name matches that of another enabled asset set.
DuplicateAssetSetName = 2,
/// The type of AssetSet.asset_set_source does not match the type of
/// AssetSet.location_set.source in its parent AssetSet.
InvalidParentAssetSetType = 3,
/// The asset set source doesn't match its parent AssetSet's data.
AssetSetSourceIncompatibleWithParentAssetSet = 4,
/// This AssetSet type cannot be linked to CustomerAssetSet.
AssetSetTypeCannotBeLinkedToCustomer = 5,
/// The chain id(s) in ChainSet of a LOCATION_SYNC typed AssetSet is invalid.
InvalidChainIds = 6,
/// The relationship type in ChainSet of a LOCATION_SYNC typed AssetSet is
/// not supported.
LocationSyncAssetSetDoesNotSupportRelationshipType = 7,
/// There is more than one enabled LocationSync typed AssetSet under one
/// customer.
NotUniqueEnabledLocationSyncTypedAssetSet = 8,
/// The place id(s) in a LocationSync typed AssetSet is invalid and can't be
/// decoded.
InvalidPlaceIds = 9,
/// The Google Business Profile OAuth info is invalid.
OauthInfoInvalid = 11,
/// The Google Business Profile OAuth info is missing.
OauthInfoMissing = 12,
/// Can't delete an AssetSet if it has any enabled linkages (e.g.
/// CustomerAssetSet), or AssetSet is a parent AssetSet and has enabled child
/// AssetSet associated.
CannotDeleteAsEnabledLinkagesExist = 10,
}
impl AssetSetError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AssetSetError::Unspecified => "UNSPECIFIED",
AssetSetError::Unknown => "UNKNOWN",
AssetSetError::DuplicateAssetSetName => "DUPLICATE_ASSET_SET_NAME",
AssetSetError::InvalidParentAssetSetType => {
"INVALID_PARENT_ASSET_SET_TYPE"
}
AssetSetError::AssetSetSourceIncompatibleWithParentAssetSet => {
"ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET"
}
AssetSetError::AssetSetTypeCannotBeLinkedToCustomer => {
"ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER"
}
AssetSetError::InvalidChainIds => "INVALID_CHAIN_IDS",
AssetSetError::LocationSyncAssetSetDoesNotSupportRelationshipType => {
"LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE"
}
AssetSetError::NotUniqueEnabledLocationSyncTypedAssetSet => {
"NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET"
}
AssetSetError::InvalidPlaceIds => "INVALID_PLACE_IDS",
AssetSetError::OauthInfoInvalid => "OAUTH_INFO_INVALID",
AssetSetError::OauthInfoMissing => "OAUTH_INFO_MISSING",
AssetSetError::CannotDeleteAsEnabledLinkagesExist => {
"CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"DUPLICATE_ASSET_SET_NAME" => Some(Self::DuplicateAssetSetName),
"INVALID_PARENT_ASSET_SET_TYPE" => Some(Self::InvalidParentAssetSetType),
"ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET" => {
Some(Self::AssetSetSourceIncompatibleWithParentAssetSet)
}
"ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER" => {
Some(Self::AssetSetTypeCannotBeLinkedToCustomer)
}
"INVALID_CHAIN_IDS" => Some(Self::InvalidChainIds),
"LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE" => {
Some(Self::LocationSyncAssetSetDoesNotSupportRelationshipType)
}
"NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET" => {
Some(Self::NotUniqueEnabledLocationSyncTypedAssetSet)
}
"INVALID_PLACE_IDS" => Some(Self::InvalidPlaceIds),
"OAUTH_INFO_INVALID" => Some(Self::OauthInfoInvalid),
"OAUTH_INFO_MISSING" => Some(Self::OauthInfoMissing),
"CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST" => {
Some(Self::CannotDeleteAsEnabledLinkagesExist)
}
_ => None,
}
}
}
}
/// Container for enum describing possible adx errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdxErrorEnum {}
/// Nested message and enum types in `AdxErrorEnum`.
pub mod adx_error_enum {
/// Enum describing possible adx errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AdxError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Attempt to use non-AdX feature by AdX customer.
UnsupportedFeature = 2,
}
impl AdxError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AdxError::Unspecified => "UNSPECIFIED",
AdxError::Unknown => "UNKNOWN",
AdxError::UnsupportedFeature => "UNSUPPORTED_FEATURE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"UNSUPPORTED_FEATURE" => Some(Self::UnsupportedFeature),
_ => None,
}
}
}
}
/// Container for enum describing possible offline user data job errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct OfflineUserDataJobErrorEnum {}
/// Nested message and enum types in `OfflineUserDataJobErrorEnum`.
pub mod offline_user_data_job_error_enum {
/// Enum describing possible request errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum OfflineUserDataJobError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The user list ID provided for the job is invalid.
InvalidUserListId = 3,
/// Type of the user list is not applicable for the job.
InvalidUserListType = 4,
/// Customer is not allowisted for using user ID in upload data.
NotOnAllowlistForUserId = 33,
/// Upload data is not compatible with the upload key type of the associated
/// user list.
IncompatibleUploadKeyType = 6,
/// The user identifier is missing valid data.
MissingUserIdentifier = 7,
/// The mobile ID is malformed.
InvalidMobileIdFormat = 8,
/// Maximum number of user identifiers allowed per request is 100,000 and per
/// operation is 20.
TooManyUserIdentifiers = 9,
/// Customer is not on the allow-list for store sales direct data.
NotOnAllowlistForStoreSalesDirect = 31,
/// Customer is not on the allow-list for unified store sales data.
NotOnAllowlistForUnifiedStoreSales = 32,
/// The partner ID in store sales direct metadata is invalid.
InvalidPartnerId = 11,
/// The data in user identifier should not be encoded.
InvalidEncoding = 12,
/// The country code is invalid.
InvalidCountryCode = 13,
/// Incompatible user identifier when using third_party_user_id for store
/// sales direct first party data or not using third_party_user_id for store
/// sales third party data.
IncompatibleUserIdentifier = 14,
/// A transaction time in the future is not allowed.
FutureTransactionTime = 15,
/// The conversion_action specified in transaction_attributes is used to
/// report conversions to a conversion action configured in Google Ads. This
/// error indicates there is no such conversion action in the account.
InvalidConversionAction = 16,
/// Mobile ID is not supported for store sales direct data.
MobileIdNotSupported = 17,
/// When a remove-all operation is provided, it has to be the first operation
/// of the operation list.
InvalidOperationOrder = 18,
/// Mixing creation and removal of offline data in the same job is not
/// allowed.
ConflictingOperation = 19,
/// The external update ID already exists.
ExternalUpdateIdAlreadyExists = 21,
/// Once the upload job is started, new operations cannot be added.
JobAlreadyStarted = 22,
/// Remove operation is not allowed for store sales direct updates.
RemoveNotSupported = 23,
/// Remove-all is not supported for certain offline user data job types.
RemoveAllNotSupported = 24,
/// The SHA256 encoded value is malformed.
InvalidSha256Format = 25,
/// The custom key specified is not enabled for the unified store sales
/// upload.
CustomKeyDisabled = 26,
/// The custom key specified is not predefined through the Google Ads UI.
CustomKeyNotPredefined = 27,
/// The custom key specified is not set in the upload.
CustomKeyNotSet = 29,
/// The customer has not accepted the customer data terms in the conversion
/// settings page.
CustomerNotAcceptedCustomerDataTerms = 30,
/// User attributes cannot be uploaded into a user list.
AttributesNotApplicableForCustomerMatchUserList = 34,
/// Lifetime bucket value must be a number from 0 to 10; 0 is only accepted
/// for remove operations
LifetimeValueBucketNotInRange = 35,
/// Identifiers not supported for Customer Match attributes. User attributes
/// can only be provided with contact info (email, phone, address) user
/// identifiers.
IncompatibleUserIdentifierForAttributes = 36,
/// A time in the future is not allowed.
FutureTimeNotAllowed = 37,
/// Last purchase date time cannot be less than acquisition date time.
LastPurchaseTimeLessThanAcquisitionTime = 38,
/// Only emails are accepted as user identifiers for shopping loyalty match.
/// {-- api.dev/not-precedent: The identifier is not limited to ids, but
/// also include other user info eg. phone numbers.}
CustomerIdentifierNotAllowed = 39,
/// Provided item ID is invalid.
InvalidItemId = 40,
/// First purchase date time cannot be greater than the last purchase date
/// time.
FirstPurchaseTimeGreaterThanLastPurchaseTime = 42,
/// Provided lifecycle stage is invalid.
InvalidLifecycleStage = 43,
/// The event value of the Customer Match user attribute is invalid.
InvalidEventValue = 44,
/// All the fields are not present in the EventAttribute of the Customer
/// Match.
EventAttributeAllFieldsAreRequired = 45,
}
impl OfflineUserDataJobError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
OfflineUserDataJobError::Unspecified => "UNSPECIFIED",
OfflineUserDataJobError::Unknown => "UNKNOWN",
OfflineUserDataJobError::InvalidUserListId => "INVALID_USER_LIST_ID",
OfflineUserDataJobError::InvalidUserListType => "INVALID_USER_LIST_TYPE",
OfflineUserDataJobError::NotOnAllowlistForUserId => {
"NOT_ON_ALLOWLIST_FOR_USER_ID"
}
OfflineUserDataJobError::IncompatibleUploadKeyType => {
"INCOMPATIBLE_UPLOAD_KEY_TYPE"
}
OfflineUserDataJobError::MissingUserIdentifier => {
"MISSING_USER_IDENTIFIER"
}
OfflineUserDataJobError::InvalidMobileIdFormat => {
"INVALID_MOBILE_ID_FORMAT"
}
OfflineUserDataJobError::TooManyUserIdentifiers => {
"TOO_MANY_USER_IDENTIFIERS"
}
OfflineUserDataJobError::NotOnAllowlistForStoreSalesDirect => {
"NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT"
}
OfflineUserDataJobError::NotOnAllowlistForUnifiedStoreSales => {
"NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES"
}
OfflineUserDataJobError::InvalidPartnerId => "INVALID_PARTNER_ID",
OfflineUserDataJobError::InvalidEncoding => "INVALID_ENCODING",
OfflineUserDataJobError::InvalidCountryCode => "INVALID_COUNTRY_CODE",
OfflineUserDataJobError::IncompatibleUserIdentifier => {
"INCOMPATIBLE_USER_IDENTIFIER"
}
OfflineUserDataJobError::FutureTransactionTime => {
"FUTURE_TRANSACTION_TIME"
}
OfflineUserDataJobError::InvalidConversionAction => {
"INVALID_CONVERSION_ACTION"
}
OfflineUserDataJobError::MobileIdNotSupported => {
"MOBILE_ID_NOT_SUPPORTED"
}
OfflineUserDataJobError::InvalidOperationOrder => {
"INVALID_OPERATION_ORDER"
}
OfflineUserDataJobError::ConflictingOperation => "CONFLICTING_OPERATION",
OfflineUserDataJobError::ExternalUpdateIdAlreadyExists => {
"EXTERNAL_UPDATE_ID_ALREADY_EXISTS"
}
OfflineUserDataJobError::JobAlreadyStarted => "JOB_ALREADY_STARTED",
OfflineUserDataJobError::RemoveNotSupported => "REMOVE_NOT_SUPPORTED",
OfflineUserDataJobError::RemoveAllNotSupported => {
"REMOVE_ALL_NOT_SUPPORTED"
}
OfflineUserDataJobError::InvalidSha256Format => "INVALID_SHA256_FORMAT",
OfflineUserDataJobError::CustomKeyDisabled => "CUSTOM_KEY_DISABLED",
OfflineUserDataJobError::CustomKeyNotPredefined => {
"CUSTOM_KEY_NOT_PREDEFINED"
}
OfflineUserDataJobError::CustomKeyNotSet => "CUSTOM_KEY_NOT_SET",
OfflineUserDataJobError::CustomerNotAcceptedCustomerDataTerms => {
"CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS"
}
OfflineUserDataJobError::AttributesNotApplicableForCustomerMatchUserList => {
"ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST"
}
OfflineUserDataJobError::LifetimeValueBucketNotInRange => {
"LIFETIME_VALUE_BUCKET_NOT_IN_RANGE"
}
OfflineUserDataJobError::IncompatibleUserIdentifierForAttributes => {
"INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES"
}
OfflineUserDataJobError::FutureTimeNotAllowed => {
"FUTURE_TIME_NOT_ALLOWED"
}
OfflineUserDataJobError::LastPurchaseTimeLessThanAcquisitionTime => {
"LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME"
}
OfflineUserDataJobError::CustomerIdentifierNotAllowed => {
"CUSTOMER_IDENTIFIER_NOT_ALLOWED"
}
OfflineUserDataJobError::InvalidItemId => "INVALID_ITEM_ID",
OfflineUserDataJobError::FirstPurchaseTimeGreaterThanLastPurchaseTime => {
"FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME"
}
OfflineUserDataJobError::InvalidLifecycleStage => {
"INVALID_LIFECYCLE_STAGE"
}
OfflineUserDataJobError::InvalidEventValue => "INVALID_EVENT_VALUE",
OfflineUserDataJobError::EventAttributeAllFieldsAreRequired => {
"EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_USER_LIST_ID" => Some(Self::InvalidUserListId),
"INVALID_USER_LIST_TYPE" => Some(Self::InvalidUserListType),
"NOT_ON_ALLOWLIST_FOR_USER_ID" => Some(Self::NotOnAllowlistForUserId),
"INCOMPATIBLE_UPLOAD_KEY_TYPE" => Some(Self::IncompatibleUploadKeyType),
"MISSING_USER_IDENTIFIER" => Some(Self::MissingUserIdentifier),
"INVALID_MOBILE_ID_FORMAT" => Some(Self::InvalidMobileIdFormat),
"TOO_MANY_USER_IDENTIFIERS" => Some(Self::TooManyUserIdentifiers),
"NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT" => {
Some(Self::NotOnAllowlistForStoreSalesDirect)
}
"NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES" => {
Some(Self::NotOnAllowlistForUnifiedStoreSales)
}
"INVALID_PARTNER_ID" => Some(Self::InvalidPartnerId),
"INVALID_ENCODING" => Some(Self::InvalidEncoding),
"INVALID_COUNTRY_CODE" => Some(Self::InvalidCountryCode),
"INCOMPATIBLE_USER_IDENTIFIER" => Some(Self::IncompatibleUserIdentifier),
"FUTURE_TRANSACTION_TIME" => Some(Self::FutureTransactionTime),
"INVALID_CONVERSION_ACTION" => Some(Self::InvalidConversionAction),
"MOBILE_ID_NOT_SUPPORTED" => Some(Self::MobileIdNotSupported),
"INVALID_OPERATION_ORDER" => Some(Self::InvalidOperationOrder),
"CONFLICTING_OPERATION" => Some(Self::ConflictingOperation),
"EXTERNAL_UPDATE_ID_ALREADY_EXISTS" => {
Some(Self::ExternalUpdateIdAlreadyExists)
}
"JOB_ALREADY_STARTED" => Some(Self::JobAlreadyStarted),
"REMOVE_NOT_SUPPORTED" => Some(Self::RemoveNotSupported),
"REMOVE_ALL_NOT_SUPPORTED" => Some(Self::RemoveAllNotSupported),
"INVALID_SHA256_FORMAT" => Some(Self::InvalidSha256Format),
"CUSTOM_KEY_DISABLED" => Some(Self::CustomKeyDisabled),
"CUSTOM_KEY_NOT_PREDEFINED" => Some(Self::CustomKeyNotPredefined),
"CUSTOM_KEY_NOT_SET" => Some(Self::CustomKeyNotSet),
"CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS" => {
Some(Self::CustomerNotAcceptedCustomerDataTerms)
}
"ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST" => {
Some(Self::AttributesNotApplicableForCustomerMatchUserList)
}
"LIFETIME_VALUE_BUCKET_NOT_IN_RANGE" => {
Some(Self::LifetimeValueBucketNotInRange)
}
"INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES" => {
Some(Self::IncompatibleUserIdentifierForAttributes)
}
"FUTURE_TIME_NOT_ALLOWED" => Some(Self::FutureTimeNotAllowed),
"LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME" => {
Some(Self::LastPurchaseTimeLessThanAcquisitionTime)
}
"CUSTOMER_IDENTIFIER_NOT_ALLOWED" => {
Some(Self::CustomerIdentifierNotAllowed)
}
"INVALID_ITEM_ID" => Some(Self::InvalidItemId),
"FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME" => {
Some(Self::FirstPurchaseTimeGreaterThanLastPurchaseTime)
}
"INVALID_LIFECYCLE_STAGE" => Some(Self::InvalidLifecycleStage),
"INVALID_EVENT_VALUE" => Some(Self::InvalidEventValue),
"EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED" => {
Some(Self::EventAttributeAllFieldsAreRequired)
}
_ => None,
}
}
}
}
/// Container for enum describing possible AccessInvitation errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AccessInvitationErrorEnum {}
/// Nested message and enum types in `AccessInvitationErrorEnum`.
pub mod access_invitation_error_enum {
/// Enum describing possible AccessInvitation errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AccessInvitationError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The email address is invalid for sending an invitation.
InvalidEmailAddress = 2,
/// Email address already has access to this customer.
EmailAddressAlreadyHasAccess = 3,
/// Invalid invitation status for the operation.
InvalidInvitationStatus = 4,
/// Email address cannot be like abc+foo@google.com.
GoogleConsumerAccountNotAllowed = 5,
/// Invalid invitation ID.
InvalidInvitationId = 6,
/// Email address already has a pending invitation.
EmailAddressAlreadyHasPendingInvitation = 7,
/// Pending invitation limit exceeded for the customer.
PendingInvitationsLimitExceeded = 8,
/// Email address doesn't conform to the email domain policy. See
/// <https://support.google.com/google-ads/answer/2375456>
EmailDomainPolicyViolated = 9,
}
impl AccessInvitationError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AccessInvitationError::Unspecified => "UNSPECIFIED",
AccessInvitationError::Unknown => "UNKNOWN",
AccessInvitationError::InvalidEmailAddress => "INVALID_EMAIL_ADDRESS",
AccessInvitationError::EmailAddressAlreadyHasAccess => {
"EMAIL_ADDRESS_ALREADY_HAS_ACCESS"
}
AccessInvitationError::InvalidInvitationStatus => {
"INVALID_INVITATION_STATUS"
}
AccessInvitationError::GoogleConsumerAccountNotAllowed => {
"GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED"
}
AccessInvitationError::InvalidInvitationId => "INVALID_INVITATION_ID",
AccessInvitationError::EmailAddressAlreadyHasPendingInvitation => {
"EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION"
}
AccessInvitationError::PendingInvitationsLimitExceeded => {
"PENDING_INVITATIONS_LIMIT_EXCEEDED"
}
AccessInvitationError::EmailDomainPolicyViolated => {
"EMAIL_DOMAIN_POLICY_VIOLATED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_EMAIL_ADDRESS" => Some(Self::InvalidEmailAddress),
"EMAIL_ADDRESS_ALREADY_HAS_ACCESS" => {
Some(Self::EmailAddressAlreadyHasAccess)
}
"INVALID_INVITATION_STATUS" => Some(Self::InvalidInvitationStatus),
"GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED" => {
Some(Self::GoogleConsumerAccountNotAllowed)
}
"INVALID_INVITATION_ID" => Some(Self::InvalidInvitationId),
"EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION" => {
Some(Self::EmailAddressAlreadyHasPendingInvitation)
}
"PENDING_INVITATIONS_LIMIT_EXCEEDED" => {
Some(Self::PendingInvitationsLimitExceeded)
}
"EMAIL_DOMAIN_POLICY_VIOLATED" => Some(Self::EmailDomainPolicyViolated),
_ => None,
}
}
}
}
/// Container for enum describing possible conversion adjustment upload errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ConversionAdjustmentUploadErrorEnum {}
/// Nested message and enum types in `ConversionAdjustmentUploadErrorEnum`.
pub mod conversion_adjustment_upload_error_enum {
/// Enum describing possible conversion adjustment upload errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ConversionAdjustmentUploadError {
/// Not specified.
Unspecified = 0,
/// Used for return value only. Represents value unknown in this version.
Unknown = 1,
/// Can't import events to a conversion action that was just created. Try
/// importing again in 6 hours.
TooRecentConversionAction = 2,
/// The conversion was already retracted. This adjustment was not processed.
ConversionAlreadyRetracted = 4,
/// The conversion for this conversion action and conversion identifier can't
/// be found. Make sure your conversion identifiers are associated with the
/// correct conversion action and try again.
ConversionNotFound = 5,
/// Adjustment can't be made to a conversion that occurred more than 54 days
/// ago.
ConversionExpired = 6,
/// Adjustment has an `adjustment_date_time` that occurred before the
/// associated conversion. Make sure your `adjustment_date_time` is correct
/// and try again.
AdjustmentPrecedesConversion = 7,
/// More recent adjustment `adjustment_date_time` has already been reported
/// for the associated conversion. Make sure your adjustment
/// `adjustment_date_time` is correct and try again.
MoreRecentRestatementFound = 8,
/// Adjustment can't be recorded because the conversion occurred too
/// recently. Try adjusting a conversion that occurred at least 24 hours ago.
TooRecentConversion = 9,
/// Can't make an adjustment to a conversion that is set up to use the
/// default value. Check your conversion action value setting and try again.
CannotRestateConversionActionThatAlwaysUsesDefaultConversionValue = 10,
/// Try uploading fewer than 2001 adjustments in a single API request.
TooManyAdjustmentsInRequest = 11,
/// The conversion has already been adjusted the maximum number of times.
/// Make sure you're only making necessary adjustment to existing conversion.
TooManyAdjustments = 12,
/// The conversion has prior a restatement with the same
/// `adjustment_date_time`. Make sure your adjustment has the correct and
/// unique `adjustment_date_time` and try again.
RestatementAlreadyExists = 13,
/// Imported adjustment has a duplicate conversion adjustment with same
/// `adjustment_date_time`. Make sure your adjustment has the correct
/// `adjustment_date_time` and try again.
DuplicateAdjustmentInRequest = 14,
/// Make sure you agree to the customer data processing terms in conversion
/// settings and try again.
CustomerNotAcceptedCustomerDataTerms = 15,
/// Can't use enhanced conversions with the specified conversion action.
ConversionActionNotEligibleForEnhancement = 16,
/// Make sure you hash user provided data using SHA-256 and ensure you are
/// normalizing according to the guidelines.
InvalidUserIdentifier = 17,
/// Use user provided data such as emails or phone numbers hashed using
/// SHA-256 and try again.
UnsupportedUserIdentifier = 18,
/// Cannot set both gclid_date_time_pair and order_id. Use only 1 type and
/// try again.
GclidDateTimePairAndOrderIdBothSet = 20,
/// Conversion already has enhancements with the same Order ID and conversion
/// action. Make sure your data is correctly configured and try again.
ConversionAlreadyEnhanced = 21,
/// Multiple enhancements have the same conversion action and Order ID. Make
/// sure your data is correctly configured and try again.
DuplicateEnhancementInRequest = 22,
/// Enhanced conversions can't be used for this account because of Google
/// customer data policies. Contact your Google representative.
CustomerDataPolicyProhibitsEnhancement = 23,
/// Adjustment for website conversion requires Order ID (ie, transaction ID).
/// Make sure your website tags capture Order IDs and you send the same Order
/// IDs with your adjustment.
MissingOrderIdForWebpage = 24,
/// Can't use adjustment with Order IDs containing personally-identifiable
/// information (PII).
OrderIdContainsPii = 25,
/// The provided job id in the request is not within the allowed range. A job
/// ID must be a positive integer in the range [1, 2^31).
InvalidJobId = 26,
/// The conversion action specified in the adjustment request cannot be
/// found. Make sure it's available in this account.
NoConversionActionFound = 27,
/// The type of the conversion action specified in the adjustment request
/// isn't supported for uploading adjustments. A conversion adjustment of
/// type `RETRACTION` or `RESTATEMENT` is only permitted for conversion
/// actions of type `SALESFORCE`, `UPLOAD` or `WEBPAGE`. A conversion
/// adjustment of type `ENHANCEMENT` is only permitted for conversion
/// actions of type `WEBPAGE`.
InvalidConversionActionType = 28,
}
impl ConversionAdjustmentUploadError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ConversionAdjustmentUploadError::Unspecified => "UNSPECIFIED",
ConversionAdjustmentUploadError::Unknown => "UNKNOWN",
ConversionAdjustmentUploadError::TooRecentConversionAction => {
"TOO_RECENT_CONVERSION_ACTION"
}
ConversionAdjustmentUploadError::ConversionAlreadyRetracted => {
"CONVERSION_ALREADY_RETRACTED"
}
ConversionAdjustmentUploadError::ConversionNotFound => {
"CONVERSION_NOT_FOUND"
}
ConversionAdjustmentUploadError::ConversionExpired => {
"CONVERSION_EXPIRED"
}
ConversionAdjustmentUploadError::AdjustmentPrecedesConversion => {
"ADJUSTMENT_PRECEDES_CONVERSION"
}
ConversionAdjustmentUploadError::MoreRecentRestatementFound => {
"MORE_RECENT_RESTATEMENT_FOUND"
}
ConversionAdjustmentUploadError::TooRecentConversion => {
"TOO_RECENT_CONVERSION"
}
ConversionAdjustmentUploadError::CannotRestateConversionActionThatAlwaysUsesDefaultConversionValue => {
"CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE"
}
ConversionAdjustmentUploadError::TooManyAdjustmentsInRequest => {
"TOO_MANY_ADJUSTMENTS_IN_REQUEST"
}
ConversionAdjustmentUploadError::TooManyAdjustments => {
"TOO_MANY_ADJUSTMENTS"
}
ConversionAdjustmentUploadError::RestatementAlreadyExists => {
"RESTATEMENT_ALREADY_EXISTS"
}
ConversionAdjustmentUploadError::DuplicateAdjustmentInRequest => {
"DUPLICATE_ADJUSTMENT_IN_REQUEST"
}
ConversionAdjustmentUploadError::CustomerNotAcceptedCustomerDataTerms => {
"CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS"
}
ConversionAdjustmentUploadError::ConversionActionNotEligibleForEnhancement => {
"CONVERSION_ACTION_NOT_ELIGIBLE_FOR_ENHANCEMENT"
}
ConversionAdjustmentUploadError::InvalidUserIdentifier => {
"INVALID_USER_IDENTIFIER"
}
ConversionAdjustmentUploadError::UnsupportedUserIdentifier => {
"UNSUPPORTED_USER_IDENTIFIER"
}
ConversionAdjustmentUploadError::GclidDateTimePairAndOrderIdBothSet => {
"GCLID_DATE_TIME_PAIR_AND_ORDER_ID_BOTH_SET"
}
ConversionAdjustmentUploadError::ConversionAlreadyEnhanced => {
"CONVERSION_ALREADY_ENHANCED"
}
ConversionAdjustmentUploadError::DuplicateEnhancementInRequest => {
"DUPLICATE_ENHANCEMENT_IN_REQUEST"
}
ConversionAdjustmentUploadError::CustomerDataPolicyProhibitsEnhancement => {
"CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCEMENT"
}
ConversionAdjustmentUploadError::MissingOrderIdForWebpage => {
"MISSING_ORDER_ID_FOR_WEBPAGE"
}
ConversionAdjustmentUploadError::OrderIdContainsPii => {
"ORDER_ID_CONTAINS_PII"
}
ConversionAdjustmentUploadError::InvalidJobId => "INVALID_JOB_ID",
ConversionAdjustmentUploadError::NoConversionActionFound => {
"NO_CONVERSION_ACTION_FOUND"
}
ConversionAdjustmentUploadError::InvalidConversionActionType => {
"INVALID_CONVERSION_ACTION_TYPE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"TOO_RECENT_CONVERSION_ACTION" => Some(Self::TooRecentConversionAction),
"CONVERSION_ALREADY_RETRACTED" => Some(Self::ConversionAlreadyRetracted),
"CONVERSION_NOT_FOUND" => Some(Self::ConversionNotFound),
"CONVERSION_EXPIRED" => Some(Self::ConversionExpired),
"ADJUSTMENT_PRECEDES_CONVERSION" => {
Some(Self::AdjustmentPrecedesConversion)
}
"MORE_RECENT_RESTATEMENT_FOUND" => Some(Self::MoreRecentRestatementFound),
"TOO_RECENT_CONVERSION" => Some(Self::TooRecentConversion),
"CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE" => {
Some(
Self::CannotRestateConversionActionThatAlwaysUsesDefaultConversionValue,
)
}
"TOO_MANY_ADJUSTMENTS_IN_REQUEST" => {
Some(Self::TooManyAdjustmentsInRequest)
}
"TOO_MANY_ADJUSTMENTS" => Some(Self::TooManyAdjustments),
"RESTATEMENT_ALREADY_EXISTS" => Some(Self::RestatementAlreadyExists),
"DUPLICATE_ADJUSTMENT_IN_REQUEST" => {
Some(Self::DuplicateAdjustmentInRequest)
}
"CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS" => {
Some(Self::CustomerNotAcceptedCustomerDataTerms)
}
"CONVERSION_ACTION_NOT_ELIGIBLE_FOR_ENHANCEMENT" => {
Some(Self::ConversionActionNotEligibleForEnhancement)
}
"INVALID_USER_IDENTIFIER" => Some(Self::InvalidUserIdentifier),
"UNSUPPORTED_USER_IDENTIFIER" => Some(Self::UnsupportedUserIdentifier),
"GCLID_DATE_TIME_PAIR_AND_ORDER_ID_BOTH_SET" => {
Some(Self::GclidDateTimePairAndOrderIdBothSet)
}
"CONVERSION_ALREADY_ENHANCED" => Some(Self::ConversionAlreadyEnhanced),
"DUPLICATE_ENHANCEMENT_IN_REQUEST" => {
Some(Self::DuplicateEnhancementInRequest)
}
"CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCEMENT" => {
Some(Self::CustomerDataPolicyProhibitsEnhancement)
}
"MISSING_ORDER_ID_FOR_WEBPAGE" => Some(Self::MissingOrderIdForWebpage),
"ORDER_ID_CONTAINS_PII" => Some(Self::OrderIdContainsPii),
"INVALID_JOB_ID" => Some(Self::InvalidJobId),
"NO_CONVERSION_ACTION_FOUND" => Some(Self::NoConversionActionFound),
"INVALID_CONVERSION_ACTION_TYPE" => {
Some(Self::InvalidConversionActionType)
}
_ => None,
}
}
}
}
/// Container for enum describing possible null errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct NullErrorEnum {}
/// Nested message and enum types in `NullErrorEnum`.
pub mod null_error_enum {
/// Enum describing possible null errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum NullError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Specified list/container must not contain any null elements
NullContent = 2,
}
impl NullError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
NullError::Unspecified => "UNSPECIFIED",
NullError::Unknown => "UNKNOWN",
NullError::NullContent => "NULL_CONTENT",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"NULL_CONTENT" => Some(Self::NullContent),
_ => None,
}
}
}
}
/// Container for enum describing possible date errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DateErrorEnum {}
/// Nested message and enum types in `DateErrorEnum`.
pub mod date_error_enum {
/// Enum describing possible date errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum DateError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Given field values do not correspond to a valid date.
InvalidFieldValuesInDate = 2,
/// Given field values do not correspond to a valid date time.
InvalidFieldValuesInDateTime = 3,
/// The string date's format should be yyyy-mm-dd.
InvalidStringDate = 4,
/// The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss.
InvalidStringDateTimeMicros = 6,
/// The string date time's format should be yyyy-mm-dd hh:mm:ss.
InvalidStringDateTimeSeconds = 11,
/// The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm.
InvalidStringDateTimeSecondsWithOffset = 12,
/// Date is before allowed minimum.
EarlierThanMinimumDate = 7,
/// Date is after allowed maximum.
LaterThanMaximumDate = 8,
/// Date range bounds are not in order.
DateRangeMinimumDateLaterThanMaximumDate = 9,
/// Both dates in range are null.
DateRangeMinimumAndMaximumDatesBothNull = 10,
}
impl DateError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
DateError::Unspecified => "UNSPECIFIED",
DateError::Unknown => "UNKNOWN",
DateError::InvalidFieldValuesInDate => "INVALID_FIELD_VALUES_IN_DATE",
DateError::InvalidFieldValuesInDateTime => {
"INVALID_FIELD_VALUES_IN_DATE_TIME"
}
DateError::InvalidStringDate => "INVALID_STRING_DATE",
DateError::InvalidStringDateTimeMicros => {
"INVALID_STRING_DATE_TIME_MICROS"
}
DateError::InvalidStringDateTimeSeconds => {
"INVALID_STRING_DATE_TIME_SECONDS"
}
DateError::InvalidStringDateTimeSecondsWithOffset => {
"INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET"
}
DateError::EarlierThanMinimumDate => "EARLIER_THAN_MINIMUM_DATE",
DateError::LaterThanMaximumDate => "LATER_THAN_MAXIMUM_DATE",
DateError::DateRangeMinimumDateLaterThanMaximumDate => {
"DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE"
}
DateError::DateRangeMinimumAndMaximumDatesBothNull => {
"DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_FIELD_VALUES_IN_DATE" => Some(Self::InvalidFieldValuesInDate),
"INVALID_FIELD_VALUES_IN_DATE_TIME" => {
Some(Self::InvalidFieldValuesInDateTime)
}
"INVALID_STRING_DATE" => Some(Self::InvalidStringDate),
"INVALID_STRING_DATE_TIME_MICROS" => {
Some(Self::InvalidStringDateTimeMicros)
}
"INVALID_STRING_DATE_TIME_SECONDS" => {
Some(Self::InvalidStringDateTimeSeconds)
}
"INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET" => {
Some(Self::InvalidStringDateTimeSecondsWithOffset)
}
"EARLIER_THAN_MINIMUM_DATE" => Some(Self::EarlierThanMinimumDate),
"LATER_THAN_MAXIMUM_DATE" => Some(Self::LaterThanMaximumDate),
"DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE" => {
Some(Self::DateRangeMinimumDateLaterThanMaximumDate)
}
"DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL" => {
Some(Self::DateRangeMinimumAndMaximumDatesBothNull)
}
_ => None,
}
}
}
}
/// Container for enum describing possible new resource creation errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct NewResourceCreationErrorEnum {}
/// Nested message and enum types in `NewResourceCreationErrorEnum`.
pub mod new_resource_creation_error_enum {
/// Enum describing possible new resource creation errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum NewResourceCreationError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Do not set the id field while creating new resources.
CannotSetIdForCreate = 2,
/// Creating more than one resource with the same temp ID is not allowed.
DuplicateTempIds = 3,
/// Parent resource with specified temp ID failed validation, so no
/// validation will be done for this child resource.
TempIdResourceHadErrors = 4,
}
impl NewResourceCreationError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
NewResourceCreationError::Unspecified => "UNSPECIFIED",
NewResourceCreationError::Unknown => "UNKNOWN",
NewResourceCreationError::CannotSetIdForCreate => {
"CANNOT_SET_ID_FOR_CREATE"
}
NewResourceCreationError::DuplicateTempIds => "DUPLICATE_TEMP_IDS",
NewResourceCreationError::TempIdResourceHadErrors => {
"TEMP_ID_RESOURCE_HAD_ERRORS"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CANNOT_SET_ID_FOR_CREATE" => Some(Self::CannotSetIdForCreate),
"DUPLICATE_TEMP_IDS" => Some(Self::DuplicateTempIds),
"TEMP_ID_RESOURCE_HAD_ERRORS" => Some(Self::TempIdResourceHadErrors),
_ => None,
}
}
}
}
/// Container for enum describing possible asset errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AssetErrorEnum {}
/// Nested message and enum types in `AssetErrorEnum`.
pub mod asset_error_enum {
/// Enum describing possible asset errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AssetError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The customer is not is not on the allow-list for this asset type.
CustomerNotOnAllowlistForAssetType = 13,
/// Assets are duplicated across operations.
DuplicateAsset = 3,
/// The asset name is duplicated, either across operations or with an
/// existing asset.
DuplicateAssetName = 4,
/// The Asset.asset_data oneof is empty.
AssetDataIsMissing = 5,
/// The asset has a name which is different from an existing duplicate that
/// represents the same content.
CannotModifyAssetName = 6,
/// The field cannot be set for this asset type.
FieldIncompatibleWithAssetType = 7,
/// Call to action must come from the list of supported values.
InvalidCallToActionText = 8,
/// A lead form asset is created with an invalid combination of input fields.
LeadFormInvalidFieldsCombination = 9,
/// Lead forms require that the Terms of Service have been agreed to before
/// mutates can be executed.
LeadFormMissingAgreement = 10,
/// Asset status is invalid in this operation.
InvalidAssetStatus = 11,
/// The field cannot be modified by this asset type.
FieldCannotBeModifiedForAssetType = 12,
/// Ad schedules for the same asset cannot overlap.
SchedulesCannotOverlap = 14,
/// Cannot set both percent off and money amount off fields of promotion
/// asset.
PromotionCannotSetPercentOffAndMoneyAmountOff = 15,
/// Cannot set both promotion code and orders over amount fields of promotion
/// asset.
PromotionCannotSetPromotionCodeAndOrdersOverAmount = 16,
/// The field has too many decimal places specified.
TooManyDecimalPlacesSpecified = 17,
/// Duplicate assets across operations, which have identical Asset.asset_data
/// oneof, cannot have different asset level fields for asset types which are
/// deduped.
DuplicateAssetsWithDifferentFieldValue = 18,
/// Carrier specific short number is not allowed.
CallCarrierSpecificShortNumberNotAllowed = 19,
/// Customer consent required for call recording Terms of Service.
CallCustomerConsentForCallRecordingRequired = 20,
/// The type of the specified phone number is not allowed.
CallDisallowedNumberType = 21,
/// If the default call_conversion_action is not used, the customer must have
/// a ConversionAction with the same id and the ConversionAction must be call
/// conversion type.
CallInvalidConversionAction = 22,
/// The country code of the phone number is invalid.
CallInvalidCountryCode = 23,
/// The format of the phone number is incorrect.
CallInvalidDomesticPhoneNumberFormat = 24,
/// The input phone number is not a valid phone number.
CallInvalidPhoneNumber = 25,
/// The phone number is not supported for country.
CallPhoneNumberNotSupportedForCountry = 26,
/// Premium rate phone number is not allowed.
CallPremiumRateNumberNotAllowed = 27,
/// Vanity phone number is not allowed.
CallVanityPhoneNumberNotAllowed = 28,
/// PriceOffering cannot have the same value for header and description.
PriceHeaderSameAsDescription = 29,
/// AppId is invalid.
MobileAppInvalidAppId = 30,
/// Invalid App download URL in final URLs.
MobileAppInvalidFinalUrlForAppDownloadUrl = 31,
/// Asset name is required for the asset type.
NameRequiredForAssetType = 32,
/// Legacy qualifying questions cannot be in the same Lead Form as
/// custom questions.
LeadFormLegacyQualifyingQuestionsDisallowed = 33,
/// Unique name is required for this asset type.
NameConflictForAssetType = 34,
/// Cannot modify asset source.
CannotModifyAssetSource = 35,
/// User can not modify the automatically created asset.
CannotModifyAutomaticallyCreatedAsset = 36,
/// Lead Form is disallowed to use "LOCATION" answer type.
LeadFormLocationAnswerTypeDisallowed = 37,
/// Page Feed label text contains invalid characters.
PageFeedInvalidLabelText = 38,
}
impl AssetError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AssetError::Unspecified => "UNSPECIFIED",
AssetError::Unknown => "UNKNOWN",
AssetError::CustomerNotOnAllowlistForAssetType => {
"CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE"
}
AssetError::DuplicateAsset => "DUPLICATE_ASSET",
AssetError::DuplicateAssetName => "DUPLICATE_ASSET_NAME",
AssetError::AssetDataIsMissing => "ASSET_DATA_IS_MISSING",
AssetError::CannotModifyAssetName => "CANNOT_MODIFY_ASSET_NAME",
AssetError::FieldIncompatibleWithAssetType => {
"FIELD_INCOMPATIBLE_WITH_ASSET_TYPE"
}
AssetError::InvalidCallToActionText => "INVALID_CALL_TO_ACTION_TEXT",
AssetError::LeadFormInvalidFieldsCombination => {
"LEAD_FORM_INVALID_FIELDS_COMBINATION"
}
AssetError::LeadFormMissingAgreement => "LEAD_FORM_MISSING_AGREEMENT",
AssetError::InvalidAssetStatus => "INVALID_ASSET_STATUS",
AssetError::FieldCannotBeModifiedForAssetType => {
"FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE"
}
AssetError::SchedulesCannotOverlap => "SCHEDULES_CANNOT_OVERLAP",
AssetError::PromotionCannotSetPercentOffAndMoneyAmountOff => {
"PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF"
}
AssetError::PromotionCannotSetPromotionCodeAndOrdersOverAmount => {
"PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT"
}
AssetError::TooManyDecimalPlacesSpecified => {
"TOO_MANY_DECIMAL_PLACES_SPECIFIED"
}
AssetError::DuplicateAssetsWithDifferentFieldValue => {
"DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE"
}
AssetError::CallCarrierSpecificShortNumberNotAllowed => {
"CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED"
}
AssetError::CallCustomerConsentForCallRecordingRequired => {
"CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED"
}
AssetError::CallDisallowedNumberType => "CALL_DISALLOWED_NUMBER_TYPE",
AssetError::CallInvalidConversionAction => {
"CALL_INVALID_CONVERSION_ACTION"
}
AssetError::CallInvalidCountryCode => "CALL_INVALID_COUNTRY_CODE",
AssetError::CallInvalidDomesticPhoneNumberFormat => {
"CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT"
}
AssetError::CallInvalidPhoneNumber => "CALL_INVALID_PHONE_NUMBER",
AssetError::CallPhoneNumberNotSupportedForCountry => {
"CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY"
}
AssetError::CallPremiumRateNumberNotAllowed => {
"CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED"
}
AssetError::CallVanityPhoneNumberNotAllowed => {
"CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED"
}
AssetError::PriceHeaderSameAsDescription => {
"PRICE_HEADER_SAME_AS_DESCRIPTION"
}
AssetError::MobileAppInvalidAppId => "MOBILE_APP_INVALID_APP_ID",
AssetError::MobileAppInvalidFinalUrlForAppDownloadUrl => {
"MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL"
}
AssetError::NameRequiredForAssetType => "NAME_REQUIRED_FOR_ASSET_TYPE",
AssetError::LeadFormLegacyQualifyingQuestionsDisallowed => {
"LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED"
}
AssetError::NameConflictForAssetType => "NAME_CONFLICT_FOR_ASSET_TYPE",
AssetError::CannotModifyAssetSource => "CANNOT_MODIFY_ASSET_SOURCE",
AssetError::CannotModifyAutomaticallyCreatedAsset => {
"CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET"
}
AssetError::LeadFormLocationAnswerTypeDisallowed => {
"LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED"
}
AssetError::PageFeedInvalidLabelText => "PAGE_FEED_INVALID_LABEL_TEXT",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE" => {
Some(Self::CustomerNotOnAllowlistForAssetType)
}
"DUPLICATE_ASSET" => Some(Self::DuplicateAsset),
"DUPLICATE_ASSET_NAME" => Some(Self::DuplicateAssetName),
"ASSET_DATA_IS_MISSING" => Some(Self::AssetDataIsMissing),
"CANNOT_MODIFY_ASSET_NAME" => Some(Self::CannotModifyAssetName),
"FIELD_INCOMPATIBLE_WITH_ASSET_TYPE" => {
Some(Self::FieldIncompatibleWithAssetType)
}
"INVALID_CALL_TO_ACTION_TEXT" => Some(Self::InvalidCallToActionText),
"LEAD_FORM_INVALID_FIELDS_COMBINATION" => {
Some(Self::LeadFormInvalidFieldsCombination)
}
"LEAD_FORM_MISSING_AGREEMENT" => Some(Self::LeadFormMissingAgreement),
"INVALID_ASSET_STATUS" => Some(Self::InvalidAssetStatus),
"FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE" => {
Some(Self::FieldCannotBeModifiedForAssetType)
}
"SCHEDULES_CANNOT_OVERLAP" => Some(Self::SchedulesCannotOverlap),
"PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF" => {
Some(Self::PromotionCannotSetPercentOffAndMoneyAmountOff)
}
"PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT" => {
Some(Self::PromotionCannotSetPromotionCodeAndOrdersOverAmount)
}
"TOO_MANY_DECIMAL_PLACES_SPECIFIED" => {
Some(Self::TooManyDecimalPlacesSpecified)
}
"DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE" => {
Some(Self::DuplicateAssetsWithDifferentFieldValue)
}
"CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED" => {
Some(Self::CallCarrierSpecificShortNumberNotAllowed)
}
"CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED" => {
Some(Self::CallCustomerConsentForCallRecordingRequired)
}
"CALL_DISALLOWED_NUMBER_TYPE" => Some(Self::CallDisallowedNumberType),
"CALL_INVALID_CONVERSION_ACTION" => {
Some(Self::CallInvalidConversionAction)
}
"CALL_INVALID_COUNTRY_CODE" => Some(Self::CallInvalidCountryCode),
"CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT" => {
Some(Self::CallInvalidDomesticPhoneNumberFormat)
}
"CALL_INVALID_PHONE_NUMBER" => Some(Self::CallInvalidPhoneNumber),
"CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY" => {
Some(Self::CallPhoneNumberNotSupportedForCountry)
}
"CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED" => {
Some(Self::CallPremiumRateNumberNotAllowed)
}
"CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED" => {
Some(Self::CallVanityPhoneNumberNotAllowed)
}
"PRICE_HEADER_SAME_AS_DESCRIPTION" => {
Some(Self::PriceHeaderSameAsDescription)
}
"MOBILE_APP_INVALID_APP_ID" => Some(Self::MobileAppInvalidAppId),
"MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL" => {
Some(Self::MobileAppInvalidFinalUrlForAppDownloadUrl)
}
"NAME_REQUIRED_FOR_ASSET_TYPE" => Some(Self::NameRequiredForAssetType),
"LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED" => {
Some(Self::LeadFormLegacyQualifyingQuestionsDisallowed)
}
"NAME_CONFLICT_FOR_ASSET_TYPE" => Some(Self::NameConflictForAssetType),
"CANNOT_MODIFY_ASSET_SOURCE" => Some(Self::CannotModifyAssetSource),
"CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET" => {
Some(Self::CannotModifyAutomaticallyCreatedAsset)
}
"LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED" => {
Some(Self::LeadFormLocationAnswerTypeDisallowed)
}
"PAGE_FEED_INVALID_LABEL_TEXT" => Some(Self::PageFeedInvalidLabelText),
_ => None,
}
}
}
}
/// Container for enum describing possible date range errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DateRangeErrorEnum {}
/// Nested message and enum types in `DateRangeErrorEnum`.
pub mod date_range_error_enum {
/// Enum describing possible date range errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum DateRangeError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Invalid date.
InvalidDate = 2,
/// The start date was after the end date.
StartDateAfterEndDate = 3,
/// Cannot set date to past time
CannotSetDateToPast = 4,
/// A date was used that is past the system "last" date.
AfterMaximumAllowableDate = 5,
/// Trying to change start date on a resource that has started.
CannotModifyStartDateIfAlreadyStarted = 6,
}
impl DateRangeError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
DateRangeError::Unspecified => "UNSPECIFIED",
DateRangeError::Unknown => "UNKNOWN",
DateRangeError::InvalidDate => "INVALID_DATE",
DateRangeError::StartDateAfterEndDate => "START_DATE_AFTER_END_DATE",
DateRangeError::CannotSetDateToPast => "CANNOT_SET_DATE_TO_PAST",
DateRangeError::AfterMaximumAllowableDate => {
"AFTER_MAXIMUM_ALLOWABLE_DATE"
}
DateRangeError::CannotModifyStartDateIfAlreadyStarted => {
"CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_DATE" => Some(Self::InvalidDate),
"START_DATE_AFTER_END_DATE" => Some(Self::StartDateAfterEndDate),
"CANNOT_SET_DATE_TO_PAST" => Some(Self::CannotSetDateToPast),
"AFTER_MAXIMUM_ALLOWABLE_DATE" => Some(Self::AfterMaximumAllowableDate),
"CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED" => {
Some(Self::CannotModifyStartDateIfAlreadyStarted)
}
_ => None,
}
}
}
}
/// Container for enum describing possible user data errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct UserDataErrorEnum {}
/// Nested message and enum types in `UserDataErrorEnum`.
pub mod user_data_error_enum {
/// Enum describing possible request errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum UserDataError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Customer is not allowed to perform operations related to Customer Match.
OperationsForCustomerMatchNotAllowed = 2,
/// Maximum number of user identifiers allowed for each request is 100 and
/// for each operation is 20.
TooManyUserIdentifiers = 3,
/// Current user list is not applicable for the given customer.
UserListNotApplicable = 4,
}
impl UserDataError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
UserDataError::Unspecified => "UNSPECIFIED",
UserDataError::Unknown => "UNKNOWN",
UserDataError::OperationsForCustomerMatchNotAllowed => {
"OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED"
}
UserDataError::TooManyUserIdentifiers => "TOO_MANY_USER_IDENTIFIERS",
UserDataError::UserListNotApplicable => "USER_LIST_NOT_APPLICABLE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED" => {
Some(Self::OperationsForCustomerMatchNotAllowed)
}
"TOO_MANY_USER_IDENTIFIERS" => Some(Self::TooManyUserIdentifiers),
"USER_LIST_NOT_APPLICABLE" => Some(Self::UserListNotApplicable),
_ => None,
}
}
}
}
/// Container for enum describing language code errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct LanguageCodeErrorEnum {}
/// Nested message and enum types in `LanguageCodeErrorEnum`.
pub mod language_code_error_enum {
/// Enum describing language code errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum LanguageCodeError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The input language code is not recognized.
LanguageCodeNotFound = 2,
/// The language code is not supported.
InvalidLanguageCode = 3,
}
impl LanguageCodeError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
LanguageCodeError::Unspecified => "UNSPECIFIED",
LanguageCodeError::Unknown => "UNKNOWN",
LanguageCodeError::LanguageCodeNotFound => "LANGUAGE_CODE_NOT_FOUND",
LanguageCodeError::InvalidLanguageCode => "INVALID_LANGUAGE_CODE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"LANGUAGE_CODE_NOT_FOUND" => Some(Self::LanguageCodeNotFound),
"INVALID_LANGUAGE_CODE" => Some(Self::InvalidLanguageCode),
_ => None,
}
}
}
}
/// Container for enum describing possible product link invitation errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProductLinkInvitationErrorEnum {}
/// Nested message and enum types in `ProductLinkInvitationErrorEnum`.
pub mod product_link_invitation_error_enum {
/// Enum describing possible product link invitation errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ProductLinkInvitationError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in the version.
Unknown = 1,
/// The invitation status is invalid.
InvalidStatus = 2,
/// The customer doesn't have the permission to perform this action
PermissionDenied = 3,
/// An invitation could not be created, since the user already has admin
/// access to the invited account. Use the ProductLinkService to directly
/// create an active link.
NoInvitationRequired = 4,
}
impl ProductLinkInvitationError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ProductLinkInvitationError::Unspecified => "UNSPECIFIED",
ProductLinkInvitationError::Unknown => "UNKNOWN",
ProductLinkInvitationError::InvalidStatus => "INVALID_STATUS",
ProductLinkInvitationError::PermissionDenied => "PERMISSION_DENIED",
ProductLinkInvitationError::NoInvitationRequired => {
"NO_INVITATION_REQUIRED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_STATUS" => Some(Self::InvalidStatus),
"PERMISSION_DENIED" => Some(Self::PermissionDenied),
"NO_INVITATION_REQUIRED" => Some(Self::NoInvitationRequired),
_ => None,
}
}
}
}
/// Container for enum describing possible multiplier errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MultiplierErrorEnum {}
/// Nested message and enum types in `MultiplierErrorEnum`.
pub mod multiplier_error_enum {
/// Enum describing possible multiplier errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum MultiplierError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Multiplier value is too high
MultiplierTooHigh = 2,
/// Multiplier value is too low
MultiplierTooLow = 3,
/// Too many fractional digits
TooManyFractionalDigits = 4,
/// A multiplier cannot be set for this bidding strategy
MultiplierNotAllowedForBiddingStrategy = 5,
/// A multiplier cannot be set when there is no base bid (for example,
/// content max cpc)
MultiplierNotAllowedWhenBaseBidIsMissing = 6,
/// A bid multiplier must be specified
NoMultiplierSpecified = 7,
/// Multiplier causes bid to exceed daily budget
MultiplierCausesBidToExceedDailyBudget = 8,
/// Multiplier causes bid to exceed monthly budget
MultiplierCausesBidToExceedMonthlyBudget = 9,
/// Multiplier causes bid to exceed custom budget
MultiplierCausesBidToExceedCustomBudget = 10,
/// Multiplier causes bid to exceed maximum allowed bid
MultiplierCausesBidToExceedMaxAllowedBid = 11,
/// Multiplier causes bid to become less than the minimum bid allowed
BidLessThanMinAllowedBidWithMultiplier = 12,
/// Multiplier type (cpc versus cpm) needs to match campaign's bidding
/// strategy
MultiplierAndBiddingStrategyTypeMismatch = 13,
}
impl MultiplierError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
MultiplierError::Unspecified => "UNSPECIFIED",
MultiplierError::Unknown => "UNKNOWN",
MultiplierError::MultiplierTooHigh => "MULTIPLIER_TOO_HIGH",
MultiplierError::MultiplierTooLow => "MULTIPLIER_TOO_LOW",
MultiplierError::TooManyFractionalDigits => "TOO_MANY_FRACTIONAL_DIGITS",
MultiplierError::MultiplierNotAllowedForBiddingStrategy => {
"MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY"
}
MultiplierError::MultiplierNotAllowedWhenBaseBidIsMissing => {
"MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING"
}
MultiplierError::NoMultiplierSpecified => "NO_MULTIPLIER_SPECIFIED",
MultiplierError::MultiplierCausesBidToExceedDailyBudget => {
"MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET"
}
MultiplierError::MultiplierCausesBidToExceedMonthlyBudget => {
"MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET"
}
MultiplierError::MultiplierCausesBidToExceedCustomBudget => {
"MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET"
}
MultiplierError::MultiplierCausesBidToExceedMaxAllowedBid => {
"MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID"
}
MultiplierError::BidLessThanMinAllowedBidWithMultiplier => {
"BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER"
}
MultiplierError::MultiplierAndBiddingStrategyTypeMismatch => {
"MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"MULTIPLIER_TOO_HIGH" => Some(Self::MultiplierTooHigh),
"MULTIPLIER_TOO_LOW" => Some(Self::MultiplierTooLow),
"TOO_MANY_FRACTIONAL_DIGITS" => Some(Self::TooManyFractionalDigits),
"MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY" => {
Some(Self::MultiplierNotAllowedForBiddingStrategy)
}
"MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING" => {
Some(Self::MultiplierNotAllowedWhenBaseBidIsMissing)
}
"NO_MULTIPLIER_SPECIFIED" => Some(Self::NoMultiplierSpecified),
"MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET" => {
Some(Self::MultiplierCausesBidToExceedDailyBudget)
}
"MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET" => {
Some(Self::MultiplierCausesBidToExceedMonthlyBudget)
}
"MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET" => {
Some(Self::MultiplierCausesBidToExceedCustomBudget)
}
"MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID" => {
Some(Self::MultiplierCausesBidToExceedMaxAllowedBid)
}
"BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER" => {
Some(Self::BidLessThanMinAllowedBidWithMultiplier)
}
"MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH" => {
Some(Self::MultiplierAndBiddingStrategyTypeMismatch)
}
_ => None,
}
}
}
}
/// Container for enum describing possible campaign conversion goal errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CampaignConversionGoalErrorEnum {}
/// Nested message and enum types in `CampaignConversionGoalErrorEnum`.
pub mod campaign_conversion_goal_error_enum {
/// Enum describing possible campaign conversion goal errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CampaignConversionGoalError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Campaign is managed by Search Ads 360 but uses Unified Goal.
CannotUseCampaignGoalForSearchAds360ManagedCampaign = 2,
/// Performance Max campaign cannot use an included store sale campaign goal.
CannotUseStoreSaleGoalForPerformanceMaxCampaign = 3,
}
impl CampaignConversionGoalError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CampaignConversionGoalError::Unspecified => "UNSPECIFIED",
CampaignConversionGoalError::Unknown => "UNKNOWN",
CampaignConversionGoalError::CannotUseCampaignGoalForSearchAds360ManagedCampaign => {
"CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN"
}
CampaignConversionGoalError::CannotUseStoreSaleGoalForPerformanceMaxCampaign => {
"CANNOT_USE_STORE_SALE_GOAL_FOR_PERFORMANCE_MAX_CAMPAIGN"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN" => {
Some(Self::CannotUseCampaignGoalForSearchAds360ManagedCampaign)
}
"CANNOT_USE_STORE_SALE_GOAL_FOR_PERFORMANCE_MAX_CAMPAIGN" => {
Some(Self::CannotUseStoreSaleGoalForPerformanceMaxCampaign)
}
_ => None,
}
}
}
}
/// Container for enum describing possible request errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RequestErrorEnum {}
/// Nested message and enum types in `RequestErrorEnum`.
pub mod request_error_enum {
/// Enum describing possible request errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum RequestError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Resource name is required for this request.
ResourceNameMissing = 3,
/// Resource name provided is malformed.
ResourceNameMalformed = 4,
/// Resource name provided is malformed.
BadResourceId = 17,
/// Customer ID is invalid.
InvalidCustomerId = 16,
/// Mutate operation should have either create, update, or remove specified.
OperationRequired = 5,
/// Requested resource not found.
ResourceNotFound = 6,
/// Next page token specified in user request is invalid.
InvalidPageToken = 7,
/// Next page token specified in user request has expired.
ExpiredPageToken = 8,
/// Page size specified in user request is invalid.
InvalidPageSize = 22,
/// Required field is missing.
RequiredFieldMissing = 9,
/// The field cannot be modified because it's immutable. It's also possible
/// that the field can be modified using 'create' operation but not 'update'.
ImmutableField = 11,
/// Received too many entries in request.
TooManyMutateOperations = 13,
/// Request cannot be executed by a manager account.
CannotBeExecutedByManagerAccount = 14,
/// Mutate request was attempting to modify a readonly field.
/// For instance, Budget fields can be requested for Ad Group,
/// but are read-only for adGroups:mutate.
CannotModifyForeignField = 15,
/// Enum value is not permitted.
InvalidEnumValue = 18,
/// The developer-token parameter is required for all requests.
DeveloperTokenParameterMissing = 19,
/// The login-customer-id parameter is required for this request.
LoginCustomerIdParameterMissing = 20,
/// page_token is set in the validate only request
ValidateOnlyRequestHasPageToken = 21,
/// return_summary_row cannot be enabled if request did not select any
/// metrics field.
CannotReturnSummaryRowForRequestWithoutMetrics = 29,
/// return_summary_row should not be enabled for validate only requests.
CannotReturnSummaryRowForValidateOnlyRequests = 30,
/// return_summary_row parameter value should be the same between requests
/// with page_token field set and their original request.
InconsistentReturnSummaryRowValue = 31,
/// The total results count cannot be returned if it was not requested in the
/// original request.
TotalResultsCountNotOriginallyRequested = 32,
/// Deadline specified by the client was too short.
RpcDeadlineTooShort = 33,
/// This API version has been sunset and is no longer supported.
UnsupportedVersion = 38,
/// The Google Cloud project in the request was not found.
CloudProjectNotFound = 39,
}
impl RequestError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
RequestError::Unspecified => "UNSPECIFIED",
RequestError::Unknown => "UNKNOWN",
RequestError::ResourceNameMissing => "RESOURCE_NAME_MISSING",
RequestError::ResourceNameMalformed => "RESOURCE_NAME_MALFORMED",
RequestError::BadResourceId => "BAD_RESOURCE_ID",
RequestError::InvalidCustomerId => "INVALID_CUSTOMER_ID",
RequestError::OperationRequired => "OPERATION_REQUIRED",
RequestError::ResourceNotFound => "RESOURCE_NOT_FOUND",
RequestError::InvalidPageToken => "INVALID_PAGE_TOKEN",
RequestError::ExpiredPageToken => "EXPIRED_PAGE_TOKEN",
RequestError::InvalidPageSize => "INVALID_PAGE_SIZE",
RequestError::RequiredFieldMissing => "REQUIRED_FIELD_MISSING",
RequestError::ImmutableField => "IMMUTABLE_FIELD",
RequestError::TooManyMutateOperations => "TOO_MANY_MUTATE_OPERATIONS",
RequestError::CannotBeExecutedByManagerAccount => {
"CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT"
}
RequestError::CannotModifyForeignField => "CANNOT_MODIFY_FOREIGN_FIELD",
RequestError::InvalidEnumValue => "INVALID_ENUM_VALUE",
RequestError::DeveloperTokenParameterMissing => {
"DEVELOPER_TOKEN_PARAMETER_MISSING"
}
RequestError::LoginCustomerIdParameterMissing => {
"LOGIN_CUSTOMER_ID_PARAMETER_MISSING"
}
RequestError::ValidateOnlyRequestHasPageToken => {
"VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN"
}
RequestError::CannotReturnSummaryRowForRequestWithoutMetrics => {
"CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS"
}
RequestError::CannotReturnSummaryRowForValidateOnlyRequests => {
"CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS"
}
RequestError::InconsistentReturnSummaryRowValue => {
"INCONSISTENT_RETURN_SUMMARY_ROW_VALUE"
}
RequestError::TotalResultsCountNotOriginallyRequested => {
"TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED"
}
RequestError::RpcDeadlineTooShort => "RPC_DEADLINE_TOO_SHORT",
RequestError::UnsupportedVersion => "UNSUPPORTED_VERSION",
RequestError::CloudProjectNotFound => "CLOUD_PROJECT_NOT_FOUND",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"RESOURCE_NAME_MISSING" => Some(Self::ResourceNameMissing),
"RESOURCE_NAME_MALFORMED" => Some(Self::ResourceNameMalformed),
"BAD_RESOURCE_ID" => Some(Self::BadResourceId),
"INVALID_CUSTOMER_ID" => Some(Self::InvalidCustomerId),
"OPERATION_REQUIRED" => Some(Self::OperationRequired),
"RESOURCE_NOT_FOUND" => Some(Self::ResourceNotFound),
"INVALID_PAGE_TOKEN" => Some(Self::InvalidPageToken),
"EXPIRED_PAGE_TOKEN" => Some(Self::ExpiredPageToken),
"INVALID_PAGE_SIZE" => Some(Self::InvalidPageSize),
"REQUIRED_FIELD_MISSING" => Some(Self::RequiredFieldMissing),
"IMMUTABLE_FIELD" => Some(Self::ImmutableField),
"TOO_MANY_MUTATE_OPERATIONS" => Some(Self::TooManyMutateOperations),
"CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT" => {
Some(Self::CannotBeExecutedByManagerAccount)
}
"CANNOT_MODIFY_FOREIGN_FIELD" => Some(Self::CannotModifyForeignField),
"INVALID_ENUM_VALUE" => Some(Self::InvalidEnumValue),
"DEVELOPER_TOKEN_PARAMETER_MISSING" => {
Some(Self::DeveloperTokenParameterMissing)
}
"LOGIN_CUSTOMER_ID_PARAMETER_MISSING" => {
Some(Self::LoginCustomerIdParameterMissing)
}
"VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN" => {
Some(Self::ValidateOnlyRequestHasPageToken)
}
"CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS" => {
Some(Self::CannotReturnSummaryRowForRequestWithoutMetrics)
}
"CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS" => {
Some(Self::CannotReturnSummaryRowForValidateOnlyRequests)
}
"INCONSISTENT_RETURN_SUMMARY_ROW_VALUE" => {
Some(Self::InconsistentReturnSummaryRowValue)
}
"TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED" => {
Some(Self::TotalResultsCountNotOriginallyRequested)
}
"RPC_DEADLINE_TOO_SHORT" => Some(Self::RpcDeadlineTooShort),
"UNSUPPORTED_VERSION" => Some(Self::UnsupportedVersion),
"CLOUD_PROJECT_NOT_FOUND" => Some(Self::CloudProjectNotFound),
_ => None,
}
}
}
}
/// Container for enum describing possible campaign criterion errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CampaignCriterionErrorEnum {}
/// Nested message and enum types in `CampaignCriterionErrorEnum`.
pub mod campaign_criterion_error_enum {
/// Enum describing possible campaign criterion errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CampaignCriterionError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Concrete type of criterion (keyword v.s. placement) is required for
/// CREATE and UPDATE operations.
ConcreteTypeRequired = 2,
/// Invalid placement URL.
InvalidPlacementUrl = 3,
/// Criteria type can not be excluded for the campaign by the customer. like
/// AOL account type cannot target site type criteria
CannotExcludeCriteriaType = 4,
/// Cannot set the campaign criterion status for this criteria type.
CannotSetStatusForCriteriaType = 5,
/// Cannot set the campaign criterion status for an excluded criteria.
CannotSetStatusForExcludedCriteria = 6,
/// Cannot target and exclude the same criterion.
CannotTargetAndExclude = 7,
/// The mutate contained too many operations.
TooManyOperations = 8,
/// This operator cannot be applied to a criterion of this type.
OperatorNotSupportedForCriterionType = 9,
/// The Shopping campaign sales country is not supported for
/// ProductSalesChannel targeting.
ShoppingCampaignSalesCountryNotSupportedForSalesChannel = 10,
/// The existing field can't be updated with CREATE operation. It can be
/// updated with UPDATE operation only.
CannotAddExistingField = 11,
/// Negative criteria are immutable, so updates are not allowed.
CannotUpdateNegativeCriterion = 12,
/// Only free form names are allowed for negative Smart campaign keyword
/// theme.
CannotSetNegativeKeywordThemeConstantCriterion = 13,
/// Invalid Smart campaign keyword theme constant criterion.
InvalidKeywordThemeConstant = 14,
/// A Smart campaign keyword theme constant or free-form Smart campaign
/// keyword theme is required.
MissingKeywordThemeConstantOrFreeFormKeywordTheme = 15,
/// A Smart campaign may not target proximity and location criteria
/// simultaneously.
CannotTargetBothProximityAndLocationCriteriaForSmartCampaign = 16,
/// A Smart campaign may not target multiple proximity criteria.
CannotTargetMultipleProximityCriteriaForSmartCampaign = 17,
/// Location is not launched for Local Services Campaigns.
LocationNotLaunchedForLocalServicesCampaign = 18,
/// A Local Services campaign may not target certain criteria types.
LocationInvalidForLocalServicesCampaign = 19,
/// Country locations are not supported for Local Services campaign.
CannotTargetCountryForLocalServicesCampaign = 20,
/// Location is not within the home country of Local Services campaign.
LocationNotInHomeCountryForLocalServicesCampaign = 21,
/// Local Services profile does not exist for a particular Local Services
/// campaign.
CannotAddOrRemoveLocationForLocalServicesCampaign = 22,
/// Local Services campaign must have at least one target location.
AtLeastOnePositiveLocationRequiredForLocalServicesCampaign = 23,
/// At least one positive local service ID criterion is required for a Local
/// Services campaign.
AtLeastOneLocalServiceIdCriterionRequiredForLocalServicesCampaign = 24,
/// Local service ID is not found under selected categories in local
/// services campaign setting.
LocalServiceIdNotFoundForCategory = 25,
/// For search advertising channel, brand lists can only be applied to
/// exclusive targeting, broad match campaigns for inclusive targeting or
/// PMax generated campaigns.
CannotAttachBrandListToNonQualifiedSearchCampaign = 26,
}
impl CampaignCriterionError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CampaignCriterionError::Unspecified => "UNSPECIFIED",
CampaignCriterionError::Unknown => "UNKNOWN",
CampaignCriterionError::ConcreteTypeRequired => "CONCRETE_TYPE_REQUIRED",
CampaignCriterionError::InvalidPlacementUrl => "INVALID_PLACEMENT_URL",
CampaignCriterionError::CannotExcludeCriteriaType => {
"CANNOT_EXCLUDE_CRITERIA_TYPE"
}
CampaignCriterionError::CannotSetStatusForCriteriaType => {
"CANNOT_SET_STATUS_FOR_CRITERIA_TYPE"
}
CampaignCriterionError::CannotSetStatusForExcludedCriteria => {
"CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA"
}
CampaignCriterionError::CannotTargetAndExclude => {
"CANNOT_TARGET_AND_EXCLUDE"
}
CampaignCriterionError::TooManyOperations => "TOO_MANY_OPERATIONS",
CampaignCriterionError::OperatorNotSupportedForCriterionType => {
"OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE"
}
CampaignCriterionError::ShoppingCampaignSalesCountryNotSupportedForSalesChannel => {
"SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL"
}
CampaignCriterionError::CannotAddExistingField => {
"CANNOT_ADD_EXISTING_FIELD"
}
CampaignCriterionError::CannotUpdateNegativeCriterion => {
"CANNOT_UPDATE_NEGATIVE_CRITERION"
}
CampaignCriterionError::CannotSetNegativeKeywordThemeConstantCriterion => {
"CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION"
}
CampaignCriterionError::InvalidKeywordThemeConstant => {
"INVALID_KEYWORD_THEME_CONSTANT"
}
CampaignCriterionError::MissingKeywordThemeConstantOrFreeFormKeywordTheme => {
"MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME"
}
CampaignCriterionError::CannotTargetBothProximityAndLocationCriteriaForSmartCampaign => {
"CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN"
}
CampaignCriterionError::CannotTargetMultipleProximityCriteriaForSmartCampaign => {
"CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN"
}
CampaignCriterionError::LocationNotLaunchedForLocalServicesCampaign => {
"LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN"
}
CampaignCriterionError::LocationInvalidForLocalServicesCampaign => {
"LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN"
}
CampaignCriterionError::CannotTargetCountryForLocalServicesCampaign => {
"CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN"
}
CampaignCriterionError::LocationNotInHomeCountryForLocalServicesCampaign => {
"LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN"
}
CampaignCriterionError::CannotAddOrRemoveLocationForLocalServicesCampaign => {
"CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN"
}
CampaignCriterionError::AtLeastOnePositiveLocationRequiredForLocalServicesCampaign => {
"AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN"
}
CampaignCriterionError::AtLeastOneLocalServiceIdCriterionRequiredForLocalServicesCampaign => {
"AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN"
}
CampaignCriterionError::LocalServiceIdNotFoundForCategory => {
"LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY"
}
CampaignCriterionError::CannotAttachBrandListToNonQualifiedSearchCampaign => {
"CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CONCRETE_TYPE_REQUIRED" => Some(Self::ConcreteTypeRequired),
"INVALID_PLACEMENT_URL" => Some(Self::InvalidPlacementUrl),
"CANNOT_EXCLUDE_CRITERIA_TYPE" => Some(Self::CannotExcludeCriteriaType),
"CANNOT_SET_STATUS_FOR_CRITERIA_TYPE" => {
Some(Self::CannotSetStatusForCriteriaType)
}
"CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA" => {
Some(Self::CannotSetStatusForExcludedCriteria)
}
"CANNOT_TARGET_AND_EXCLUDE" => Some(Self::CannotTargetAndExclude),
"TOO_MANY_OPERATIONS" => Some(Self::TooManyOperations),
"OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE" => {
Some(Self::OperatorNotSupportedForCriterionType)
}
"SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL" => {
Some(Self::ShoppingCampaignSalesCountryNotSupportedForSalesChannel)
}
"CANNOT_ADD_EXISTING_FIELD" => Some(Self::CannotAddExistingField),
"CANNOT_UPDATE_NEGATIVE_CRITERION" => {
Some(Self::CannotUpdateNegativeCriterion)
}
"CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION" => {
Some(Self::CannotSetNegativeKeywordThemeConstantCriterion)
}
"INVALID_KEYWORD_THEME_CONSTANT" => {
Some(Self::InvalidKeywordThemeConstant)
}
"MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME" => {
Some(Self::MissingKeywordThemeConstantOrFreeFormKeywordTheme)
}
"CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN" => {
Some(
Self::CannotTargetBothProximityAndLocationCriteriaForSmartCampaign,
)
}
"CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN" => {
Some(Self::CannotTargetMultipleProximityCriteriaForSmartCampaign)
}
"LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN" => {
Some(Self::LocationNotLaunchedForLocalServicesCampaign)
}
"LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN" => {
Some(Self::LocationInvalidForLocalServicesCampaign)
}
"CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN" => {
Some(Self::CannotTargetCountryForLocalServicesCampaign)
}
"LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN" => {
Some(Self::LocationNotInHomeCountryForLocalServicesCampaign)
}
"CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN" => {
Some(Self::CannotAddOrRemoveLocationForLocalServicesCampaign)
}
"AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN" => {
Some(
Self::AtLeastOnePositiveLocationRequiredForLocalServicesCampaign,
)
}
"AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN" => {
Some(
Self::AtLeastOneLocalServiceIdCriterionRequiredForLocalServicesCampaign,
)
}
"LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY" => {
Some(Self::LocalServiceIdNotFoundForCategory)
}
"CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN" => {
Some(Self::CannotAttachBrandListToNonQualifiedSearchCampaign)
}
_ => None,
}
}
}
}
/// Container for enum describing possible feed attribute reference errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FeedAttributeReferenceErrorEnum {}
/// Nested message and enum types in `FeedAttributeReferenceErrorEnum`.
pub mod feed_attribute_reference_error_enum {
/// Enum describing possible feed attribute reference errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum FeedAttributeReferenceError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// A feed referenced by ID has been removed.
CannotReferenceRemovedFeed = 2,
/// There is no enabled feed with the given name.
InvalidFeedName = 3,
/// There is no feed attribute in an enabled feed with the given name.
InvalidFeedAttributeName = 4,
}
impl FeedAttributeReferenceError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
FeedAttributeReferenceError::Unspecified => "UNSPECIFIED",
FeedAttributeReferenceError::Unknown => "UNKNOWN",
FeedAttributeReferenceError::CannotReferenceRemovedFeed => {
"CANNOT_REFERENCE_REMOVED_FEED"
}
FeedAttributeReferenceError::InvalidFeedName => "INVALID_FEED_NAME",
FeedAttributeReferenceError::InvalidFeedAttributeName => {
"INVALID_FEED_ATTRIBUTE_NAME"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CANNOT_REFERENCE_REMOVED_FEED" => Some(Self::CannotReferenceRemovedFeed),
"INVALID_FEED_NAME" => Some(Self::InvalidFeedName),
"INVALID_FEED_ATTRIBUTE_NAME" => Some(Self::InvalidFeedAttributeName),
_ => None,
}
}
}
}
/// Container for enum describing possible quota errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QuotaErrorEnum {}
/// Nested message and enum types in `QuotaErrorEnum`.
pub mod quota_error_enum {
/// Enum describing possible quota errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum QuotaError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Too many requests.
ResourceExhausted = 2,
/// Access is prohibited.
AccessProhibited = 3,
/// Too many requests in a short amount of time.
ResourceTemporarilyExhausted = 4,
}
impl QuotaError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
QuotaError::Unspecified => "UNSPECIFIED",
QuotaError::Unknown => "UNKNOWN",
QuotaError::ResourceExhausted => "RESOURCE_EXHAUSTED",
QuotaError::AccessProhibited => "ACCESS_PROHIBITED",
QuotaError::ResourceTemporarilyExhausted => {
"RESOURCE_TEMPORARILY_EXHAUSTED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"RESOURCE_EXHAUSTED" => Some(Self::ResourceExhausted),
"ACCESS_PROHIBITED" => Some(Self::AccessProhibited),
"RESOURCE_TEMPORARILY_EXHAUSTED" => {
Some(Self::ResourceTemporarilyExhausted)
}
_ => None,
}
}
}
}
/// Container for enum describing possible errors returned from
/// the AudienceInsightsService.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AudienceInsightsErrorEnum {}
/// Nested message and enum types in `AudienceInsightsErrorEnum`.
pub mod audience_insights_error_enum {
/// Enum describing possible errors from AudienceInsightsService.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AudienceInsightsError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The dimensions cannot be used with topic audience combinations.
DimensionIncompatibleWithTopicAudienceCombinations = 2,
}
impl AudienceInsightsError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AudienceInsightsError::Unspecified => "UNSPECIFIED",
AudienceInsightsError::Unknown => "UNKNOWN",
AudienceInsightsError::DimensionIncompatibleWithTopicAudienceCombinations => {
"DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS" => {
Some(Self::DimensionIncompatibleWithTopicAudienceCombinations)
}
_ => None,
}
}
}
}
/// Container for enum describing possible change status errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ChangeStatusErrorEnum {}
/// Nested message and enum types in `ChangeStatusErrorEnum`.
pub mod change_status_error_enum {
/// Enum describing possible change status errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ChangeStatusError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The requested start date is too old.
StartDateTooOld = 3,
/// The change_status search request must specify a finite range filter
/// on last_change_date_time.
ChangeDateRangeInfinite = 4,
/// The change status search request has specified invalid date time filters
/// that can never logically produce any valid results (for example, start
/// time after end time).
ChangeDateRangeNegative = 5,
/// The change_status search request must specify a LIMIT.
LimitNotSpecified = 6,
/// The LIMIT specified by change_status request should be less than or equal
/// to 10K.
InvalidLimitClause = 7,
}
impl ChangeStatusError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ChangeStatusError::Unspecified => "UNSPECIFIED",
ChangeStatusError::Unknown => "UNKNOWN",
ChangeStatusError::StartDateTooOld => "START_DATE_TOO_OLD",
ChangeStatusError::ChangeDateRangeInfinite => {
"CHANGE_DATE_RANGE_INFINITE"
}
ChangeStatusError::ChangeDateRangeNegative => {
"CHANGE_DATE_RANGE_NEGATIVE"
}
ChangeStatusError::LimitNotSpecified => "LIMIT_NOT_SPECIFIED",
ChangeStatusError::InvalidLimitClause => "INVALID_LIMIT_CLAUSE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"START_DATE_TOO_OLD" => Some(Self::StartDateTooOld),
"CHANGE_DATE_RANGE_INFINITE" => Some(Self::ChangeDateRangeInfinite),
"CHANGE_DATE_RANGE_NEGATIVE" => Some(Self::ChangeDateRangeNegative),
"LIMIT_NOT_SPECIFIED" => Some(Self::LimitNotSpecified),
"INVALID_LIMIT_CLAUSE" => Some(Self::InvalidLimitClause),
_ => None,
}
}
}
}
/// Container for enum describing possible conversion value rule set errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ConversionValueRuleSetErrorEnum {}
/// Nested message and enum types in `ConversionValueRuleSetErrorEnum`.
pub mod conversion_value_rule_set_error_enum {
/// Enum describing possible conversion value rule set errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ConversionValueRuleSetError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Two value rules in this value rule set contain conflicting conditions.
ConflictingValueRuleConditions = 2,
/// This value rule set includes a value rule that cannot be found, has been
/// permanently removed or belongs to a different customer.
InvalidValueRule = 3,
/// An error that's thrown when a mutate operation is trying to
/// replace/remove some existing elements in the dimensions field. In other
/// words, ADD op is always fine and UPDATE op is fine if it's only appending
/// new elements into dimensions list.
DimensionsUpdateOnlyAllowAppend = 4,
/// An error that's thrown when a mutate is adding new value rule(s) into a
/// value rule set and the added value rule(s) include conditions that are
/// not specified in the dimensions of the value rule set.
ConditionTypeNotAllowed = 5,
/// The dimensions field contains duplicate elements.
DuplicateDimensions = 6,
/// This value rule set is attached to an invalid campaign id. Either a
/// campaign with this campaign id doesn't exist or it belongs to a different
/// customer.
InvalidCampaignId = 7,
/// When a mutate request tries to pause a value rule set, the enabled
/// value rules in this set must be paused in the same command, or this error
/// will be thrown.
CannotPauseUnlessAllValueRulesArePaused = 8,
/// When a mutate request tries to pause all the value rules in a value rule
/// set, the value rule set must be paused, or this error will be thrown.
ShouldPauseWhenAllValueRulesArePaused = 9,
/// This value rule set is attached to a campaign that does not support value
/// rules. Currently, campaign level value rule sets can only be created on
/// Search, or Display campaigns.
ValueRulesNotSupportedForCampaignType = 10,
/// To add a value rule set that applies on Store Visits/Store Sales
/// conversion action categories, the customer must have valid Store Visits/
/// Store Sales conversion actions.
IneligibleConversionActionCategories = 11,
/// If NO_CONDITION is used as a dimension of a value rule set, it must be
/// the only dimension.
DimensionNoConditionUsedWithOtherDimensions = 12,
/// Dimension NO_CONDITION can only be used by Store Visits/Store Sales value
/// rule set.
DimensionNoConditionNotAllowed = 13,
/// Value rule sets defined on the specified conversion action categories are
/// not supported. The list of conversion action categories must be an empty
/// list, only STORE_VISIT, or only STORE_SALE.
UnsupportedConversionActionCategories = 14,
}
impl ConversionValueRuleSetError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ConversionValueRuleSetError::Unspecified => "UNSPECIFIED",
ConversionValueRuleSetError::Unknown => "UNKNOWN",
ConversionValueRuleSetError::ConflictingValueRuleConditions => {
"CONFLICTING_VALUE_RULE_CONDITIONS"
}
ConversionValueRuleSetError::InvalidValueRule => "INVALID_VALUE_RULE",
ConversionValueRuleSetError::DimensionsUpdateOnlyAllowAppend => {
"DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND"
}
ConversionValueRuleSetError::ConditionTypeNotAllowed => {
"CONDITION_TYPE_NOT_ALLOWED"
}
ConversionValueRuleSetError::DuplicateDimensions => {
"DUPLICATE_DIMENSIONS"
}
ConversionValueRuleSetError::InvalidCampaignId => "INVALID_CAMPAIGN_ID",
ConversionValueRuleSetError::CannotPauseUnlessAllValueRulesArePaused => {
"CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED"
}
ConversionValueRuleSetError::ShouldPauseWhenAllValueRulesArePaused => {
"SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED"
}
ConversionValueRuleSetError::ValueRulesNotSupportedForCampaignType => {
"VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE"
}
ConversionValueRuleSetError::IneligibleConversionActionCategories => {
"INELIGIBLE_CONVERSION_ACTION_CATEGORIES"
}
ConversionValueRuleSetError::DimensionNoConditionUsedWithOtherDimensions => {
"DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS"
}
ConversionValueRuleSetError::DimensionNoConditionNotAllowed => {
"DIMENSION_NO_CONDITION_NOT_ALLOWED"
}
ConversionValueRuleSetError::UnsupportedConversionActionCategories => {
"UNSUPPORTED_CONVERSION_ACTION_CATEGORIES"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CONFLICTING_VALUE_RULE_CONDITIONS" => {
Some(Self::ConflictingValueRuleConditions)
}
"INVALID_VALUE_RULE" => Some(Self::InvalidValueRule),
"DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND" => {
Some(Self::DimensionsUpdateOnlyAllowAppend)
}
"CONDITION_TYPE_NOT_ALLOWED" => Some(Self::ConditionTypeNotAllowed),
"DUPLICATE_DIMENSIONS" => Some(Self::DuplicateDimensions),
"INVALID_CAMPAIGN_ID" => Some(Self::InvalidCampaignId),
"CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED" => {
Some(Self::CannotPauseUnlessAllValueRulesArePaused)
}
"SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED" => {
Some(Self::ShouldPauseWhenAllValueRulesArePaused)
}
"VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE" => {
Some(Self::ValueRulesNotSupportedForCampaignType)
}
"INELIGIBLE_CONVERSION_ACTION_CATEGORIES" => {
Some(Self::IneligibleConversionActionCategories)
}
"DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS" => {
Some(Self::DimensionNoConditionUsedWithOtherDimensions)
}
"DIMENSION_NO_CONDITION_NOT_ALLOWED" => {
Some(Self::DimensionNoConditionNotAllowed)
}
"UNSUPPORTED_CONVERSION_ACTION_CATEGORIES" => {
Some(Self::UnsupportedConversionActionCategories)
}
_ => None,
}
}
}
}
/// Container for enum describing possible geo target constant suggestion errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct GeoTargetConstantSuggestionErrorEnum {}
/// Nested message and enum types in `GeoTargetConstantSuggestionErrorEnum`.
pub mod geo_target_constant_suggestion_error_enum {
/// Enum describing possible geo target constant suggestion errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum GeoTargetConstantSuggestionError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// A location name cannot be greater than 300 characters.
LocationNameSizeLimit = 2,
/// At most 25 location names can be specified in a SuggestGeoTargetConstants
/// method.
LocationNameLimit = 3,
/// The country code is invalid.
InvalidCountryCode = 4,
/// Geo target constant resource names or location names must be provided in
/// the request.
RequestParametersUnset = 5,
}
impl GeoTargetConstantSuggestionError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
GeoTargetConstantSuggestionError::Unspecified => "UNSPECIFIED",
GeoTargetConstantSuggestionError::Unknown => "UNKNOWN",
GeoTargetConstantSuggestionError::LocationNameSizeLimit => {
"LOCATION_NAME_SIZE_LIMIT"
}
GeoTargetConstantSuggestionError::LocationNameLimit => {
"LOCATION_NAME_LIMIT"
}
GeoTargetConstantSuggestionError::InvalidCountryCode => {
"INVALID_COUNTRY_CODE"
}
GeoTargetConstantSuggestionError::RequestParametersUnset => {
"REQUEST_PARAMETERS_UNSET"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"LOCATION_NAME_SIZE_LIMIT" => Some(Self::LocationNameSizeLimit),
"LOCATION_NAME_LIMIT" => Some(Self::LocationNameLimit),
"INVALID_COUNTRY_CODE" => Some(Self::InvalidCountryCode),
"REQUEST_PARAMETERS_UNSET" => Some(Self::RequestParametersUnset),
_ => None,
}
}
}
}
/// Container for enum describing possible feed item errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FeedMappingErrorEnum {}
/// Nested message and enum types in `FeedMappingErrorEnum`.
pub mod feed_mapping_error_enum {
/// Enum describing possible feed item errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum FeedMappingError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The given placeholder field does not exist.
InvalidPlaceholderField = 2,
/// The given criterion field does not exist.
InvalidCriterionField = 3,
/// The given placeholder type does not exist.
InvalidPlaceholderType = 4,
/// The given criterion type does not exist.
InvalidCriterionType = 5,
/// A feed mapping must contain at least one attribute field mapping.
NoAttributeFieldMappings = 7,
/// The type of the feed attribute referenced in the attribute field mapping
/// must match the type of the placeholder field.
FeedAttributeTypeMismatch = 8,
/// A feed mapping for a system generated feed cannot be operated on.
CannotOperateOnMappingsForSystemGeneratedFeed = 9,
/// Only one feed mapping for a placeholder type is allowed per feed or
/// customer (depending on the placeholder type).
MultipleMappingsForPlaceholderType = 10,
/// Only one feed mapping for a criterion type is allowed per customer.
MultipleMappingsForCriterionType = 11,
/// Only one feed attribute mapping for a placeholder field is allowed
/// (depending on the placeholder type).
MultipleMappingsForPlaceholderField = 12,
/// Only one feed attribute mapping for a criterion field is allowed
/// (depending on the criterion type).
MultipleMappingsForCriterionField = 13,
/// This feed mapping may not contain any explicit attribute field mappings.
UnexpectedAttributeFieldMappings = 14,
/// Location placeholder feed mappings can only be created for Places feeds.
LocationPlaceholderOnlyForPlacesFeeds = 15,
/// Mappings for typed feeds cannot be modified.
CannotModifyMappingsForTypedFeed = 16,
/// The given placeholder type can only be mapped to system generated feeds.
InvalidPlaceholderTypeForNonSystemGeneratedFeed = 17,
/// The given placeholder type cannot be mapped to a system generated feed
/// with the given type.
InvalidPlaceholderTypeForSystemGeneratedFeedType = 18,
/// The "field" oneof was not set in an AttributeFieldMapping.
AttributeFieldMappingMissingField = 19,
/// Feed is read only.
LegacyFeedTypeReadOnly = 20,
}
impl FeedMappingError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
FeedMappingError::Unspecified => "UNSPECIFIED",
FeedMappingError::Unknown => "UNKNOWN",
FeedMappingError::InvalidPlaceholderField => "INVALID_PLACEHOLDER_FIELD",
FeedMappingError::InvalidCriterionField => "INVALID_CRITERION_FIELD",
FeedMappingError::InvalidPlaceholderType => "INVALID_PLACEHOLDER_TYPE",
FeedMappingError::InvalidCriterionType => "INVALID_CRITERION_TYPE",
FeedMappingError::NoAttributeFieldMappings => {
"NO_ATTRIBUTE_FIELD_MAPPINGS"
}
FeedMappingError::FeedAttributeTypeMismatch => {
"FEED_ATTRIBUTE_TYPE_MISMATCH"
}
FeedMappingError::CannotOperateOnMappingsForSystemGeneratedFeed => {
"CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED"
}
FeedMappingError::MultipleMappingsForPlaceholderType => {
"MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE"
}
FeedMappingError::MultipleMappingsForCriterionType => {
"MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE"
}
FeedMappingError::MultipleMappingsForPlaceholderField => {
"MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD"
}
FeedMappingError::MultipleMappingsForCriterionField => {
"MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD"
}
FeedMappingError::UnexpectedAttributeFieldMappings => {
"UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS"
}
FeedMappingError::LocationPlaceholderOnlyForPlacesFeeds => {
"LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS"
}
FeedMappingError::CannotModifyMappingsForTypedFeed => {
"CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED"
}
FeedMappingError::InvalidPlaceholderTypeForNonSystemGeneratedFeed => {
"INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED"
}
FeedMappingError::InvalidPlaceholderTypeForSystemGeneratedFeedType => {
"INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE"
}
FeedMappingError::AttributeFieldMappingMissingField => {
"ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD"
}
FeedMappingError::LegacyFeedTypeReadOnly => "LEGACY_FEED_TYPE_READ_ONLY",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_PLACEHOLDER_FIELD" => Some(Self::InvalidPlaceholderField),
"INVALID_CRITERION_FIELD" => Some(Self::InvalidCriterionField),
"INVALID_PLACEHOLDER_TYPE" => Some(Self::InvalidPlaceholderType),
"INVALID_CRITERION_TYPE" => Some(Self::InvalidCriterionType),
"NO_ATTRIBUTE_FIELD_MAPPINGS" => Some(Self::NoAttributeFieldMappings),
"FEED_ATTRIBUTE_TYPE_MISMATCH" => Some(Self::FeedAttributeTypeMismatch),
"CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED" => {
Some(Self::CannotOperateOnMappingsForSystemGeneratedFeed)
}
"MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE" => {
Some(Self::MultipleMappingsForPlaceholderType)
}
"MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE" => {
Some(Self::MultipleMappingsForCriterionType)
}
"MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD" => {
Some(Self::MultipleMappingsForPlaceholderField)
}
"MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD" => {
Some(Self::MultipleMappingsForCriterionField)
}
"UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS" => {
Some(Self::UnexpectedAttributeFieldMappings)
}
"LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS" => {
Some(Self::LocationPlaceholderOnlyForPlacesFeeds)
}
"CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED" => {
Some(Self::CannotModifyMappingsForTypedFeed)
}
"INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED" => {
Some(Self::InvalidPlaceholderTypeForNonSystemGeneratedFeed)
}
"INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE" => {
Some(Self::InvalidPlaceholderTypeForSystemGeneratedFeedType)
}
"ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD" => {
Some(Self::AttributeFieldMappingMissingField)
}
"LEGACY_FEED_TYPE_READ_ONLY" => Some(Self::LegacyFeedTypeReadOnly),
_ => None,
}
}
}
}
/// Container for enum describing possible campaign experiment errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CampaignExperimentErrorEnum {}
/// Nested message and enum types in `CampaignExperimentErrorEnum`.
pub mod campaign_experiment_error_enum {
/// Enum describing possible campaign experiment errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CampaignExperimentError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// An active campaign or experiment with this name already exists.
DuplicateName = 2,
/// Experiment cannot be updated from the current state to the
/// requested target state. For example, an experiment can only graduate
/// if its status is ENABLED.
InvalidTransition = 3,
/// Cannot create an experiment from a campaign using an explicitly shared
/// budget.
CannotCreateExperimentWithSharedBudget = 4,
/// Cannot create an experiment for a removed base campaign.
CannotCreateExperimentForRemovedBaseCampaign = 5,
/// Cannot create an experiment from a draft, which has a status other than
/// proposed.
CannotCreateExperimentForNonProposedDraft = 6,
/// This customer is not allowed to create an experiment.
CustomerCannotCreateExperiment = 7,
/// This campaign is not allowed to create an experiment.
CampaignCannotCreateExperiment = 8,
/// Trying to set an experiment duration which overlaps with another
/// experiment.
ExperimentDurationsMustNotOverlap = 9,
/// All non-removed experiments must start and end within their campaign's
/// duration.
ExperimentDurationMustBeWithinCampaignDuration = 10,
/// The experiment cannot be modified because its status is in a terminal
/// state, such as REMOVED.
CannotMutateExperimentDueToStatus = 11,
}
impl CampaignExperimentError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CampaignExperimentError::Unspecified => "UNSPECIFIED",
CampaignExperimentError::Unknown => "UNKNOWN",
CampaignExperimentError::DuplicateName => "DUPLICATE_NAME",
CampaignExperimentError::InvalidTransition => "INVALID_TRANSITION",
CampaignExperimentError::CannotCreateExperimentWithSharedBudget => {
"CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET"
}
CampaignExperimentError::CannotCreateExperimentForRemovedBaseCampaign => {
"CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN"
}
CampaignExperimentError::CannotCreateExperimentForNonProposedDraft => {
"CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT"
}
CampaignExperimentError::CustomerCannotCreateExperiment => {
"CUSTOMER_CANNOT_CREATE_EXPERIMENT"
}
CampaignExperimentError::CampaignCannotCreateExperiment => {
"CAMPAIGN_CANNOT_CREATE_EXPERIMENT"
}
CampaignExperimentError::ExperimentDurationsMustNotOverlap => {
"EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP"
}
CampaignExperimentError::ExperimentDurationMustBeWithinCampaignDuration => {
"EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION"
}
CampaignExperimentError::CannotMutateExperimentDueToStatus => {
"CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"DUPLICATE_NAME" => Some(Self::DuplicateName),
"INVALID_TRANSITION" => Some(Self::InvalidTransition),
"CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET" => {
Some(Self::CannotCreateExperimentWithSharedBudget)
}
"CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN" => {
Some(Self::CannotCreateExperimentForRemovedBaseCampaign)
}
"CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT" => {
Some(Self::CannotCreateExperimentForNonProposedDraft)
}
"CUSTOMER_CANNOT_CREATE_EXPERIMENT" => {
Some(Self::CustomerCannotCreateExperiment)
}
"CAMPAIGN_CANNOT_CREATE_EXPERIMENT" => {
Some(Self::CampaignCannotCreateExperiment)
}
"EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP" => {
Some(Self::ExperimentDurationsMustNotOverlap)
}
"EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION" => {
Some(Self::ExperimentDurationMustBeWithinCampaignDuration)
}
"CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS" => {
Some(Self::CannotMutateExperimentDueToStatus)
}
_ => None,
}
}
}
}
/// Container for enum describing possible errors from applying a keyword plan
/// campaign keyword.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct KeywordPlanCampaignKeywordErrorEnum {}
/// Nested message and enum types in `KeywordPlanCampaignKeywordErrorEnum`.
pub mod keyword_plan_campaign_keyword_error_enum {
/// Enum describing possible errors from applying a keyword plan campaign
/// keyword.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum KeywordPlanCampaignKeywordError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Keyword plan campaign keyword is positive.
CampaignKeywordIsPositive = 8,
}
impl KeywordPlanCampaignKeywordError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
KeywordPlanCampaignKeywordError::Unspecified => "UNSPECIFIED",
KeywordPlanCampaignKeywordError::Unknown => "UNKNOWN",
KeywordPlanCampaignKeywordError::CampaignKeywordIsPositive => {
"CAMPAIGN_KEYWORD_IS_POSITIVE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CAMPAIGN_KEYWORD_IS_POSITIVE" => Some(Self::CampaignKeywordIsPositive),
_ => None,
}
}
}
}
/// Container for enum describing possible field mask errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FieldMaskErrorEnum {}
/// Nested message and enum types in `FieldMaskErrorEnum`.
pub mod field_mask_error_enum {
/// Enum describing possible field mask errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum FieldMaskError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The field mask must be provided for update operations.
FieldMaskMissing = 5,
/// The field mask must be empty for create and remove operations.
FieldMaskNotAllowed = 4,
/// The field mask contained an invalid field.
FieldNotFound = 2,
/// The field mask updated a field with subfields. Fields with subfields may
/// be cleared, but not updated. To fix this, the field mask should select
/// all the subfields of the invalid field.
FieldHasSubfields = 3,
}
impl FieldMaskError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
FieldMaskError::Unspecified => "UNSPECIFIED",
FieldMaskError::Unknown => "UNKNOWN",
FieldMaskError::FieldMaskMissing => "FIELD_MASK_MISSING",
FieldMaskError::FieldMaskNotAllowed => "FIELD_MASK_NOT_ALLOWED",
FieldMaskError::FieldNotFound => "FIELD_NOT_FOUND",
FieldMaskError::FieldHasSubfields => "FIELD_HAS_SUBFIELDS",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"FIELD_MASK_MISSING" => Some(Self::FieldMaskMissing),
"FIELD_MASK_NOT_ALLOWED" => Some(Self::FieldMaskNotAllowed),
"FIELD_NOT_FOUND" => Some(Self::FieldNotFound),
"FIELD_HAS_SUBFIELDS" => Some(Self::FieldHasSubfields),
_ => None,
}
}
}
}
/// Container for enum describing possible extension feed item error.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ExtensionFeedItemErrorEnum {}
/// Nested message and enum types in `ExtensionFeedItemErrorEnum`.
pub mod extension_feed_item_error_enum {
/// Enum describing possible extension feed item errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ExtensionFeedItemError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Value is not within the accepted range.
ValueOutOfRange = 2,
/// Url list is too long.
UrlListTooLong = 3,
/// Cannot have a geo targeting restriction without having geo targeting.
CannotHaveRestrictionOnEmptyGeoTargeting = 4,
/// Cannot simultaneously set sitelink field with final urls.
CannotSetWithFinalUrls = 5,
/// Must set field with final urls.
CannotSetWithoutFinalUrls = 6,
/// Phone number for a call extension is invalid.
InvalidPhoneNumber = 7,
/// Phone number for a call extension is not supported for the given country
/// code.
PhoneNumberNotSupportedForCountry = 8,
/// A carrier specific number in short format is not allowed for call
/// extensions.
CarrierSpecificShortNumberNotAllowed = 9,
/// Premium rate numbers are not allowed for call extensions.
PremiumRateNumberNotAllowed = 10,
/// Phone number type for a call extension is not allowed.
/// For example, personal number is not allowed for a call extension in
/// most regions.
DisallowedNumberType = 11,
/// Phone number for a call extension does not meet domestic format
/// requirements.
InvalidDomesticPhoneNumberFormat = 12,
/// Vanity phone numbers (for example, those including letters) are not
/// allowed for call extensions.
VanityPhoneNumberNotAllowed = 13,
/// Call conversion action provided for a call extension is invalid.
InvalidCallConversionAction = 14,
/// For a call extension, the customer is not on the allow-list for call
/// tracking.
CustomerNotOnAllowlistForCalltracking = 47,
/// Call tracking is not supported for the given country for a call
/// extension.
CalltrackingNotSupportedForCountry = 16,
/// Customer hasn't consented for call recording, which is required for
/// creating/updating call feed items. See
/// <https://support.google.com/google-ads/answer/7412639.>
CustomerConsentForCallRecordingRequired = 17,
/// App id provided for an app extension is invalid.
InvalidAppId = 18,
/// Quotation marks present in the review text for a review extension.
QuotesInReviewExtensionSnippet = 19,
/// Hyphen character present in the review text for a review extension.
HyphensInReviewExtensionSnippet = 20,
/// A denylisted review source name or url was provided for a review
/// extension.
ReviewExtensionSourceIneligible = 21,
/// Review source name should not be found in the review text.
SourceNameInReviewExtensionText = 22,
/// Inconsistent currency codes.
InconsistentCurrencyCodes = 23,
/// Price extension cannot have duplicated headers.
PriceExtensionHasDuplicatedHeaders = 24,
/// Price item cannot have duplicated header and description.
PriceItemHasDuplicatedHeaderAndDescription = 25,
/// Price extension has too few items.
PriceExtensionHasTooFewItems = 26,
/// Price extension has too many items.
PriceExtensionHasTooManyItems = 27,
/// The input value is not currently supported.
UnsupportedValue = 28,
/// The input value is not currently supported in the selected language of an
/// extension.
UnsupportedValueInSelectedLanguage = 29,
/// Unknown or unsupported device preference.
InvalidDevicePreference = 30,
/// Invalid feed item schedule end time (for example, endHour = 24 and
/// endMinute != 0).
InvalidScheduleEnd = 31,
/// Date time zone does not match the account's time zone.
DateTimeMustBeInAccountTimeZone = 32,
/// Invalid structured snippet header.
InvalidSnippetsHeader = 33,
/// Cannot operate on removed feed item.
CannotOperateOnRemovedFeedItem = 34,
/// Phone number not supported when call tracking enabled for country.
PhoneNumberNotSupportedWithCalltrackingForCountry = 35,
/// Cannot set call_conversion_action while call_conversion_tracking_enabled
/// is set to true.
ConflictingCallConversionSettings = 36,
/// The type of the input extension feed item doesn't match the existing
/// extension feed item.
ExtensionTypeMismatch = 37,
/// The oneof field extension for example, subtype of extension feed item is
/// required.
ExtensionSubtypeRequired = 38,
/// The referenced feed item is not mapped to a supported extension type.
ExtensionTypeUnsupported = 39,
/// Cannot operate on a Feed with more than one active FeedMapping.
CannotOperateOnFeedWithMultipleMappings = 40,
/// Cannot operate on a Feed that has key attributes.
CannotOperateOnFeedWithKeyAttributes = 41,
/// Input price is not in a valid format.
InvalidPriceFormat = 42,
/// The promotion time is invalid.
PromotionInvalidTime = 43,
/// This field has too many decimal places specified.
TooManyDecimalPlacesSpecified = 44,
/// Concrete sub type of ExtensionFeedItem is required for this operation.
ConcreteExtensionTypeRequired = 45,
/// Feed item schedule end time must be after start time.
ScheduleEndNotAfterStart = 46,
}
impl ExtensionFeedItemError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ExtensionFeedItemError::Unspecified => "UNSPECIFIED",
ExtensionFeedItemError::Unknown => "UNKNOWN",
ExtensionFeedItemError::ValueOutOfRange => "VALUE_OUT_OF_RANGE",
ExtensionFeedItemError::UrlListTooLong => "URL_LIST_TOO_LONG",
ExtensionFeedItemError::CannotHaveRestrictionOnEmptyGeoTargeting => {
"CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING"
}
ExtensionFeedItemError::CannotSetWithFinalUrls => {
"CANNOT_SET_WITH_FINAL_URLS"
}
ExtensionFeedItemError::CannotSetWithoutFinalUrls => {
"CANNOT_SET_WITHOUT_FINAL_URLS"
}
ExtensionFeedItemError::InvalidPhoneNumber => "INVALID_PHONE_NUMBER",
ExtensionFeedItemError::PhoneNumberNotSupportedForCountry => {
"PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY"
}
ExtensionFeedItemError::CarrierSpecificShortNumberNotAllowed => {
"CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED"
}
ExtensionFeedItemError::PremiumRateNumberNotAllowed => {
"PREMIUM_RATE_NUMBER_NOT_ALLOWED"
}
ExtensionFeedItemError::DisallowedNumberType => "DISALLOWED_NUMBER_TYPE",
ExtensionFeedItemError::InvalidDomesticPhoneNumberFormat => {
"INVALID_DOMESTIC_PHONE_NUMBER_FORMAT"
}
ExtensionFeedItemError::VanityPhoneNumberNotAllowed => {
"VANITY_PHONE_NUMBER_NOT_ALLOWED"
}
ExtensionFeedItemError::InvalidCallConversionAction => {
"INVALID_CALL_CONVERSION_ACTION"
}
ExtensionFeedItemError::CustomerNotOnAllowlistForCalltracking => {
"CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING"
}
ExtensionFeedItemError::CalltrackingNotSupportedForCountry => {
"CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY"
}
ExtensionFeedItemError::CustomerConsentForCallRecordingRequired => {
"CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED"
}
ExtensionFeedItemError::InvalidAppId => "INVALID_APP_ID",
ExtensionFeedItemError::QuotesInReviewExtensionSnippet => {
"QUOTES_IN_REVIEW_EXTENSION_SNIPPET"
}
ExtensionFeedItemError::HyphensInReviewExtensionSnippet => {
"HYPHENS_IN_REVIEW_EXTENSION_SNIPPET"
}
ExtensionFeedItemError::ReviewExtensionSourceIneligible => {
"REVIEW_EXTENSION_SOURCE_INELIGIBLE"
}
ExtensionFeedItemError::SourceNameInReviewExtensionText => {
"SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT"
}
ExtensionFeedItemError::InconsistentCurrencyCodes => {
"INCONSISTENT_CURRENCY_CODES"
}
ExtensionFeedItemError::PriceExtensionHasDuplicatedHeaders => {
"PRICE_EXTENSION_HAS_DUPLICATED_HEADERS"
}
ExtensionFeedItemError::PriceItemHasDuplicatedHeaderAndDescription => {
"PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION"
}
ExtensionFeedItemError::PriceExtensionHasTooFewItems => {
"PRICE_EXTENSION_HAS_TOO_FEW_ITEMS"
}
ExtensionFeedItemError::PriceExtensionHasTooManyItems => {
"PRICE_EXTENSION_HAS_TOO_MANY_ITEMS"
}
ExtensionFeedItemError::UnsupportedValue => "UNSUPPORTED_VALUE",
ExtensionFeedItemError::UnsupportedValueInSelectedLanguage => {
"UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE"
}
ExtensionFeedItemError::InvalidDevicePreference => {
"INVALID_DEVICE_PREFERENCE"
}
ExtensionFeedItemError::InvalidScheduleEnd => "INVALID_SCHEDULE_END",
ExtensionFeedItemError::DateTimeMustBeInAccountTimeZone => {
"DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE"
}
ExtensionFeedItemError::InvalidSnippetsHeader => {
"INVALID_SNIPPETS_HEADER"
}
ExtensionFeedItemError::CannotOperateOnRemovedFeedItem => {
"CANNOT_OPERATE_ON_REMOVED_FEED_ITEM"
}
ExtensionFeedItemError::PhoneNumberNotSupportedWithCalltrackingForCountry => {
"PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY"
}
ExtensionFeedItemError::ConflictingCallConversionSettings => {
"CONFLICTING_CALL_CONVERSION_SETTINGS"
}
ExtensionFeedItemError::ExtensionTypeMismatch => {
"EXTENSION_TYPE_MISMATCH"
}
ExtensionFeedItemError::ExtensionSubtypeRequired => {
"EXTENSION_SUBTYPE_REQUIRED"
}
ExtensionFeedItemError::ExtensionTypeUnsupported => {
"EXTENSION_TYPE_UNSUPPORTED"
}
ExtensionFeedItemError::CannotOperateOnFeedWithMultipleMappings => {
"CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS"
}
ExtensionFeedItemError::CannotOperateOnFeedWithKeyAttributes => {
"CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES"
}
ExtensionFeedItemError::InvalidPriceFormat => "INVALID_PRICE_FORMAT",
ExtensionFeedItemError::PromotionInvalidTime => "PROMOTION_INVALID_TIME",
ExtensionFeedItemError::TooManyDecimalPlacesSpecified => {
"TOO_MANY_DECIMAL_PLACES_SPECIFIED"
}
ExtensionFeedItemError::ConcreteExtensionTypeRequired => {
"CONCRETE_EXTENSION_TYPE_REQUIRED"
}
ExtensionFeedItemError::ScheduleEndNotAfterStart => {
"SCHEDULE_END_NOT_AFTER_START"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"VALUE_OUT_OF_RANGE" => Some(Self::ValueOutOfRange),
"URL_LIST_TOO_LONG" => Some(Self::UrlListTooLong),
"CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING" => {
Some(Self::CannotHaveRestrictionOnEmptyGeoTargeting)
}
"CANNOT_SET_WITH_FINAL_URLS" => Some(Self::CannotSetWithFinalUrls),
"CANNOT_SET_WITHOUT_FINAL_URLS" => Some(Self::CannotSetWithoutFinalUrls),
"INVALID_PHONE_NUMBER" => Some(Self::InvalidPhoneNumber),
"PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY" => {
Some(Self::PhoneNumberNotSupportedForCountry)
}
"CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED" => {
Some(Self::CarrierSpecificShortNumberNotAllowed)
}
"PREMIUM_RATE_NUMBER_NOT_ALLOWED" => {
Some(Self::PremiumRateNumberNotAllowed)
}
"DISALLOWED_NUMBER_TYPE" => Some(Self::DisallowedNumberType),
"INVALID_DOMESTIC_PHONE_NUMBER_FORMAT" => {
Some(Self::InvalidDomesticPhoneNumberFormat)
}
"VANITY_PHONE_NUMBER_NOT_ALLOWED" => {
Some(Self::VanityPhoneNumberNotAllowed)
}
"INVALID_CALL_CONVERSION_ACTION" => {
Some(Self::InvalidCallConversionAction)
}
"CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING" => {
Some(Self::CustomerNotOnAllowlistForCalltracking)
}
"CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY" => {
Some(Self::CalltrackingNotSupportedForCountry)
}
"CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED" => {
Some(Self::CustomerConsentForCallRecordingRequired)
}
"INVALID_APP_ID" => Some(Self::InvalidAppId),
"QUOTES_IN_REVIEW_EXTENSION_SNIPPET" => {
Some(Self::QuotesInReviewExtensionSnippet)
}
"HYPHENS_IN_REVIEW_EXTENSION_SNIPPET" => {
Some(Self::HyphensInReviewExtensionSnippet)
}
"REVIEW_EXTENSION_SOURCE_INELIGIBLE" => {
Some(Self::ReviewExtensionSourceIneligible)
}
"SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT" => {
Some(Self::SourceNameInReviewExtensionText)
}
"INCONSISTENT_CURRENCY_CODES" => Some(Self::InconsistentCurrencyCodes),
"PRICE_EXTENSION_HAS_DUPLICATED_HEADERS" => {
Some(Self::PriceExtensionHasDuplicatedHeaders)
}
"PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION" => {
Some(Self::PriceItemHasDuplicatedHeaderAndDescription)
}
"PRICE_EXTENSION_HAS_TOO_FEW_ITEMS" => {
Some(Self::PriceExtensionHasTooFewItems)
}
"PRICE_EXTENSION_HAS_TOO_MANY_ITEMS" => {
Some(Self::PriceExtensionHasTooManyItems)
}
"UNSUPPORTED_VALUE" => Some(Self::UnsupportedValue),
"UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE" => {
Some(Self::UnsupportedValueInSelectedLanguage)
}
"INVALID_DEVICE_PREFERENCE" => Some(Self::InvalidDevicePreference),
"INVALID_SCHEDULE_END" => Some(Self::InvalidScheduleEnd),
"DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE" => {
Some(Self::DateTimeMustBeInAccountTimeZone)
}
"INVALID_SNIPPETS_HEADER" => Some(Self::InvalidSnippetsHeader),
"CANNOT_OPERATE_ON_REMOVED_FEED_ITEM" => {
Some(Self::CannotOperateOnRemovedFeedItem)
}
"PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY" => {
Some(Self::PhoneNumberNotSupportedWithCalltrackingForCountry)
}
"CONFLICTING_CALL_CONVERSION_SETTINGS" => {
Some(Self::ConflictingCallConversionSettings)
}
"EXTENSION_TYPE_MISMATCH" => Some(Self::ExtensionTypeMismatch),
"EXTENSION_SUBTYPE_REQUIRED" => Some(Self::ExtensionSubtypeRequired),
"EXTENSION_TYPE_UNSUPPORTED" => Some(Self::ExtensionTypeUnsupported),
"CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS" => {
Some(Self::CannotOperateOnFeedWithMultipleMappings)
}
"CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES" => {
Some(Self::CannotOperateOnFeedWithKeyAttributes)
}
"INVALID_PRICE_FORMAT" => Some(Self::InvalidPriceFormat),
"PROMOTION_INVALID_TIME" => Some(Self::PromotionInvalidTime),
"TOO_MANY_DECIMAL_PLACES_SPECIFIED" => {
Some(Self::TooManyDecimalPlacesSpecified)
}
"CONCRETE_EXTENSION_TYPE_REQUIRED" => {
Some(Self::ConcreteExtensionTypeRequired)
}
"SCHEDULE_END_NOT_AFTER_START" => Some(Self::ScheduleEndNotAfterStart),
_ => None,
}
}
}
}
/// Container for enum describing possible media file errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MediaFileErrorEnum {}
/// Nested message and enum types in `MediaFileErrorEnum`.
pub mod media_file_error_enum {
/// Enum describing possible media file errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum MediaFileError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Cannot create a standard icon type.
CannotCreateStandardIcon = 2,
/// May only select Standard Icons alone.
CannotSelectStandardIconWithOtherTypes = 3,
/// Image contains both a media file ID and data.
CannotSpecifyMediaFileIdAndData = 4,
/// A media file with given type and reference ID already exists.
DuplicateMedia = 5,
/// A required field was not specified or is an empty string.
EmptyField = 6,
/// A media file may only be modified once per call.
ResourceReferencedInMultipleOps = 7,
/// Field is not supported for the media sub type.
FieldNotSupportedForMediaSubType = 8,
/// The media file ID is invalid.
InvalidMediaFileId = 9,
/// The media subtype is invalid.
InvalidMediaSubType = 10,
/// The media file type is invalid.
InvalidMediaFileType = 11,
/// The mimetype is invalid.
InvalidMimeType = 12,
/// The media reference ID is invalid.
InvalidReferenceId = 13,
/// The YouTube video ID is invalid.
InvalidYouTubeId = 14,
/// Media file has failed transcoding
MediaFileFailedTranscoding = 15,
/// Media file has not been transcoded.
MediaNotTranscoded = 16,
/// The media type does not match the actual media file's type.
MediaTypeDoesNotMatchMediaFileType = 17,
/// None of the fields have been specified.
NoFieldsSpecified = 18,
/// One of reference ID or media file ID must be specified.
NullReferenceIdAndMediaId = 19,
/// The string has too many characters.
TooLong = 20,
/// The specified type is not supported.
UnsupportedType = 21,
/// YouTube is unavailable for requesting video data.
YouTubeServiceUnavailable = 22,
/// The YouTube video has a non positive duration.
YouTubeVideoHasNonPositiveDuration = 23,
/// The YouTube video ID is syntactically valid but the video was not found.
YouTubeVideoNotFound = 24,
}
impl MediaFileError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
MediaFileError::Unspecified => "UNSPECIFIED",
MediaFileError::Unknown => "UNKNOWN",
MediaFileError::CannotCreateStandardIcon => "CANNOT_CREATE_STANDARD_ICON",
MediaFileError::CannotSelectStandardIconWithOtherTypes => {
"CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES"
}
MediaFileError::CannotSpecifyMediaFileIdAndData => {
"CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA"
}
MediaFileError::DuplicateMedia => "DUPLICATE_MEDIA",
MediaFileError::EmptyField => "EMPTY_FIELD",
MediaFileError::ResourceReferencedInMultipleOps => {
"RESOURCE_REFERENCED_IN_MULTIPLE_OPS"
}
MediaFileError::FieldNotSupportedForMediaSubType => {
"FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE"
}
MediaFileError::InvalidMediaFileId => "INVALID_MEDIA_FILE_ID",
MediaFileError::InvalidMediaSubType => "INVALID_MEDIA_SUB_TYPE",
MediaFileError::InvalidMediaFileType => "INVALID_MEDIA_FILE_TYPE",
MediaFileError::InvalidMimeType => "INVALID_MIME_TYPE",
MediaFileError::InvalidReferenceId => "INVALID_REFERENCE_ID",
MediaFileError::InvalidYouTubeId => "INVALID_YOU_TUBE_ID",
MediaFileError::MediaFileFailedTranscoding => {
"MEDIA_FILE_FAILED_TRANSCODING"
}
MediaFileError::MediaNotTranscoded => "MEDIA_NOT_TRANSCODED",
MediaFileError::MediaTypeDoesNotMatchMediaFileType => {
"MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE"
}
MediaFileError::NoFieldsSpecified => "NO_FIELDS_SPECIFIED",
MediaFileError::NullReferenceIdAndMediaId => {
"NULL_REFERENCE_ID_AND_MEDIA_ID"
}
MediaFileError::TooLong => "TOO_LONG",
MediaFileError::UnsupportedType => "UNSUPPORTED_TYPE",
MediaFileError::YouTubeServiceUnavailable => {
"YOU_TUBE_SERVICE_UNAVAILABLE"
}
MediaFileError::YouTubeVideoHasNonPositiveDuration => {
"YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION"
}
MediaFileError::YouTubeVideoNotFound => "YOU_TUBE_VIDEO_NOT_FOUND",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CANNOT_CREATE_STANDARD_ICON" => Some(Self::CannotCreateStandardIcon),
"CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES" => {
Some(Self::CannotSelectStandardIconWithOtherTypes)
}
"CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA" => {
Some(Self::CannotSpecifyMediaFileIdAndData)
}
"DUPLICATE_MEDIA" => Some(Self::DuplicateMedia),
"EMPTY_FIELD" => Some(Self::EmptyField),
"RESOURCE_REFERENCED_IN_MULTIPLE_OPS" => {
Some(Self::ResourceReferencedInMultipleOps)
}
"FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE" => {
Some(Self::FieldNotSupportedForMediaSubType)
}
"INVALID_MEDIA_FILE_ID" => Some(Self::InvalidMediaFileId),
"INVALID_MEDIA_SUB_TYPE" => Some(Self::InvalidMediaSubType),
"INVALID_MEDIA_FILE_TYPE" => Some(Self::InvalidMediaFileType),
"INVALID_MIME_TYPE" => Some(Self::InvalidMimeType),
"INVALID_REFERENCE_ID" => Some(Self::InvalidReferenceId),
"INVALID_YOU_TUBE_ID" => Some(Self::InvalidYouTubeId),
"MEDIA_FILE_FAILED_TRANSCODING" => Some(Self::MediaFileFailedTranscoding),
"MEDIA_NOT_TRANSCODED" => Some(Self::MediaNotTranscoded),
"MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE" => {
Some(Self::MediaTypeDoesNotMatchMediaFileType)
}
"NO_FIELDS_SPECIFIED" => Some(Self::NoFieldsSpecified),
"NULL_REFERENCE_ID_AND_MEDIA_ID" => Some(Self::NullReferenceIdAndMediaId),
"TOO_LONG" => Some(Self::TooLong),
"UNSUPPORTED_TYPE" => Some(Self::UnsupportedType),
"YOU_TUBE_SERVICE_UNAVAILABLE" => Some(Self::YouTubeServiceUnavailable),
"YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION" => {
Some(Self::YouTubeVideoHasNonPositiveDuration)
}
"YOU_TUBE_VIDEO_NOT_FOUND" => Some(Self::YouTubeVideoNotFound),
_ => None,
}
}
}
}
/// Container for enum describing possible errors from applying a keyword plan
/// resource (keyword plan, keyword plan campaign, keyword plan ad group or
/// keyword plan keyword) or KeywordPlanService RPC.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct KeywordPlanErrorEnum {}
/// Nested message and enum types in `KeywordPlanErrorEnum`.
pub mod keyword_plan_error_enum {
/// Enum describing possible errors from applying a keyword plan.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum KeywordPlanError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The plan's bid multiplier value is outside the valid range.
BidMultiplierOutOfRange = 2,
/// The plan's bid value is too high.
BidTooHigh = 3,
/// The plan's bid value is too low.
BidTooLow = 4,
/// The plan's cpc bid is not a multiple of the minimum billable unit.
BidTooManyFractionalDigits = 5,
/// The plan's daily budget value is too low.
DailyBudgetTooLow = 6,
/// The plan's daily budget is not a multiple of the minimum billable unit.
DailyBudgetTooManyFractionalDigits = 7,
/// The input has an invalid value.
InvalidValue = 8,
/// The plan has no keyword.
KeywordPlanHasNoKeywords = 9,
/// The plan is not enabled and API cannot provide mutation, forecast or
/// stats.
KeywordPlanNotEnabled = 10,
/// The requested plan cannot be found for providing forecast or stats.
KeywordPlanNotFound = 11,
/// The plan is missing a cpc bid.
MissingBid = 13,
/// The plan is missing required forecast_period field.
MissingForecastPeriod = 14,
/// The plan's forecast_period has invalid forecast date range.
InvalidForecastDateRange = 15,
/// The plan's name is invalid.
InvalidName = 16,
}
impl KeywordPlanError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
KeywordPlanError::Unspecified => "UNSPECIFIED",
KeywordPlanError::Unknown => "UNKNOWN",
KeywordPlanError::BidMultiplierOutOfRange => {
"BID_MULTIPLIER_OUT_OF_RANGE"
}
KeywordPlanError::BidTooHigh => "BID_TOO_HIGH",
KeywordPlanError::BidTooLow => "BID_TOO_LOW",
KeywordPlanError::BidTooManyFractionalDigits => {
"BID_TOO_MANY_FRACTIONAL_DIGITS"
}
KeywordPlanError::DailyBudgetTooLow => "DAILY_BUDGET_TOO_LOW",
KeywordPlanError::DailyBudgetTooManyFractionalDigits => {
"DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS"
}
KeywordPlanError::InvalidValue => "INVALID_VALUE",
KeywordPlanError::KeywordPlanHasNoKeywords => {
"KEYWORD_PLAN_HAS_NO_KEYWORDS"
}
KeywordPlanError::KeywordPlanNotEnabled => "KEYWORD_PLAN_NOT_ENABLED",
KeywordPlanError::KeywordPlanNotFound => "KEYWORD_PLAN_NOT_FOUND",
KeywordPlanError::MissingBid => "MISSING_BID",
KeywordPlanError::MissingForecastPeriod => "MISSING_FORECAST_PERIOD",
KeywordPlanError::InvalidForecastDateRange => {
"INVALID_FORECAST_DATE_RANGE"
}
KeywordPlanError::InvalidName => "INVALID_NAME",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"BID_MULTIPLIER_OUT_OF_RANGE" => Some(Self::BidMultiplierOutOfRange),
"BID_TOO_HIGH" => Some(Self::BidTooHigh),
"BID_TOO_LOW" => Some(Self::BidTooLow),
"BID_TOO_MANY_FRACTIONAL_DIGITS" => {
Some(Self::BidTooManyFractionalDigits)
}
"DAILY_BUDGET_TOO_LOW" => Some(Self::DailyBudgetTooLow),
"DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS" => {
Some(Self::DailyBudgetTooManyFractionalDigits)
}
"INVALID_VALUE" => Some(Self::InvalidValue),
"KEYWORD_PLAN_HAS_NO_KEYWORDS" => Some(Self::KeywordPlanHasNoKeywords),
"KEYWORD_PLAN_NOT_ENABLED" => Some(Self::KeywordPlanNotEnabled),
"KEYWORD_PLAN_NOT_FOUND" => Some(Self::KeywordPlanNotFound),
"MISSING_BID" => Some(Self::MissingBid),
"MISSING_FORECAST_PERIOD" => Some(Self::MissingForecastPeriod),
"INVALID_FORECAST_DATE_RANGE" => Some(Self::InvalidForecastDateRange),
"INVALID_NAME" => Some(Self::InvalidName),
_ => None,
}
}
}
}
/// Container for enum describing possible conversion upload errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ConversionUploadErrorEnum {}
/// Nested message and enum types in `ConversionUploadErrorEnum`.
pub mod conversion_upload_error_enum {
/// Enum describing possible conversion upload errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ConversionUploadError {
/// Enum unspecified.
Unspecified = 0,
/// Used for return value only. Represents value unknown in this version.
Unknown = 1,
/// Upload fewer than 2001 events in a single request.
TooManyConversionsInRequest = 2,
/// The imported gclid could not be decoded. Make sure you have not modified
/// the click IDs.
UnparseableGclid = 3,
/// The imported event has a `conversion_date_time` that precedes the click.
/// Make sure your `conversion_date_time` is correct and try again.
ConversionPrecedesEvent = 42,
/// The imported event can't be recorded because its click occurred before
/// this conversion's click-through window. Make sure you import the most
/// recent data.
ExpiredEvent = 43,
/// The click associated with the given identifier or iOS URL parameter
/// occurred less than 6 hours ago. Retry after 6 hours have passed.
TooRecentEvent = 44,
/// The imported event could not be attributed to a click. This may be
/// because the event did not come from a Google Ads campaign.
EventNotFound = 45,
/// The click ID or call is associated with an Ads account you don't have
/// access to. Make sure you import conversions for accounts managed by your
/// manager account.
UnauthorizedCustomer = 8,
/// Can't import events to a conversion action that was just created. Try
/// importing again in 6 hours.
TooRecentConversionAction = 10,
/// At the time of the click, conversion tracking was not enabled in the
/// effective conversion account of the click's Google Ads account.
ConversionTrackingNotEnabledAtImpressionTime = 11,
/// The imported event includes external attribution data, but the conversion
/// action isn't set up to use an external attribution model. Make sure the
/// conversion action is correctly configured and try again.
ExternalAttributionDataSetForNonExternallyAttributedConversionAction = 12,
/// The conversion action is set up to use an external attribution model, but
/// the imported event is missing data. Make sure imported events include the
/// external attribution credit and all necessary fields.
ExternalAttributionDataNotSetForExternallyAttributedConversionAction = 13,
/// Order IDs can't be used for a conversion measured with an external
/// attribution model. Make sure the conversion is correctly configured and
/// imported events include only necessary data and try again.
OrderIdNotPermittedForExternallyAttributedConversionAction = 14,
/// The imported event includes an order ID that was previously recorded, so
/// the event was not processed.
OrderIdAlreadyInUse = 15,
/// Imported events include multiple conversions with the same order ID and
/// were not processed. Make sure order IDs are unique and try again.
DuplicateOrderId = 16,
/// Can't import calls that occurred less than 6 hours ago. Try uploading
/// again in 6 hours.
TooRecentCall = 17,
/// The call can't be recorded because it occurred before this conversion
/// action's lookback window. Make sure your import is configured to get the
/// most recent data.
ExpiredCall = 18,
/// The call or click leading to the imported event can't be found. Make sure
/// your data source is set up to include correct identifiers.
CallNotFound = 19,
/// The call has a `conversion_date_time` that precedes the associated click.
/// Make sure your `conversion_date_time` is correct.
ConversionPrecedesCall = 20,
/// At the time of the imported call, conversion tracking was not enabled in
/// the effective conversion account of the click's Google Ads account.
ConversionTrackingNotEnabledAtCallTime = 21,
/// Make sure phone numbers are formatted as E.164 (+16502531234),
/// International (+64 3-331 6005), or US national number (6502531234).
UnparseableCallersPhoneNumber = 22,
/// The imported event has the same click and `conversion_date_time` as an
/// existing conversion. Use a unique `conversion_date_time` or order ID for
/// each unique event and try again.
ClickConversionAlreadyExists = 23,
/// The imported call has the same `conversion_date_time` as an existing
/// conversion. Make sure your `conversion_date_time` correctly configured
/// and try again.
CallConversionAlreadyExists = 24,
/// Multiple events have the same click and `conversion_date_time`. Make sure
/// your `conversion_date_time` is correctly configured and try again.
DuplicateClickConversionInRequest = 25,
/// Multiple events have the same call and `conversion_date_time`. Make sure
/// your `conversion_date_time` is correctly configured and try again.
DuplicateCallConversionInRequest = 26,
/// Enable the custom variable in your conversion settings and try again.
CustomVariableNotEnabled = 28,
/// Can't import events with custom variables containing
/// personally-identifiable information (PII). Remove these variables and try
/// again.
CustomVariableValueContainsPii = 29,
/// The click from the imported event is associated with a different Google
/// Ads account. Make sure you're importing to the correct account.
InvalidCustomerForClick = 30,
/// The click from the call is associated with a different Google Ads
/// account. Make sure you're importing to the correct account. Query
/// conversion_tracking_setting.google_ads_conversion_customer on Customer to
/// identify the correct account.
InvalidCustomerForCall = 31,
/// The connversion can't be imported because the conversion source didn't
/// comply with Apple App Transparency Tracking (ATT) policies or because the
/// customer didn't consent to tracking.
ConversionNotCompliantWithAttPolicy = 32,
/// The email address or phone number for this event can't be matched to a
/// click. This may be because it didn't come from a Google Ads campaign, and
/// you can safely ignore this warning. If this includes more imported events
/// than is expected, you may need to check your setup.
ClickNotFound = 33,
/// Make sure you hash user provided data using SHA-256 and ensure you are
/// normalizing according to the guidelines.
InvalidUserIdentifier = 34,
/// User provided data can't be used with external attribution models. Use a
/// different attribution model or omit user identifiers and try again.
ExternallyAttributedConversionActionNotPermittedWithUserIdentifier = 35,
/// The provided user identifiers are not supported. Use only hashed email
/// or phone number and try again.
UnsupportedUserIdentifier = 36,
/// Can't use both gbraid and wbraid parameters. Use only 1 and try again.
GbraidWbraidBothSet = 38,
/// Can't parse event import data. Check if your wbraid parameter was
/// not modified and try again.
UnparseableWbraid = 39,
/// Can't parse event import data. Check if your gbraid parameter was
/// not modified and try again.
UnparseableGbraid = 40,
/// Conversion actions that use one-per-click counting can't be used with
/// gbraid or wbraid parameters.
OnePerClickConversionActionNotPermittedWithBraid = 46,
/// Enhanced conversions can't be used for this account because of Google
/// customer data policies. Contact your Google representative.
CustomerDataPolicyProhibitsEnhancedConversions = 47,
/// Make sure you agree to the customer data processing terms in conversion
/// settings and try again. You can check your setting by querying
/// conversion_tracking_setting.accepted_customer_data_terms on Customer.
CustomerNotAcceptedCustomerDataTerms = 48,
/// Can't import events with order IDs containing personally-identifiable
/// information (PII).
OrderIdContainsPii = 49,
/// Make sure you've turned on enhanced conversions for leads in conversion
/// settings and try again. You can check your setting by querying
/// conversion_tracking_setting.enhanced_conversions_for_leads_enabled on
/// Customer.
CustomerNotEnabledEnhancedConversionsForLeads = 50,
/// The provided job id in the request is not within the allowed range. A job
/// ID must be a positive integer in the range [1, 2^31).
InvalidJobId = 52,
/// The conversion action specified in the upload request cannot be found.
/// Make sure it's available in this account.
NoConversionActionFound = 53,
/// The conversion action specified in the upload request isn't set up for
/// uploading conversions.
InvalidConversionActionType = 54,
}
impl ConversionUploadError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ConversionUploadError::Unspecified => "UNSPECIFIED",
ConversionUploadError::Unknown => "UNKNOWN",
ConversionUploadError::TooManyConversionsInRequest => {
"TOO_MANY_CONVERSIONS_IN_REQUEST"
}
ConversionUploadError::UnparseableGclid => "UNPARSEABLE_GCLID",
ConversionUploadError::ConversionPrecedesEvent => {
"CONVERSION_PRECEDES_EVENT"
}
ConversionUploadError::ExpiredEvent => "EXPIRED_EVENT",
ConversionUploadError::TooRecentEvent => "TOO_RECENT_EVENT",
ConversionUploadError::EventNotFound => "EVENT_NOT_FOUND",
ConversionUploadError::UnauthorizedCustomer => "UNAUTHORIZED_CUSTOMER",
ConversionUploadError::TooRecentConversionAction => {
"TOO_RECENT_CONVERSION_ACTION"
}
ConversionUploadError::ConversionTrackingNotEnabledAtImpressionTime => {
"CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME"
}
ConversionUploadError::ExternalAttributionDataSetForNonExternallyAttributedConversionAction => {
"EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION"
}
ConversionUploadError::ExternalAttributionDataNotSetForExternallyAttributedConversionAction => {
"EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION"
}
ConversionUploadError::OrderIdNotPermittedForExternallyAttributedConversionAction => {
"ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION"
}
ConversionUploadError::OrderIdAlreadyInUse => "ORDER_ID_ALREADY_IN_USE",
ConversionUploadError::DuplicateOrderId => "DUPLICATE_ORDER_ID",
ConversionUploadError::TooRecentCall => "TOO_RECENT_CALL",
ConversionUploadError::ExpiredCall => "EXPIRED_CALL",
ConversionUploadError::CallNotFound => "CALL_NOT_FOUND",
ConversionUploadError::ConversionPrecedesCall => {
"CONVERSION_PRECEDES_CALL"
}
ConversionUploadError::ConversionTrackingNotEnabledAtCallTime => {
"CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME"
}
ConversionUploadError::UnparseableCallersPhoneNumber => {
"UNPARSEABLE_CALLERS_PHONE_NUMBER"
}
ConversionUploadError::ClickConversionAlreadyExists => {
"CLICK_CONVERSION_ALREADY_EXISTS"
}
ConversionUploadError::CallConversionAlreadyExists => {
"CALL_CONVERSION_ALREADY_EXISTS"
}
ConversionUploadError::DuplicateClickConversionInRequest => {
"DUPLICATE_CLICK_CONVERSION_IN_REQUEST"
}
ConversionUploadError::DuplicateCallConversionInRequest => {
"DUPLICATE_CALL_CONVERSION_IN_REQUEST"
}
ConversionUploadError::CustomVariableNotEnabled => {
"CUSTOM_VARIABLE_NOT_ENABLED"
}
ConversionUploadError::CustomVariableValueContainsPii => {
"CUSTOM_VARIABLE_VALUE_CONTAINS_PII"
}
ConversionUploadError::InvalidCustomerForClick => {
"INVALID_CUSTOMER_FOR_CLICK"
}
ConversionUploadError::InvalidCustomerForCall => {
"INVALID_CUSTOMER_FOR_CALL"
}
ConversionUploadError::ConversionNotCompliantWithAttPolicy => {
"CONVERSION_NOT_COMPLIANT_WITH_ATT_POLICY"
}
ConversionUploadError::ClickNotFound => "CLICK_NOT_FOUND",
ConversionUploadError::InvalidUserIdentifier => "INVALID_USER_IDENTIFIER",
ConversionUploadError::ExternallyAttributedConversionActionNotPermittedWithUserIdentifier => {
"EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION_NOT_PERMITTED_WITH_USER_IDENTIFIER"
}
ConversionUploadError::UnsupportedUserIdentifier => {
"UNSUPPORTED_USER_IDENTIFIER"
}
ConversionUploadError::GbraidWbraidBothSet => "GBRAID_WBRAID_BOTH_SET",
ConversionUploadError::UnparseableWbraid => "UNPARSEABLE_WBRAID",
ConversionUploadError::UnparseableGbraid => "UNPARSEABLE_GBRAID",
ConversionUploadError::OnePerClickConversionActionNotPermittedWithBraid => {
"ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID"
}
ConversionUploadError::CustomerDataPolicyProhibitsEnhancedConversions => {
"CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS"
}
ConversionUploadError::CustomerNotAcceptedCustomerDataTerms => {
"CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS"
}
ConversionUploadError::OrderIdContainsPii => "ORDER_ID_CONTAINS_PII",
ConversionUploadError::CustomerNotEnabledEnhancedConversionsForLeads => {
"CUSTOMER_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS"
}
ConversionUploadError::InvalidJobId => "INVALID_JOB_ID",
ConversionUploadError::NoConversionActionFound => {
"NO_CONVERSION_ACTION_FOUND"
}
ConversionUploadError::InvalidConversionActionType => {
"INVALID_CONVERSION_ACTION_TYPE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"TOO_MANY_CONVERSIONS_IN_REQUEST" => {
Some(Self::TooManyConversionsInRequest)
}
"UNPARSEABLE_GCLID" => Some(Self::UnparseableGclid),
"CONVERSION_PRECEDES_EVENT" => Some(Self::ConversionPrecedesEvent),
"EXPIRED_EVENT" => Some(Self::ExpiredEvent),
"TOO_RECENT_EVENT" => Some(Self::TooRecentEvent),
"EVENT_NOT_FOUND" => Some(Self::EventNotFound),
"UNAUTHORIZED_CUSTOMER" => Some(Self::UnauthorizedCustomer),
"TOO_RECENT_CONVERSION_ACTION" => Some(Self::TooRecentConversionAction),
"CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME" => {
Some(Self::ConversionTrackingNotEnabledAtImpressionTime)
}
"EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION" => {
Some(
Self::ExternalAttributionDataSetForNonExternallyAttributedConversionAction,
)
}
"EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION" => {
Some(
Self::ExternalAttributionDataNotSetForExternallyAttributedConversionAction,
)
}
"ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION" => {
Some(
Self::OrderIdNotPermittedForExternallyAttributedConversionAction,
)
}
"ORDER_ID_ALREADY_IN_USE" => Some(Self::OrderIdAlreadyInUse),
"DUPLICATE_ORDER_ID" => Some(Self::DuplicateOrderId),
"TOO_RECENT_CALL" => Some(Self::TooRecentCall),
"EXPIRED_CALL" => Some(Self::ExpiredCall),
"CALL_NOT_FOUND" => Some(Self::CallNotFound),
"CONVERSION_PRECEDES_CALL" => Some(Self::ConversionPrecedesCall),
"CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME" => {
Some(Self::ConversionTrackingNotEnabledAtCallTime)
}
"UNPARSEABLE_CALLERS_PHONE_NUMBER" => {
Some(Self::UnparseableCallersPhoneNumber)
}
"CLICK_CONVERSION_ALREADY_EXISTS" => {
Some(Self::ClickConversionAlreadyExists)
}
"CALL_CONVERSION_ALREADY_EXISTS" => {
Some(Self::CallConversionAlreadyExists)
}
"DUPLICATE_CLICK_CONVERSION_IN_REQUEST" => {
Some(Self::DuplicateClickConversionInRequest)
}
"DUPLICATE_CALL_CONVERSION_IN_REQUEST" => {
Some(Self::DuplicateCallConversionInRequest)
}
"CUSTOM_VARIABLE_NOT_ENABLED" => Some(Self::CustomVariableNotEnabled),
"CUSTOM_VARIABLE_VALUE_CONTAINS_PII" => {
Some(Self::CustomVariableValueContainsPii)
}
"INVALID_CUSTOMER_FOR_CLICK" => Some(Self::InvalidCustomerForClick),
"INVALID_CUSTOMER_FOR_CALL" => Some(Self::InvalidCustomerForCall),
"CONVERSION_NOT_COMPLIANT_WITH_ATT_POLICY" => {
Some(Self::ConversionNotCompliantWithAttPolicy)
}
"CLICK_NOT_FOUND" => Some(Self::ClickNotFound),
"INVALID_USER_IDENTIFIER" => Some(Self::InvalidUserIdentifier),
"EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION_NOT_PERMITTED_WITH_USER_IDENTIFIER" => {
Some(
Self::ExternallyAttributedConversionActionNotPermittedWithUserIdentifier,
)
}
"UNSUPPORTED_USER_IDENTIFIER" => Some(Self::UnsupportedUserIdentifier),
"GBRAID_WBRAID_BOTH_SET" => Some(Self::GbraidWbraidBothSet),
"UNPARSEABLE_WBRAID" => Some(Self::UnparseableWbraid),
"UNPARSEABLE_GBRAID" => Some(Self::UnparseableGbraid),
"ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID" => {
Some(Self::OnePerClickConversionActionNotPermittedWithBraid)
}
"CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS" => {
Some(Self::CustomerDataPolicyProhibitsEnhancedConversions)
}
"CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS" => {
Some(Self::CustomerNotAcceptedCustomerDataTerms)
}
"ORDER_ID_CONTAINS_PII" => Some(Self::OrderIdContainsPii),
"CUSTOMER_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS" => {
Some(Self::CustomerNotEnabledEnhancedConversionsForLeads)
}
"INVALID_JOB_ID" => Some(Self::InvalidJobId),
"NO_CONVERSION_ACTION_FOUND" => Some(Self::NoConversionActionFound),
"INVALID_CONVERSION_ACTION_TYPE" => {
Some(Self::InvalidConversionActionType)
}
_ => None,
}
}
}
}
/// Container for enum describing possible authentication errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AuthenticationErrorEnum {}
/// Nested message and enum types in `AuthenticationErrorEnum`.
pub mod authentication_error_enum {
/// Enum describing possible authentication errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AuthenticationError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Authentication of the request failed.
AuthenticationError = 2,
/// Client customer ID is not a number.
ClientCustomerIdInvalid = 5,
/// No customer found for the provided customer ID.
CustomerNotFound = 8,
/// Client's Google account is deleted.
GoogleAccountDeleted = 9,
/// Google account login token in the cookie is invalid.
GoogleAccountCookieInvalid = 10,
/// A problem occurred during Google account authentication.
GoogleAccountAuthenticationFailed = 25,
/// The user in the Google account login token does not match the user ID in
/// the cookie.
GoogleAccountUserAndAdsUserMismatch = 12,
/// Login cookie is required for authentication.
LoginCookieRequired = 13,
/// User in the cookie is not a valid Ads user.
NotAdsUser = 14,
/// OAuth token in the header is not valid.
OauthTokenInvalid = 15,
/// OAuth token in the header has expired.
OauthTokenExpired = 16,
/// OAuth token in the header has been disabled.
OauthTokenDisabled = 17,
/// OAuth token in the header has been revoked.
OauthTokenRevoked = 18,
/// OAuth token HTTP header is malformed.
OauthTokenHeaderInvalid = 19,
/// Login cookie is not valid.
LoginCookieInvalid = 20,
/// User ID in the header is not a valid ID.
UserIdInvalid = 22,
/// An account administrator changed this account's authentication settings.
/// To access this Google Ads account, enable 2-Step Verification in your
/// Google account at <https://www.google.com/landing/2step.>
TwoStepVerificationNotEnrolled = 23,
/// An account administrator changed this account's authentication settings.
/// To access this Google Ads account, enable Advanced Protection in your
/// Google account at <https://landing.google.com/advancedprotection.>
AdvancedProtectionNotEnrolled = 24,
/// The Cloud organization associated with the project is not recognized.
OrganizationNotRecognized = 26,
/// The Cloud organization associated with the project is not approved for
/// prod access.
OrganizationNotApproved = 27,
/// The Cloud organization associated with the project is not associated with
/// the developer token.
OrganizationNotAssociatedWithDeveloperToken = 28,
}
impl AuthenticationError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AuthenticationError::Unspecified => "UNSPECIFIED",
AuthenticationError::Unknown => "UNKNOWN",
AuthenticationError::AuthenticationError => "AUTHENTICATION_ERROR",
AuthenticationError::ClientCustomerIdInvalid => {
"CLIENT_CUSTOMER_ID_INVALID"
}
AuthenticationError::CustomerNotFound => "CUSTOMER_NOT_FOUND",
AuthenticationError::GoogleAccountDeleted => "GOOGLE_ACCOUNT_DELETED",
AuthenticationError::GoogleAccountCookieInvalid => {
"GOOGLE_ACCOUNT_COOKIE_INVALID"
}
AuthenticationError::GoogleAccountAuthenticationFailed => {
"GOOGLE_ACCOUNT_AUTHENTICATION_FAILED"
}
AuthenticationError::GoogleAccountUserAndAdsUserMismatch => {
"GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH"
}
AuthenticationError::LoginCookieRequired => "LOGIN_COOKIE_REQUIRED",
AuthenticationError::NotAdsUser => "NOT_ADS_USER",
AuthenticationError::OauthTokenInvalid => "OAUTH_TOKEN_INVALID",
AuthenticationError::OauthTokenExpired => "OAUTH_TOKEN_EXPIRED",
AuthenticationError::OauthTokenDisabled => "OAUTH_TOKEN_DISABLED",
AuthenticationError::OauthTokenRevoked => "OAUTH_TOKEN_REVOKED",
AuthenticationError::OauthTokenHeaderInvalid => {
"OAUTH_TOKEN_HEADER_INVALID"
}
AuthenticationError::LoginCookieInvalid => "LOGIN_COOKIE_INVALID",
AuthenticationError::UserIdInvalid => "USER_ID_INVALID",
AuthenticationError::TwoStepVerificationNotEnrolled => {
"TWO_STEP_VERIFICATION_NOT_ENROLLED"
}
AuthenticationError::AdvancedProtectionNotEnrolled => {
"ADVANCED_PROTECTION_NOT_ENROLLED"
}
AuthenticationError::OrganizationNotRecognized => {
"ORGANIZATION_NOT_RECOGNIZED"
}
AuthenticationError::OrganizationNotApproved => {
"ORGANIZATION_NOT_APPROVED"
}
AuthenticationError::OrganizationNotAssociatedWithDeveloperToken => {
"ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"AUTHENTICATION_ERROR" => Some(Self::AuthenticationError),
"CLIENT_CUSTOMER_ID_INVALID" => Some(Self::ClientCustomerIdInvalid),
"CUSTOMER_NOT_FOUND" => Some(Self::CustomerNotFound),
"GOOGLE_ACCOUNT_DELETED" => Some(Self::GoogleAccountDeleted),
"GOOGLE_ACCOUNT_COOKIE_INVALID" => Some(Self::GoogleAccountCookieInvalid),
"GOOGLE_ACCOUNT_AUTHENTICATION_FAILED" => {
Some(Self::GoogleAccountAuthenticationFailed)
}
"GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH" => {
Some(Self::GoogleAccountUserAndAdsUserMismatch)
}
"LOGIN_COOKIE_REQUIRED" => Some(Self::LoginCookieRequired),
"NOT_ADS_USER" => Some(Self::NotAdsUser),
"OAUTH_TOKEN_INVALID" => Some(Self::OauthTokenInvalid),
"OAUTH_TOKEN_EXPIRED" => Some(Self::OauthTokenExpired),
"OAUTH_TOKEN_DISABLED" => Some(Self::OauthTokenDisabled),
"OAUTH_TOKEN_REVOKED" => Some(Self::OauthTokenRevoked),
"OAUTH_TOKEN_HEADER_INVALID" => Some(Self::OauthTokenHeaderInvalid),
"LOGIN_COOKIE_INVALID" => Some(Self::LoginCookieInvalid),
"USER_ID_INVALID" => Some(Self::UserIdInvalid),
"TWO_STEP_VERIFICATION_NOT_ENROLLED" => {
Some(Self::TwoStepVerificationNotEnrolled)
}
"ADVANCED_PROTECTION_NOT_ENROLLED" => {
Some(Self::AdvancedProtectionNotEnrolled)
}
"ORGANIZATION_NOT_RECOGNIZED" => Some(Self::OrganizationNotRecognized),
"ORGANIZATION_NOT_APPROVED" => Some(Self::OrganizationNotApproved),
"ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN" => {
Some(Self::OrganizationNotAssociatedWithDeveloperToken)
}
_ => None,
}
}
}
}
/// Container for enum describing possible conversion goal campaign config
/// errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ConversionGoalCampaignConfigErrorEnum {}
/// Nested message and enum types in `ConversionGoalCampaignConfigErrorEnum`.
pub mod conversion_goal_campaign_config_error_enum {
/// Enum describing possible conversion goal campaign config errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ConversionGoalCampaignConfigError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Campaign is managed by Search Ads 360 but uses Unified Goal.
CannotUseCampaignGoalForSearchAds360ManagedCampaign = 2,
/// The campaign is using a custom goal that does not belong to its Google
/// Ads conversion customer (conversion tracking customer).
CustomGoalDoesNotBelongToGoogleAdsConversionCustomer = 3,
/// The campaign is not allowed to use unified goals.
CampaignCannotUseUnifiedGoals = 4,
/// The campaign is using campaign override goals but has no goals
/// configured.
EmptyConversionGoals = 5,
/// STORE_SALE and STORE_VISIT conversion types cannot be both included in
/// campaign level goal.
StoreSaleStoreVisitCannotBeBothIncluded = 6,
/// Performance Max campaign is not allowed to use custom goal with store
/// sales conversion type.
PerformanceMaxCampaignCannotUseCustomGoalWithStoreSales = 7,
}
impl ConversionGoalCampaignConfigError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ConversionGoalCampaignConfigError::Unspecified => "UNSPECIFIED",
ConversionGoalCampaignConfigError::Unknown => "UNKNOWN",
ConversionGoalCampaignConfigError::CannotUseCampaignGoalForSearchAds360ManagedCampaign => {
"CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN"
}
ConversionGoalCampaignConfigError::CustomGoalDoesNotBelongToGoogleAdsConversionCustomer => {
"CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER"
}
ConversionGoalCampaignConfigError::CampaignCannotUseUnifiedGoals => {
"CAMPAIGN_CANNOT_USE_UNIFIED_GOALS"
}
ConversionGoalCampaignConfigError::EmptyConversionGoals => {
"EMPTY_CONVERSION_GOALS"
}
ConversionGoalCampaignConfigError::StoreSaleStoreVisitCannotBeBothIncluded => {
"STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED"
}
ConversionGoalCampaignConfigError::PerformanceMaxCampaignCannotUseCustomGoalWithStoreSales => {
"PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN" => {
Some(Self::CannotUseCampaignGoalForSearchAds360ManagedCampaign)
}
"CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER" => {
Some(Self::CustomGoalDoesNotBelongToGoogleAdsConversionCustomer)
}
"CAMPAIGN_CANNOT_USE_UNIFIED_GOALS" => {
Some(Self::CampaignCannotUseUnifiedGoals)
}
"EMPTY_CONVERSION_GOALS" => Some(Self::EmptyConversionGoals),
"STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED" => {
Some(Self::StoreSaleStoreVisitCannotBeBothIncluded)
}
"PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES" => {
Some(Self::PerformanceMaxCampaignCannotUseCustomGoalWithStoreSales)
}
_ => None,
}
}
}
}
/// Container for enum describing possible not empty errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct NotEmptyErrorEnum {}
/// Nested message and enum types in `NotEmptyErrorEnum`.
pub mod not_empty_error_enum {
/// Enum describing possible not empty errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum NotEmptyError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Empty list.
EmptyList = 2,
}
impl NotEmptyError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
NotEmptyError::Unspecified => "UNSPECIFIED",
NotEmptyError::Unknown => "UNKNOWN",
NotEmptyError::EmptyList => "EMPTY_LIST",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"EMPTY_LIST" => Some(Self::EmptyList),
_ => None,
}
}
}
}
/// Container for enum describing possible currency errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CurrencyErrorEnum {}
/// Nested message and enum types in `CurrencyErrorEnum`.
pub mod currency_error_enum {
/// Enum describing possible currency errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CurrencyError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Bid must be a multiple of billable unit.
ValueNotMultipleOfBillableUnit = 2,
}
impl CurrencyError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CurrencyError::Unspecified => "UNSPECIFIED",
CurrencyError::Unknown => "UNKNOWN",
CurrencyError::ValueNotMultipleOfBillableUnit => {
"VALUE_NOT_MULTIPLE_OF_BILLABLE_UNIT"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"VALUE_NOT_MULTIPLE_OF_BILLABLE_UNIT" => {
Some(Self::ValueNotMultipleOfBillableUnit)
}
_ => None,
}
}
}
}
/// Container for enum describing possible recommendation subscription errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RecommendationSubscriptionErrorEnum {}
/// Nested message and enum types in `RecommendationSubscriptionErrorEnum`.
pub mod recommendation_subscription_error_enum {
/// Enum describing possible recommendation subscription errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum RecommendationSubscriptionError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
}
impl RecommendationSubscriptionError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
RecommendationSubscriptionError::Unspecified => "UNSPECIFIED",
RecommendationSubscriptionError::Unknown => "UNKNOWN",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
_ => None,
}
}
}
}
/// Container for enum describing possible shared set errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct SharedSetErrorEnum {}
/// Nested message and enum types in `SharedSetErrorEnum`.
pub mod shared_set_error_enum {
/// Enum describing possible shared set errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum SharedSetError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The customer cannot create this type of shared set.
CustomerCannotCreateSharedSetOfThisType = 2,
/// A shared set with this name already exists.
DuplicateName = 3,
/// Removed shared sets cannot be mutated.
SharedSetRemoved = 4,
/// The shared set cannot be removed because it is in use.
SharedSetInUse = 5,
}
impl SharedSetError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
SharedSetError::Unspecified => "UNSPECIFIED",
SharedSetError::Unknown => "UNKNOWN",
SharedSetError::CustomerCannotCreateSharedSetOfThisType => {
"CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE"
}
SharedSetError::DuplicateName => "DUPLICATE_NAME",
SharedSetError::SharedSetRemoved => "SHARED_SET_REMOVED",
SharedSetError::SharedSetInUse => "SHARED_SET_IN_USE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE" => {
Some(Self::CustomerCannotCreateSharedSetOfThisType)
}
"DUPLICATE_NAME" => Some(Self::DuplicateName),
"SHARED_SET_REMOVED" => Some(Self::SharedSetRemoved),
"SHARED_SET_IN_USE" => Some(Self::SharedSetInUse),
_ => None,
}
}
}
}
/// Container for enum describing possible experiment error.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ExperimentErrorEnum {}
/// Nested message and enum types in `ExperimentErrorEnum`.
pub mod experiment_error_enum {
/// Enum describing possible experiment errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ExperimentError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The start date of an experiment cannot be set in the past.
/// Use a start date in the future.
CannotSetStartDateInPast = 2,
/// The end date of an experiment is before its start date.
/// Use an end date after the start date.
EndDateBeforeStartDate = 3,
/// The start date of an experiment is too far in the future.
/// Use a start date no more than 1 year in the future.
StartDateTooFarInFuture = 4,
/// The experiment has the same name as an existing active experiment.
DuplicateExperimentName = 5,
/// Experiments can only be modified when they are ENABLED.
CannotModifyRemovedExperiment = 6,
/// The start date of an experiment cannot be modified if the existing start
/// date has already passed.
StartDateAlreadyPassed = 7,
/// The end date of an experiment cannot be set in the past.
CannotSetEndDateInPast = 8,
/// The status of an experiment cannot be set to REMOVED.
CannotSetStatusToRemoved = 9,
/// The end date of an expired experiment cannot be modified.
CannotModifyPastEndDate = 10,
/// The status is invalid.
InvalidStatus = 11,
/// Experiment arm contains campaigns with invalid advertising channel type.
InvalidCampaignChannelType = 12,
/// A pair of trials share members and have overlapping date ranges.
OverlappingMembersAndDateRange = 13,
/// Experiment arm contains invalid traffic split.
InvalidTrialArmTrafficSplit = 14,
/// Experiment contains trial arms with overlapping traffic split.
TrafficSplitOverlapping = 15,
/// The total traffic split of trial arms is not equal to 100.
SumTrialArmTrafficUnequalsToTrialTrafficSplitDenominator = 16,
/// Traffic split related settings (like traffic share bounds) can't be
/// modified after the experiment has started.
CannotModifyTrafficSplitAfterStart = 17,
/// The experiment could not be found.
ExperimentNotFound = 18,
/// Experiment has not begun.
ExperimentNotYetStarted = 19,
/// The experiment cannot have more than one control arm.
CannotHaveMultipleControlArms = 20,
/// The experiment doesn't set in-design campaigns.
InDesignCampaignsNotSet = 21,
/// Clients must use the graduate action to graduate experiments and cannot
/// set the status to GRADUATED directly.
CannotSetStatusToGraduated = 22,
/// Cannot use shared budget on base campaign when scheduling an experiment.
CannotCreateExperimentCampaignWithSharedBudget = 23,
/// Cannot use custom budget on base campaign when scheduling an experiment.
CannotCreateExperimentCampaignWithCustomBudget = 24,
/// Invalid status transition.
StatusTransitionInvalid = 25,
/// The experiment campaign name conflicts with a pre-existing campaign.
DuplicateExperimentCampaignName = 26,
/// Cannot remove in creation experiments.
CannotRemoveInCreationExperiment = 27,
/// Cannot add campaign with deprecated ad types. Deprecated ad types:
/// ENHANCED_DISPLAY, GALLERY, GMAIL, KEYWORDLESS, TEXT.
CannotAddCampaignWithDeprecatedAdTypes = 28,
}
impl ExperimentError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ExperimentError::Unspecified => "UNSPECIFIED",
ExperimentError::Unknown => "UNKNOWN",
ExperimentError::CannotSetStartDateInPast => {
"CANNOT_SET_START_DATE_IN_PAST"
}
ExperimentError::EndDateBeforeStartDate => "END_DATE_BEFORE_START_DATE",
ExperimentError::StartDateTooFarInFuture => {
"START_DATE_TOO_FAR_IN_FUTURE"
}
ExperimentError::DuplicateExperimentName => "DUPLICATE_EXPERIMENT_NAME",
ExperimentError::CannotModifyRemovedExperiment => {
"CANNOT_MODIFY_REMOVED_EXPERIMENT"
}
ExperimentError::StartDateAlreadyPassed => "START_DATE_ALREADY_PASSED",
ExperimentError::CannotSetEndDateInPast => "CANNOT_SET_END_DATE_IN_PAST",
ExperimentError::CannotSetStatusToRemoved => {
"CANNOT_SET_STATUS_TO_REMOVED"
}
ExperimentError::CannotModifyPastEndDate => "CANNOT_MODIFY_PAST_END_DATE",
ExperimentError::InvalidStatus => "INVALID_STATUS",
ExperimentError::InvalidCampaignChannelType => {
"INVALID_CAMPAIGN_CHANNEL_TYPE"
}
ExperimentError::OverlappingMembersAndDateRange => {
"OVERLAPPING_MEMBERS_AND_DATE_RANGE"
}
ExperimentError::InvalidTrialArmTrafficSplit => {
"INVALID_TRIAL_ARM_TRAFFIC_SPLIT"
}
ExperimentError::TrafficSplitOverlapping => "TRAFFIC_SPLIT_OVERLAPPING",
ExperimentError::SumTrialArmTrafficUnequalsToTrialTrafficSplitDenominator => {
"SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR"
}
ExperimentError::CannotModifyTrafficSplitAfterStart => {
"CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START"
}
ExperimentError::ExperimentNotFound => "EXPERIMENT_NOT_FOUND",
ExperimentError::ExperimentNotYetStarted => "EXPERIMENT_NOT_YET_STARTED",
ExperimentError::CannotHaveMultipleControlArms => {
"CANNOT_HAVE_MULTIPLE_CONTROL_ARMS"
}
ExperimentError::InDesignCampaignsNotSet => "IN_DESIGN_CAMPAIGNS_NOT_SET",
ExperimentError::CannotSetStatusToGraduated => {
"CANNOT_SET_STATUS_TO_GRADUATED"
}
ExperimentError::CannotCreateExperimentCampaignWithSharedBudget => {
"CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET"
}
ExperimentError::CannotCreateExperimentCampaignWithCustomBudget => {
"CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET"
}
ExperimentError::StatusTransitionInvalid => "STATUS_TRANSITION_INVALID",
ExperimentError::DuplicateExperimentCampaignName => {
"DUPLICATE_EXPERIMENT_CAMPAIGN_NAME"
}
ExperimentError::CannotRemoveInCreationExperiment => {
"CANNOT_REMOVE_IN_CREATION_EXPERIMENT"
}
ExperimentError::CannotAddCampaignWithDeprecatedAdTypes => {
"CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CANNOT_SET_START_DATE_IN_PAST" => Some(Self::CannotSetStartDateInPast),
"END_DATE_BEFORE_START_DATE" => Some(Self::EndDateBeforeStartDate),
"START_DATE_TOO_FAR_IN_FUTURE" => Some(Self::StartDateTooFarInFuture),
"DUPLICATE_EXPERIMENT_NAME" => Some(Self::DuplicateExperimentName),
"CANNOT_MODIFY_REMOVED_EXPERIMENT" => {
Some(Self::CannotModifyRemovedExperiment)
}
"START_DATE_ALREADY_PASSED" => Some(Self::StartDateAlreadyPassed),
"CANNOT_SET_END_DATE_IN_PAST" => Some(Self::CannotSetEndDateInPast),
"CANNOT_SET_STATUS_TO_REMOVED" => Some(Self::CannotSetStatusToRemoved),
"CANNOT_MODIFY_PAST_END_DATE" => Some(Self::CannotModifyPastEndDate),
"INVALID_STATUS" => Some(Self::InvalidStatus),
"INVALID_CAMPAIGN_CHANNEL_TYPE" => Some(Self::InvalidCampaignChannelType),
"OVERLAPPING_MEMBERS_AND_DATE_RANGE" => {
Some(Self::OverlappingMembersAndDateRange)
}
"INVALID_TRIAL_ARM_TRAFFIC_SPLIT" => {
Some(Self::InvalidTrialArmTrafficSplit)
}
"TRAFFIC_SPLIT_OVERLAPPING" => Some(Self::TrafficSplitOverlapping),
"SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR" => {
Some(Self::SumTrialArmTrafficUnequalsToTrialTrafficSplitDenominator)
}
"CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START" => {
Some(Self::CannotModifyTrafficSplitAfterStart)
}
"EXPERIMENT_NOT_FOUND" => Some(Self::ExperimentNotFound),
"EXPERIMENT_NOT_YET_STARTED" => Some(Self::ExperimentNotYetStarted),
"CANNOT_HAVE_MULTIPLE_CONTROL_ARMS" => {
Some(Self::CannotHaveMultipleControlArms)
}
"IN_DESIGN_CAMPAIGNS_NOT_SET" => Some(Self::InDesignCampaignsNotSet),
"CANNOT_SET_STATUS_TO_GRADUATED" => {
Some(Self::CannotSetStatusToGraduated)
}
"CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET" => {
Some(Self::CannotCreateExperimentCampaignWithSharedBudget)
}
"CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET" => {
Some(Self::CannotCreateExperimentCampaignWithCustomBudget)
}
"STATUS_TRANSITION_INVALID" => Some(Self::StatusTransitionInvalid),
"DUPLICATE_EXPERIMENT_CAMPAIGN_NAME" => {
Some(Self::DuplicateExperimentCampaignName)
}
"CANNOT_REMOVE_IN_CREATION_EXPERIMENT" => {
Some(Self::CannotRemoveInCreationExperiment)
}
"CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES" => {
Some(Self::CannotAddCampaignWithDeprecatedAdTypes)
}
_ => None,
}
}
}
}
/// Container for enum describing possible asset group asset errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AssetGroupAssetErrorEnum {}
/// Nested message and enum types in `AssetGroupAssetErrorEnum`.
pub mod asset_group_asset_error_enum {
/// Enum describing possible asset group asset errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AssetGroupAssetError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Cannot add duplicated asset group asset.
DuplicateResource = 2,
/// Expandable tags are not allowed in description assets.
ExpandableTagsNotAllowedInDescription = 3,
/// Ad customizers are not supported in assetgroup's text assets.
AdCustomizerNotSupported = 4,
/// Cannot add a HotelPropertyAsset to an AssetGroup that isn't linked
/// to the parent campaign's hotel_property_asset_set field.
HotelPropertyAssetNotLinkedToCampaign = 5,
}
impl AssetGroupAssetError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AssetGroupAssetError::Unspecified => "UNSPECIFIED",
AssetGroupAssetError::Unknown => "UNKNOWN",
AssetGroupAssetError::DuplicateResource => "DUPLICATE_RESOURCE",
AssetGroupAssetError::ExpandableTagsNotAllowedInDescription => {
"EXPANDABLE_TAGS_NOT_ALLOWED_IN_DESCRIPTION"
}
AssetGroupAssetError::AdCustomizerNotSupported => {
"AD_CUSTOMIZER_NOT_SUPPORTED"
}
AssetGroupAssetError::HotelPropertyAssetNotLinkedToCampaign => {
"HOTEL_PROPERTY_ASSET_NOT_LINKED_TO_CAMPAIGN"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"DUPLICATE_RESOURCE" => Some(Self::DuplicateResource),
"EXPANDABLE_TAGS_NOT_ALLOWED_IN_DESCRIPTION" => {
Some(Self::ExpandableTagsNotAllowedInDescription)
}
"AD_CUSTOMIZER_NOT_SUPPORTED" => Some(Self::AdCustomizerNotSupported),
"HOTEL_PROPERTY_ASSET_NOT_LINKED_TO_CAMPAIGN" => {
Some(Self::HotelPropertyAssetNotLinkedToCampaign)
}
_ => None,
}
}
}
}
/// Container for enum describing possible image errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ImageErrorEnum {}
/// Nested message and enum types in `ImageErrorEnum`.
pub mod image_error_enum {
/// Enum describing possible image errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ImageError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The image is not valid.
InvalidImage = 2,
/// The image could not be stored.
StorageError = 3,
/// There was a problem with the request.
BadRequest = 4,
/// The image is not of legal dimensions.
UnexpectedSize = 5,
/// Animated image are not permitted.
AnimatedNotAllowed = 6,
/// Animation is too long.
AnimationTooLong = 7,
/// There was an error on the server.
ServerError = 8,
/// Image cannot be in CMYK color format.
CmykJpegNotAllowed = 9,
/// Flash images are not permitted.
FlashNotAllowed = 10,
/// Flash images must support clickTag.
FlashWithoutClicktag = 11,
/// A flash error has occurred after fixing the click tag.
FlashErrorAfterFixingClickTag = 12,
/// Unacceptable visual effects.
AnimatedVisualEffect = 13,
/// There was a problem with the flash image.
FlashError = 14,
/// Incorrect image layout.
LayoutProblem = 15,
/// There was a problem reading the image file.
ProblemReadingImageFile = 16,
/// There was an error storing the image.
ErrorStoringImage = 17,
/// The aspect ratio of the image is not allowed.
AspectRatioNotAllowed = 18,
/// Flash cannot have network objects.
FlashHasNetworkObjects = 19,
/// Flash cannot have network methods.
FlashHasNetworkMethods = 20,
/// Flash cannot have a Url.
FlashHasUrl = 21,
/// Flash cannot use mouse tracking.
FlashHasMouseTracking = 22,
/// Flash cannot have a random number.
FlashHasRandomNum = 23,
/// Ad click target cannot be '_self'.
FlashSelfTargets = 24,
/// GetUrl method should only use '_blank'.
FlashBadGeturlTarget = 25,
/// Flash version is not supported.
FlashVersionNotSupported = 26,
/// Flash movies need to have hard coded click URL or clickTAG
FlashWithoutHardCodedClickUrl = 27,
/// Uploaded flash file is corrupted.
InvalidFlashFile = 28,
/// Uploaded flash file can be parsed, but the click tag can not be fixed
/// properly.
FailedToFixClickTagInFlash = 29,
/// Flash movie accesses network resources
FlashAccessesNetworkResources = 30,
/// Flash movie attempts to call external javascript code
FlashExternalJsCall = 31,
/// Flash movie attempts to call flash system commands
FlashExternalFsCall = 32,
/// Image file is too large.
FileTooLarge = 33,
/// Image data is too large.
ImageDataTooLarge = 34,
/// Error while processing the image.
ImageProcessingError = 35,
/// Image is too small.
ImageTooSmall = 36,
/// Input was invalid.
InvalidInput = 37,
/// There was a problem reading the image file.
ProblemReadingFile = 38,
/// Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED
/// can't be provided. This happens when asset spec contains more than one
/// constraint and different criteria of different constraints are violated.
ImageConstraintsViolated = 39,
/// Image format is not allowed.
FormatNotAllowed = 40,
}
impl ImageError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ImageError::Unspecified => "UNSPECIFIED",
ImageError::Unknown => "UNKNOWN",
ImageError::InvalidImage => "INVALID_IMAGE",
ImageError::StorageError => "STORAGE_ERROR",
ImageError::BadRequest => "BAD_REQUEST",
ImageError::UnexpectedSize => "UNEXPECTED_SIZE",
ImageError::AnimatedNotAllowed => "ANIMATED_NOT_ALLOWED",
ImageError::AnimationTooLong => "ANIMATION_TOO_LONG",
ImageError::ServerError => "SERVER_ERROR",
ImageError::CmykJpegNotAllowed => "CMYK_JPEG_NOT_ALLOWED",
ImageError::FlashNotAllowed => "FLASH_NOT_ALLOWED",
ImageError::FlashWithoutClicktag => "FLASH_WITHOUT_CLICKTAG",
ImageError::FlashErrorAfterFixingClickTag => {
"FLASH_ERROR_AFTER_FIXING_CLICK_TAG"
}
ImageError::AnimatedVisualEffect => "ANIMATED_VISUAL_EFFECT",
ImageError::FlashError => "FLASH_ERROR",
ImageError::LayoutProblem => "LAYOUT_PROBLEM",
ImageError::ProblemReadingImageFile => "PROBLEM_READING_IMAGE_FILE",
ImageError::ErrorStoringImage => "ERROR_STORING_IMAGE",
ImageError::AspectRatioNotAllowed => "ASPECT_RATIO_NOT_ALLOWED",
ImageError::FlashHasNetworkObjects => "FLASH_HAS_NETWORK_OBJECTS",
ImageError::FlashHasNetworkMethods => "FLASH_HAS_NETWORK_METHODS",
ImageError::FlashHasUrl => "FLASH_HAS_URL",
ImageError::FlashHasMouseTracking => "FLASH_HAS_MOUSE_TRACKING",
ImageError::FlashHasRandomNum => "FLASH_HAS_RANDOM_NUM",
ImageError::FlashSelfTargets => "FLASH_SELF_TARGETS",
ImageError::FlashBadGeturlTarget => "FLASH_BAD_GETURL_TARGET",
ImageError::FlashVersionNotSupported => "FLASH_VERSION_NOT_SUPPORTED",
ImageError::FlashWithoutHardCodedClickUrl => {
"FLASH_WITHOUT_HARD_CODED_CLICK_URL"
}
ImageError::InvalidFlashFile => "INVALID_FLASH_FILE",
ImageError::FailedToFixClickTagInFlash => {
"FAILED_TO_FIX_CLICK_TAG_IN_FLASH"
}
ImageError::FlashAccessesNetworkResources => {
"FLASH_ACCESSES_NETWORK_RESOURCES"
}
ImageError::FlashExternalJsCall => "FLASH_EXTERNAL_JS_CALL",
ImageError::FlashExternalFsCall => "FLASH_EXTERNAL_FS_CALL",
ImageError::FileTooLarge => "FILE_TOO_LARGE",
ImageError::ImageDataTooLarge => "IMAGE_DATA_TOO_LARGE",
ImageError::ImageProcessingError => "IMAGE_PROCESSING_ERROR",
ImageError::ImageTooSmall => "IMAGE_TOO_SMALL",
ImageError::InvalidInput => "INVALID_INPUT",
ImageError::ProblemReadingFile => "PROBLEM_READING_FILE",
ImageError::ImageConstraintsViolated => "IMAGE_CONSTRAINTS_VIOLATED",
ImageError::FormatNotAllowed => "FORMAT_NOT_ALLOWED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_IMAGE" => Some(Self::InvalidImage),
"STORAGE_ERROR" => Some(Self::StorageError),
"BAD_REQUEST" => Some(Self::BadRequest),
"UNEXPECTED_SIZE" => Some(Self::UnexpectedSize),
"ANIMATED_NOT_ALLOWED" => Some(Self::AnimatedNotAllowed),
"ANIMATION_TOO_LONG" => Some(Self::AnimationTooLong),
"SERVER_ERROR" => Some(Self::ServerError),
"CMYK_JPEG_NOT_ALLOWED" => Some(Self::CmykJpegNotAllowed),
"FLASH_NOT_ALLOWED" => Some(Self::FlashNotAllowed),
"FLASH_WITHOUT_CLICKTAG" => Some(Self::FlashWithoutClicktag),
"FLASH_ERROR_AFTER_FIXING_CLICK_TAG" => {
Some(Self::FlashErrorAfterFixingClickTag)
}
"ANIMATED_VISUAL_EFFECT" => Some(Self::AnimatedVisualEffect),
"FLASH_ERROR" => Some(Self::FlashError),
"LAYOUT_PROBLEM" => Some(Self::LayoutProblem),
"PROBLEM_READING_IMAGE_FILE" => Some(Self::ProblemReadingImageFile),
"ERROR_STORING_IMAGE" => Some(Self::ErrorStoringImage),
"ASPECT_RATIO_NOT_ALLOWED" => Some(Self::AspectRatioNotAllowed),
"FLASH_HAS_NETWORK_OBJECTS" => Some(Self::FlashHasNetworkObjects),
"FLASH_HAS_NETWORK_METHODS" => Some(Self::FlashHasNetworkMethods),
"FLASH_HAS_URL" => Some(Self::FlashHasUrl),
"FLASH_HAS_MOUSE_TRACKING" => Some(Self::FlashHasMouseTracking),
"FLASH_HAS_RANDOM_NUM" => Some(Self::FlashHasRandomNum),
"FLASH_SELF_TARGETS" => Some(Self::FlashSelfTargets),
"FLASH_BAD_GETURL_TARGET" => Some(Self::FlashBadGeturlTarget),
"FLASH_VERSION_NOT_SUPPORTED" => Some(Self::FlashVersionNotSupported),
"FLASH_WITHOUT_HARD_CODED_CLICK_URL" => {
Some(Self::FlashWithoutHardCodedClickUrl)
}
"INVALID_FLASH_FILE" => Some(Self::InvalidFlashFile),
"FAILED_TO_FIX_CLICK_TAG_IN_FLASH" => {
Some(Self::FailedToFixClickTagInFlash)
}
"FLASH_ACCESSES_NETWORK_RESOURCES" => {
Some(Self::FlashAccessesNetworkResources)
}
"FLASH_EXTERNAL_JS_CALL" => Some(Self::FlashExternalJsCall),
"FLASH_EXTERNAL_FS_CALL" => Some(Self::FlashExternalFsCall),
"FILE_TOO_LARGE" => Some(Self::FileTooLarge),
"IMAGE_DATA_TOO_LARGE" => Some(Self::ImageDataTooLarge),
"IMAGE_PROCESSING_ERROR" => Some(Self::ImageProcessingError),
"IMAGE_TOO_SMALL" => Some(Self::ImageTooSmall),
"INVALID_INPUT" => Some(Self::InvalidInput),
"PROBLEM_READING_FILE" => Some(Self::ProblemReadingFile),
"IMAGE_CONSTRAINTS_VIOLATED" => Some(Self::ImageConstraintsViolated),
"FORMAT_NOT_ALLOWED" => Some(Self::FormatNotAllowed),
_ => None,
}
}
}
}
/// Container for enum describing possible customer lifecycle goal errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomerLifecycleGoalErrorEnum {}
/// Nested message and enum types in `CustomerLifecycleGoalErrorEnum`.
pub mod customer_lifecycle_goal_error_enum {
/// Enum describing possible customer lifecycle goal errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CustomerLifecycleGoalError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// CustomerLifecycleGoal.customer_acquisition_goal_value_settings.value must
/// be set.
CustomerAcquisitionValueMissing = 2,
/// CustomerLifecycleGoal.customer_acquisition_goal_value_settings.value must
/// be no less than 0.01.
CustomerAcquisitionInvalidValue = 3,
/// CustomerLifecycleGoal.customer_acquisition_goal_value_settings.high_lifetime_value
/// must be no less than 0.01. Also, to set this field,
/// CustomerLifecycleGoal.customer_acquisition_goal_value_settings.value must
/// also be present, and high_lifetime_value must be greater than value.
CustomerAcquisitionInvalidHighLifetimeValue = 4,
/// CustomerLifecycleGoal.customer_acquisition_goal_value_settings.value
/// cannot be cleared. This value would have no effect as long as none of
/// your campaigns adopt the customer acquisitiong goal.
CustomerAcquisitionValueCannotBeCleared = 5,
/// CustomerLifecycleGoal.customer_acquisition_goal_value_settings.high_lifetime_value
/// cannot be cleared. This value would have no effect as long as none of
/// your campaigns adopt the high value optimization of customer acquisitiong
/// goal.
CustomerAcquisitionHighLifetimeValueCannotBeCleared = 6,
/// Found invalid value in
/// CustomerLifecycleGoal.lifecycle_goal_customer_definition_settings.existing_user_lists.
/// The userlist must be accessible, active and belong to one of the
/// following types: CRM_BASED, RULE_BASED, REMARKETING.
InvalidExistingUserList = 7,
/// Found invalid value in
/// CustomerLifecycleGoal.lifecycle_goal_customer_definition_settings.high_lifetime_value_user_lists.
/// The userlist must be accessible, active and belong to one of the
/// following types: CRM_BASED, RULE_BASED, REMARKETING.
InvalidHighLifetimeValueUserList = 8,
}
impl CustomerLifecycleGoalError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CustomerLifecycleGoalError::Unspecified => "UNSPECIFIED",
CustomerLifecycleGoalError::Unknown => "UNKNOWN",
CustomerLifecycleGoalError::CustomerAcquisitionValueMissing => {
"CUSTOMER_ACQUISITION_VALUE_MISSING"
}
CustomerLifecycleGoalError::CustomerAcquisitionInvalidValue => {
"CUSTOMER_ACQUISITION_INVALID_VALUE"
}
CustomerLifecycleGoalError::CustomerAcquisitionInvalidHighLifetimeValue => {
"CUSTOMER_ACQUISITION_INVALID_HIGH_LIFETIME_VALUE"
}
CustomerLifecycleGoalError::CustomerAcquisitionValueCannotBeCleared => {
"CUSTOMER_ACQUISITION_VALUE_CANNOT_BE_CLEARED"
}
CustomerLifecycleGoalError::CustomerAcquisitionHighLifetimeValueCannotBeCleared => {
"CUSTOMER_ACQUISITION_HIGH_LIFETIME_VALUE_CANNOT_BE_CLEARED"
}
CustomerLifecycleGoalError::InvalidExistingUserList => {
"INVALID_EXISTING_USER_LIST"
}
CustomerLifecycleGoalError::InvalidHighLifetimeValueUserList => {
"INVALID_HIGH_LIFETIME_VALUE_USER_LIST"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CUSTOMER_ACQUISITION_VALUE_MISSING" => {
Some(Self::CustomerAcquisitionValueMissing)
}
"CUSTOMER_ACQUISITION_INVALID_VALUE" => {
Some(Self::CustomerAcquisitionInvalidValue)
}
"CUSTOMER_ACQUISITION_INVALID_HIGH_LIFETIME_VALUE" => {
Some(Self::CustomerAcquisitionInvalidHighLifetimeValue)
}
"CUSTOMER_ACQUISITION_VALUE_CANNOT_BE_CLEARED" => {
Some(Self::CustomerAcquisitionValueCannotBeCleared)
}
"CUSTOMER_ACQUISITION_HIGH_LIFETIME_VALUE_CANNOT_BE_CLEARED" => {
Some(Self::CustomerAcquisitionHighLifetimeValueCannotBeCleared)
}
"INVALID_EXISTING_USER_LIST" => Some(Self::InvalidExistingUserList),
"INVALID_HIGH_LIFETIME_VALUE_USER_LIST" => {
Some(Self::InvalidHighLifetimeValueUserList)
}
_ => None,
}
}
}
}
/// Container for enum describing YouTube video registration errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct YoutubeVideoRegistrationErrorEnum {}
/// Nested message and enum types in `YoutubeVideoRegistrationErrorEnum`.
pub mod youtube_video_registration_error_enum {
/// Enum describing YouTube video registration errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum YoutubeVideoRegistrationError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Video to be registered wasn't found.
VideoNotFound = 2,
/// Video to be registered is not accessible (for example, private).
VideoNotAccessible = 3,
/// Video to be registered is not eligible (for example, mature content).
VideoNotEligible = 4,
}
impl YoutubeVideoRegistrationError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
YoutubeVideoRegistrationError::Unspecified => "UNSPECIFIED",
YoutubeVideoRegistrationError::Unknown => "UNKNOWN",
YoutubeVideoRegistrationError::VideoNotFound => "VIDEO_NOT_FOUND",
YoutubeVideoRegistrationError::VideoNotAccessible => {
"VIDEO_NOT_ACCESSIBLE"
}
YoutubeVideoRegistrationError::VideoNotEligible => "VIDEO_NOT_ELIGIBLE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"VIDEO_NOT_FOUND" => Some(Self::VideoNotFound),
"VIDEO_NOT_ACCESSIBLE" => Some(Self::VideoNotAccessible),
"VIDEO_NOT_ELIGIBLE" => Some(Self::VideoNotEligible),
_ => None,
}
}
}
}
/// Container for enum describing possible errors from applying an ad group
/// keyword or a campaign keyword from a keyword plan.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct KeywordPlanAdGroupKeywordErrorEnum {}
/// Nested message and enum types in `KeywordPlanAdGroupKeywordErrorEnum`.
pub mod keyword_plan_ad_group_keyword_error_enum {
/// Enum describing possible errors from applying a keyword plan ad group
/// keyword or keyword plan campaign keyword.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum KeywordPlanAdGroupKeywordError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// A keyword or negative keyword has invalid match type.
InvalidKeywordMatchType = 2,
/// A keyword or negative keyword with same text and match type already
/// exists.
DuplicateKeyword = 3,
/// Keyword or negative keyword text exceeds the allowed limit.
KeywordTextTooLong = 4,
/// Keyword or negative keyword text has invalid characters or symbols.
KeywordHasInvalidChars = 5,
/// Keyword or negative keyword text has too many words.
KeywordHasTooManyWords = 6,
/// Keyword or negative keyword has invalid text.
InvalidKeywordText = 7,
/// Cpc Bid set for negative keyword.
NegativeKeywordHasCpcBid = 8,
/// New broad match modifier (BMM) KpAdGroupKeywords are not allowed.
NewBmmKeywordsNotAllowed = 9,
}
impl KeywordPlanAdGroupKeywordError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
KeywordPlanAdGroupKeywordError::Unspecified => "UNSPECIFIED",
KeywordPlanAdGroupKeywordError::Unknown => "UNKNOWN",
KeywordPlanAdGroupKeywordError::InvalidKeywordMatchType => {
"INVALID_KEYWORD_MATCH_TYPE"
}
KeywordPlanAdGroupKeywordError::DuplicateKeyword => "DUPLICATE_KEYWORD",
KeywordPlanAdGroupKeywordError::KeywordTextTooLong => {
"KEYWORD_TEXT_TOO_LONG"
}
KeywordPlanAdGroupKeywordError::KeywordHasInvalidChars => {
"KEYWORD_HAS_INVALID_CHARS"
}
KeywordPlanAdGroupKeywordError::KeywordHasTooManyWords => {
"KEYWORD_HAS_TOO_MANY_WORDS"
}
KeywordPlanAdGroupKeywordError::InvalidKeywordText => {
"INVALID_KEYWORD_TEXT"
}
KeywordPlanAdGroupKeywordError::NegativeKeywordHasCpcBid => {
"NEGATIVE_KEYWORD_HAS_CPC_BID"
}
KeywordPlanAdGroupKeywordError::NewBmmKeywordsNotAllowed => {
"NEW_BMM_KEYWORDS_NOT_ALLOWED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_KEYWORD_MATCH_TYPE" => Some(Self::InvalidKeywordMatchType),
"DUPLICATE_KEYWORD" => Some(Self::DuplicateKeyword),
"KEYWORD_TEXT_TOO_LONG" => Some(Self::KeywordTextTooLong),
"KEYWORD_HAS_INVALID_CHARS" => Some(Self::KeywordHasInvalidChars),
"KEYWORD_HAS_TOO_MANY_WORDS" => Some(Self::KeywordHasTooManyWords),
"INVALID_KEYWORD_TEXT" => Some(Self::InvalidKeywordText),
"NEGATIVE_KEYWORD_HAS_CPC_BID" => Some(Self::NegativeKeywordHasCpcBid),
"NEW_BMM_KEYWORDS_NOT_ALLOWED" => Some(Self::NewBmmKeywordsNotAllowed),
_ => None,
}
}
}
}
/// Container for enum describing possible campaign draft errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CampaignDraftErrorEnum {}
/// Nested message and enum types in `CampaignDraftErrorEnum`.
pub mod campaign_draft_error_enum {
/// Enum describing possible campaign draft errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CampaignDraftError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// A draft with this name already exists for this campaign.
DuplicateDraftName = 2,
/// The draft is removed and cannot be transitioned to another status.
InvalidStatusTransitionFromRemoved = 3,
/// The draft has been promoted and cannot be transitioned to the specified
/// status.
InvalidStatusTransitionFromPromoted = 4,
/// The draft has failed to be promoted and cannot be transitioned to the
/// specified status.
InvalidStatusTransitionFromPromoteFailed = 5,
/// This customer is not allowed to create drafts.
CustomerCannotCreateDraft = 6,
/// This campaign is not allowed to create drafts.
CampaignCannotCreateDraft = 7,
/// This modification cannot be made on a draft.
InvalidDraftChange = 8,
/// The draft cannot be transitioned to the specified status from its
/// current status.
InvalidStatusTransition = 9,
/// The campaign has reached the maximum number of drafts that can be created
/// for a campaign throughout its lifetime. No additional drafts can be
/// created for this campaign. Removed drafts also count towards this limit.
MaxNumberOfDraftsPerCampaignReached = 10,
/// ListAsyncErrors was called without first promoting the draft.
ListErrorsForPromotedDraftOnly = 11,
}
impl CampaignDraftError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CampaignDraftError::Unspecified => "UNSPECIFIED",
CampaignDraftError::Unknown => "UNKNOWN",
CampaignDraftError::DuplicateDraftName => "DUPLICATE_DRAFT_NAME",
CampaignDraftError::InvalidStatusTransitionFromRemoved => {
"INVALID_STATUS_TRANSITION_FROM_REMOVED"
}
CampaignDraftError::InvalidStatusTransitionFromPromoted => {
"INVALID_STATUS_TRANSITION_FROM_PROMOTED"
}
CampaignDraftError::InvalidStatusTransitionFromPromoteFailed => {
"INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED"
}
CampaignDraftError::CustomerCannotCreateDraft => {
"CUSTOMER_CANNOT_CREATE_DRAFT"
}
CampaignDraftError::CampaignCannotCreateDraft => {
"CAMPAIGN_CANNOT_CREATE_DRAFT"
}
CampaignDraftError::InvalidDraftChange => "INVALID_DRAFT_CHANGE",
CampaignDraftError::InvalidStatusTransition => {
"INVALID_STATUS_TRANSITION"
}
CampaignDraftError::MaxNumberOfDraftsPerCampaignReached => {
"MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED"
}
CampaignDraftError::ListErrorsForPromotedDraftOnly => {
"LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"DUPLICATE_DRAFT_NAME" => Some(Self::DuplicateDraftName),
"INVALID_STATUS_TRANSITION_FROM_REMOVED" => {
Some(Self::InvalidStatusTransitionFromRemoved)
}
"INVALID_STATUS_TRANSITION_FROM_PROMOTED" => {
Some(Self::InvalidStatusTransitionFromPromoted)
}
"INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED" => {
Some(Self::InvalidStatusTransitionFromPromoteFailed)
}
"CUSTOMER_CANNOT_CREATE_DRAFT" => Some(Self::CustomerCannotCreateDraft),
"CAMPAIGN_CANNOT_CREATE_DRAFT" => Some(Self::CampaignCannotCreateDraft),
"INVALID_DRAFT_CHANGE" => Some(Self::InvalidDraftChange),
"INVALID_STATUS_TRANSITION" => Some(Self::InvalidStatusTransition),
"MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED" => {
Some(Self::MaxNumberOfDraftsPerCampaignReached)
}
"LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY" => {
Some(Self::ListErrorsForPromotedDraftOnly)
}
_ => None,
}
}
}
}
/// Container for enum describing possible operator errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct OperatorErrorEnum {}
/// Nested message and enum types in `OperatorErrorEnum`.
pub mod operator_error_enum {
/// Enum describing possible operator errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum OperatorError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Operator not supported.
OperatorNotSupported = 2,
}
impl OperatorError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
OperatorError::Unspecified => "UNSPECIFIED",
OperatorError::Unknown => "UNKNOWN",
OperatorError::OperatorNotSupported => "OPERATOR_NOT_SUPPORTED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"OPERATOR_NOT_SUPPORTED" => Some(Self::OperatorNotSupported),
_ => None,
}
}
}
}
/// Container for enum describing possible ad group errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdGroupErrorEnum {}
/// Nested message and enum types in `AdGroupErrorEnum`.
pub mod ad_group_error_enum {
/// Enum describing possible ad group errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AdGroupError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// AdGroup with the same name already exists for the campaign.
DuplicateAdgroupName = 2,
/// AdGroup name is not valid.
InvalidAdgroupName = 3,
/// Advertiser is not allowed to target sites or set site bids that are not
/// on the Google Search Network.
AdvertiserNotOnContentNetwork = 5,
/// Bid amount is too big.
BidTooBig = 6,
/// AdGroup bid does not match the campaign's bidding strategy.
BidTypeAndBiddingStrategyMismatch = 7,
/// AdGroup name is required for Add.
MissingAdgroupName = 8,
/// No link found between the ad group and the label.
AdgroupLabelDoesNotExist = 9,
/// The label has already been attached to the ad group.
AdgroupLabelAlreadyExists = 10,
/// The CriterionTypeGroup is not supported for the content bid dimension.
InvalidContentBidCriterionTypeGroup = 11,
/// The ad group type is not compatible with the campaign channel type.
AdGroupTypeNotValidForAdvertisingChannelType = 12,
/// The ad group type is not supported in the country of sale of the
/// campaign.
AdgroupTypeNotSupportedForCampaignSalesCountry = 13,
/// Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to
/// campaigns that have DynamicSearchAdsSetting attached.
CannotAddAdgroupOfTypeDsaToCampaignWithoutDsaSetting = 14,
/// Promoted hotels ad groups are only available to customers on the
/// allow-list.
PromotedHotelAdGroupsNotAvailableForCustomer = 15,
/// The field type cannot be excluded because an active ad group-asset link
/// of this type exists.
InvalidExcludedParentAssetFieldType = 16,
/// The asset set type is invalid for setting the
/// excluded_parent_asset_set_types field.
InvalidExcludedParentAssetSetType = 17,
}
impl AdGroupError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AdGroupError::Unspecified => "UNSPECIFIED",
AdGroupError::Unknown => "UNKNOWN",
AdGroupError::DuplicateAdgroupName => "DUPLICATE_ADGROUP_NAME",
AdGroupError::InvalidAdgroupName => "INVALID_ADGROUP_NAME",
AdGroupError::AdvertiserNotOnContentNetwork => {
"ADVERTISER_NOT_ON_CONTENT_NETWORK"
}
AdGroupError::BidTooBig => "BID_TOO_BIG",
AdGroupError::BidTypeAndBiddingStrategyMismatch => {
"BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH"
}
AdGroupError::MissingAdgroupName => "MISSING_ADGROUP_NAME",
AdGroupError::AdgroupLabelDoesNotExist => "ADGROUP_LABEL_DOES_NOT_EXIST",
AdGroupError::AdgroupLabelAlreadyExists => "ADGROUP_LABEL_ALREADY_EXISTS",
AdGroupError::InvalidContentBidCriterionTypeGroup => {
"INVALID_CONTENT_BID_CRITERION_TYPE_GROUP"
}
AdGroupError::AdGroupTypeNotValidForAdvertisingChannelType => {
"AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE"
}
AdGroupError::AdgroupTypeNotSupportedForCampaignSalesCountry => {
"ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY"
}
AdGroupError::CannotAddAdgroupOfTypeDsaToCampaignWithoutDsaSetting => {
"CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING"
}
AdGroupError::PromotedHotelAdGroupsNotAvailableForCustomer => {
"PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER"
}
AdGroupError::InvalidExcludedParentAssetFieldType => {
"INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE"
}
AdGroupError::InvalidExcludedParentAssetSetType => {
"INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"DUPLICATE_ADGROUP_NAME" => Some(Self::DuplicateAdgroupName),
"INVALID_ADGROUP_NAME" => Some(Self::InvalidAdgroupName),
"ADVERTISER_NOT_ON_CONTENT_NETWORK" => {
Some(Self::AdvertiserNotOnContentNetwork)
}
"BID_TOO_BIG" => Some(Self::BidTooBig),
"BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH" => {
Some(Self::BidTypeAndBiddingStrategyMismatch)
}
"MISSING_ADGROUP_NAME" => Some(Self::MissingAdgroupName),
"ADGROUP_LABEL_DOES_NOT_EXIST" => Some(Self::AdgroupLabelDoesNotExist),
"ADGROUP_LABEL_ALREADY_EXISTS" => Some(Self::AdgroupLabelAlreadyExists),
"INVALID_CONTENT_BID_CRITERION_TYPE_GROUP" => {
Some(Self::InvalidContentBidCriterionTypeGroup)
}
"AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE" => {
Some(Self::AdGroupTypeNotValidForAdvertisingChannelType)
}
"ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY" => {
Some(Self::AdgroupTypeNotSupportedForCampaignSalesCountry)
}
"CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING" => {
Some(Self::CannotAddAdgroupOfTypeDsaToCampaignWithoutDsaSetting)
}
"PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER" => {
Some(Self::PromotedHotelAdGroupsNotAvailableForCustomer)
}
"INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE" => {
Some(Self::InvalidExcludedParentAssetFieldType)
}
"INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE" => {
Some(Self::InvalidExcludedParentAssetSetType)
}
_ => None,
}
}
}
}
/// Container for enum describing possible setting errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct SettingErrorEnum {}
/// Nested message and enum types in `SettingErrorEnum`.
pub mod setting_error_enum {
/// Enum describing possible setting errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum SettingError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The campaign setting is not available for this Google Ads account.
SettingTypeIsNotAvailable = 3,
/// The setting is not compatible with the campaign.
SettingTypeIsNotCompatibleWithCampaign = 4,
/// The supplied TargetingSetting contains an invalid CriterionTypeGroup. See
/// CriterionTypeGroup documentation for CriterionTypeGroups allowed
/// in Campaign or AdGroup TargetingSettings.
TargetingSettingContainsInvalidCriterionTypeGroup = 5,
/// TargetingSetting must not explicitly
/// set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER,
/// PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in
/// which case the system will set them to true automatically).
TargetingSettingDemographicCriterionTypeGroupsMustBeSetToTargetAll = 6,
/// TargetingSetting cannot change any of
/// the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT,
/// INCOME_RANGE) from true to false.
TargetingSettingCannotChangeTargetAllToFalseForDemographicCriterionTypeGroup = 7,
/// At least one feed id should be present.
DynamicSearchAdsSettingAtLeastOneFeedIdMustBePresent = 8,
/// The supplied DynamicSearchAdsSetting contains an invalid domain name.
DynamicSearchAdsSettingContainsInvalidDomainName = 9,
/// The supplied DynamicSearchAdsSetting contains a subdomain name.
DynamicSearchAdsSettingContainsSubdomainName = 10,
/// The supplied DynamicSearchAdsSetting contains an invalid language code.
DynamicSearchAdsSettingContainsInvalidLanguageCode = 11,
/// TargetingSettings in search campaigns should not have
/// CriterionTypeGroup.PLACEMENT set to targetAll.
TargetAllIsNotAllowedForPlacementInSearchCampaign = 12,
/// The setting value is not compatible with the campaign type.
SettingValueNotCompatibleWithCampaign = 20,
/// Switching from observation setting to targeting setting is not allowed
/// for Customer Match lists. See
/// <https://support.google.com/google-ads/answer/6299717.>
BidOnlyIsNotAllowedToBeModifiedWithCustomerMatchTargeting = 21,
}
impl SettingError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
SettingError::Unspecified => "UNSPECIFIED",
SettingError::Unknown => "UNKNOWN",
SettingError::SettingTypeIsNotAvailable => {
"SETTING_TYPE_IS_NOT_AVAILABLE"
}
SettingError::SettingTypeIsNotCompatibleWithCampaign => {
"SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN"
}
SettingError::TargetingSettingContainsInvalidCriterionTypeGroup => {
"TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP"
}
SettingError::TargetingSettingDemographicCriterionTypeGroupsMustBeSetToTargetAll => {
"TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL"
}
SettingError::TargetingSettingCannotChangeTargetAllToFalseForDemographicCriterionTypeGroup => {
"TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP"
}
SettingError::DynamicSearchAdsSettingAtLeastOneFeedIdMustBePresent => {
"DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT"
}
SettingError::DynamicSearchAdsSettingContainsInvalidDomainName => {
"DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME"
}
SettingError::DynamicSearchAdsSettingContainsSubdomainName => {
"DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME"
}
SettingError::DynamicSearchAdsSettingContainsInvalidLanguageCode => {
"DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE"
}
SettingError::TargetAllIsNotAllowedForPlacementInSearchCampaign => {
"TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN"
}
SettingError::SettingValueNotCompatibleWithCampaign => {
"SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN"
}
SettingError::BidOnlyIsNotAllowedToBeModifiedWithCustomerMatchTargeting => {
"BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"SETTING_TYPE_IS_NOT_AVAILABLE" => Some(Self::SettingTypeIsNotAvailable),
"SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN" => {
Some(Self::SettingTypeIsNotCompatibleWithCampaign)
}
"TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP" => {
Some(Self::TargetingSettingContainsInvalidCriterionTypeGroup)
}
"TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL" => {
Some(
Self::TargetingSettingDemographicCriterionTypeGroupsMustBeSetToTargetAll,
)
}
"TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP" => {
Some(
Self::TargetingSettingCannotChangeTargetAllToFalseForDemographicCriterionTypeGroup,
)
}
"DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT" => {
Some(Self::DynamicSearchAdsSettingAtLeastOneFeedIdMustBePresent)
}
"DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME" => {
Some(Self::DynamicSearchAdsSettingContainsInvalidDomainName)
}
"DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME" => {
Some(Self::DynamicSearchAdsSettingContainsSubdomainName)
}
"DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE" => {
Some(Self::DynamicSearchAdsSettingContainsInvalidLanguageCode)
}
"TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN" => {
Some(Self::TargetAllIsNotAllowedForPlacementInSearchCampaign)
}
"SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN" => {
Some(Self::SettingValueNotCompatibleWithCampaign)
}
"BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING" => {
Some(Self::BidOnlyIsNotAllowedToBeModifiedWithCustomerMatchTargeting)
}
_ => None,
}
}
}
}
/// Container for enum describing possible Smart campaign errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct SmartCampaignErrorEnum {}
/// Nested message and enum types in `SmartCampaignErrorEnum`.
pub mod smart_campaign_error_enum {
/// Enum describing possible Smart campaign errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum SmartCampaignError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The business location id is invalid.
InvalidBusinessLocationId = 2,
/// The SmartCampaignSetting resource is only applicable for campaigns
/// with advertising channel type SMART.
InvalidCampaign = 3,
/// The business name or business location id is required.
BusinessNameOrBusinessLocationIdMissing = 4,
/// A Smart campaign suggestion request field is required.
RequiredSuggestionFieldMissing = 5,
/// A location list or proximity is required.
GeoTargetsRequired = 6,
/// The locale could not be determined.
CannotDetermineSuggestionLocale = 7,
/// The final URL could not be crawled.
FinalUrlNotCrawlable = 8,
}
impl SmartCampaignError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
SmartCampaignError::Unspecified => "UNSPECIFIED",
SmartCampaignError::Unknown => "UNKNOWN",
SmartCampaignError::InvalidBusinessLocationId => {
"INVALID_BUSINESS_LOCATION_ID"
}
SmartCampaignError::InvalidCampaign => "INVALID_CAMPAIGN",
SmartCampaignError::BusinessNameOrBusinessLocationIdMissing => {
"BUSINESS_NAME_OR_BUSINESS_LOCATION_ID_MISSING"
}
SmartCampaignError::RequiredSuggestionFieldMissing => {
"REQUIRED_SUGGESTION_FIELD_MISSING"
}
SmartCampaignError::GeoTargetsRequired => "GEO_TARGETS_REQUIRED",
SmartCampaignError::CannotDetermineSuggestionLocale => {
"CANNOT_DETERMINE_SUGGESTION_LOCALE"
}
SmartCampaignError::FinalUrlNotCrawlable => "FINAL_URL_NOT_CRAWLABLE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_BUSINESS_LOCATION_ID" => Some(Self::InvalidBusinessLocationId),
"INVALID_CAMPAIGN" => Some(Self::InvalidCampaign),
"BUSINESS_NAME_OR_BUSINESS_LOCATION_ID_MISSING" => {
Some(Self::BusinessNameOrBusinessLocationIdMissing)
}
"REQUIRED_SUGGESTION_FIELD_MISSING" => {
Some(Self::RequiredSuggestionFieldMissing)
}
"GEO_TARGETS_REQUIRED" => Some(Self::GeoTargetsRequired),
"CANNOT_DETERMINE_SUGGESTION_LOCALE" => {
Some(Self::CannotDetermineSuggestionLocale)
}
"FINAL_URL_NOT_CRAWLABLE" => Some(Self::FinalUrlNotCrawlable),
_ => None,
}
}
}
}
/// Container for enum describing possible validation errors of a feed item.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FeedItemValidationErrorEnum {}
/// Nested message and enum types in `FeedItemValidationErrorEnum`.
pub mod feed_item_validation_error_enum {
/// The possible validation errors of a feed item.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum FeedItemValidationError {
/// No value has been specified.
Unspecified = 0,
/// Used for return value only. Represents value unknown in this version.
Unknown = 1,
/// String is too short.
StringTooShort = 2,
/// String is too long.
StringTooLong = 3,
/// Value is not provided.
ValueNotSpecified = 4,
/// Phone number format is invalid for region.
InvalidDomesticPhoneNumberFormat = 5,
/// String does not represent a phone number.
InvalidPhoneNumber = 6,
/// Phone number format is not compatible with country code.
PhoneNumberNotSupportedForCountry = 7,
/// Premium rate number is not allowed.
PremiumRateNumberNotAllowed = 8,
/// Phone number type is not allowed.
DisallowedNumberType = 9,
/// Specified value is outside of the valid range.
ValueOutOfRange = 10,
/// Call tracking is not supported in the selected country.
CalltrackingNotSupportedForCountry = 11,
/// Customer is not on the allow-list for call tracking.
CustomerNotInAllowlistForCalltracking = 99,
/// Country code is invalid.
InvalidCountryCode = 13,
/// The specified mobile app id is invalid.
InvalidAppId = 14,
/// Some required field attributes are missing.
MissingAttributesForFields = 15,
/// Invalid email button type for email extension.
InvalidTypeId = 16,
/// Email address is invalid.
InvalidEmailAddress = 17,
/// The HTTPS URL in email extension is invalid.
InvalidHttpsUrl = 18,
/// Delivery address is missing from email extension.
MissingDeliveryAddress = 19,
/// FeedItem scheduling start date comes after end date.
StartDateAfterEndDate = 20,
/// FeedItem scheduling start time is missing.
MissingFeedItemStartTime = 21,
/// FeedItem scheduling end time is missing.
MissingFeedItemEndTime = 22,
/// Cannot compute system attributes on a FeedItem that has no FeedItemId.
MissingFeedItemId = 23,
/// Call extension vanity phone numbers are not supported.
VanityPhoneNumberNotAllowed = 24,
/// Invalid review text.
InvalidReviewExtensionSnippet = 25,
/// Invalid format for numeric value in ad parameter.
InvalidNumberFormat = 26,
/// Invalid format for date value in ad parameter.
InvalidDateFormat = 27,
/// Invalid format for price value in ad parameter.
InvalidPriceFormat = 28,
/// Unrecognized type given for value in ad parameter.
UnknownPlaceholderField = 29,
/// Enhanced sitelinks must have both description lines specified.
MissingEnhancedSitelinkDescriptionLine = 30,
/// Review source is ineligible.
ReviewExtensionSourceIneligible = 31,
/// Review text cannot contain hyphens or dashes.
HyphensInReviewExtensionSnippet = 32,
/// Review text cannot contain double quote characters.
DoubleQuotesInReviewExtensionSnippet = 33,
/// Review text cannot contain quote characters.
QuotesInReviewExtensionSnippet = 34,
/// Parameters are encoded in the wrong format.
InvalidFormEncodedParams = 35,
/// URL parameter name must contain only letters, numbers, underscores, and
/// dashes.
InvalidUrlParameterName = 36,
/// Cannot find address location.
NoGeocodingResult = 37,
/// Review extension text has source name.
SourceNameInReviewExtensionText = 38,
/// Some phone numbers can be shorter than usual. Some of these short numbers
/// are carrier-specific, and we disallow those in ad extensions because they
/// will not be available to all users.
CarrierSpecificShortNumberNotAllowed = 39,
/// Triggered when a request references a placeholder field id that does not
/// exist.
InvalidPlaceholderFieldId = 40,
/// URL contains invalid ValueTrack tags or format.
InvalidUrlTag = 41,
/// Provided list exceeds acceptable size.
ListTooLong = 42,
/// Certain combinations of attributes aren't allowed to be specified in the
/// same feed item.
InvalidAttributesCombination = 43,
/// An attribute has the same value repeatedly.
DuplicateValues = 44,
/// Advertisers can link a conversion action with a phone number to indicate
/// that sufficiently long calls forwarded to that phone number should be
/// counted as conversions of the specified type. This is an error message
/// indicating that the conversion action specified is invalid (for example,
/// the conversion action does not exist within the appropriate Google Ads
/// account, or it is a type of conversion not appropriate to phone call
/// conversions).
InvalidCallConversionActionId = 45,
/// Tracking template requires final url to be set.
CannotSetWithoutFinalUrls = 46,
/// An app id was provided that doesn't exist in the given app store.
AppIdDoesntExistInAppStore = 47,
/// Invalid U2 final url.
InvalidFinalUrl = 48,
/// Invalid U2 tracking url.
InvalidTrackingUrl = 49,
/// Final URL should start from App download URL.
InvalidFinalUrlForAppDownloadUrl = 50,
/// List provided is too short.
ListTooShort = 51,
/// User Action field has invalid value.
InvalidUserAction = 52,
/// Type field has invalid value.
InvalidTypeName = 53,
/// Change status for event is invalid.
InvalidEventChangeStatus = 54,
/// The header of a structured snippets extension is not one of the valid
/// headers.
InvalidSnippetsHeader = 55,
/// Android app link is not formatted correctly
InvalidAndroidAppLink = 56,
/// Phone number incompatible with call tracking for country.
NumberTypeWithCalltrackingNotSupportedForCountry = 57,
/// The input is identical to a reserved keyword
ReservedKeywordOther = 58,
/// Each option label in the message extension must be unique.
DuplicateOptionLabels = 59,
/// Each option prefill in the message extension must be unique.
DuplicateOptionPrefills = 60,
/// In message extensions, the number of optional labels and optional
/// prefills must be the same.
UnequalListLengths = 61,
/// All currency codes in an ad extension must be the same.
InconsistentCurrencyCodes = 62,
/// Headers in price extension are not unique.
PriceExtensionHasDuplicatedHeaders = 63,
/// Header and description in an item are the same.
ItemHasDuplicatedHeaderAndDescription = 64,
/// Price extension has too few items.
PriceExtensionHasTooFewItems = 65,
/// The given value is not supported.
UnsupportedValue = 66,
/// Invalid final mobile url.
InvalidFinalMobileUrl = 67,
/// The given string value of Label contains invalid characters
InvalidKeywordlessAdRuleLabel = 68,
/// The given URL contains value track parameters.
ValueTrackParameterNotSupported = 69,
/// The given value is not supported in the selected language of an
/// extension.
UnsupportedValueInSelectedLanguage = 70,
/// The iOS app link is not formatted correctly.
InvalidIosAppLink = 71,
/// iOS app link or iOS app store id is missing.
MissingIosAppLinkOrIosAppStoreId = 72,
/// Promotion time is invalid.
PromotionInvalidTime = 73,
/// Both the percent off and money amount off fields are set.
PromotionCannotSetPercentOffAndMoneyAmountOff = 74,
/// Both the promotion code and orders over amount fields are set.
PromotionCannotSetPromotionCodeAndOrdersOverAmount = 75,
/// Too many decimal places are specified.
TooManyDecimalPlacesSpecified = 76,
/// Ad Customizers are present and not allowed.
AdCustomizersNotAllowed = 77,
/// Language code is not valid.
InvalidLanguageCode = 78,
/// Language is not supported.
UnsupportedLanguage = 79,
/// IF Function is present and not allowed.
IfFunctionNotAllowed = 80,
/// Final url suffix is not valid.
InvalidFinalUrlSuffix = 81,
/// Final url suffix contains an invalid tag.
InvalidTagInFinalUrlSuffix = 82,
/// Final url suffix is formatted incorrectly.
InvalidFinalUrlSuffixFormat = 83,
/// Consent for call recording, which is required for the use of call
/// extensions, was not provided by the advertiser. See
/// <https://support.google.com/google-ads/answer/7412639.>
CustomerConsentForCallRecordingRequired = 84,
/// Multiple message delivery options are set.
OnlyOneDeliveryOptionIsAllowed = 85,
/// No message delivery option is set.
NoDeliveryOptionIsSet = 86,
/// String value of conversion reporting state field is not valid.
InvalidConversionReportingState = 87,
/// Image size is not right.
ImageSizeWrong = 88,
/// Email delivery is not supported in the country specified in the country
/// code field.
EmailDeliveryNotAvailableInCountry = 89,
/// Auto reply is not supported in the country specified in the country code
/// field.
AutoReplyNotAvailableInCountry = 90,
/// Invalid value specified for latitude.
InvalidLatitudeValue = 91,
/// Invalid value specified for longitude.
InvalidLongitudeValue = 92,
/// Too many label fields provided.
TooManyLabels = 93,
/// Invalid image url.
InvalidImageUrl = 94,
/// Latitude value is missing.
MissingLatitudeValue = 95,
/// Longitude value is missing.
MissingLongitudeValue = 96,
/// Unable to find address.
AddressNotFound = 97,
/// Cannot target provided address.
AddressNotTargetable = 98,
/// The specified asset ID does not exist.
InvalidAssetId = 100,
/// The asset type cannot be set for the field.
IncompatibleAssetType = 101,
/// The image has unexpected size.
ImageErrorUnexpectedSize = 102,
/// The image aspect ratio is not allowed.
ImageErrorAspectRatioNotAllowed = 103,
/// The image file is too large.
ImageErrorFileTooLarge = 104,
/// The image format is unsupported.
ImageErrorFormatNotAllowed = 105,
/// Image violates constraints without more details.
ImageErrorConstraintsViolated = 106,
/// An error occurred when validating image.
ImageErrorServerError = 107,
}
impl FeedItemValidationError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
FeedItemValidationError::Unspecified => "UNSPECIFIED",
FeedItemValidationError::Unknown => "UNKNOWN",
FeedItemValidationError::StringTooShort => "STRING_TOO_SHORT",
FeedItemValidationError::StringTooLong => "STRING_TOO_LONG",
FeedItemValidationError::ValueNotSpecified => "VALUE_NOT_SPECIFIED",
FeedItemValidationError::InvalidDomesticPhoneNumberFormat => {
"INVALID_DOMESTIC_PHONE_NUMBER_FORMAT"
}
FeedItemValidationError::InvalidPhoneNumber => "INVALID_PHONE_NUMBER",
FeedItemValidationError::PhoneNumberNotSupportedForCountry => {
"PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY"
}
FeedItemValidationError::PremiumRateNumberNotAllowed => {
"PREMIUM_RATE_NUMBER_NOT_ALLOWED"
}
FeedItemValidationError::DisallowedNumberType => "DISALLOWED_NUMBER_TYPE",
FeedItemValidationError::ValueOutOfRange => "VALUE_OUT_OF_RANGE",
FeedItemValidationError::CalltrackingNotSupportedForCountry => {
"CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY"
}
FeedItemValidationError::CustomerNotInAllowlistForCalltracking => {
"CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING"
}
FeedItemValidationError::InvalidCountryCode => "INVALID_COUNTRY_CODE",
FeedItemValidationError::InvalidAppId => "INVALID_APP_ID",
FeedItemValidationError::MissingAttributesForFields => {
"MISSING_ATTRIBUTES_FOR_FIELDS"
}
FeedItemValidationError::InvalidTypeId => "INVALID_TYPE_ID",
FeedItemValidationError::InvalidEmailAddress => "INVALID_EMAIL_ADDRESS",
FeedItemValidationError::InvalidHttpsUrl => "INVALID_HTTPS_URL",
FeedItemValidationError::MissingDeliveryAddress => {
"MISSING_DELIVERY_ADDRESS"
}
FeedItemValidationError::StartDateAfterEndDate => {
"START_DATE_AFTER_END_DATE"
}
FeedItemValidationError::MissingFeedItemStartTime => {
"MISSING_FEED_ITEM_START_TIME"
}
FeedItemValidationError::MissingFeedItemEndTime => {
"MISSING_FEED_ITEM_END_TIME"
}
FeedItemValidationError::MissingFeedItemId => "MISSING_FEED_ITEM_ID",
FeedItemValidationError::VanityPhoneNumberNotAllowed => {
"VANITY_PHONE_NUMBER_NOT_ALLOWED"
}
FeedItemValidationError::InvalidReviewExtensionSnippet => {
"INVALID_REVIEW_EXTENSION_SNIPPET"
}
FeedItemValidationError::InvalidNumberFormat => "INVALID_NUMBER_FORMAT",
FeedItemValidationError::InvalidDateFormat => "INVALID_DATE_FORMAT",
FeedItemValidationError::InvalidPriceFormat => "INVALID_PRICE_FORMAT",
FeedItemValidationError::UnknownPlaceholderField => {
"UNKNOWN_PLACEHOLDER_FIELD"
}
FeedItemValidationError::MissingEnhancedSitelinkDescriptionLine => {
"MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE"
}
FeedItemValidationError::ReviewExtensionSourceIneligible => {
"REVIEW_EXTENSION_SOURCE_INELIGIBLE"
}
FeedItemValidationError::HyphensInReviewExtensionSnippet => {
"HYPHENS_IN_REVIEW_EXTENSION_SNIPPET"
}
FeedItemValidationError::DoubleQuotesInReviewExtensionSnippet => {
"DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET"
}
FeedItemValidationError::QuotesInReviewExtensionSnippet => {
"QUOTES_IN_REVIEW_EXTENSION_SNIPPET"
}
FeedItemValidationError::InvalidFormEncodedParams => {
"INVALID_FORM_ENCODED_PARAMS"
}
FeedItemValidationError::InvalidUrlParameterName => {
"INVALID_URL_PARAMETER_NAME"
}
FeedItemValidationError::NoGeocodingResult => "NO_GEOCODING_RESULT",
FeedItemValidationError::SourceNameInReviewExtensionText => {
"SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT"
}
FeedItemValidationError::CarrierSpecificShortNumberNotAllowed => {
"CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED"
}
FeedItemValidationError::InvalidPlaceholderFieldId => {
"INVALID_PLACEHOLDER_FIELD_ID"
}
FeedItemValidationError::InvalidUrlTag => "INVALID_URL_TAG",
FeedItemValidationError::ListTooLong => "LIST_TOO_LONG",
FeedItemValidationError::InvalidAttributesCombination => {
"INVALID_ATTRIBUTES_COMBINATION"
}
FeedItemValidationError::DuplicateValues => "DUPLICATE_VALUES",
FeedItemValidationError::InvalidCallConversionActionId => {
"INVALID_CALL_CONVERSION_ACTION_ID"
}
FeedItemValidationError::CannotSetWithoutFinalUrls => {
"CANNOT_SET_WITHOUT_FINAL_URLS"
}
FeedItemValidationError::AppIdDoesntExistInAppStore => {
"APP_ID_DOESNT_EXIST_IN_APP_STORE"
}
FeedItemValidationError::InvalidFinalUrl => "INVALID_FINAL_URL",
FeedItemValidationError::InvalidTrackingUrl => "INVALID_TRACKING_URL",
FeedItemValidationError::InvalidFinalUrlForAppDownloadUrl => {
"INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL"
}
FeedItemValidationError::ListTooShort => "LIST_TOO_SHORT",
FeedItemValidationError::InvalidUserAction => "INVALID_USER_ACTION",
FeedItemValidationError::InvalidTypeName => "INVALID_TYPE_NAME",
FeedItemValidationError::InvalidEventChangeStatus => {
"INVALID_EVENT_CHANGE_STATUS"
}
FeedItemValidationError::InvalidSnippetsHeader => {
"INVALID_SNIPPETS_HEADER"
}
FeedItemValidationError::InvalidAndroidAppLink => {
"INVALID_ANDROID_APP_LINK"
}
FeedItemValidationError::NumberTypeWithCalltrackingNotSupportedForCountry => {
"NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY"
}
FeedItemValidationError::ReservedKeywordOther => "RESERVED_KEYWORD_OTHER",
FeedItemValidationError::DuplicateOptionLabels => {
"DUPLICATE_OPTION_LABELS"
}
FeedItemValidationError::DuplicateOptionPrefills => {
"DUPLICATE_OPTION_PREFILLS"
}
FeedItemValidationError::UnequalListLengths => "UNEQUAL_LIST_LENGTHS",
FeedItemValidationError::InconsistentCurrencyCodes => {
"INCONSISTENT_CURRENCY_CODES"
}
FeedItemValidationError::PriceExtensionHasDuplicatedHeaders => {
"PRICE_EXTENSION_HAS_DUPLICATED_HEADERS"
}
FeedItemValidationError::ItemHasDuplicatedHeaderAndDescription => {
"ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION"
}
FeedItemValidationError::PriceExtensionHasTooFewItems => {
"PRICE_EXTENSION_HAS_TOO_FEW_ITEMS"
}
FeedItemValidationError::UnsupportedValue => "UNSUPPORTED_VALUE",
FeedItemValidationError::InvalidFinalMobileUrl => {
"INVALID_FINAL_MOBILE_URL"
}
FeedItemValidationError::InvalidKeywordlessAdRuleLabel => {
"INVALID_KEYWORDLESS_AD_RULE_LABEL"
}
FeedItemValidationError::ValueTrackParameterNotSupported => {
"VALUE_TRACK_PARAMETER_NOT_SUPPORTED"
}
FeedItemValidationError::UnsupportedValueInSelectedLanguage => {
"UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE"
}
FeedItemValidationError::InvalidIosAppLink => "INVALID_IOS_APP_LINK",
FeedItemValidationError::MissingIosAppLinkOrIosAppStoreId => {
"MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID"
}
FeedItemValidationError::PromotionInvalidTime => "PROMOTION_INVALID_TIME",
FeedItemValidationError::PromotionCannotSetPercentOffAndMoneyAmountOff => {
"PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF"
}
FeedItemValidationError::PromotionCannotSetPromotionCodeAndOrdersOverAmount => {
"PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT"
}
FeedItemValidationError::TooManyDecimalPlacesSpecified => {
"TOO_MANY_DECIMAL_PLACES_SPECIFIED"
}
FeedItemValidationError::AdCustomizersNotAllowed => {
"AD_CUSTOMIZERS_NOT_ALLOWED"
}
FeedItemValidationError::InvalidLanguageCode => "INVALID_LANGUAGE_CODE",
FeedItemValidationError::UnsupportedLanguage => "UNSUPPORTED_LANGUAGE",
FeedItemValidationError::IfFunctionNotAllowed => {
"IF_FUNCTION_NOT_ALLOWED"
}
FeedItemValidationError::InvalidFinalUrlSuffix => {
"INVALID_FINAL_URL_SUFFIX"
}
FeedItemValidationError::InvalidTagInFinalUrlSuffix => {
"INVALID_TAG_IN_FINAL_URL_SUFFIX"
}
FeedItemValidationError::InvalidFinalUrlSuffixFormat => {
"INVALID_FINAL_URL_SUFFIX_FORMAT"
}
FeedItemValidationError::CustomerConsentForCallRecordingRequired => {
"CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED"
}
FeedItemValidationError::OnlyOneDeliveryOptionIsAllowed => {
"ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED"
}
FeedItemValidationError::NoDeliveryOptionIsSet => {
"NO_DELIVERY_OPTION_IS_SET"
}
FeedItemValidationError::InvalidConversionReportingState => {
"INVALID_CONVERSION_REPORTING_STATE"
}
FeedItemValidationError::ImageSizeWrong => "IMAGE_SIZE_WRONG",
FeedItemValidationError::EmailDeliveryNotAvailableInCountry => {
"EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY"
}
FeedItemValidationError::AutoReplyNotAvailableInCountry => {
"AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY"
}
FeedItemValidationError::InvalidLatitudeValue => "INVALID_LATITUDE_VALUE",
FeedItemValidationError::InvalidLongitudeValue => {
"INVALID_LONGITUDE_VALUE"
}
FeedItemValidationError::TooManyLabels => "TOO_MANY_LABELS",
FeedItemValidationError::InvalidImageUrl => "INVALID_IMAGE_URL",
FeedItemValidationError::MissingLatitudeValue => "MISSING_LATITUDE_VALUE",
FeedItemValidationError::MissingLongitudeValue => {
"MISSING_LONGITUDE_VALUE"
}
FeedItemValidationError::AddressNotFound => "ADDRESS_NOT_FOUND",
FeedItemValidationError::AddressNotTargetable => "ADDRESS_NOT_TARGETABLE",
FeedItemValidationError::InvalidAssetId => "INVALID_ASSET_ID",
FeedItemValidationError::IncompatibleAssetType => {
"INCOMPATIBLE_ASSET_TYPE"
}
FeedItemValidationError::ImageErrorUnexpectedSize => {
"IMAGE_ERROR_UNEXPECTED_SIZE"
}
FeedItemValidationError::ImageErrorAspectRatioNotAllowed => {
"IMAGE_ERROR_ASPECT_RATIO_NOT_ALLOWED"
}
FeedItemValidationError::ImageErrorFileTooLarge => {
"IMAGE_ERROR_FILE_TOO_LARGE"
}
FeedItemValidationError::ImageErrorFormatNotAllowed => {
"IMAGE_ERROR_FORMAT_NOT_ALLOWED"
}
FeedItemValidationError::ImageErrorConstraintsViolated => {
"IMAGE_ERROR_CONSTRAINTS_VIOLATED"
}
FeedItemValidationError::ImageErrorServerError => {
"IMAGE_ERROR_SERVER_ERROR"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"STRING_TOO_SHORT" => Some(Self::StringTooShort),
"STRING_TOO_LONG" => Some(Self::StringTooLong),
"VALUE_NOT_SPECIFIED" => Some(Self::ValueNotSpecified),
"INVALID_DOMESTIC_PHONE_NUMBER_FORMAT" => {
Some(Self::InvalidDomesticPhoneNumberFormat)
}
"INVALID_PHONE_NUMBER" => Some(Self::InvalidPhoneNumber),
"PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY" => {
Some(Self::PhoneNumberNotSupportedForCountry)
}
"PREMIUM_RATE_NUMBER_NOT_ALLOWED" => {
Some(Self::PremiumRateNumberNotAllowed)
}
"DISALLOWED_NUMBER_TYPE" => Some(Self::DisallowedNumberType),
"VALUE_OUT_OF_RANGE" => Some(Self::ValueOutOfRange),
"CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY" => {
Some(Self::CalltrackingNotSupportedForCountry)
}
"CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING" => {
Some(Self::CustomerNotInAllowlistForCalltracking)
}
"INVALID_COUNTRY_CODE" => Some(Self::InvalidCountryCode),
"INVALID_APP_ID" => Some(Self::InvalidAppId),
"MISSING_ATTRIBUTES_FOR_FIELDS" => Some(Self::MissingAttributesForFields),
"INVALID_TYPE_ID" => Some(Self::InvalidTypeId),
"INVALID_EMAIL_ADDRESS" => Some(Self::InvalidEmailAddress),
"INVALID_HTTPS_URL" => Some(Self::InvalidHttpsUrl),
"MISSING_DELIVERY_ADDRESS" => Some(Self::MissingDeliveryAddress),
"START_DATE_AFTER_END_DATE" => Some(Self::StartDateAfterEndDate),
"MISSING_FEED_ITEM_START_TIME" => Some(Self::MissingFeedItemStartTime),
"MISSING_FEED_ITEM_END_TIME" => Some(Self::MissingFeedItemEndTime),
"MISSING_FEED_ITEM_ID" => Some(Self::MissingFeedItemId),
"VANITY_PHONE_NUMBER_NOT_ALLOWED" => {
Some(Self::VanityPhoneNumberNotAllowed)
}
"INVALID_REVIEW_EXTENSION_SNIPPET" => {
Some(Self::InvalidReviewExtensionSnippet)
}
"INVALID_NUMBER_FORMAT" => Some(Self::InvalidNumberFormat),
"INVALID_DATE_FORMAT" => Some(Self::InvalidDateFormat),
"INVALID_PRICE_FORMAT" => Some(Self::InvalidPriceFormat),
"UNKNOWN_PLACEHOLDER_FIELD" => Some(Self::UnknownPlaceholderField),
"MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE" => {
Some(Self::MissingEnhancedSitelinkDescriptionLine)
}
"REVIEW_EXTENSION_SOURCE_INELIGIBLE" => {
Some(Self::ReviewExtensionSourceIneligible)
}
"HYPHENS_IN_REVIEW_EXTENSION_SNIPPET" => {
Some(Self::HyphensInReviewExtensionSnippet)
}
"DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET" => {
Some(Self::DoubleQuotesInReviewExtensionSnippet)
}
"QUOTES_IN_REVIEW_EXTENSION_SNIPPET" => {
Some(Self::QuotesInReviewExtensionSnippet)
}
"INVALID_FORM_ENCODED_PARAMS" => Some(Self::InvalidFormEncodedParams),
"INVALID_URL_PARAMETER_NAME" => Some(Self::InvalidUrlParameterName),
"NO_GEOCODING_RESULT" => Some(Self::NoGeocodingResult),
"SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT" => {
Some(Self::SourceNameInReviewExtensionText)
}
"CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED" => {
Some(Self::CarrierSpecificShortNumberNotAllowed)
}
"INVALID_PLACEHOLDER_FIELD_ID" => Some(Self::InvalidPlaceholderFieldId),
"INVALID_URL_TAG" => Some(Self::InvalidUrlTag),
"LIST_TOO_LONG" => Some(Self::ListTooLong),
"INVALID_ATTRIBUTES_COMBINATION" => {
Some(Self::InvalidAttributesCombination)
}
"DUPLICATE_VALUES" => Some(Self::DuplicateValues),
"INVALID_CALL_CONVERSION_ACTION_ID" => {
Some(Self::InvalidCallConversionActionId)
}
"CANNOT_SET_WITHOUT_FINAL_URLS" => Some(Self::CannotSetWithoutFinalUrls),
"APP_ID_DOESNT_EXIST_IN_APP_STORE" => {
Some(Self::AppIdDoesntExistInAppStore)
}
"INVALID_FINAL_URL" => Some(Self::InvalidFinalUrl),
"INVALID_TRACKING_URL" => Some(Self::InvalidTrackingUrl),
"INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL" => {
Some(Self::InvalidFinalUrlForAppDownloadUrl)
}
"LIST_TOO_SHORT" => Some(Self::ListTooShort),
"INVALID_USER_ACTION" => Some(Self::InvalidUserAction),
"INVALID_TYPE_NAME" => Some(Self::InvalidTypeName),
"INVALID_EVENT_CHANGE_STATUS" => Some(Self::InvalidEventChangeStatus),
"INVALID_SNIPPETS_HEADER" => Some(Self::InvalidSnippetsHeader),
"INVALID_ANDROID_APP_LINK" => Some(Self::InvalidAndroidAppLink),
"NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY" => {
Some(Self::NumberTypeWithCalltrackingNotSupportedForCountry)
}
"RESERVED_KEYWORD_OTHER" => Some(Self::ReservedKeywordOther),
"DUPLICATE_OPTION_LABELS" => Some(Self::DuplicateOptionLabels),
"DUPLICATE_OPTION_PREFILLS" => Some(Self::DuplicateOptionPrefills),
"UNEQUAL_LIST_LENGTHS" => Some(Self::UnequalListLengths),
"INCONSISTENT_CURRENCY_CODES" => Some(Self::InconsistentCurrencyCodes),
"PRICE_EXTENSION_HAS_DUPLICATED_HEADERS" => {
Some(Self::PriceExtensionHasDuplicatedHeaders)
}
"ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION" => {
Some(Self::ItemHasDuplicatedHeaderAndDescription)
}
"PRICE_EXTENSION_HAS_TOO_FEW_ITEMS" => {
Some(Self::PriceExtensionHasTooFewItems)
}
"UNSUPPORTED_VALUE" => Some(Self::UnsupportedValue),
"INVALID_FINAL_MOBILE_URL" => Some(Self::InvalidFinalMobileUrl),
"INVALID_KEYWORDLESS_AD_RULE_LABEL" => {
Some(Self::InvalidKeywordlessAdRuleLabel)
}
"VALUE_TRACK_PARAMETER_NOT_SUPPORTED" => {
Some(Self::ValueTrackParameterNotSupported)
}
"UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE" => {
Some(Self::UnsupportedValueInSelectedLanguage)
}
"INVALID_IOS_APP_LINK" => Some(Self::InvalidIosAppLink),
"MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID" => {
Some(Self::MissingIosAppLinkOrIosAppStoreId)
}
"PROMOTION_INVALID_TIME" => Some(Self::PromotionInvalidTime),
"PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF" => {
Some(Self::PromotionCannotSetPercentOffAndMoneyAmountOff)
}
"PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT" => {
Some(Self::PromotionCannotSetPromotionCodeAndOrdersOverAmount)
}
"TOO_MANY_DECIMAL_PLACES_SPECIFIED" => {
Some(Self::TooManyDecimalPlacesSpecified)
}
"AD_CUSTOMIZERS_NOT_ALLOWED" => Some(Self::AdCustomizersNotAllowed),
"INVALID_LANGUAGE_CODE" => Some(Self::InvalidLanguageCode),
"UNSUPPORTED_LANGUAGE" => Some(Self::UnsupportedLanguage),
"IF_FUNCTION_NOT_ALLOWED" => Some(Self::IfFunctionNotAllowed),
"INVALID_FINAL_URL_SUFFIX" => Some(Self::InvalidFinalUrlSuffix),
"INVALID_TAG_IN_FINAL_URL_SUFFIX" => {
Some(Self::InvalidTagInFinalUrlSuffix)
}
"INVALID_FINAL_URL_SUFFIX_FORMAT" => {
Some(Self::InvalidFinalUrlSuffixFormat)
}
"CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED" => {
Some(Self::CustomerConsentForCallRecordingRequired)
}
"ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED" => {
Some(Self::OnlyOneDeliveryOptionIsAllowed)
}
"NO_DELIVERY_OPTION_IS_SET" => Some(Self::NoDeliveryOptionIsSet),
"INVALID_CONVERSION_REPORTING_STATE" => {
Some(Self::InvalidConversionReportingState)
}
"IMAGE_SIZE_WRONG" => Some(Self::ImageSizeWrong),
"EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY" => {
Some(Self::EmailDeliveryNotAvailableInCountry)
}
"AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY" => {
Some(Self::AutoReplyNotAvailableInCountry)
}
"INVALID_LATITUDE_VALUE" => Some(Self::InvalidLatitudeValue),
"INVALID_LONGITUDE_VALUE" => Some(Self::InvalidLongitudeValue),
"TOO_MANY_LABELS" => Some(Self::TooManyLabels),
"INVALID_IMAGE_URL" => Some(Self::InvalidImageUrl),
"MISSING_LATITUDE_VALUE" => Some(Self::MissingLatitudeValue),
"MISSING_LONGITUDE_VALUE" => Some(Self::MissingLongitudeValue),
"ADDRESS_NOT_FOUND" => Some(Self::AddressNotFound),
"ADDRESS_NOT_TARGETABLE" => Some(Self::AddressNotTargetable),
"INVALID_ASSET_ID" => Some(Self::InvalidAssetId),
"INCOMPATIBLE_ASSET_TYPE" => Some(Self::IncompatibleAssetType),
"IMAGE_ERROR_UNEXPECTED_SIZE" => Some(Self::ImageErrorUnexpectedSize),
"IMAGE_ERROR_ASPECT_RATIO_NOT_ALLOWED" => {
Some(Self::ImageErrorAspectRatioNotAllowed)
}
"IMAGE_ERROR_FILE_TOO_LARGE" => Some(Self::ImageErrorFileTooLarge),
"IMAGE_ERROR_FORMAT_NOT_ALLOWED" => {
Some(Self::ImageErrorFormatNotAllowed)
}
"IMAGE_ERROR_CONSTRAINTS_VIOLATED" => {
Some(Self::ImageErrorConstraintsViolated)
}
"IMAGE_ERROR_SERVER_ERROR" => Some(Self::ImageErrorServerError),
_ => None,
}
}
}
}
/// Container for enum describing possible database errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DatabaseErrorEnum {}
/// Nested message and enum types in `DatabaseErrorEnum`.
pub mod database_error_enum {
/// Enum describing possible database errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum DatabaseError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Multiple requests were attempting to modify the same resource at once.
/// Retry the request.
ConcurrentModification = 2,
/// The request conflicted with existing data. This error will usually be
/// replaced with a more specific error if the request is retried.
DataConstraintViolation = 3,
/// The data written is too large. Split the request into smaller
/// requests.
RequestTooLarge = 4,
}
impl DatabaseError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
DatabaseError::Unspecified => "UNSPECIFIED",
DatabaseError::Unknown => "UNKNOWN",
DatabaseError::ConcurrentModification => "CONCURRENT_MODIFICATION",
DatabaseError::DataConstraintViolation => "DATA_CONSTRAINT_VIOLATION",
DatabaseError::RequestTooLarge => "REQUEST_TOO_LARGE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CONCURRENT_MODIFICATION" => Some(Self::ConcurrentModification),
"DATA_CONSTRAINT_VIOLATION" => Some(Self::DataConstraintViolation),
"REQUEST_TOO_LARGE" => Some(Self::RequestTooLarge),
_ => None,
}
}
}
}
/// Container for enum describing possible conversion value rule errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ConversionValueRuleErrorEnum {}
/// Nested message and enum types in `ConversionValueRuleErrorEnum`.
pub mod conversion_value_rule_error_enum {
/// Enum describing possible conversion value rule errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ConversionValueRuleError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The value rule's geo location condition contains invalid geo target
/// constant(s), for example, there's no matching geo target.
InvalidGeoTargetConstant = 2,
/// The value rule's geo location condition contains conflicting included and
/// excluded geo targets. Specifically, some of the excluded geo target(s)
/// are the same as or contain some of the included geo target(s). For
/// example, the geo location condition includes California but excludes U.S.
ConflictingIncludedAndExcludedGeoTarget = 3,
/// User specified conflicting conditions for two value rules in the same
/// value rule set.
ConflictingConditions = 4,
/// The value rule cannot be removed because it's still included in some
/// value rule set.
CannotRemoveIfIncludedInValueRuleSet = 5,
/// The value rule contains a condition that's not allowed by the value rule
/// set including this value rule.
ConditionNotAllowed = 6,
/// The value rule contains a field that should be unset.
FieldMustBeUnset = 7,
/// Pausing the value rule requires pausing the value rule set because the
/// value rule is (one of) the last enabled in the value rule set.
CannotPauseUnlessValueRuleSetIsPaused = 8,
/// The value rule's geo location condition contains untargetable geo target
/// constant(s).
UntargetableGeoTarget = 9,
/// The value rule's audience condition contains invalid user list(s). In
/// another word, there's no matching user list.
InvalidAudienceUserList = 10,
/// The value rule's audience condition contains inaccessible user list(s).
InaccessibleUserList = 11,
/// The value rule's audience condition contains invalid user_interest(s).
/// This might be because there is no matching user interest, or the user
/// interest is not visible.
InvalidAudienceUserInterest = 12,
/// When a value rule is created, it shouldn't have REMOVED status.
CannotAddRuleWithStatusRemoved = 13,
}
impl ConversionValueRuleError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ConversionValueRuleError::Unspecified => "UNSPECIFIED",
ConversionValueRuleError::Unknown => "UNKNOWN",
ConversionValueRuleError::InvalidGeoTargetConstant => {
"INVALID_GEO_TARGET_CONSTANT"
}
ConversionValueRuleError::ConflictingIncludedAndExcludedGeoTarget => {
"CONFLICTING_INCLUDED_AND_EXCLUDED_GEO_TARGET"
}
ConversionValueRuleError::ConflictingConditions => {
"CONFLICTING_CONDITIONS"
}
ConversionValueRuleError::CannotRemoveIfIncludedInValueRuleSet => {
"CANNOT_REMOVE_IF_INCLUDED_IN_VALUE_RULE_SET"
}
ConversionValueRuleError::ConditionNotAllowed => "CONDITION_NOT_ALLOWED",
ConversionValueRuleError::FieldMustBeUnset => "FIELD_MUST_BE_UNSET",
ConversionValueRuleError::CannotPauseUnlessValueRuleSetIsPaused => {
"CANNOT_PAUSE_UNLESS_VALUE_RULE_SET_IS_PAUSED"
}
ConversionValueRuleError::UntargetableGeoTarget => {
"UNTARGETABLE_GEO_TARGET"
}
ConversionValueRuleError::InvalidAudienceUserList => {
"INVALID_AUDIENCE_USER_LIST"
}
ConversionValueRuleError::InaccessibleUserList => {
"INACCESSIBLE_USER_LIST"
}
ConversionValueRuleError::InvalidAudienceUserInterest => {
"INVALID_AUDIENCE_USER_INTEREST"
}
ConversionValueRuleError::CannotAddRuleWithStatusRemoved => {
"CANNOT_ADD_RULE_WITH_STATUS_REMOVED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_GEO_TARGET_CONSTANT" => Some(Self::InvalidGeoTargetConstant),
"CONFLICTING_INCLUDED_AND_EXCLUDED_GEO_TARGET" => {
Some(Self::ConflictingIncludedAndExcludedGeoTarget)
}
"CONFLICTING_CONDITIONS" => Some(Self::ConflictingConditions),
"CANNOT_REMOVE_IF_INCLUDED_IN_VALUE_RULE_SET" => {
Some(Self::CannotRemoveIfIncludedInValueRuleSet)
}
"CONDITION_NOT_ALLOWED" => Some(Self::ConditionNotAllowed),
"FIELD_MUST_BE_UNSET" => Some(Self::FieldMustBeUnset),
"CANNOT_PAUSE_UNLESS_VALUE_RULE_SET_IS_PAUSED" => {
Some(Self::CannotPauseUnlessValueRuleSetIsPaused)
}
"UNTARGETABLE_GEO_TARGET" => Some(Self::UntargetableGeoTarget),
"INVALID_AUDIENCE_USER_LIST" => Some(Self::InvalidAudienceUserList),
"INACCESSIBLE_USER_LIST" => Some(Self::InaccessibleUserList),
"INVALID_AUDIENCE_USER_INTEREST" => {
Some(Self::InvalidAudienceUserInterest)
}
"CANNOT_ADD_RULE_WITH_STATUS_REMOVED" => {
Some(Self::CannotAddRuleWithStatusRemoved)
}
_ => None,
}
}
}
}
/// Container for enum describing possible resource access denied errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ResourceAccessDeniedErrorEnum {}
/// Nested message and enum types in `ResourceAccessDeniedErrorEnum`.
pub mod resource_access_denied_error_enum {
/// Enum describing possible resource access denied errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ResourceAccessDeniedError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// User did not have write access.
WriteAccessDenied = 3,
}
impl ResourceAccessDeniedError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ResourceAccessDeniedError::Unspecified => "UNSPECIFIED",
ResourceAccessDeniedError::Unknown => "UNKNOWN",
ResourceAccessDeniedError::WriteAccessDenied => "WRITE_ACCESS_DENIED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"WRITE_ACCESS_DENIED" => Some(Self::WriteAccessDenied),
_ => None,
}
}
}
}
/// Container for enum describing possible media uploading errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MediaUploadErrorEnum {}
/// Nested message and enum types in `MediaUploadErrorEnum`.
pub mod media_upload_error_enum {
/// Enum describing possible media uploading errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum MediaUploadError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The uploaded file is too big.
FileTooBig = 2,
/// Image data is unparseable.
UnparseableImage = 3,
/// Animated images are not allowed.
AnimatedImageNotAllowed = 4,
/// The image or media bundle format is not allowed.
FormatNotAllowed = 5,
/// Cannot reference URL external to the media bundle.
ExternalUrlNotAllowed = 6,
/// HTML5 ad is trying to reference an asset not in .ZIP file.
InvalidUrlReference = 7,
/// The media bundle contains no primary entry.
MissingPrimaryMediaBundleEntry = 8,
/// Animation has disallowed visual effects.
AnimatedVisualEffect = 9,
/// Animation longer than the allowed 30 second limit.
AnimationTooLong = 10,
/// The aspect ratio of the image does not match the expected aspect ratios
/// provided in the asset spec.
AspectRatioNotAllowed = 11,
/// Audio files are not allowed in bundle.
AudioNotAllowedInMediaBundle = 12,
/// CMYK jpegs are not supported.
CmykJpegNotAllowed = 13,
/// Flash movies are not allowed.
FlashNotAllowed = 14,
/// The frame rate of the video is higher than the allowed 5fps.
FrameRateTooHigh = 15,
/// ZIP file from Google Web Designer is not published.
GoogleWebDesignerZipFileNotPublished = 16,
/// Image constraints are violated, but more details (like
/// DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided.
/// This happens when asset spec contains more than one constraint and
/// criteria of different constraints are violated.
ImageConstraintsViolated = 17,
/// Media bundle data is unrecognizable.
InvalidMediaBundle = 18,
/// There was a problem with one or more of the media bundle entries.
InvalidMediaBundleEntry = 19,
/// The asset has an invalid mime type.
InvalidMimeType = 20,
/// The media bundle contains an invalid asset path.
InvalidPath = 21,
/// Image has layout problem.
LayoutProblem = 22,
/// An asset had a URL reference that is malformed per RFC 1738 convention.
MalformedUrl = 23,
/// The uploaded media bundle format is not allowed.
MediaBundleNotAllowed = 24,
/// The media bundle is not compatible with the asset spec product type.
/// (For example, Gmail, dynamic remarketing, etc.)
MediaBundleNotCompatibleToProductType = 25,
/// A bundle being uploaded that is incompatible with multiple assets for
/// different reasons.
MediaBundleRejectedByMultipleAssetSpecs = 26,
/// The media bundle contains too many files.
TooManyFilesInMediaBundle = 27,
/// Google Web Designer not created for "Google Ads" environment.
UnsupportedGoogleWebDesignerEnvironment = 28,
/// Unsupported HTML5 feature in HTML5 asset.
UnsupportedHtml5Feature = 29,
/// URL in HTML5 entry is not SSL compliant.
UrlInMediaBundleNotSslCompliant = 30,
/// Video file name is longer than the 50 allowed characters.
VideoFileNameTooLong = 31,
/// Multiple videos with same name in a bundle.
VideoMultipleFilesWithSameName = 32,
/// Videos are not allowed in media bundle.
VideoNotAllowedInMediaBundle = 33,
/// This type of media cannot be uploaded through the Google Ads API.
CannotUploadMediaTypeThroughApi = 34,
/// The dimensions of the image are not allowed.
DimensionsNotAllowed = 35,
}
impl MediaUploadError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
MediaUploadError::Unspecified => "UNSPECIFIED",
MediaUploadError::Unknown => "UNKNOWN",
MediaUploadError::FileTooBig => "FILE_TOO_BIG",
MediaUploadError::UnparseableImage => "UNPARSEABLE_IMAGE",
MediaUploadError::AnimatedImageNotAllowed => "ANIMATED_IMAGE_NOT_ALLOWED",
MediaUploadError::FormatNotAllowed => "FORMAT_NOT_ALLOWED",
MediaUploadError::ExternalUrlNotAllowed => "EXTERNAL_URL_NOT_ALLOWED",
MediaUploadError::InvalidUrlReference => "INVALID_URL_REFERENCE",
MediaUploadError::MissingPrimaryMediaBundleEntry => {
"MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY"
}
MediaUploadError::AnimatedVisualEffect => "ANIMATED_VISUAL_EFFECT",
MediaUploadError::AnimationTooLong => "ANIMATION_TOO_LONG",
MediaUploadError::AspectRatioNotAllowed => "ASPECT_RATIO_NOT_ALLOWED",
MediaUploadError::AudioNotAllowedInMediaBundle => {
"AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE"
}
MediaUploadError::CmykJpegNotAllowed => "CMYK_JPEG_NOT_ALLOWED",
MediaUploadError::FlashNotAllowed => "FLASH_NOT_ALLOWED",
MediaUploadError::FrameRateTooHigh => "FRAME_RATE_TOO_HIGH",
MediaUploadError::GoogleWebDesignerZipFileNotPublished => {
"GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED"
}
MediaUploadError::ImageConstraintsViolated => {
"IMAGE_CONSTRAINTS_VIOLATED"
}
MediaUploadError::InvalidMediaBundle => "INVALID_MEDIA_BUNDLE",
MediaUploadError::InvalidMediaBundleEntry => "INVALID_MEDIA_BUNDLE_ENTRY",
MediaUploadError::InvalidMimeType => "INVALID_MIME_TYPE",
MediaUploadError::InvalidPath => "INVALID_PATH",
MediaUploadError::LayoutProblem => "LAYOUT_PROBLEM",
MediaUploadError::MalformedUrl => "MALFORMED_URL",
MediaUploadError::MediaBundleNotAllowed => "MEDIA_BUNDLE_NOT_ALLOWED",
MediaUploadError::MediaBundleNotCompatibleToProductType => {
"MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE"
}
MediaUploadError::MediaBundleRejectedByMultipleAssetSpecs => {
"MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS"
}
MediaUploadError::TooManyFilesInMediaBundle => {
"TOO_MANY_FILES_IN_MEDIA_BUNDLE"
}
MediaUploadError::UnsupportedGoogleWebDesignerEnvironment => {
"UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT"
}
MediaUploadError::UnsupportedHtml5Feature => "UNSUPPORTED_HTML5_FEATURE",
MediaUploadError::UrlInMediaBundleNotSslCompliant => {
"URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT"
}
MediaUploadError::VideoFileNameTooLong => "VIDEO_FILE_NAME_TOO_LONG",
MediaUploadError::VideoMultipleFilesWithSameName => {
"VIDEO_MULTIPLE_FILES_WITH_SAME_NAME"
}
MediaUploadError::VideoNotAllowedInMediaBundle => {
"VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE"
}
MediaUploadError::CannotUploadMediaTypeThroughApi => {
"CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API"
}
MediaUploadError::DimensionsNotAllowed => "DIMENSIONS_NOT_ALLOWED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"FILE_TOO_BIG" => Some(Self::FileTooBig),
"UNPARSEABLE_IMAGE" => Some(Self::UnparseableImage),
"ANIMATED_IMAGE_NOT_ALLOWED" => Some(Self::AnimatedImageNotAllowed),
"FORMAT_NOT_ALLOWED" => Some(Self::FormatNotAllowed),
"EXTERNAL_URL_NOT_ALLOWED" => Some(Self::ExternalUrlNotAllowed),
"INVALID_URL_REFERENCE" => Some(Self::InvalidUrlReference),
"MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY" => {
Some(Self::MissingPrimaryMediaBundleEntry)
}
"ANIMATED_VISUAL_EFFECT" => Some(Self::AnimatedVisualEffect),
"ANIMATION_TOO_LONG" => Some(Self::AnimationTooLong),
"ASPECT_RATIO_NOT_ALLOWED" => Some(Self::AspectRatioNotAllowed),
"AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE" => {
Some(Self::AudioNotAllowedInMediaBundle)
}
"CMYK_JPEG_NOT_ALLOWED" => Some(Self::CmykJpegNotAllowed),
"FLASH_NOT_ALLOWED" => Some(Self::FlashNotAllowed),
"FRAME_RATE_TOO_HIGH" => Some(Self::FrameRateTooHigh),
"GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED" => {
Some(Self::GoogleWebDesignerZipFileNotPublished)
}
"IMAGE_CONSTRAINTS_VIOLATED" => Some(Self::ImageConstraintsViolated),
"INVALID_MEDIA_BUNDLE" => Some(Self::InvalidMediaBundle),
"INVALID_MEDIA_BUNDLE_ENTRY" => Some(Self::InvalidMediaBundleEntry),
"INVALID_MIME_TYPE" => Some(Self::InvalidMimeType),
"INVALID_PATH" => Some(Self::InvalidPath),
"LAYOUT_PROBLEM" => Some(Self::LayoutProblem),
"MALFORMED_URL" => Some(Self::MalformedUrl),
"MEDIA_BUNDLE_NOT_ALLOWED" => Some(Self::MediaBundleNotAllowed),
"MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE" => {
Some(Self::MediaBundleNotCompatibleToProductType)
}
"MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS" => {
Some(Self::MediaBundleRejectedByMultipleAssetSpecs)
}
"TOO_MANY_FILES_IN_MEDIA_BUNDLE" => Some(Self::TooManyFilesInMediaBundle),
"UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT" => {
Some(Self::UnsupportedGoogleWebDesignerEnvironment)
}
"UNSUPPORTED_HTML5_FEATURE" => Some(Self::UnsupportedHtml5Feature),
"URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT" => {
Some(Self::UrlInMediaBundleNotSslCompliant)
}
"VIDEO_FILE_NAME_TOO_LONG" => Some(Self::VideoFileNameTooLong),
"VIDEO_MULTIPLE_FILES_WITH_SAME_NAME" => {
Some(Self::VideoMultipleFilesWithSameName)
}
"VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE" => {
Some(Self::VideoNotAllowedInMediaBundle)
}
"CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API" => {
Some(Self::CannotUploadMediaTypeThroughApi)
}
"DIMENSIONS_NOT_ALLOWED" => Some(Self::DimensionsNotAllowed),
_ => None,
}
}
}
}
/// Container for enum describing possible range errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RangeErrorEnum {}
/// Nested message and enum types in `RangeErrorEnum`.
pub mod range_error_enum {
/// Enum describing possible range errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum RangeError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Too low.
TooLow = 2,
/// Too high.
TooHigh = 3,
}
impl RangeError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
RangeError::Unspecified => "UNSPECIFIED",
RangeError::Unknown => "UNKNOWN",
RangeError::TooLow => "TOO_LOW",
RangeError::TooHigh => "TOO_HIGH",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"TOO_LOW" => Some(Self::TooLow),
"TOO_HIGH" => Some(Self::TooHigh),
_ => None,
}
}
}
}
/// Container for enum describing possible time zone errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TimeZoneErrorEnum {}
/// Nested message and enum types in `TimeZoneErrorEnum`.
pub mod time_zone_error_enum {
/// Enum describing possible currency code errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum TimeZoneError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Time zone is not valid.
InvalidTimeZone = 5,
}
impl TimeZoneError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
TimeZoneError::Unspecified => "UNSPECIFIED",
TimeZoneError::Unknown => "UNKNOWN",
TimeZoneError::InvalidTimeZone => "INVALID_TIME_ZONE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_TIME_ZONE" => Some(Self::InvalidTimeZone),
_ => None,
}
}
}
}
/// Container for enum describing possible feed item set errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FeedItemSetErrorEnum {}
/// Nested message and enum types in `FeedItemSetErrorEnum`.
pub mod feed_item_set_error_enum {
/// Enum describing possible feed item set errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum FeedItemSetError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The given ID refers to a removed FeedItemSet.
FeedItemSetRemoved = 2,
/// The dynamic filter of a feed item set cannot be cleared on UPDATE if it
/// exists. A set is either static or dynamic once added, and that cannot
/// change.
CannotClearDynamicFilter = 3,
/// The dynamic filter of a feed item set cannot be created on UPDATE if it
/// does not exist. A set is either static or dynamic once added, and that
/// cannot change.
CannotCreateDynamicFilter = 4,
/// FeedItemSets can only be made for location or affiliate location feeds.
InvalidFeedType = 5,
/// FeedItemSets duplicate name. Name should be unique within an account.
DuplicateName = 6,
/// The feed type of the parent Feed is not compatible with the type of
/// dynamic filter being set. For example, you can only set
/// dynamic_location_set_filter for LOCATION feed item sets.
WrongDynamicFilterForFeedType = 7,
/// Chain ID specified for AffiliateLocationFeedData is invalid.
DynamicFilterInvalidChainIds = 8,
}
impl FeedItemSetError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
FeedItemSetError::Unspecified => "UNSPECIFIED",
FeedItemSetError::Unknown => "UNKNOWN",
FeedItemSetError::FeedItemSetRemoved => "FEED_ITEM_SET_REMOVED",
FeedItemSetError::CannotClearDynamicFilter => {
"CANNOT_CLEAR_DYNAMIC_FILTER"
}
FeedItemSetError::CannotCreateDynamicFilter => {
"CANNOT_CREATE_DYNAMIC_FILTER"
}
FeedItemSetError::InvalidFeedType => "INVALID_FEED_TYPE",
FeedItemSetError::DuplicateName => "DUPLICATE_NAME",
FeedItemSetError::WrongDynamicFilterForFeedType => {
"WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE"
}
FeedItemSetError::DynamicFilterInvalidChainIds => {
"DYNAMIC_FILTER_INVALID_CHAIN_IDS"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"FEED_ITEM_SET_REMOVED" => Some(Self::FeedItemSetRemoved),
"CANNOT_CLEAR_DYNAMIC_FILTER" => Some(Self::CannotClearDynamicFilter),
"CANNOT_CREATE_DYNAMIC_FILTER" => Some(Self::CannotCreateDynamicFilter),
"INVALID_FEED_TYPE" => Some(Self::InvalidFeedType),
"DUPLICATE_NAME" => Some(Self::DuplicateName),
"WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE" => {
Some(Self::WrongDynamicFilterForFeedType)
}
"DYNAMIC_FILTER_INVALID_CHAIN_IDS" => {
Some(Self::DynamicFilterInvalidChainIds)
}
_ => None,
}
}
}
}
/// Container for enum describing possible errors returned from
/// the ReachPlanService.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ReachPlanErrorEnum {}
/// Nested message and enum types in `ReachPlanErrorEnum`.
pub mod reach_plan_error_enum {
/// Enum describing possible errors from ReachPlanService.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ReachPlanError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Not forecastable due to missing rate card data.
NotForecastableMissingRate = 2,
/// Not forecastable due to not enough inventory.
NotForecastableNotEnoughInventory = 3,
/// Not forecastable due to account not being enabled.
NotForecastableAccountNotEnabled = 4,
}
impl ReachPlanError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ReachPlanError::Unspecified => "UNSPECIFIED",
ReachPlanError::Unknown => "UNKNOWN",
ReachPlanError::NotForecastableMissingRate => {
"NOT_FORECASTABLE_MISSING_RATE"
}
ReachPlanError::NotForecastableNotEnoughInventory => {
"NOT_FORECASTABLE_NOT_ENOUGH_INVENTORY"
}
ReachPlanError::NotForecastableAccountNotEnabled => {
"NOT_FORECASTABLE_ACCOUNT_NOT_ENABLED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"NOT_FORECASTABLE_MISSING_RATE" => Some(Self::NotForecastableMissingRate),
"NOT_FORECASTABLE_NOT_ENOUGH_INVENTORY" => {
Some(Self::NotForecastableNotEnoughInventory)
}
"NOT_FORECASTABLE_ACCOUNT_NOT_ENABLED" => {
Some(Self::NotForecastableAccountNotEnabled)
}
_ => None,
}
}
}
}
/// Container for enum describing possible enum errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct EnumErrorEnum {}
/// Nested message and enum types in `EnumErrorEnum`.
pub mod enum_error_enum {
/// Enum describing possible enum errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum EnumError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The enum value is not permitted.
EnumValueNotPermitted = 3,
}
impl EnumError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
EnumError::Unspecified => "UNSPECIFIED",
EnumError::Unknown => "UNKNOWN",
EnumError::EnumValueNotPermitted => "ENUM_VALUE_NOT_PERMITTED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"ENUM_VALUE_NOT_PERMITTED" => Some(Self::EnumValueNotPermitted),
_ => None,
}
}
}
}
/// Container for enum describing possible asset set asset errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AssetSetAssetErrorEnum {}
/// Nested message and enum types in `AssetSetAssetErrorEnum`.
pub mod asset_set_asset_error_enum {
/// Enum describing possible asset set asset errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AssetSetAssetError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The asset type is not eligible to be linked to the specific type of asset
/// set.
InvalidAssetType = 2,
/// The asset set type is not eligible to contain the specified type of
/// assets.
InvalidAssetSetType = 3,
/// The asset contains duplicate external key with another asset in the asset
/// set.
DuplicateExternalKey = 4,
/// When attaching a Location typed Asset to a LocationGroup typed AssetSet,
/// the AssetSetAsset linkage between the parent LocationSync AssetSet and
/// the Asset doesn't exist.
ParentLinkageDoesNotExist = 5,
}
impl AssetSetAssetError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AssetSetAssetError::Unspecified => "UNSPECIFIED",
AssetSetAssetError::Unknown => "UNKNOWN",
AssetSetAssetError::InvalidAssetType => "INVALID_ASSET_TYPE",
AssetSetAssetError::InvalidAssetSetType => "INVALID_ASSET_SET_TYPE",
AssetSetAssetError::DuplicateExternalKey => "DUPLICATE_EXTERNAL_KEY",
AssetSetAssetError::ParentLinkageDoesNotExist => {
"PARENT_LINKAGE_DOES_NOT_EXIST"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_ASSET_TYPE" => Some(Self::InvalidAssetType),
"INVALID_ASSET_SET_TYPE" => Some(Self::InvalidAssetSetType),
"DUPLICATE_EXTERNAL_KEY" => Some(Self::DuplicateExternalKey),
"PARENT_LINKAGE_DOES_NOT_EXIST" => Some(Self::ParentLinkageDoesNotExist),
_ => None,
}
}
}
}
/// Container for enum describing possible media bundle errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MediaBundleErrorEnum {}
/// Nested message and enum types in `MediaBundleErrorEnum`.
pub mod media_bundle_error_enum {
/// Enum describing possible media bundle errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum MediaBundleError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// There was a problem with the request.
BadRequest = 3,
/// HTML5 ads using DoubleClick Studio created ZIP files are not supported.
DoubleclickBundleNotAllowed = 4,
/// Cannot reference URL external to the media bundle.
ExternalUrlNotAllowed = 5,
/// Media bundle file is too large.
FileTooLarge = 6,
/// ZIP file from Google Web Designer is not published.
GoogleWebDesignerZipFileNotPublished = 7,
/// Input was invalid.
InvalidInput = 8,
/// There was a problem with the media bundle.
InvalidMediaBundle = 9,
/// There was a problem with one or more of the media bundle entries.
InvalidMediaBundleEntry = 10,
/// The media bundle contains a file with an unknown mime type
InvalidMimeType = 11,
/// The media bundle contain an invalid asset path.
InvalidPath = 12,
/// HTML5 ad is trying to reference an asset not in .ZIP file
InvalidUrlReference = 13,
/// Media data is too large.
MediaDataTooLarge = 14,
/// The media bundle contains no primary entry.
MissingPrimaryMediaBundleEntry = 15,
/// There was an error on the server.
ServerError = 16,
/// The image could not be stored.
StorageError = 17,
/// Media bundle created with the Swiffy tool is not allowed.
SwiffyBundleNotAllowed = 18,
/// The media bundle contains too many files.
TooManyFiles = 19,
/// The media bundle is not of legal dimensions.
UnexpectedSize = 20,
/// Google Web Designer not created for "Google Ads" environment.
UnsupportedGoogleWebDesignerEnvironment = 21,
/// Unsupported HTML5 feature in HTML5 asset.
UnsupportedHtml5Feature = 22,
/// URL in HTML5 entry is not ssl compliant.
UrlInMediaBundleNotSslCompliant = 23,
/// Custom exits not allowed in HTML5 entry.
CustomExitNotAllowed = 24,
}
impl MediaBundleError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
MediaBundleError::Unspecified => "UNSPECIFIED",
MediaBundleError::Unknown => "UNKNOWN",
MediaBundleError::BadRequest => "BAD_REQUEST",
MediaBundleError::DoubleclickBundleNotAllowed => {
"DOUBLECLICK_BUNDLE_NOT_ALLOWED"
}
MediaBundleError::ExternalUrlNotAllowed => "EXTERNAL_URL_NOT_ALLOWED",
MediaBundleError::FileTooLarge => "FILE_TOO_LARGE",
MediaBundleError::GoogleWebDesignerZipFileNotPublished => {
"GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED"
}
MediaBundleError::InvalidInput => "INVALID_INPUT",
MediaBundleError::InvalidMediaBundle => "INVALID_MEDIA_BUNDLE",
MediaBundleError::InvalidMediaBundleEntry => "INVALID_MEDIA_BUNDLE_ENTRY",
MediaBundleError::InvalidMimeType => "INVALID_MIME_TYPE",
MediaBundleError::InvalidPath => "INVALID_PATH",
MediaBundleError::InvalidUrlReference => "INVALID_URL_REFERENCE",
MediaBundleError::MediaDataTooLarge => "MEDIA_DATA_TOO_LARGE",
MediaBundleError::MissingPrimaryMediaBundleEntry => {
"MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY"
}
MediaBundleError::ServerError => "SERVER_ERROR",
MediaBundleError::StorageError => "STORAGE_ERROR",
MediaBundleError::SwiffyBundleNotAllowed => "SWIFFY_BUNDLE_NOT_ALLOWED",
MediaBundleError::TooManyFiles => "TOO_MANY_FILES",
MediaBundleError::UnexpectedSize => "UNEXPECTED_SIZE",
MediaBundleError::UnsupportedGoogleWebDesignerEnvironment => {
"UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT"
}
MediaBundleError::UnsupportedHtml5Feature => "UNSUPPORTED_HTML5_FEATURE",
MediaBundleError::UrlInMediaBundleNotSslCompliant => {
"URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT"
}
MediaBundleError::CustomExitNotAllowed => "CUSTOM_EXIT_NOT_ALLOWED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"BAD_REQUEST" => Some(Self::BadRequest),
"DOUBLECLICK_BUNDLE_NOT_ALLOWED" => {
Some(Self::DoubleclickBundleNotAllowed)
}
"EXTERNAL_URL_NOT_ALLOWED" => Some(Self::ExternalUrlNotAllowed),
"FILE_TOO_LARGE" => Some(Self::FileTooLarge),
"GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED" => {
Some(Self::GoogleWebDesignerZipFileNotPublished)
}
"INVALID_INPUT" => Some(Self::InvalidInput),
"INVALID_MEDIA_BUNDLE" => Some(Self::InvalidMediaBundle),
"INVALID_MEDIA_BUNDLE_ENTRY" => Some(Self::InvalidMediaBundleEntry),
"INVALID_MIME_TYPE" => Some(Self::InvalidMimeType),
"INVALID_PATH" => Some(Self::InvalidPath),
"INVALID_URL_REFERENCE" => Some(Self::InvalidUrlReference),
"MEDIA_DATA_TOO_LARGE" => Some(Self::MediaDataTooLarge),
"MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY" => {
Some(Self::MissingPrimaryMediaBundleEntry)
}
"SERVER_ERROR" => Some(Self::ServerError),
"STORAGE_ERROR" => Some(Self::StorageError),
"SWIFFY_BUNDLE_NOT_ALLOWED" => Some(Self::SwiffyBundleNotAllowed),
"TOO_MANY_FILES" => Some(Self::TooManyFiles),
"UNEXPECTED_SIZE" => Some(Self::UnexpectedSize),
"UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT" => {
Some(Self::UnsupportedGoogleWebDesignerEnvironment)
}
"UNSUPPORTED_HTML5_FEATURE" => Some(Self::UnsupportedHtml5Feature),
"URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT" => {
Some(Self::UrlInMediaBundleNotSslCompliant)
}
"CUSTOM_EXIT_NOT_ALLOWED" => Some(Self::CustomExitNotAllowed),
_ => None,
}
}
}
}
/// Container for enum describing possible authorization errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AuthorizationErrorEnum {}
/// Nested message and enum types in `AuthorizationErrorEnum`.
pub mod authorization_error_enum {
/// Enum describing possible authorization errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AuthorizationError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// User doesn't have permission to access customer. Note: If you're
/// accessing a client customer, the manager's customer ID must be set in the
/// `login-customer-id` header. Learn more at
/// <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid>
UserPermissionDenied = 2,
/// The developer token is not on the allow-list.
DeveloperTokenNotOnAllowlist = 13,
/// The developer token is not allowed with the project sent in the request.
DeveloperTokenProhibited = 4,
/// The Google Cloud project sent in the request does not have permission to
/// access the api.
ProjectDisabled = 5,
/// Authorization of the client failed.
AuthorizationError = 6,
/// The user does not have permission to perform this action
/// (for example, ADD, UPDATE, REMOVE) on the resource or call a method.
ActionNotPermitted = 7,
/// Signup not complete.
IncompleteSignup = 8,
/// The customer account can't be accessed because it is not yet enabled or
/// has been deactivated.
CustomerNotEnabled = 24,
/// The developer must sign the terms of service. They can be found here:
/// ads.google.com/aw/apicenter
MissingTos = 9,
/// The developer token is only approved for use with test accounts. To
/// access non-test accounts, apply for Basic or Standard access.
DeveloperTokenNotApproved = 10,
/// The login customer specified does not have access to the account
/// specified, so the request is invalid.
InvalidLoginCustomerIdServingCustomerIdCombination = 11,
/// The developer specified does not have access to the service.
ServiceAccessDenied = 12,
/// The customer (or login customer) isn't in Google Ads. It belongs to
/// another ads system.
AccessDeniedForAccountType = 25,
/// The developer does not have access to the metrics queried.
MetricAccessDenied = 26,
/// The Google Cloud project is not under the required organization.
CloudProjectNotUnderOrganization = 27,
}
impl AuthorizationError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AuthorizationError::Unspecified => "UNSPECIFIED",
AuthorizationError::Unknown => "UNKNOWN",
AuthorizationError::UserPermissionDenied => "USER_PERMISSION_DENIED",
AuthorizationError::DeveloperTokenNotOnAllowlist => {
"DEVELOPER_TOKEN_NOT_ON_ALLOWLIST"
}
AuthorizationError::DeveloperTokenProhibited => {
"DEVELOPER_TOKEN_PROHIBITED"
}
AuthorizationError::ProjectDisabled => "PROJECT_DISABLED",
AuthorizationError::AuthorizationError => "AUTHORIZATION_ERROR",
AuthorizationError::ActionNotPermitted => "ACTION_NOT_PERMITTED",
AuthorizationError::IncompleteSignup => "INCOMPLETE_SIGNUP",
AuthorizationError::CustomerNotEnabled => "CUSTOMER_NOT_ENABLED",
AuthorizationError::MissingTos => "MISSING_TOS",
AuthorizationError::DeveloperTokenNotApproved => {
"DEVELOPER_TOKEN_NOT_APPROVED"
}
AuthorizationError::InvalidLoginCustomerIdServingCustomerIdCombination => {
"INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION"
}
AuthorizationError::ServiceAccessDenied => "SERVICE_ACCESS_DENIED",
AuthorizationError::AccessDeniedForAccountType => {
"ACCESS_DENIED_FOR_ACCOUNT_TYPE"
}
AuthorizationError::MetricAccessDenied => "METRIC_ACCESS_DENIED",
AuthorizationError::CloudProjectNotUnderOrganization => {
"CLOUD_PROJECT_NOT_UNDER_ORGANIZATION"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"USER_PERMISSION_DENIED" => Some(Self::UserPermissionDenied),
"DEVELOPER_TOKEN_NOT_ON_ALLOWLIST" => {
Some(Self::DeveloperTokenNotOnAllowlist)
}
"DEVELOPER_TOKEN_PROHIBITED" => Some(Self::DeveloperTokenProhibited),
"PROJECT_DISABLED" => Some(Self::ProjectDisabled),
"AUTHORIZATION_ERROR" => Some(Self::AuthorizationError),
"ACTION_NOT_PERMITTED" => Some(Self::ActionNotPermitted),
"INCOMPLETE_SIGNUP" => Some(Self::IncompleteSignup),
"CUSTOMER_NOT_ENABLED" => Some(Self::CustomerNotEnabled),
"MISSING_TOS" => Some(Self::MissingTos),
"DEVELOPER_TOKEN_NOT_APPROVED" => Some(Self::DeveloperTokenNotApproved),
"INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION" => {
Some(Self::InvalidLoginCustomerIdServingCustomerIdCombination)
}
"SERVICE_ACCESS_DENIED" => Some(Self::ServiceAccessDenied),
"ACCESS_DENIED_FOR_ACCOUNT_TYPE" => {
Some(Self::AccessDeniedForAccountType)
}
"METRIC_ACCESS_DENIED" => Some(Self::MetricAccessDenied),
"CLOUD_PROJECT_NOT_UNDER_ORGANIZATION" => {
Some(Self::CloudProjectNotUnderOrganization)
}
_ => None,
}
}
}
}
/// Container for enum describing possible criterion errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CriterionErrorEnum {}
/// Nested message and enum types in `CriterionErrorEnum`.
pub mod criterion_error_enum {
/// Enum describing possible criterion errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CriterionError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Concrete type of criterion is required for CREATE and UPDATE operations.
ConcreteTypeRequired = 2,
/// The category requested for exclusion is invalid.
InvalidExcludedCategory = 3,
/// Invalid keyword criteria text.
InvalidKeywordText = 4,
/// Keyword text should be less than 80 chars.
KeywordTextTooLong = 5,
/// Keyword text has too many words.
KeywordHasTooManyWords = 6,
/// Keyword text has invalid characters or symbols.
KeywordHasInvalidChars = 7,
/// Invalid placement URL.
InvalidPlacementUrl = 8,
/// Invalid user list criterion.
InvalidUserList = 9,
/// Invalid user interest criterion.
InvalidUserInterest = 10,
/// Placement URL has wrong format.
InvalidFormatForPlacementUrl = 11,
/// Placement URL is too long.
PlacementUrlIsTooLong = 12,
/// Indicates the URL contains an illegal character.
PlacementUrlHasIllegalChar = 13,
/// Indicates the URL contains multiple comma separated URLs.
PlacementUrlHasMultipleSitesInLine = 14,
/// Indicates the domain is blocked.
PlacementIsNotAvailableForTargetingOrExclusion = 15,
/// Invalid topic path.
InvalidTopicPath = 16,
/// The YouTube Channel Id is invalid.
InvalidYoutubeChannelId = 17,
/// The YouTube Video Id is invalid.
InvalidYoutubeVideoId = 18,
/// Indicates the placement is a YouTube vertical channel, which is no longer
/// supported.
YoutubeVerticalChannelDeprecated = 19,
/// Indicates the placement is a YouTube demographic channel, which is no
/// longer supported.
YoutubeDemographicChannelDeprecated = 20,
/// YouTube urls are not supported in Placement criterion. Use YouTubeChannel
/// and YouTubeVideo criterion instead.
YoutubeUrlUnsupported = 21,
/// Criteria type can not be excluded by the customer, like AOL account type
/// cannot target site type criteria.
CannotExcludeCriteriaType = 22,
/// Criteria type can not be targeted.
CannotAddCriteriaType = 23,
/// Not allowed to exclude similar user list.
CannotExcludeSimilarUserList = 26,
/// Not allowed to target a closed user list.
CannotAddClosedUserList = 27,
/// Not allowed to add display only UserLists to search only campaigns.
CannotAddDisplayOnlyListsToSearchOnlyCampaigns = 28,
/// Not allowed to add display only UserLists to search plus campaigns.
CannotAddDisplayOnlyListsToSearchCampaigns = 29,
/// Not allowed to add display only UserLists to shopping campaigns.
CannotAddDisplayOnlyListsToShoppingCampaigns = 30,
/// Not allowed to add User interests to search only campaigns.
CannotAddUserInterestsToSearchCampaigns = 31,
/// Not allowed to set bids for this criterion type in search campaigns
CannotSetBidsOnCriterionTypeInSearchCampaigns = 32,
/// Final URLs, URL Templates and CustomParameters cannot be set for the
/// criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and
/// MobileAppCategory in search campaigns and shopping campaigns.
CannotAddUrlsToCriterionTypeForCampaignType = 33,
/// Invalid combined audience criterion.
InvalidCombinedAudience = 122,
/// Invalid custom affinity criterion.
InvalidCustomAffinity = 96,
/// Invalid custom intent criterion.
InvalidCustomIntent = 97,
/// Invalid custom audience criterion.
InvalidCustomAudience = 121,
/// IP address is not valid.
InvalidIpAddress = 34,
/// IP format is not valid.
InvalidIpFormat = 35,
/// Mobile application is not valid.
InvalidMobileApp = 36,
/// Mobile application category is not valid.
InvalidMobileAppCategory = 37,
/// The CriterionId does not exist or is of the incorrect type.
InvalidCriterionId = 38,
/// The Criterion is not allowed to be targeted.
CannotTargetCriterion = 39,
/// The criterion is not allowed to be targeted as it is deprecated.
CannotTargetObsoleteCriterion = 40,
/// The CriterionId is not valid for the type.
CriterionIdAndTypeMismatch = 41,
/// Distance for the radius for the proximity criterion is invalid.
InvalidProximityRadius = 42,
/// Units for the distance for the radius for the proximity criterion is
/// invalid.
InvalidProximityRadiusUnits = 43,
/// Street address in the address is not valid.
InvalidStreetaddressLength = 44,
/// City name in the address is not valid.
InvalidCitynameLength = 45,
/// Region code in the address is not valid.
InvalidRegioncodeLength = 46,
/// Region name in the address is not valid.
InvalidRegionnameLength = 47,
/// Postal code in the address is not valid.
InvalidPostalcodeLength = 48,
/// Country code in the address is not valid.
InvalidCountryCode = 49,
/// Latitude for the GeoPoint is not valid.
InvalidLatitude = 50,
/// Longitude for the GeoPoint is not valid.
InvalidLongitude = 51,
/// The Proximity input is not valid. Both address and geoPoint cannot be
/// null.
ProximityGeopointAndAddressBothCannotBeNull = 52,
/// The Proximity address cannot be geocoded to a valid lat/long.
InvalidProximityAddress = 53,
/// User domain name is not valid.
InvalidUserDomainName = 54,
/// Length of serialized criterion parameter exceeded size limit.
CriterionParameterTooLong = 55,
/// Time interval in the AdSchedule overlaps with another AdSchedule.
AdScheduleTimeIntervalsOverlap = 56,
/// AdSchedule time interval cannot span multiple days.
AdScheduleIntervalCannotSpanMultipleDays = 57,
/// AdSchedule time interval specified is invalid, endTime cannot be earlier
/// than startTime.
AdScheduleInvalidTimeInterval = 58,
/// The number of AdSchedule entries in a day exceeds the limit.
AdScheduleExceededIntervalsPerDayLimit = 59,
/// CriteriaId does not match the interval of the AdSchedule specified.
AdScheduleCriterionIdMismatchingFields = 60,
/// Cannot set bid modifier for this criterion type.
CannotBidModifyCriterionType = 61,
/// Cannot bid modify criterion, since it is opted out of the campaign.
CannotBidModifyCriterionCampaignOptedOut = 62,
/// Cannot set bid modifier for a negative criterion.
CannotBidModifyNegativeCriterion = 63,
/// Bid Modifier already exists. Use SET operation to update.
BidModifierAlreadyExists = 64,
/// Feed Id is not allowed in these Location Groups.
FeedIdNotAllowed = 65,
/// The account may not use the requested criteria type. For example, some
/// accounts are restricted to keywords only.
AccountIneligibleForCriteriaType = 66,
/// The requested criteria type cannot be used with campaign or ad group
/// bidding strategy.
CriteriaTypeInvalidForBiddingStrategy = 67,
/// The Criterion is not allowed to be excluded.
CannotExcludeCriterion = 68,
/// The criterion is not allowed to be removed. For example, we cannot remove
/// any of the device criterion.
CannotRemoveCriterion = 69,
/// Bidding categories do not form a valid path in the Shopping bidding
/// category taxonomy.
InvalidProductBiddingCategory = 76,
/// ShoppingSetting must be added to the campaign before ProductScope
/// criteria can be added.
MissingShoppingSetting = 77,
/// Matching function is invalid.
InvalidMatchingFunction = 78,
/// Filter parameters not allowed for location groups targeting.
LocationFilterNotAllowed = 79,
/// Feed not found, or the feed is not an enabled location feed.
InvalidFeedForLocationFilter = 98,
/// Given location filter parameter is invalid for location groups targeting.
LocationFilterInvalid = 80,
/// Cannot set geo target constants and feed item sets at the same time.
CannotSetGeoTargetConstantsWithFeedItemSets = 123,
/// Cannot set both assetset and feed at the same time.
CannotSetBothAssetSetAndFeed = 140,
/// Cannot set feed or feed item sets for Customer.
CannotSetFeedOrFeedItemSetsForCustomer = 142,
/// Cannot set AssetSet criteria for customer.
CannotSetAssetSetFieldForCustomer = 150,
/// Cannot set geo target constants and asset sets at the same time.
CannotSetGeoTargetConstantsWithAssetSets = 143,
/// Cannot set asset sets and feed item sets at the same time.
CannotSetAssetSetsWithFeedItemSets = 144,
/// The location group asset set id is invalid
InvalidLocationGroupAssetSet = 141,
/// The location group radius is in the range but not at the valid increment.
InvalidLocationGroupRadius = 124,
/// The location group radius unit is invalid.
InvalidLocationGroupRadiusUnit = 125,
/// Criteria type cannot be associated with a campaign and its ad group(s)
/// simultaneously.
CannotAttachCriteriaAtCampaignAndAdgroup = 81,
/// Range represented by hotel length of stay's min nights and max nights
/// overlaps with an existing criterion.
HotelLengthOfStayOverlapsWithExistingCriterion = 82,
/// Range represented by hotel advance booking window's min days and max days
/// overlaps with an existing criterion.
HotelAdvanceBookingWindowOverlapsWithExistingCriterion = 83,
/// The field is not allowed to be set when the negative field is set to
/// true, for example, we don't allow bids in negative ad group or campaign
/// criteria.
FieldIncompatibleWithNegativeTargeting = 84,
/// The combination of operand and operator in webpage condition is invalid.
InvalidWebpageCondition = 85,
/// The URL of webpage condition is invalid.
InvalidWebpageConditionUrl = 86,
/// The URL of webpage condition cannot be empty or contain white space.
WebpageConditionUrlCannotBeEmpty = 87,
/// The URL of webpage condition contains an unsupported protocol.
WebpageConditionUrlUnsupportedProtocol = 88,
/// The URL of webpage condition cannot be an IP address.
WebpageConditionUrlCannotBeIpAddress = 89,
/// The domain of the URL is not consistent with the domain in campaign
/// setting.
WebpageConditionUrlDomainNotConsistentWithCampaignSetting = 90,
/// The URL of webpage condition cannot be a public suffix itself.
WebpageConditionUrlCannotBePublicSuffix = 91,
/// The URL of webpage condition has an invalid public suffix.
WebpageConditionUrlInvalidPublicSuffix = 92,
/// Value track parameter is not supported in webpage condition URL.
WebpageConditionUrlValueTrackValueNotSupported = 93,
/// Only one URL-EQUALS webpage condition is allowed in a webpage
/// criterion and it cannot be combined with other conditions.
WebpageCriterionUrlEqualsCanHaveOnlyOneCondition = 94,
/// A webpage criterion cannot be added to a non-DSA ad group.
WebpageCriterionNotSupportedOnNonDsaAdGroup = 95,
/// Cannot add positive user list criteria in Smart Display campaigns.
CannotTargetUserListForSmartDisplayCampaigns = 99,
/// Cannot add positive placement criterion types in search campaigns.
CannotTargetPlacementsForSearchCampaigns = 126,
/// Listing scope contains too many dimension types.
ListingScopeTooManyDimensionTypes = 100,
/// Listing scope has too many IN operators.
ListingScopeTooManyInOperators = 101,
/// Listing scope contains IN operator on an unsupported dimension type.
ListingScopeInOperatorNotSupported = 102,
/// There are dimensions with duplicate dimension type.
DuplicateListingDimensionType = 103,
/// There are dimensions with duplicate dimension value.
DuplicateListingDimensionValue = 104,
/// Listing group SUBDIVISION nodes cannot have bids.
CannotSetBidsOnListingGroupSubdivision = 105,
/// Ad group is invalid due to the listing groups it contains.
InvalidListingGroupHierarchy = 106,
/// Listing group unit cannot have children.
ListingGroupUnitCannotHaveChildren = 107,
/// Subdivided listing groups must have an "others" case.
ListingGroupSubdivisionRequiresOthersCase = 108,
/// Dimension type of listing group must be the same as that of its siblings.
ListingGroupRequiresSameDimensionTypeAsSiblings = 109,
/// Listing group cannot be added to the ad group because it already exists.
ListingGroupAlreadyExists = 110,
/// Listing group referenced in the operation was not found in the ad group.
ListingGroupDoesNotExist = 111,
/// Recursive removal failed because listing group subdivision is being
/// created or modified in this request.
ListingGroupCannotBeRemoved = 112,
/// Listing group type is not allowed for specified ad group criterion type.
InvalidListingGroupType = 113,
/// Listing group in an ADD operation specifies a non temporary criterion id.
ListingGroupAddMayOnlyUseTempId = 114,
/// The combined length of dimension values of the Listing scope criterion
/// is too long.
ListingScopeTooLong = 115,
/// Listing scope contains too many dimensions.
ListingScopeTooManyDimensions = 116,
/// The combined length of dimension values of the Listing group criterion is
/// too long.
ListingGroupTooLong = 117,
/// Listing group tree is too deep.
ListingGroupTreeTooDeep = 118,
/// Listing dimension is invalid (for example, dimension contains illegal
/// value, dimension type is represented with wrong class, etc). Listing
/// dimension value can not contain "==" or "&+".
InvalidListingDimension = 119,
/// Listing dimension type is either invalid for campaigns of this type or
/// cannot be used in the current context. BIDDING_CATEGORY_Lx and
/// PRODUCT_TYPE_Lx dimensions must be used in ascending order of their
/// levels: L1, L2, L3, L4, L5... The levels must be specified sequentially
/// and start from L1. Furthermore, an "others" Listing group cannot be
/// subdivided with a dimension of the same type but of a higher level
/// ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with
/// BIDDING_CATEGORY_L4).
InvalidListingDimensionType = 120,
/// Customer is not on allowlist for composite audience in display campaigns.
AdvertiserNotOnAllowlistForCombinedAudienceOnDisplay = 127,
/// Cannot target on a removed combined audience.
CannotTargetRemovedCombinedAudience = 128,
/// Combined audience ID is invalid.
InvalidCombinedAudienceId = 129,
/// Can not target removed combined audience.
CannotTargetRemovedCustomAudience = 130,
/// Range represented by hotel check-in date's start date and end date
/// overlaps with an existing criterion.
HotelCheckInDateRangeOverlapsWithExistingCriterion = 131,
/// Start date is earlier than earliest allowed value of yesterday UTC.
HotelCheckInDateRangeStartDateTooEarly = 132,
/// End date later is than latest allowed day of 330 days in the future UTC.
HotelCheckInDateRangeEndDateTooLate = 133,
/// Start date is after end date.
HotelCheckInDateRangeReversed = 134,
/// Broad match modifier (BMM) keywords can no longer be created. See
/// <https://ads-developers.googleblog.com/2021/06/broad-match-modifier-upcoming-changes.html.>
BroadMatchModifierKeywordNotAllowed = 135,
/// Only one audience is allowed in an asset group.
OneAudienceAllowedPerAssetGroup = 136,
/// Audience is not supported for the specified campaign type.
AudienceNotEligibleForCampaignType = 137,
/// Audience is not allowed to attach when use_audience_grouped bit is set to
/// false.
AudienceNotAllowedToAttachWhenAudienceGroupedSetToFalse = 138,
/// Targeting is not allowed for Customer Match lists as per Customer Match
/// policy. See
/// <https://support.google.com/google-ads/answer/6299717.>
CannotTargetCustomerMatchUserList = 139,
/// Cannot create a negative keyword list criterion with a shared set that
/// does not exist.
NegativeKeywordSharedSetDoesNotExist = 145,
/// Cannot create a negative keyword list with deleted shared set.
CannotAddRemovedNegativeKeywordSharedSet = 146,
/// Can only have one Negative Keyword List per account.
CannotHaveMultipleNegativeKeywordListPerAccount = 147,
/// Only allowlisted customers can add criteria of this type.
CustomerCannotAddCriterionOfThisType = 149,
/// Targeting for Similar audiences is not supported, since this feature has
/// been deprecated. See
/// <https://support.google.com/google-ads/answer/12463119> to learn more.
CannotTargetSimilarUserList = 151,
/// Audience segment criteria cannot be added when use_audience_grouped bit
/// is set.
CannotAddAudienceSegmentCriterionWhenAudienceGroupedIsSet = 152,
/// Only one audience is allowed in an ad group.
OneAudienceAllowedPerAdGroup = 153,
/// Invalid detailed demographics criterion.
InvalidDetailedDemographic = 154,
/// The brand criteria has a brand input that is not recognized as a
/// valid brand.
CannotRecognizeBrand = 155,
/// The brand_list.shared_set_id references a shared set that does not
/// exist.
BrandSharedSetDoesNotExist = 156,
/// Cannot create a brand list with deleted shared set.
CannotAddRemovedBrandSharedSet = 157,
/// Brand list can only be negatively targeted for the campaign type.
OnlyExclusionBrandListAllowedForCampaignType = 158,
}
impl CriterionError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CriterionError::Unspecified => "UNSPECIFIED",
CriterionError::Unknown => "UNKNOWN",
CriterionError::ConcreteTypeRequired => "CONCRETE_TYPE_REQUIRED",
CriterionError::InvalidExcludedCategory => "INVALID_EXCLUDED_CATEGORY",
CriterionError::InvalidKeywordText => "INVALID_KEYWORD_TEXT",
CriterionError::KeywordTextTooLong => "KEYWORD_TEXT_TOO_LONG",
CriterionError::KeywordHasTooManyWords => "KEYWORD_HAS_TOO_MANY_WORDS",
CriterionError::KeywordHasInvalidChars => "KEYWORD_HAS_INVALID_CHARS",
CriterionError::InvalidPlacementUrl => "INVALID_PLACEMENT_URL",
CriterionError::InvalidUserList => "INVALID_USER_LIST",
CriterionError::InvalidUserInterest => "INVALID_USER_INTEREST",
CriterionError::InvalidFormatForPlacementUrl => {
"INVALID_FORMAT_FOR_PLACEMENT_URL"
}
CriterionError::PlacementUrlIsTooLong => "PLACEMENT_URL_IS_TOO_LONG",
CriterionError::PlacementUrlHasIllegalChar => {
"PLACEMENT_URL_HAS_ILLEGAL_CHAR"
}
CriterionError::PlacementUrlHasMultipleSitesInLine => {
"PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE"
}
CriterionError::PlacementIsNotAvailableForTargetingOrExclusion => {
"PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION"
}
CriterionError::InvalidTopicPath => "INVALID_TOPIC_PATH",
CriterionError::InvalidYoutubeChannelId => "INVALID_YOUTUBE_CHANNEL_ID",
CriterionError::InvalidYoutubeVideoId => "INVALID_YOUTUBE_VIDEO_ID",
CriterionError::YoutubeVerticalChannelDeprecated => {
"YOUTUBE_VERTICAL_CHANNEL_DEPRECATED"
}
CriterionError::YoutubeDemographicChannelDeprecated => {
"YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED"
}
CriterionError::YoutubeUrlUnsupported => "YOUTUBE_URL_UNSUPPORTED",
CriterionError::CannotExcludeCriteriaType => {
"CANNOT_EXCLUDE_CRITERIA_TYPE"
}
CriterionError::CannotAddCriteriaType => "CANNOT_ADD_CRITERIA_TYPE",
CriterionError::CannotExcludeSimilarUserList => {
"CANNOT_EXCLUDE_SIMILAR_USER_LIST"
}
CriterionError::CannotAddClosedUserList => "CANNOT_ADD_CLOSED_USER_LIST",
CriterionError::CannotAddDisplayOnlyListsToSearchOnlyCampaigns => {
"CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS"
}
CriterionError::CannotAddDisplayOnlyListsToSearchCampaigns => {
"CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS"
}
CriterionError::CannotAddDisplayOnlyListsToShoppingCampaigns => {
"CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS"
}
CriterionError::CannotAddUserInterestsToSearchCampaigns => {
"CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS"
}
CriterionError::CannotSetBidsOnCriterionTypeInSearchCampaigns => {
"CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS"
}
CriterionError::CannotAddUrlsToCriterionTypeForCampaignType => {
"CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE"
}
CriterionError::InvalidCombinedAudience => "INVALID_COMBINED_AUDIENCE",
CriterionError::InvalidCustomAffinity => "INVALID_CUSTOM_AFFINITY",
CriterionError::InvalidCustomIntent => "INVALID_CUSTOM_INTENT",
CriterionError::InvalidCustomAudience => "INVALID_CUSTOM_AUDIENCE",
CriterionError::InvalidIpAddress => "INVALID_IP_ADDRESS",
CriterionError::InvalidIpFormat => "INVALID_IP_FORMAT",
CriterionError::InvalidMobileApp => "INVALID_MOBILE_APP",
CriterionError::InvalidMobileAppCategory => "INVALID_MOBILE_APP_CATEGORY",
CriterionError::InvalidCriterionId => "INVALID_CRITERION_ID",
CriterionError::CannotTargetCriterion => "CANNOT_TARGET_CRITERION",
CriterionError::CannotTargetObsoleteCriterion => {
"CANNOT_TARGET_OBSOLETE_CRITERION"
}
CriterionError::CriterionIdAndTypeMismatch => {
"CRITERION_ID_AND_TYPE_MISMATCH"
}
CriterionError::InvalidProximityRadius => "INVALID_PROXIMITY_RADIUS",
CriterionError::InvalidProximityRadiusUnits => {
"INVALID_PROXIMITY_RADIUS_UNITS"
}
CriterionError::InvalidStreetaddressLength => {
"INVALID_STREETADDRESS_LENGTH"
}
CriterionError::InvalidCitynameLength => "INVALID_CITYNAME_LENGTH",
CriterionError::InvalidRegioncodeLength => "INVALID_REGIONCODE_LENGTH",
CriterionError::InvalidRegionnameLength => "INVALID_REGIONNAME_LENGTH",
CriterionError::InvalidPostalcodeLength => "INVALID_POSTALCODE_LENGTH",
CriterionError::InvalidCountryCode => "INVALID_COUNTRY_CODE",
CriterionError::InvalidLatitude => "INVALID_LATITUDE",
CriterionError::InvalidLongitude => "INVALID_LONGITUDE",
CriterionError::ProximityGeopointAndAddressBothCannotBeNull => {
"PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL"
}
CriterionError::InvalidProximityAddress => "INVALID_PROXIMITY_ADDRESS",
CriterionError::InvalidUserDomainName => "INVALID_USER_DOMAIN_NAME",
CriterionError::CriterionParameterTooLong => {
"CRITERION_PARAMETER_TOO_LONG"
}
CriterionError::AdScheduleTimeIntervalsOverlap => {
"AD_SCHEDULE_TIME_INTERVALS_OVERLAP"
}
CriterionError::AdScheduleIntervalCannotSpanMultipleDays => {
"AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS"
}
CriterionError::AdScheduleInvalidTimeInterval => {
"AD_SCHEDULE_INVALID_TIME_INTERVAL"
}
CriterionError::AdScheduleExceededIntervalsPerDayLimit => {
"AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT"
}
CriterionError::AdScheduleCriterionIdMismatchingFields => {
"AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS"
}
CriterionError::CannotBidModifyCriterionType => {
"CANNOT_BID_MODIFY_CRITERION_TYPE"
}
CriterionError::CannotBidModifyCriterionCampaignOptedOut => {
"CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT"
}
CriterionError::CannotBidModifyNegativeCriterion => {
"CANNOT_BID_MODIFY_NEGATIVE_CRITERION"
}
CriterionError::BidModifierAlreadyExists => "BID_MODIFIER_ALREADY_EXISTS",
CriterionError::FeedIdNotAllowed => "FEED_ID_NOT_ALLOWED",
CriterionError::AccountIneligibleForCriteriaType => {
"ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE"
}
CriterionError::CriteriaTypeInvalidForBiddingStrategy => {
"CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY"
}
CriterionError::CannotExcludeCriterion => "CANNOT_EXCLUDE_CRITERION",
CriterionError::CannotRemoveCriterion => "CANNOT_REMOVE_CRITERION",
CriterionError::InvalidProductBiddingCategory => {
"INVALID_PRODUCT_BIDDING_CATEGORY"
}
CriterionError::MissingShoppingSetting => "MISSING_SHOPPING_SETTING",
CriterionError::InvalidMatchingFunction => "INVALID_MATCHING_FUNCTION",
CriterionError::LocationFilterNotAllowed => "LOCATION_FILTER_NOT_ALLOWED",
CriterionError::InvalidFeedForLocationFilter => {
"INVALID_FEED_FOR_LOCATION_FILTER"
}
CriterionError::LocationFilterInvalid => "LOCATION_FILTER_INVALID",
CriterionError::CannotSetGeoTargetConstantsWithFeedItemSets => {
"CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS"
}
CriterionError::CannotSetBothAssetSetAndFeed => {
"CANNOT_SET_BOTH_ASSET_SET_AND_FEED"
}
CriterionError::CannotSetFeedOrFeedItemSetsForCustomer => {
"CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER"
}
CriterionError::CannotSetAssetSetFieldForCustomer => {
"CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER"
}
CriterionError::CannotSetGeoTargetConstantsWithAssetSets => {
"CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS"
}
CriterionError::CannotSetAssetSetsWithFeedItemSets => {
"CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS"
}
CriterionError::InvalidLocationGroupAssetSet => {
"INVALID_LOCATION_GROUP_ASSET_SET"
}
CriterionError::InvalidLocationGroupRadius => {
"INVALID_LOCATION_GROUP_RADIUS"
}
CriterionError::InvalidLocationGroupRadiusUnit => {
"INVALID_LOCATION_GROUP_RADIUS_UNIT"
}
CriterionError::CannotAttachCriteriaAtCampaignAndAdgroup => {
"CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP"
}
CriterionError::HotelLengthOfStayOverlapsWithExistingCriterion => {
"HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION"
}
CriterionError::HotelAdvanceBookingWindowOverlapsWithExistingCriterion => {
"HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION"
}
CriterionError::FieldIncompatibleWithNegativeTargeting => {
"FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING"
}
CriterionError::InvalidWebpageCondition => "INVALID_WEBPAGE_CONDITION",
CriterionError::InvalidWebpageConditionUrl => {
"INVALID_WEBPAGE_CONDITION_URL"
}
CriterionError::WebpageConditionUrlCannotBeEmpty => {
"WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY"
}
CriterionError::WebpageConditionUrlUnsupportedProtocol => {
"WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL"
}
CriterionError::WebpageConditionUrlCannotBeIpAddress => {
"WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS"
}
CriterionError::WebpageConditionUrlDomainNotConsistentWithCampaignSetting => {
"WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING"
}
CriterionError::WebpageConditionUrlCannotBePublicSuffix => {
"WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX"
}
CriterionError::WebpageConditionUrlInvalidPublicSuffix => {
"WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX"
}
CriterionError::WebpageConditionUrlValueTrackValueNotSupported => {
"WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED"
}
CriterionError::WebpageCriterionUrlEqualsCanHaveOnlyOneCondition => {
"WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION"
}
CriterionError::WebpageCriterionNotSupportedOnNonDsaAdGroup => {
"WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP"
}
CriterionError::CannotTargetUserListForSmartDisplayCampaigns => {
"CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS"
}
CriterionError::CannotTargetPlacementsForSearchCampaigns => {
"CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS"
}
CriterionError::ListingScopeTooManyDimensionTypes => {
"LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES"
}
CriterionError::ListingScopeTooManyInOperators => {
"LISTING_SCOPE_TOO_MANY_IN_OPERATORS"
}
CriterionError::ListingScopeInOperatorNotSupported => {
"LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED"
}
CriterionError::DuplicateListingDimensionType => {
"DUPLICATE_LISTING_DIMENSION_TYPE"
}
CriterionError::DuplicateListingDimensionValue => {
"DUPLICATE_LISTING_DIMENSION_VALUE"
}
CriterionError::CannotSetBidsOnListingGroupSubdivision => {
"CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION"
}
CriterionError::InvalidListingGroupHierarchy => {
"INVALID_LISTING_GROUP_HIERARCHY"
}
CriterionError::ListingGroupUnitCannotHaveChildren => {
"LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN"
}
CriterionError::ListingGroupSubdivisionRequiresOthersCase => {
"LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE"
}
CriterionError::ListingGroupRequiresSameDimensionTypeAsSiblings => {
"LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS"
}
CriterionError::ListingGroupAlreadyExists => {
"LISTING_GROUP_ALREADY_EXISTS"
}
CriterionError::ListingGroupDoesNotExist => {
"LISTING_GROUP_DOES_NOT_EXIST"
}
CriterionError::ListingGroupCannotBeRemoved => {
"LISTING_GROUP_CANNOT_BE_REMOVED"
}
CriterionError::InvalidListingGroupType => "INVALID_LISTING_GROUP_TYPE",
CriterionError::ListingGroupAddMayOnlyUseTempId => {
"LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID"
}
CriterionError::ListingScopeTooLong => "LISTING_SCOPE_TOO_LONG",
CriterionError::ListingScopeTooManyDimensions => {
"LISTING_SCOPE_TOO_MANY_DIMENSIONS"
}
CriterionError::ListingGroupTooLong => "LISTING_GROUP_TOO_LONG",
CriterionError::ListingGroupTreeTooDeep => "LISTING_GROUP_TREE_TOO_DEEP",
CriterionError::InvalidListingDimension => "INVALID_LISTING_DIMENSION",
CriterionError::InvalidListingDimensionType => {
"INVALID_LISTING_DIMENSION_TYPE"
}
CriterionError::AdvertiserNotOnAllowlistForCombinedAudienceOnDisplay => {
"ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY"
}
CriterionError::CannotTargetRemovedCombinedAudience => {
"CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE"
}
CriterionError::InvalidCombinedAudienceId => {
"INVALID_COMBINED_AUDIENCE_ID"
}
CriterionError::CannotTargetRemovedCustomAudience => {
"CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE"
}
CriterionError::HotelCheckInDateRangeOverlapsWithExistingCriterion => {
"HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION"
}
CriterionError::HotelCheckInDateRangeStartDateTooEarly => {
"HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY"
}
CriterionError::HotelCheckInDateRangeEndDateTooLate => {
"HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE"
}
CriterionError::HotelCheckInDateRangeReversed => {
"HOTEL_CHECK_IN_DATE_RANGE_REVERSED"
}
CriterionError::BroadMatchModifierKeywordNotAllowed => {
"BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED"
}
CriterionError::OneAudienceAllowedPerAssetGroup => {
"ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP"
}
CriterionError::AudienceNotEligibleForCampaignType => {
"AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE"
}
CriterionError::AudienceNotAllowedToAttachWhenAudienceGroupedSetToFalse => {
"AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE"
}
CriterionError::CannotTargetCustomerMatchUserList => {
"CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST"
}
CriterionError::NegativeKeywordSharedSetDoesNotExist => {
"NEGATIVE_KEYWORD_SHARED_SET_DOES_NOT_EXIST"
}
CriterionError::CannotAddRemovedNegativeKeywordSharedSet => {
"CANNOT_ADD_REMOVED_NEGATIVE_KEYWORD_SHARED_SET"
}
CriterionError::CannotHaveMultipleNegativeKeywordListPerAccount => {
"CANNOT_HAVE_MULTIPLE_NEGATIVE_KEYWORD_LIST_PER_ACCOUNT"
}
CriterionError::CustomerCannotAddCriterionOfThisType => {
"CUSTOMER_CANNOT_ADD_CRITERION_OF_THIS_TYPE"
}
CriterionError::CannotTargetSimilarUserList => {
"CANNOT_TARGET_SIMILAR_USER_LIST"
}
CriterionError::CannotAddAudienceSegmentCriterionWhenAudienceGroupedIsSet => {
"CANNOT_ADD_AUDIENCE_SEGMENT_CRITERION_WHEN_AUDIENCE_GROUPED_IS_SET"
}
CriterionError::OneAudienceAllowedPerAdGroup => {
"ONE_AUDIENCE_ALLOWED_PER_AD_GROUP"
}
CriterionError::InvalidDetailedDemographic => {
"INVALID_DETAILED_DEMOGRAPHIC"
}
CriterionError::CannotRecognizeBrand => "CANNOT_RECOGNIZE_BRAND",
CriterionError::BrandSharedSetDoesNotExist => {
"BRAND_SHARED_SET_DOES_NOT_EXIST"
}
CriterionError::CannotAddRemovedBrandSharedSet => {
"CANNOT_ADD_REMOVED_BRAND_SHARED_SET"
}
CriterionError::OnlyExclusionBrandListAllowedForCampaignType => {
"ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CONCRETE_TYPE_REQUIRED" => Some(Self::ConcreteTypeRequired),
"INVALID_EXCLUDED_CATEGORY" => Some(Self::InvalidExcludedCategory),
"INVALID_KEYWORD_TEXT" => Some(Self::InvalidKeywordText),
"KEYWORD_TEXT_TOO_LONG" => Some(Self::KeywordTextTooLong),
"KEYWORD_HAS_TOO_MANY_WORDS" => Some(Self::KeywordHasTooManyWords),
"KEYWORD_HAS_INVALID_CHARS" => Some(Self::KeywordHasInvalidChars),
"INVALID_PLACEMENT_URL" => Some(Self::InvalidPlacementUrl),
"INVALID_USER_LIST" => Some(Self::InvalidUserList),
"INVALID_USER_INTEREST" => Some(Self::InvalidUserInterest),
"INVALID_FORMAT_FOR_PLACEMENT_URL" => {
Some(Self::InvalidFormatForPlacementUrl)
}
"PLACEMENT_URL_IS_TOO_LONG" => Some(Self::PlacementUrlIsTooLong),
"PLACEMENT_URL_HAS_ILLEGAL_CHAR" => {
Some(Self::PlacementUrlHasIllegalChar)
}
"PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE" => {
Some(Self::PlacementUrlHasMultipleSitesInLine)
}
"PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION" => {
Some(Self::PlacementIsNotAvailableForTargetingOrExclusion)
}
"INVALID_TOPIC_PATH" => Some(Self::InvalidTopicPath),
"INVALID_YOUTUBE_CHANNEL_ID" => Some(Self::InvalidYoutubeChannelId),
"INVALID_YOUTUBE_VIDEO_ID" => Some(Self::InvalidYoutubeVideoId),
"YOUTUBE_VERTICAL_CHANNEL_DEPRECATED" => {
Some(Self::YoutubeVerticalChannelDeprecated)
}
"YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED" => {
Some(Self::YoutubeDemographicChannelDeprecated)
}
"YOUTUBE_URL_UNSUPPORTED" => Some(Self::YoutubeUrlUnsupported),
"CANNOT_EXCLUDE_CRITERIA_TYPE" => Some(Self::CannotExcludeCriteriaType),
"CANNOT_ADD_CRITERIA_TYPE" => Some(Self::CannotAddCriteriaType),
"CANNOT_EXCLUDE_SIMILAR_USER_LIST" => {
Some(Self::CannotExcludeSimilarUserList)
}
"CANNOT_ADD_CLOSED_USER_LIST" => Some(Self::CannotAddClosedUserList),
"CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS" => {
Some(Self::CannotAddDisplayOnlyListsToSearchOnlyCampaigns)
}
"CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS" => {
Some(Self::CannotAddDisplayOnlyListsToSearchCampaigns)
}
"CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS" => {
Some(Self::CannotAddDisplayOnlyListsToShoppingCampaigns)
}
"CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS" => {
Some(Self::CannotAddUserInterestsToSearchCampaigns)
}
"CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS" => {
Some(Self::CannotSetBidsOnCriterionTypeInSearchCampaigns)
}
"CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE" => {
Some(Self::CannotAddUrlsToCriterionTypeForCampaignType)
}
"INVALID_COMBINED_AUDIENCE" => Some(Self::InvalidCombinedAudience),
"INVALID_CUSTOM_AFFINITY" => Some(Self::InvalidCustomAffinity),
"INVALID_CUSTOM_INTENT" => Some(Self::InvalidCustomIntent),
"INVALID_CUSTOM_AUDIENCE" => Some(Self::InvalidCustomAudience),
"INVALID_IP_ADDRESS" => Some(Self::InvalidIpAddress),
"INVALID_IP_FORMAT" => Some(Self::InvalidIpFormat),
"INVALID_MOBILE_APP" => Some(Self::InvalidMobileApp),
"INVALID_MOBILE_APP_CATEGORY" => Some(Self::InvalidMobileAppCategory),
"INVALID_CRITERION_ID" => Some(Self::InvalidCriterionId),
"CANNOT_TARGET_CRITERION" => Some(Self::CannotTargetCriterion),
"CANNOT_TARGET_OBSOLETE_CRITERION" => {
Some(Self::CannotTargetObsoleteCriterion)
}
"CRITERION_ID_AND_TYPE_MISMATCH" => {
Some(Self::CriterionIdAndTypeMismatch)
}
"INVALID_PROXIMITY_RADIUS" => Some(Self::InvalidProximityRadius),
"INVALID_PROXIMITY_RADIUS_UNITS" => {
Some(Self::InvalidProximityRadiusUnits)
}
"INVALID_STREETADDRESS_LENGTH" => Some(Self::InvalidStreetaddressLength),
"INVALID_CITYNAME_LENGTH" => Some(Self::InvalidCitynameLength),
"INVALID_REGIONCODE_LENGTH" => Some(Self::InvalidRegioncodeLength),
"INVALID_REGIONNAME_LENGTH" => Some(Self::InvalidRegionnameLength),
"INVALID_POSTALCODE_LENGTH" => Some(Self::InvalidPostalcodeLength),
"INVALID_COUNTRY_CODE" => Some(Self::InvalidCountryCode),
"INVALID_LATITUDE" => Some(Self::InvalidLatitude),
"INVALID_LONGITUDE" => Some(Self::InvalidLongitude),
"PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL" => {
Some(Self::ProximityGeopointAndAddressBothCannotBeNull)
}
"INVALID_PROXIMITY_ADDRESS" => Some(Self::InvalidProximityAddress),
"INVALID_USER_DOMAIN_NAME" => Some(Self::InvalidUserDomainName),
"CRITERION_PARAMETER_TOO_LONG" => Some(Self::CriterionParameterTooLong),
"AD_SCHEDULE_TIME_INTERVALS_OVERLAP" => {
Some(Self::AdScheduleTimeIntervalsOverlap)
}
"AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS" => {
Some(Self::AdScheduleIntervalCannotSpanMultipleDays)
}
"AD_SCHEDULE_INVALID_TIME_INTERVAL" => {
Some(Self::AdScheduleInvalidTimeInterval)
}
"AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT" => {
Some(Self::AdScheduleExceededIntervalsPerDayLimit)
}
"AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS" => {
Some(Self::AdScheduleCriterionIdMismatchingFields)
}
"CANNOT_BID_MODIFY_CRITERION_TYPE" => {
Some(Self::CannotBidModifyCriterionType)
}
"CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT" => {
Some(Self::CannotBidModifyCriterionCampaignOptedOut)
}
"CANNOT_BID_MODIFY_NEGATIVE_CRITERION" => {
Some(Self::CannotBidModifyNegativeCriterion)
}
"BID_MODIFIER_ALREADY_EXISTS" => Some(Self::BidModifierAlreadyExists),
"FEED_ID_NOT_ALLOWED" => Some(Self::FeedIdNotAllowed),
"ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE" => {
Some(Self::AccountIneligibleForCriteriaType)
}
"CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY" => {
Some(Self::CriteriaTypeInvalidForBiddingStrategy)
}
"CANNOT_EXCLUDE_CRITERION" => Some(Self::CannotExcludeCriterion),
"CANNOT_REMOVE_CRITERION" => Some(Self::CannotRemoveCriterion),
"INVALID_PRODUCT_BIDDING_CATEGORY" => {
Some(Self::InvalidProductBiddingCategory)
}
"MISSING_SHOPPING_SETTING" => Some(Self::MissingShoppingSetting),
"INVALID_MATCHING_FUNCTION" => Some(Self::InvalidMatchingFunction),
"LOCATION_FILTER_NOT_ALLOWED" => Some(Self::LocationFilterNotAllowed),
"INVALID_FEED_FOR_LOCATION_FILTER" => {
Some(Self::InvalidFeedForLocationFilter)
}
"LOCATION_FILTER_INVALID" => Some(Self::LocationFilterInvalid),
"CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS" => {
Some(Self::CannotSetGeoTargetConstantsWithFeedItemSets)
}
"CANNOT_SET_BOTH_ASSET_SET_AND_FEED" => {
Some(Self::CannotSetBothAssetSetAndFeed)
}
"CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER" => {
Some(Self::CannotSetFeedOrFeedItemSetsForCustomer)
}
"CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER" => {
Some(Self::CannotSetAssetSetFieldForCustomer)
}
"CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS" => {
Some(Self::CannotSetGeoTargetConstantsWithAssetSets)
}
"CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS" => {
Some(Self::CannotSetAssetSetsWithFeedItemSets)
}
"INVALID_LOCATION_GROUP_ASSET_SET" => {
Some(Self::InvalidLocationGroupAssetSet)
}
"INVALID_LOCATION_GROUP_RADIUS" => Some(Self::InvalidLocationGroupRadius),
"INVALID_LOCATION_GROUP_RADIUS_UNIT" => {
Some(Self::InvalidLocationGroupRadiusUnit)
}
"CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP" => {
Some(Self::CannotAttachCriteriaAtCampaignAndAdgroup)
}
"HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION" => {
Some(Self::HotelLengthOfStayOverlapsWithExistingCriterion)
}
"HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION" => {
Some(Self::HotelAdvanceBookingWindowOverlapsWithExistingCriterion)
}
"FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING" => {
Some(Self::FieldIncompatibleWithNegativeTargeting)
}
"INVALID_WEBPAGE_CONDITION" => Some(Self::InvalidWebpageCondition),
"INVALID_WEBPAGE_CONDITION_URL" => Some(Self::InvalidWebpageConditionUrl),
"WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY" => {
Some(Self::WebpageConditionUrlCannotBeEmpty)
}
"WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL" => {
Some(Self::WebpageConditionUrlUnsupportedProtocol)
}
"WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS" => {
Some(Self::WebpageConditionUrlCannotBeIpAddress)
}
"WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING" => {
Some(Self::WebpageConditionUrlDomainNotConsistentWithCampaignSetting)
}
"WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX" => {
Some(Self::WebpageConditionUrlCannotBePublicSuffix)
}
"WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX" => {
Some(Self::WebpageConditionUrlInvalidPublicSuffix)
}
"WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED" => {
Some(Self::WebpageConditionUrlValueTrackValueNotSupported)
}
"WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION" => {
Some(Self::WebpageCriterionUrlEqualsCanHaveOnlyOneCondition)
}
"WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP" => {
Some(Self::WebpageCriterionNotSupportedOnNonDsaAdGroup)
}
"CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS" => {
Some(Self::CannotTargetUserListForSmartDisplayCampaigns)
}
"CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS" => {
Some(Self::CannotTargetPlacementsForSearchCampaigns)
}
"LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES" => {
Some(Self::ListingScopeTooManyDimensionTypes)
}
"LISTING_SCOPE_TOO_MANY_IN_OPERATORS" => {
Some(Self::ListingScopeTooManyInOperators)
}
"LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED" => {
Some(Self::ListingScopeInOperatorNotSupported)
}
"DUPLICATE_LISTING_DIMENSION_TYPE" => {
Some(Self::DuplicateListingDimensionType)
}
"DUPLICATE_LISTING_DIMENSION_VALUE" => {
Some(Self::DuplicateListingDimensionValue)
}
"CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION" => {
Some(Self::CannotSetBidsOnListingGroupSubdivision)
}
"INVALID_LISTING_GROUP_HIERARCHY" => {
Some(Self::InvalidListingGroupHierarchy)
}
"LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN" => {
Some(Self::ListingGroupUnitCannotHaveChildren)
}
"LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE" => {
Some(Self::ListingGroupSubdivisionRequiresOthersCase)
}
"LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS" => {
Some(Self::ListingGroupRequiresSameDimensionTypeAsSiblings)
}
"LISTING_GROUP_ALREADY_EXISTS" => Some(Self::ListingGroupAlreadyExists),
"LISTING_GROUP_DOES_NOT_EXIST" => Some(Self::ListingGroupDoesNotExist),
"LISTING_GROUP_CANNOT_BE_REMOVED" => {
Some(Self::ListingGroupCannotBeRemoved)
}
"INVALID_LISTING_GROUP_TYPE" => Some(Self::InvalidListingGroupType),
"LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID" => {
Some(Self::ListingGroupAddMayOnlyUseTempId)
}
"LISTING_SCOPE_TOO_LONG" => Some(Self::ListingScopeTooLong),
"LISTING_SCOPE_TOO_MANY_DIMENSIONS" => {
Some(Self::ListingScopeTooManyDimensions)
}
"LISTING_GROUP_TOO_LONG" => Some(Self::ListingGroupTooLong),
"LISTING_GROUP_TREE_TOO_DEEP" => Some(Self::ListingGroupTreeTooDeep),
"INVALID_LISTING_DIMENSION" => Some(Self::InvalidListingDimension),
"INVALID_LISTING_DIMENSION_TYPE" => {
Some(Self::InvalidListingDimensionType)
}
"ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY" => {
Some(Self::AdvertiserNotOnAllowlistForCombinedAudienceOnDisplay)
}
"CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE" => {
Some(Self::CannotTargetRemovedCombinedAudience)
}
"INVALID_COMBINED_AUDIENCE_ID" => Some(Self::InvalidCombinedAudienceId),
"CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE" => {
Some(Self::CannotTargetRemovedCustomAudience)
}
"HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION" => {
Some(Self::HotelCheckInDateRangeOverlapsWithExistingCriterion)
}
"HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY" => {
Some(Self::HotelCheckInDateRangeStartDateTooEarly)
}
"HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE" => {
Some(Self::HotelCheckInDateRangeEndDateTooLate)
}
"HOTEL_CHECK_IN_DATE_RANGE_REVERSED" => {
Some(Self::HotelCheckInDateRangeReversed)
}
"BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED" => {
Some(Self::BroadMatchModifierKeywordNotAllowed)
}
"ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP" => {
Some(Self::OneAudienceAllowedPerAssetGroup)
}
"AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE" => {
Some(Self::AudienceNotEligibleForCampaignType)
}
"AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE" => {
Some(Self::AudienceNotAllowedToAttachWhenAudienceGroupedSetToFalse)
}
"CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST" => {
Some(Self::CannotTargetCustomerMatchUserList)
}
"NEGATIVE_KEYWORD_SHARED_SET_DOES_NOT_EXIST" => {
Some(Self::NegativeKeywordSharedSetDoesNotExist)
}
"CANNOT_ADD_REMOVED_NEGATIVE_KEYWORD_SHARED_SET" => {
Some(Self::CannotAddRemovedNegativeKeywordSharedSet)
}
"CANNOT_HAVE_MULTIPLE_NEGATIVE_KEYWORD_LIST_PER_ACCOUNT" => {
Some(Self::CannotHaveMultipleNegativeKeywordListPerAccount)
}
"CUSTOMER_CANNOT_ADD_CRITERION_OF_THIS_TYPE" => {
Some(Self::CustomerCannotAddCriterionOfThisType)
}
"CANNOT_TARGET_SIMILAR_USER_LIST" => {
Some(Self::CannotTargetSimilarUserList)
}
"CANNOT_ADD_AUDIENCE_SEGMENT_CRITERION_WHEN_AUDIENCE_GROUPED_IS_SET" => {
Some(Self::CannotAddAudienceSegmentCriterionWhenAudienceGroupedIsSet)
}
"ONE_AUDIENCE_ALLOWED_PER_AD_GROUP" => {
Some(Self::OneAudienceAllowedPerAdGroup)
}
"INVALID_DETAILED_DEMOGRAPHIC" => Some(Self::InvalidDetailedDemographic),
"CANNOT_RECOGNIZE_BRAND" => Some(Self::CannotRecognizeBrand),
"BRAND_SHARED_SET_DOES_NOT_EXIST" => {
Some(Self::BrandSharedSetDoesNotExist)
}
"CANNOT_ADD_REMOVED_BRAND_SHARED_SET" => {
Some(Self::CannotAddRemovedBrandSharedSet)
}
"ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE" => {
Some(Self::OnlyExclusionBrandListAllowedForCampaignType)
}
_ => None,
}
}
}
}
/// Container for enum describing possible errors from applying a recommendation.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RecommendationErrorEnum {}
/// Nested message and enum types in `RecommendationErrorEnum`.
pub mod recommendation_error_enum {
/// Enum describing possible errors from applying a recommendation.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum RecommendationError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The specified budget amount is too low for example, lower than minimum
/// currency unit or lower than ad group minimum cost-per-click.
BudgetAmountTooSmall = 2,
/// The specified budget amount is too large.
BudgetAmountTooLarge = 3,
/// The specified budget amount is not a valid amount, for example, not a
/// multiple of minimum currency unit.
InvalidBudgetAmount = 4,
/// The specified keyword or ad violates ad policy.
PolicyError = 5,
/// The specified bid amount is not valid, for example, too many fractional
/// digits, or negative amount.
InvalidBidAmount = 6,
/// The number of keywords in ad group have reached the maximum allowed.
AdgroupKeywordLimit = 7,
/// The recommendation requested to apply has already been applied.
RecommendationAlreadyApplied = 8,
/// The recommendation requested to apply has been invalidated.
RecommendationInvalidated = 9,
/// The number of operations in a single request exceeds the maximum allowed.
TooManyOperations = 10,
/// There are no operations in the request.
NoOperations = 11,
/// Operations with multiple recommendation types are not supported when
/// partial failure mode is not enabled.
DifferentTypesNotSupported = 12,
/// Request contains multiple operations with the same resource_name.
DuplicateResourceName = 13,
/// The recommendation requested to dismiss has already been dismissed.
RecommendationAlreadyDismissed = 14,
/// The recommendation apply request was malformed and invalid.
InvalidApplyRequest = 15,
/// The type of recommendation requested to apply is not supported.
RecommendationTypeApplyNotSupported = 17,
/// The target multiplier specified is invalid.
InvalidMultiplier = 18,
}
impl RecommendationError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
RecommendationError::Unspecified => "UNSPECIFIED",
RecommendationError::Unknown => "UNKNOWN",
RecommendationError::BudgetAmountTooSmall => "BUDGET_AMOUNT_TOO_SMALL",
RecommendationError::BudgetAmountTooLarge => "BUDGET_AMOUNT_TOO_LARGE",
RecommendationError::InvalidBudgetAmount => "INVALID_BUDGET_AMOUNT",
RecommendationError::PolicyError => "POLICY_ERROR",
RecommendationError::InvalidBidAmount => "INVALID_BID_AMOUNT",
RecommendationError::AdgroupKeywordLimit => "ADGROUP_KEYWORD_LIMIT",
RecommendationError::RecommendationAlreadyApplied => {
"RECOMMENDATION_ALREADY_APPLIED"
}
RecommendationError::RecommendationInvalidated => {
"RECOMMENDATION_INVALIDATED"
}
RecommendationError::TooManyOperations => "TOO_MANY_OPERATIONS",
RecommendationError::NoOperations => "NO_OPERATIONS",
RecommendationError::DifferentTypesNotSupported => {
"DIFFERENT_TYPES_NOT_SUPPORTED"
}
RecommendationError::DuplicateResourceName => "DUPLICATE_RESOURCE_NAME",
RecommendationError::RecommendationAlreadyDismissed => {
"RECOMMENDATION_ALREADY_DISMISSED"
}
RecommendationError::InvalidApplyRequest => "INVALID_APPLY_REQUEST",
RecommendationError::RecommendationTypeApplyNotSupported => {
"RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED"
}
RecommendationError::InvalidMultiplier => "INVALID_MULTIPLIER",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"BUDGET_AMOUNT_TOO_SMALL" => Some(Self::BudgetAmountTooSmall),
"BUDGET_AMOUNT_TOO_LARGE" => Some(Self::BudgetAmountTooLarge),
"INVALID_BUDGET_AMOUNT" => Some(Self::InvalidBudgetAmount),
"POLICY_ERROR" => Some(Self::PolicyError),
"INVALID_BID_AMOUNT" => Some(Self::InvalidBidAmount),
"ADGROUP_KEYWORD_LIMIT" => Some(Self::AdgroupKeywordLimit),
"RECOMMENDATION_ALREADY_APPLIED" => {
Some(Self::RecommendationAlreadyApplied)
}
"RECOMMENDATION_INVALIDATED" => Some(Self::RecommendationInvalidated),
"TOO_MANY_OPERATIONS" => Some(Self::TooManyOperations),
"NO_OPERATIONS" => Some(Self::NoOperations),
"DIFFERENT_TYPES_NOT_SUPPORTED" => Some(Self::DifferentTypesNotSupported),
"DUPLICATE_RESOURCE_NAME" => Some(Self::DuplicateResourceName),
"RECOMMENDATION_ALREADY_DISMISSED" => {
Some(Self::RecommendationAlreadyDismissed)
}
"INVALID_APPLY_REQUEST" => Some(Self::InvalidApplyRequest),
"RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED" => {
Some(Self::RecommendationTypeApplyNotSupported)
}
"INVALID_MULTIPLIER" => Some(Self::InvalidMultiplier),
_ => None,
}
}
}
}
/// Container for enum describing possible change event errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ChangeEventErrorEnum {}
/// Nested message and enum types in `ChangeEventErrorEnum`.
pub mod change_event_error_enum {
/// Enum describing possible change event errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ChangeEventError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The requested start date is too old. It cannot be older than 30 days.
StartDateTooOld = 2,
/// The change_event search request must specify a finite range filter
/// on change_date_time.
ChangeDateRangeInfinite = 3,
/// The change event search request has specified invalid date time filters
/// that can never logically produce any valid results (for example, start
/// time after end time).
ChangeDateRangeNegative = 4,
/// The change_event search request must specify a LIMIT.
LimitNotSpecified = 5,
/// The LIMIT specified by change_event request should be less than or equal
/// to 10K.
InvalidLimitClause = 6,
}
impl ChangeEventError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ChangeEventError::Unspecified => "UNSPECIFIED",
ChangeEventError::Unknown => "UNKNOWN",
ChangeEventError::StartDateTooOld => "START_DATE_TOO_OLD",
ChangeEventError::ChangeDateRangeInfinite => "CHANGE_DATE_RANGE_INFINITE",
ChangeEventError::ChangeDateRangeNegative => "CHANGE_DATE_RANGE_NEGATIVE",
ChangeEventError::LimitNotSpecified => "LIMIT_NOT_SPECIFIED",
ChangeEventError::InvalidLimitClause => "INVALID_LIMIT_CLAUSE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"START_DATE_TOO_OLD" => Some(Self::StartDateTooOld),
"CHANGE_DATE_RANGE_INFINITE" => Some(Self::ChangeDateRangeInfinite),
"CHANGE_DATE_RANGE_NEGATIVE" => Some(Self::ChangeDateRangeNegative),
"LIMIT_NOT_SPECIFIED" => Some(Self::LimitNotSpecified),
"INVALID_LIMIT_CLAUSE" => Some(Self::InvalidLimitClause),
_ => None,
}
}
}
}
/// Container for enum describing possible asset group signal errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AssetGroupSignalErrorEnum {}
/// Nested message and enum types in `AssetGroupSignalErrorEnum`.
pub mod asset_group_signal_error_enum {
/// Enum describing possible asset group signal errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AssetGroupSignalError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The number of words in the Search Theme signal exceed the allowed
/// maximum. You can add up to 10 words in a keyword. See
/// <https://support.google.com/google-ads/answer/7476658> for details.
TooManyWords = 2,
/// The search theme requested to be added violates certain policy.
/// See <https://support.google.com/adspolicy/answer/6008942.>
SearchThemePolicyViolation = 3,
/// The asset group referenced by the asset group signal does not match the
/// asset group referenced by the audience being used in the asset group
/// signal.
AudienceWithWrongAssetGroupId = 4,
}
impl AssetGroupSignalError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AssetGroupSignalError::Unspecified => "UNSPECIFIED",
AssetGroupSignalError::Unknown => "UNKNOWN",
AssetGroupSignalError::TooManyWords => "TOO_MANY_WORDS",
AssetGroupSignalError::SearchThemePolicyViolation => {
"SEARCH_THEME_POLICY_VIOLATION"
}
AssetGroupSignalError::AudienceWithWrongAssetGroupId => {
"AUDIENCE_WITH_WRONG_ASSET_GROUP_ID"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"TOO_MANY_WORDS" => Some(Self::TooManyWords),
"SEARCH_THEME_POLICY_VIOLATION" => Some(Self::SearchThemePolicyViolation),
"AUDIENCE_WITH_WRONG_ASSET_GROUP_ID" => {
Some(Self::AudienceWithWrongAssetGroupId)
}
_ => None,
}
}
}
}
/// Container for enum describing possible shared criterion errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct SharedCriterionErrorEnum {}
/// Nested message and enum types in `SharedCriterionErrorEnum`.
pub mod shared_criterion_error_enum {
/// Enum describing possible shared criterion errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum SharedCriterionError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The criterion is not appropriate for the shared set type.
CriterionTypeNotAllowedForSharedSetType = 2,
}
impl SharedCriterionError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
SharedCriterionError::Unspecified => "UNSPECIFIED",
SharedCriterionError::Unknown => "UNKNOWN",
SharedCriterionError::CriterionTypeNotAllowedForSharedSetType => {
"CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE" => {
Some(Self::CriterionTypeNotAllowedForSharedSetType)
}
_ => None,
}
}
}
}
/// Container for enum describing possible context errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ContextErrorEnum {}
/// Nested message and enum types in `ContextErrorEnum`.
pub mod context_error_enum {
/// Enum describing possible context errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ContextError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The operation is not allowed for the given context.
OperationNotPermittedForContext = 2,
/// The operation is not allowed for removed resources.
OperationNotPermittedForRemovedResource = 3,
}
impl ContextError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ContextError::Unspecified => "UNSPECIFIED",
ContextError::Unknown => "UNKNOWN",
ContextError::OperationNotPermittedForContext => {
"OPERATION_NOT_PERMITTED_FOR_CONTEXT"
}
ContextError::OperationNotPermittedForRemovedResource => {
"OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"OPERATION_NOT_PERMITTED_FOR_CONTEXT" => {
Some(Self::OperationNotPermittedForContext)
}
"OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE" => {
Some(Self::OperationNotPermittedForRemovedResource)
}
_ => None,
}
}
}
}
/// Container for enum describing possible customer customizer errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomerCustomizerErrorEnum {}
/// Nested message and enum types in `CustomerCustomizerErrorEnum`.
pub mod customer_customizer_error_enum {
/// Enum describing possible customer customizer errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CustomerCustomizerError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
}
impl CustomerCustomizerError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CustomerCustomizerError::Unspecified => "UNSPECIFIED",
CustomerCustomizerError::Unknown => "UNKNOWN",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
_ => None,
}
}
}
}
/// Container for enum describing possible asset link errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AssetLinkErrorEnum {}
/// Nested message and enum types in `AssetLinkErrorEnum`.
pub mod asset_link_error_enum {
/// Enum describing possible asset link errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AssetLinkError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Pinning is not supported for the given asset link field.
PinningUnsupported = 2,
/// The given field type is not supported to be added directly through asset
/// links.
UnsupportedFieldType = 3,
/// The given asset's type and the specified field type are incompatible.
FieldTypeIncompatibleWithAssetType = 4,
/// The specified field type is incompatible with the given campaign type.
FieldTypeIncompatibleWithCampaignType = 5,
/// The campaign advertising channel type cannot be associated with the given
/// asset due to channel-based restrictions on the asset's fields.
IncompatibleAdvertisingChannelType = 6,
/// The image asset provided is not within the dimension constraints
/// specified for the submitted asset field.
ImageNotWithinSpecifiedDimensionRange = 7,
/// The pinned field is not valid for the submitted asset field.
InvalidPinnedField = 8,
/// The media bundle asset provided is too large for the submitted asset
/// field.
MediaBundleAssetFileSizeTooLarge = 9,
/// Not enough assets are available for use with other fields since other
/// assets are pinned to specific fields.
NotEnoughAvailableAssetLinksForValidCombination = 10,
/// Not enough assets with fallback are available. When validating the
/// minimum number of assets, assets without fallback (for example, assets
/// that contain location tag without default value "{LOCATION(City)}") will
/// not be counted.
NotEnoughAvailableAssetLinksWithFallback = 11,
/// This is a combination of the
/// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and
/// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets
/// with fallback are available since some assets are pinned.
NotEnoughAvailableAssetLinksWithFallbackForValidCombination = 12,
/// The YouTube video referenced in the provided asset has been removed.
YoutubeVideoRemoved = 13,
/// The YouTube video referenced in the provided asset is too long for the
/// field submitted.
YoutubeVideoTooLong = 14,
/// The YouTube video referenced in the provided asset is too short for the
/// field submitted.
YoutubeVideoTooShort = 15,
/// The specified field type is excluded for given campaign or ad group.
ExcludedParentFieldType = 16,
/// The status is invalid for the operation specified.
InvalidStatus = 17,
/// The YouTube video referenced in the provided asset has unknown duration.
/// This might be the case for a livestream video or a video being currently
/// uploaded to YouTube. In both cases, the video duration should eventually
/// get resolved.
YoutubeVideoDurationNotDefined = 18,
/// User cannot create automatically created links.
CannotCreateAutomaticallyCreatedLinks = 19,
/// Advertiser links cannot link to automatically created asset.
CannotLinkToAutomaticallyCreatedAsset = 20,
/// Automatically created links cannot be changed into advertiser links or
/// the reverse.
CannotModifyAssetLinkSource = 21,
/// Lead Form asset with Location answer type can't be linked to the
/// Customer/Campaign because there are no Location assets.
CannotLinkLocationLeadFormWithoutLocationAsset = 22,
/// Customer is not verified.
CustomerNotVerified = 23,
/// Call to action value is not supported.
UnsupportedCallToAction = 24,
}
impl AssetLinkError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AssetLinkError::Unspecified => "UNSPECIFIED",
AssetLinkError::Unknown => "UNKNOWN",
AssetLinkError::PinningUnsupported => "PINNING_UNSUPPORTED",
AssetLinkError::UnsupportedFieldType => "UNSUPPORTED_FIELD_TYPE",
AssetLinkError::FieldTypeIncompatibleWithAssetType => {
"FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE"
}
AssetLinkError::FieldTypeIncompatibleWithCampaignType => {
"FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE"
}
AssetLinkError::IncompatibleAdvertisingChannelType => {
"INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE"
}
AssetLinkError::ImageNotWithinSpecifiedDimensionRange => {
"IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE"
}
AssetLinkError::InvalidPinnedField => "INVALID_PINNED_FIELD",
AssetLinkError::MediaBundleAssetFileSizeTooLarge => {
"MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE"
}
AssetLinkError::NotEnoughAvailableAssetLinksForValidCombination => {
"NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION"
}
AssetLinkError::NotEnoughAvailableAssetLinksWithFallback => {
"NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK"
}
AssetLinkError::NotEnoughAvailableAssetLinksWithFallbackForValidCombination => {
"NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION"
}
AssetLinkError::YoutubeVideoRemoved => "YOUTUBE_VIDEO_REMOVED",
AssetLinkError::YoutubeVideoTooLong => "YOUTUBE_VIDEO_TOO_LONG",
AssetLinkError::YoutubeVideoTooShort => "YOUTUBE_VIDEO_TOO_SHORT",
AssetLinkError::ExcludedParentFieldType => "EXCLUDED_PARENT_FIELD_TYPE",
AssetLinkError::InvalidStatus => "INVALID_STATUS",
AssetLinkError::YoutubeVideoDurationNotDefined => {
"YOUTUBE_VIDEO_DURATION_NOT_DEFINED"
}
AssetLinkError::CannotCreateAutomaticallyCreatedLinks => {
"CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS"
}
AssetLinkError::CannotLinkToAutomaticallyCreatedAsset => {
"CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET"
}
AssetLinkError::CannotModifyAssetLinkSource => {
"CANNOT_MODIFY_ASSET_LINK_SOURCE"
}
AssetLinkError::CannotLinkLocationLeadFormWithoutLocationAsset => {
"CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET"
}
AssetLinkError::CustomerNotVerified => "CUSTOMER_NOT_VERIFIED",
AssetLinkError::UnsupportedCallToAction => "UNSUPPORTED_CALL_TO_ACTION",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"PINNING_UNSUPPORTED" => Some(Self::PinningUnsupported),
"UNSUPPORTED_FIELD_TYPE" => Some(Self::UnsupportedFieldType),
"FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE" => {
Some(Self::FieldTypeIncompatibleWithAssetType)
}
"FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE" => {
Some(Self::FieldTypeIncompatibleWithCampaignType)
}
"INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE" => {
Some(Self::IncompatibleAdvertisingChannelType)
}
"IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE" => {
Some(Self::ImageNotWithinSpecifiedDimensionRange)
}
"INVALID_PINNED_FIELD" => Some(Self::InvalidPinnedField),
"MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE" => {
Some(Self::MediaBundleAssetFileSizeTooLarge)
}
"NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION" => {
Some(Self::NotEnoughAvailableAssetLinksForValidCombination)
}
"NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK" => {
Some(Self::NotEnoughAvailableAssetLinksWithFallback)
}
"NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION" => {
Some(
Self::NotEnoughAvailableAssetLinksWithFallbackForValidCombination,
)
}
"YOUTUBE_VIDEO_REMOVED" => Some(Self::YoutubeVideoRemoved),
"YOUTUBE_VIDEO_TOO_LONG" => Some(Self::YoutubeVideoTooLong),
"YOUTUBE_VIDEO_TOO_SHORT" => Some(Self::YoutubeVideoTooShort),
"EXCLUDED_PARENT_FIELD_TYPE" => Some(Self::ExcludedParentFieldType),
"INVALID_STATUS" => Some(Self::InvalidStatus),
"YOUTUBE_VIDEO_DURATION_NOT_DEFINED" => {
Some(Self::YoutubeVideoDurationNotDefined)
}
"CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS" => {
Some(Self::CannotCreateAutomaticallyCreatedLinks)
}
"CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET" => {
Some(Self::CannotLinkToAutomaticallyCreatedAsset)
}
"CANNOT_MODIFY_ASSET_LINK_SOURCE" => {
Some(Self::CannotModifyAssetLinkSource)
}
"CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET" => {
Some(Self::CannotLinkLocationLeadFormWithoutLocationAsset)
}
"CUSTOMER_NOT_VERIFIED" => Some(Self::CustomerNotVerified),
"UNSUPPORTED_CALL_TO_ACTION" => Some(Self::UnsupportedCallToAction),
_ => None,
}
}
}
}
/// Container for enum describing possible ad errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdErrorEnum {}
/// Nested message and enum types in `AdErrorEnum`.
pub mod ad_error_enum {
/// Enum describing possible ad errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AdError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Ad customizers are not supported for ad type.
AdCustomizersNotSupportedForAdType = 2,
/// Estimating character sizes the string is too long.
ApproximatelyTooLong = 3,
/// Estimating character sizes the string is too short.
ApproximatelyTooShort = 4,
/// There is a problem with the snippet.
BadSnippet = 5,
/// Cannot modify an ad.
CannotModifyAd = 6,
/// business name and url cannot be set at the same time
CannotSetBusinessNameIfUrlSet = 7,
/// The specified field is incompatible with this ad's type or settings.
CannotSetField = 8,
/// Cannot set field when originAdId is set.
CannotSetFieldWithOriginAdIdSet = 9,
/// Cannot set field when an existing ad id is set for sharing.
CannotSetFieldWithAdIdSetForSharing = 10,
/// Cannot set allowFlexibleColor false if no color is provided by user.
CannotSetAllowFlexibleColorFalse = 11,
/// When user select native, no color control is allowed because we will
/// always respect publisher color for native format serving.
CannotSetColorControlWhenNativeFormatSetting = 12,
/// Cannot specify a url for the ad type
CannotSetUrl = 13,
/// Cannot specify a tracking or mobile url without also setting final urls
CannotSetWithoutFinalUrls = 14,
/// Cannot specify a legacy url and a final url simultaneously
CannotSetWithFinalUrls = 15,
/// Cannot specify a urls in UrlData and in template fields simultaneously.
CannotSetWithUrlData = 17,
/// This operator cannot be used with a subclass of Ad.
CannotUseAdSubclassForOperator = 18,
/// Customer is not approved for mobile ads.
CustomerNotApprovedMobileads = 19,
/// Customer is not approved for 3PAS richmedia ads.
CustomerNotApprovedThirdpartyAds = 20,
/// Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads.
CustomerNotApprovedThirdpartyRedirectAds = 21,
/// Not an eligible customer
CustomerNotEligible = 22,
/// Customer is not eligible for updating beacon url
CustomerNotEligibleForUpdatingBeaconUrl = 23,
/// There already exists an ad with the same dimensions in the union.
DimensionAlreadyInUnion = 24,
/// Ad's dimension must be set before setting union dimension.
DimensionMustBeSet = 25,
/// Ad's dimension must be included in the union dimensions.
DimensionNotInUnion = 26,
/// Display Url cannot be specified (applies to Ad Exchange Ads)
DisplayUrlCannotBeSpecified = 27,
/// Telephone number contains invalid characters or invalid format.
/// Re-enter your number using digits (0-9), dashes (-), and parentheses
/// only.
DomesticPhoneNumberFormat = 28,
/// Emergency telephone numbers are not allowed. Enter a valid
/// domestic phone number to connect customers to your business.
EmergencyPhoneNumber = 29,
/// A required field was not specified or is an empty string.
EmptyField = 30,
/// A feed attribute referenced in an ad customizer tag is not in the ad
/// customizer mapping for the feed.
FeedAttributeMustHaveMappingForTypeId = 31,
/// The ad customizer field mapping for the feed attribute does not match the
/// expected field type.
FeedAttributeMappingTypeMismatch = 32,
/// The use of ad customizer tags in the ad text is disallowed. Details in
/// trigger.
IllegalAdCustomizerTagUse = 33,
/// Tags of the form {PH_x}, where x is a number, are disallowed in ad text.
IllegalTagUse = 34,
/// The dimensions of the ad are specified or derived in multiple ways and
/// are not consistent.
InconsistentDimensions = 35,
/// The status cannot differ among template ads of the same union.
InconsistentStatusInTemplateUnion = 36,
/// The length of the string is not valid.
IncorrectLength = 37,
/// The ad is ineligible for upgrade.
IneligibleForUpgrade = 38,
/// User cannot create mobile ad for countries targeted in specified
/// campaign.
InvalidAdAddressCampaignTarget = 39,
/// Invalid Ad type. A specific type of Ad is required.
InvalidAdType = 40,
/// Headline, description or phone cannot be present when creating mobile
/// image ad.
InvalidAttributesForMobileImage = 41,
/// Image cannot be present when creating mobile text ad.
InvalidAttributesForMobileText = 42,
/// Invalid call to action text.
InvalidCallToActionText = 43,
/// Invalid character in URL.
InvalidCharacterForUrl = 44,
/// Creative's country code is not valid.
InvalidCountryCode = 45,
/// Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.)
InvalidExpandedDynamicSearchAdTag = 47,
/// An input error whose real reason was not properly mapped (should not
/// happen).
InvalidInput = 48,
/// An invalid markup language was entered.
InvalidMarkupLanguage = 49,
/// An invalid mobile carrier was entered.
InvalidMobileCarrier = 50,
/// Specified mobile carriers target a country not targeted by the campaign.
InvalidMobileCarrierTarget = 51,
/// Wrong number of elements for given element type
InvalidNumberOfElements = 52,
/// The format of the telephone number is incorrect. Re-enter the
/// number using the correct format.
InvalidPhoneNumberFormat = 53,
/// The certified vendor format id is incorrect.
InvalidRichMediaCertifiedVendorFormatId = 54,
/// The template ad data contains validation errors.
InvalidTemplateData = 55,
/// The template field doesn't have have the correct type.
InvalidTemplateElementFieldType = 56,
/// Invalid template id.
InvalidTemplateId = 57,
/// After substituting replacement strings, the line is too wide.
LineTooWide = 58,
/// The feed referenced must have ad customizer mapping to be used in a
/// customizer tag.
MissingAdCustomizerMapping = 59,
/// Missing address component in template element address field.
MissingAddressComponent = 60,
/// An ad name must be entered.
MissingAdvertisementName = 61,
/// Business name must be entered.
MissingBusinessName = 62,
/// Description (line 2) must be entered.
MissingDescription1 = 63,
/// Description (line 3) must be entered.
MissingDescription2 = 64,
/// The destination url must contain at least one tag (for example, {lpurl})
MissingDestinationUrlTag = 65,
/// The tracking url template of ExpandedDynamicSearchAd must contain at
/// least one tag. (for example, {lpurl})
MissingLandingPageUrlTag = 66,
/// A valid dimension must be specified for this ad.
MissingDimension = 67,
/// A display URL must be entered.
MissingDisplayUrl = 68,
/// Headline must be entered.
MissingHeadline = 69,
/// A height must be entered.
MissingHeight = 70,
/// An image must be entered.
MissingImage = 71,
/// Marketing image or product videos are required.
MissingMarketingImageOrProductVideos = 72,
/// The markup language in which your site is written must be entered.
MissingMarkupLanguages = 73,
/// A mobile carrier must be entered.
MissingMobileCarrier = 74,
/// Phone number must be entered.
MissingPhone = 75,
/// Missing required template fields
MissingRequiredTemplateFields = 76,
/// Missing a required field value
MissingTemplateFieldValue = 77,
/// The ad must have text.
MissingText = 78,
/// A visible URL must be entered.
MissingVisibleUrl = 79,
/// A width must be entered.
MissingWidth = 80,
/// Only 1 feed can be used as the source of ad customizer substitutions in a
/// single ad.
MultipleDistinctFeedsUnsupported = 81,
/// TempAdUnionId must be use when adding template ads.
MustUseTempAdUnionIdOnAdd = 82,
/// The string has too many characters.
TooLong = 83,
/// The string has too few characters.
TooShort = 84,
/// Ad union dimensions cannot change for saved ads.
UnionDimensionsCannotChange = 85,
/// Address component is not {country, lat, lng}.
UnknownAddressComponent = 86,
/// Unknown unique field name
UnknownFieldName = 87,
/// Unknown unique name (template element type specifier)
UnknownUniqueName = 88,
/// Unsupported ad dimension
UnsupportedDimensions = 89,
/// URL starts with an invalid scheme.
UrlInvalidScheme = 90,
/// URL ends with an invalid top-level domain name.
UrlInvalidTopLevelDomain = 91,
/// URL contains illegal characters.
UrlMalformed = 92,
/// URL must contain a host name.
UrlNoHost = 93,
/// URL not equivalent during upgrade.
UrlNotEquivalent = 94,
/// URL host name too long to be stored as visible URL (applies to Ad
/// Exchange ads)
UrlHostNameTooLong = 95,
/// URL must start with a scheme.
UrlNoScheme = 96,
/// URL should end in a valid domain extension, such as .com or .net.
UrlNoTopLevelDomain = 97,
/// URL must not end with a path.
UrlPathNotAllowed = 98,
/// URL must not specify a port.
UrlPortNotAllowed = 99,
/// URL must not contain a query.
UrlQueryNotAllowed = 100,
/// A url scheme is not allowed in front of tag in tracking url template
/// (for example, <http://{lpurl}>)
UrlSchemeBeforeExpandedDynamicSearchAdTag = 102,
/// The user does not have permissions to create a template ad for the given
/// template.
UserDoesNotHaveAccessToTemplate = 103,
/// Expandable setting is inconsistent/wrong. For example, an AdX ad is
/// invalid if it has a expandable vendor format but no expanding directions
/// specified, or expanding directions is specified, but the vendor format is
/// not expandable.
InconsistentExpandableSettings = 104,
/// Format is invalid
InvalidFormat = 105,
/// The text of this field did not match a pattern of allowed values.
InvalidFieldText = 106,
/// Template element is mising
ElementNotPresent = 107,
/// Error occurred during image processing
ImageError = 108,
/// The value is not within the valid range
ValueNotInRange = 109,
/// Template element field is not present
FieldNotPresent = 110,
/// Address is incomplete
AddressNotComplete = 111,
/// Invalid address
AddressInvalid = 112,
/// Error retrieving specified video
VideoRetrievalError = 113,
/// Error processing audio
AudioError = 114,
/// Display URL is incorrect for YouTube PYV ads
InvalidYoutubeDisplayUrl = 115,
/// Too many product Images in GmailAd
TooManyProductImages = 116,
/// Too many product Videos in GmailAd
TooManyProductVideos = 117,
/// The device preference is not compatible with the ad type
IncompatibleAdTypeAndDevicePreference = 118,
/// Call tracking is not supported for specified country.
CalltrackingNotSupportedForCountry = 119,
/// Carrier specific short number is not allowed.
CarrierSpecificShortNumberNotAllowed = 120,
/// Specified phone number type is disallowed.
DisallowedNumberType = 121,
/// Phone number not supported for country.
PhoneNumberNotSupportedForCountry = 122,
/// Phone number not supported with call tracking enabled for country.
PhoneNumberNotSupportedWithCalltrackingForCountry = 123,
/// Premium rate phone number is not allowed.
PremiumRateNumberNotAllowed = 124,
/// Vanity phone number is not allowed.
VanityPhoneNumberNotAllowed = 125,
/// Invalid call conversion type id.
InvalidCallConversionTypeId = 126,
/// Cannot disable call conversion and set conversion type id.
CannotDisableCallConversionAndSetConversionTypeId = 127,
/// Cannot set path2 without path1.
CannotSetPath2WithoutPath1 = 128,
/// Missing domain name in campaign setting when adding expanded dynamic
/// search ad.
MissingDynamicSearchAdsSettingDomainName = 129,
/// The associated ad is not compatible with restriction type.
IncompatibleWithRestrictionType = 130,
/// Consent for call recording is required for creating/updating call only
/// ads. See <https://support.google.com/google-ads/answer/7412639.>
CustomerConsentForCallRecordingRequired = 131,
/// Either an image or a media bundle is required in a display upload ad.
MissingImageOrMediaBundle = 132,
/// The display upload product type is not supported in this campaign.
ProductTypeNotSupportedInThisCampaign = 133,
/// The default value of an ad placeholder can not be the empty string.
PlaceholderCannotHaveEmptyDefaultValue = 134,
/// Ad placeholders with countdown functions must not have a default value.
PlaceholderCountdownFunctionCannotHaveDefaultValue = 135,
/// A previous ad placeholder that had a default value was found which means
/// that all (non-countdown) placeholders must have a default value. This
/// ad placeholder does not have a default value.
PlaceholderDefaultValueMissing = 136,
/// A previous ad placeholder that did not have a default value was found
/// which means that no placeholders may have a default value. This
/// ad placeholder does have a default value.
UnexpectedPlaceholderDefaultValue = 137,
/// Two ad customizers may not be directly adjacent in an ad text. They must
/// be separated by at least one character.
AdCustomizersMayNotBeAdjacent = 138,
/// The ad is not associated with any enabled AdGroupAd, and cannot be
/// updated.
UpdatingAdWithNoEnabledAssociation = 139,
/// Call Ad verification url and final url don't have same domain.
CallAdVerificationUrlFinalUrlDoesNotHaveSameDomain = 140,
/// Final url and verification url cannot both be empty for call ads.
CallAdFinalUrlAndVerificationUrlCannotBothBeEmpty = 154,
/// Too many ad customizers in one asset.
TooManyAdCustomizers = 141,
/// The ad customizer tag is recognized, but the format is invalid.
InvalidAdCustomizerFormat = 142,
/// Customizer tags cannot be nested.
NestedAdCustomizerSyntax = 143,
/// The ad customizer syntax used in the ad is not supported.
UnsupportedAdCustomizerSyntax = 144,
/// There exists unpaired brace in the ad customizer tag.
UnpairedBraceInAdCustomizerTag = 145,
/// More than one type of countdown tag exists among all text lines.
MoreThanOneCountdownTagTypeExists = 146,
/// Date time in the countdown tag is invalid.
DateTimeInCountdownTagIsInvalid = 147,
/// Date time in the countdown tag is in the past.
DateTimeInCountdownTagIsPast = 148,
/// Cannot recognize the ad customizer tag.
UnrecognizedAdCustomizerTagFound = 149,
/// Customizer type forbidden for this field.
CustomizerTypeForbiddenForField = 150,
/// Customizer attribute name is invalid.
InvalidCustomizerAttributeName = 151,
/// App store value does not match the value of the app store in the app
/// specified in the campaign.
StoreMismatch = 152,
/// Missing required image aspect ratio.
MissingRequiredImageAspectRatio = 153,
/// Aspect ratios mismatch between different assets.
MismatchedAspectRatios = 155,
/// Images must be unique between different carousel card assets.
DuplicateImageAcrossCarouselCards = 156,
}
impl AdError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AdError::Unspecified => "UNSPECIFIED",
AdError::Unknown => "UNKNOWN",
AdError::AdCustomizersNotSupportedForAdType => {
"AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE"
}
AdError::ApproximatelyTooLong => "APPROXIMATELY_TOO_LONG",
AdError::ApproximatelyTooShort => "APPROXIMATELY_TOO_SHORT",
AdError::BadSnippet => "BAD_SNIPPET",
AdError::CannotModifyAd => "CANNOT_MODIFY_AD",
AdError::CannotSetBusinessNameIfUrlSet => {
"CANNOT_SET_BUSINESS_NAME_IF_URL_SET"
}
AdError::CannotSetField => "CANNOT_SET_FIELD",
AdError::CannotSetFieldWithOriginAdIdSet => {
"CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET"
}
AdError::CannotSetFieldWithAdIdSetForSharing => {
"CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING"
}
AdError::CannotSetAllowFlexibleColorFalse => {
"CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE"
}
AdError::CannotSetColorControlWhenNativeFormatSetting => {
"CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING"
}
AdError::CannotSetUrl => "CANNOT_SET_URL",
AdError::CannotSetWithoutFinalUrls => "CANNOT_SET_WITHOUT_FINAL_URLS",
AdError::CannotSetWithFinalUrls => "CANNOT_SET_WITH_FINAL_URLS",
AdError::CannotSetWithUrlData => "CANNOT_SET_WITH_URL_DATA",
AdError::CannotUseAdSubclassForOperator => {
"CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR"
}
AdError::CustomerNotApprovedMobileads => {
"CUSTOMER_NOT_APPROVED_MOBILEADS"
}
AdError::CustomerNotApprovedThirdpartyAds => {
"CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS"
}
AdError::CustomerNotApprovedThirdpartyRedirectAds => {
"CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS"
}
AdError::CustomerNotEligible => "CUSTOMER_NOT_ELIGIBLE",
AdError::CustomerNotEligibleForUpdatingBeaconUrl => {
"CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL"
}
AdError::DimensionAlreadyInUnion => "DIMENSION_ALREADY_IN_UNION",
AdError::DimensionMustBeSet => "DIMENSION_MUST_BE_SET",
AdError::DimensionNotInUnion => "DIMENSION_NOT_IN_UNION",
AdError::DisplayUrlCannotBeSpecified => "DISPLAY_URL_CANNOT_BE_SPECIFIED",
AdError::DomesticPhoneNumberFormat => "DOMESTIC_PHONE_NUMBER_FORMAT",
AdError::EmergencyPhoneNumber => "EMERGENCY_PHONE_NUMBER",
AdError::EmptyField => "EMPTY_FIELD",
AdError::FeedAttributeMustHaveMappingForTypeId => {
"FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID"
}
AdError::FeedAttributeMappingTypeMismatch => {
"FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH"
}
AdError::IllegalAdCustomizerTagUse => "ILLEGAL_AD_CUSTOMIZER_TAG_USE",
AdError::IllegalTagUse => "ILLEGAL_TAG_USE",
AdError::InconsistentDimensions => "INCONSISTENT_DIMENSIONS",
AdError::InconsistentStatusInTemplateUnion => {
"INCONSISTENT_STATUS_IN_TEMPLATE_UNION"
}
AdError::IncorrectLength => "INCORRECT_LENGTH",
AdError::IneligibleForUpgrade => "INELIGIBLE_FOR_UPGRADE",
AdError::InvalidAdAddressCampaignTarget => {
"INVALID_AD_ADDRESS_CAMPAIGN_TARGET"
}
AdError::InvalidAdType => "INVALID_AD_TYPE",
AdError::InvalidAttributesForMobileImage => {
"INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE"
}
AdError::InvalidAttributesForMobileText => {
"INVALID_ATTRIBUTES_FOR_MOBILE_TEXT"
}
AdError::InvalidCallToActionText => "INVALID_CALL_TO_ACTION_TEXT",
AdError::InvalidCharacterForUrl => "INVALID_CHARACTER_FOR_URL",
AdError::InvalidCountryCode => "INVALID_COUNTRY_CODE",
AdError::InvalidExpandedDynamicSearchAdTag => {
"INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG"
}
AdError::InvalidInput => "INVALID_INPUT",
AdError::InvalidMarkupLanguage => "INVALID_MARKUP_LANGUAGE",
AdError::InvalidMobileCarrier => "INVALID_MOBILE_CARRIER",
AdError::InvalidMobileCarrierTarget => "INVALID_MOBILE_CARRIER_TARGET",
AdError::InvalidNumberOfElements => "INVALID_NUMBER_OF_ELEMENTS",
AdError::InvalidPhoneNumberFormat => "INVALID_PHONE_NUMBER_FORMAT",
AdError::InvalidRichMediaCertifiedVendorFormatId => {
"INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID"
}
AdError::InvalidTemplateData => "INVALID_TEMPLATE_DATA",
AdError::InvalidTemplateElementFieldType => {
"INVALID_TEMPLATE_ELEMENT_FIELD_TYPE"
}
AdError::InvalidTemplateId => "INVALID_TEMPLATE_ID",
AdError::LineTooWide => "LINE_TOO_WIDE",
AdError::MissingAdCustomizerMapping => "MISSING_AD_CUSTOMIZER_MAPPING",
AdError::MissingAddressComponent => "MISSING_ADDRESS_COMPONENT",
AdError::MissingAdvertisementName => "MISSING_ADVERTISEMENT_NAME",
AdError::MissingBusinessName => "MISSING_BUSINESS_NAME",
AdError::MissingDescription1 => "MISSING_DESCRIPTION1",
AdError::MissingDescription2 => "MISSING_DESCRIPTION2",
AdError::MissingDestinationUrlTag => "MISSING_DESTINATION_URL_TAG",
AdError::MissingLandingPageUrlTag => "MISSING_LANDING_PAGE_URL_TAG",
AdError::MissingDimension => "MISSING_DIMENSION",
AdError::MissingDisplayUrl => "MISSING_DISPLAY_URL",
AdError::MissingHeadline => "MISSING_HEADLINE",
AdError::MissingHeight => "MISSING_HEIGHT",
AdError::MissingImage => "MISSING_IMAGE",
AdError::MissingMarketingImageOrProductVideos => {
"MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS"
}
AdError::MissingMarkupLanguages => "MISSING_MARKUP_LANGUAGES",
AdError::MissingMobileCarrier => "MISSING_MOBILE_CARRIER",
AdError::MissingPhone => "MISSING_PHONE",
AdError::MissingRequiredTemplateFields => {
"MISSING_REQUIRED_TEMPLATE_FIELDS"
}
AdError::MissingTemplateFieldValue => "MISSING_TEMPLATE_FIELD_VALUE",
AdError::MissingText => "MISSING_TEXT",
AdError::MissingVisibleUrl => "MISSING_VISIBLE_URL",
AdError::MissingWidth => "MISSING_WIDTH",
AdError::MultipleDistinctFeedsUnsupported => {
"MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED"
}
AdError::MustUseTempAdUnionIdOnAdd => "MUST_USE_TEMP_AD_UNION_ID_ON_ADD",
AdError::TooLong => "TOO_LONG",
AdError::TooShort => "TOO_SHORT",
AdError::UnionDimensionsCannotChange => "UNION_DIMENSIONS_CANNOT_CHANGE",
AdError::UnknownAddressComponent => "UNKNOWN_ADDRESS_COMPONENT",
AdError::UnknownFieldName => "UNKNOWN_FIELD_NAME",
AdError::UnknownUniqueName => "UNKNOWN_UNIQUE_NAME",
AdError::UnsupportedDimensions => "UNSUPPORTED_DIMENSIONS",
AdError::UrlInvalidScheme => "URL_INVALID_SCHEME",
AdError::UrlInvalidTopLevelDomain => "URL_INVALID_TOP_LEVEL_DOMAIN",
AdError::UrlMalformed => "URL_MALFORMED",
AdError::UrlNoHost => "URL_NO_HOST",
AdError::UrlNotEquivalent => "URL_NOT_EQUIVALENT",
AdError::UrlHostNameTooLong => "URL_HOST_NAME_TOO_LONG",
AdError::UrlNoScheme => "URL_NO_SCHEME",
AdError::UrlNoTopLevelDomain => "URL_NO_TOP_LEVEL_DOMAIN",
AdError::UrlPathNotAllowed => "URL_PATH_NOT_ALLOWED",
AdError::UrlPortNotAllowed => "URL_PORT_NOT_ALLOWED",
AdError::UrlQueryNotAllowed => "URL_QUERY_NOT_ALLOWED",
AdError::UrlSchemeBeforeExpandedDynamicSearchAdTag => {
"URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG"
}
AdError::UserDoesNotHaveAccessToTemplate => {
"USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE"
}
AdError::InconsistentExpandableSettings => {
"INCONSISTENT_EXPANDABLE_SETTINGS"
}
AdError::InvalidFormat => "INVALID_FORMAT",
AdError::InvalidFieldText => "INVALID_FIELD_TEXT",
AdError::ElementNotPresent => "ELEMENT_NOT_PRESENT",
AdError::ImageError => "IMAGE_ERROR",
AdError::ValueNotInRange => "VALUE_NOT_IN_RANGE",
AdError::FieldNotPresent => "FIELD_NOT_PRESENT",
AdError::AddressNotComplete => "ADDRESS_NOT_COMPLETE",
AdError::AddressInvalid => "ADDRESS_INVALID",
AdError::VideoRetrievalError => "VIDEO_RETRIEVAL_ERROR",
AdError::AudioError => "AUDIO_ERROR",
AdError::InvalidYoutubeDisplayUrl => "INVALID_YOUTUBE_DISPLAY_URL",
AdError::TooManyProductImages => "TOO_MANY_PRODUCT_IMAGES",
AdError::TooManyProductVideos => "TOO_MANY_PRODUCT_VIDEOS",
AdError::IncompatibleAdTypeAndDevicePreference => {
"INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE"
}
AdError::CalltrackingNotSupportedForCountry => {
"CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY"
}
AdError::CarrierSpecificShortNumberNotAllowed => {
"CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED"
}
AdError::DisallowedNumberType => "DISALLOWED_NUMBER_TYPE",
AdError::PhoneNumberNotSupportedForCountry => {
"PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY"
}
AdError::PhoneNumberNotSupportedWithCalltrackingForCountry => {
"PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY"
}
AdError::PremiumRateNumberNotAllowed => "PREMIUM_RATE_NUMBER_NOT_ALLOWED",
AdError::VanityPhoneNumberNotAllowed => "VANITY_PHONE_NUMBER_NOT_ALLOWED",
AdError::InvalidCallConversionTypeId => "INVALID_CALL_CONVERSION_TYPE_ID",
AdError::CannotDisableCallConversionAndSetConversionTypeId => {
"CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID"
}
AdError::CannotSetPath2WithoutPath1 => "CANNOT_SET_PATH2_WITHOUT_PATH1",
AdError::MissingDynamicSearchAdsSettingDomainName => {
"MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME"
}
AdError::IncompatibleWithRestrictionType => {
"INCOMPATIBLE_WITH_RESTRICTION_TYPE"
}
AdError::CustomerConsentForCallRecordingRequired => {
"CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED"
}
AdError::MissingImageOrMediaBundle => "MISSING_IMAGE_OR_MEDIA_BUNDLE",
AdError::ProductTypeNotSupportedInThisCampaign => {
"PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN"
}
AdError::PlaceholderCannotHaveEmptyDefaultValue => {
"PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE"
}
AdError::PlaceholderCountdownFunctionCannotHaveDefaultValue => {
"PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE"
}
AdError::PlaceholderDefaultValueMissing => {
"PLACEHOLDER_DEFAULT_VALUE_MISSING"
}
AdError::UnexpectedPlaceholderDefaultValue => {
"UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE"
}
AdError::AdCustomizersMayNotBeAdjacent => {
"AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT"
}
AdError::UpdatingAdWithNoEnabledAssociation => {
"UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION"
}
AdError::CallAdVerificationUrlFinalUrlDoesNotHaveSameDomain => {
"CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN"
}
AdError::CallAdFinalUrlAndVerificationUrlCannotBothBeEmpty => {
"CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY"
}
AdError::TooManyAdCustomizers => "TOO_MANY_AD_CUSTOMIZERS",
AdError::InvalidAdCustomizerFormat => "INVALID_AD_CUSTOMIZER_FORMAT",
AdError::NestedAdCustomizerSyntax => "NESTED_AD_CUSTOMIZER_SYNTAX",
AdError::UnsupportedAdCustomizerSyntax => {
"UNSUPPORTED_AD_CUSTOMIZER_SYNTAX"
}
AdError::UnpairedBraceInAdCustomizerTag => {
"UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG"
}
AdError::MoreThanOneCountdownTagTypeExists => {
"MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS"
}
AdError::DateTimeInCountdownTagIsInvalid => {
"DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID"
}
AdError::DateTimeInCountdownTagIsPast => {
"DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST"
}
AdError::UnrecognizedAdCustomizerTagFound => {
"UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND"
}
AdError::CustomizerTypeForbiddenForField => {
"CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD"
}
AdError::InvalidCustomizerAttributeName => {
"INVALID_CUSTOMIZER_ATTRIBUTE_NAME"
}
AdError::StoreMismatch => "STORE_MISMATCH",
AdError::MissingRequiredImageAspectRatio => {
"MISSING_REQUIRED_IMAGE_ASPECT_RATIO"
}
AdError::MismatchedAspectRatios => "MISMATCHED_ASPECT_RATIOS",
AdError::DuplicateImageAcrossCarouselCards => {
"DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE" => {
Some(Self::AdCustomizersNotSupportedForAdType)
}
"APPROXIMATELY_TOO_LONG" => Some(Self::ApproximatelyTooLong),
"APPROXIMATELY_TOO_SHORT" => Some(Self::ApproximatelyTooShort),
"BAD_SNIPPET" => Some(Self::BadSnippet),
"CANNOT_MODIFY_AD" => Some(Self::CannotModifyAd),
"CANNOT_SET_BUSINESS_NAME_IF_URL_SET" => {
Some(Self::CannotSetBusinessNameIfUrlSet)
}
"CANNOT_SET_FIELD" => Some(Self::CannotSetField),
"CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET" => {
Some(Self::CannotSetFieldWithOriginAdIdSet)
}
"CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING" => {
Some(Self::CannotSetFieldWithAdIdSetForSharing)
}
"CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE" => {
Some(Self::CannotSetAllowFlexibleColorFalse)
}
"CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING" => {
Some(Self::CannotSetColorControlWhenNativeFormatSetting)
}
"CANNOT_SET_URL" => Some(Self::CannotSetUrl),
"CANNOT_SET_WITHOUT_FINAL_URLS" => Some(Self::CannotSetWithoutFinalUrls),
"CANNOT_SET_WITH_FINAL_URLS" => Some(Self::CannotSetWithFinalUrls),
"CANNOT_SET_WITH_URL_DATA" => Some(Self::CannotSetWithUrlData),
"CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR" => {
Some(Self::CannotUseAdSubclassForOperator)
}
"CUSTOMER_NOT_APPROVED_MOBILEADS" => {
Some(Self::CustomerNotApprovedMobileads)
}
"CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS" => {
Some(Self::CustomerNotApprovedThirdpartyAds)
}
"CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS" => {
Some(Self::CustomerNotApprovedThirdpartyRedirectAds)
}
"CUSTOMER_NOT_ELIGIBLE" => Some(Self::CustomerNotEligible),
"CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL" => {
Some(Self::CustomerNotEligibleForUpdatingBeaconUrl)
}
"DIMENSION_ALREADY_IN_UNION" => Some(Self::DimensionAlreadyInUnion),
"DIMENSION_MUST_BE_SET" => Some(Self::DimensionMustBeSet),
"DIMENSION_NOT_IN_UNION" => Some(Self::DimensionNotInUnion),
"DISPLAY_URL_CANNOT_BE_SPECIFIED" => {
Some(Self::DisplayUrlCannotBeSpecified)
}
"DOMESTIC_PHONE_NUMBER_FORMAT" => Some(Self::DomesticPhoneNumberFormat),
"EMERGENCY_PHONE_NUMBER" => Some(Self::EmergencyPhoneNumber),
"EMPTY_FIELD" => Some(Self::EmptyField),
"FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID" => {
Some(Self::FeedAttributeMustHaveMappingForTypeId)
}
"FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH" => {
Some(Self::FeedAttributeMappingTypeMismatch)
}
"ILLEGAL_AD_CUSTOMIZER_TAG_USE" => Some(Self::IllegalAdCustomizerTagUse),
"ILLEGAL_TAG_USE" => Some(Self::IllegalTagUse),
"INCONSISTENT_DIMENSIONS" => Some(Self::InconsistentDimensions),
"INCONSISTENT_STATUS_IN_TEMPLATE_UNION" => {
Some(Self::InconsistentStatusInTemplateUnion)
}
"INCORRECT_LENGTH" => Some(Self::IncorrectLength),
"INELIGIBLE_FOR_UPGRADE" => Some(Self::IneligibleForUpgrade),
"INVALID_AD_ADDRESS_CAMPAIGN_TARGET" => {
Some(Self::InvalidAdAddressCampaignTarget)
}
"INVALID_AD_TYPE" => Some(Self::InvalidAdType),
"INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE" => {
Some(Self::InvalidAttributesForMobileImage)
}
"INVALID_ATTRIBUTES_FOR_MOBILE_TEXT" => {
Some(Self::InvalidAttributesForMobileText)
}
"INVALID_CALL_TO_ACTION_TEXT" => Some(Self::InvalidCallToActionText),
"INVALID_CHARACTER_FOR_URL" => Some(Self::InvalidCharacterForUrl),
"INVALID_COUNTRY_CODE" => Some(Self::InvalidCountryCode),
"INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG" => {
Some(Self::InvalidExpandedDynamicSearchAdTag)
}
"INVALID_INPUT" => Some(Self::InvalidInput),
"INVALID_MARKUP_LANGUAGE" => Some(Self::InvalidMarkupLanguage),
"INVALID_MOBILE_CARRIER" => Some(Self::InvalidMobileCarrier),
"INVALID_MOBILE_CARRIER_TARGET" => Some(Self::InvalidMobileCarrierTarget),
"INVALID_NUMBER_OF_ELEMENTS" => Some(Self::InvalidNumberOfElements),
"INVALID_PHONE_NUMBER_FORMAT" => Some(Self::InvalidPhoneNumberFormat),
"INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID" => {
Some(Self::InvalidRichMediaCertifiedVendorFormatId)
}
"INVALID_TEMPLATE_DATA" => Some(Self::InvalidTemplateData),
"INVALID_TEMPLATE_ELEMENT_FIELD_TYPE" => {
Some(Self::InvalidTemplateElementFieldType)
}
"INVALID_TEMPLATE_ID" => Some(Self::InvalidTemplateId),
"LINE_TOO_WIDE" => Some(Self::LineTooWide),
"MISSING_AD_CUSTOMIZER_MAPPING" => Some(Self::MissingAdCustomizerMapping),
"MISSING_ADDRESS_COMPONENT" => Some(Self::MissingAddressComponent),
"MISSING_ADVERTISEMENT_NAME" => Some(Self::MissingAdvertisementName),
"MISSING_BUSINESS_NAME" => Some(Self::MissingBusinessName),
"MISSING_DESCRIPTION1" => Some(Self::MissingDescription1),
"MISSING_DESCRIPTION2" => Some(Self::MissingDescription2),
"MISSING_DESTINATION_URL_TAG" => Some(Self::MissingDestinationUrlTag),
"MISSING_LANDING_PAGE_URL_TAG" => Some(Self::MissingLandingPageUrlTag),
"MISSING_DIMENSION" => Some(Self::MissingDimension),
"MISSING_DISPLAY_URL" => Some(Self::MissingDisplayUrl),
"MISSING_HEADLINE" => Some(Self::MissingHeadline),
"MISSING_HEIGHT" => Some(Self::MissingHeight),
"MISSING_IMAGE" => Some(Self::MissingImage),
"MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS" => {
Some(Self::MissingMarketingImageOrProductVideos)
}
"MISSING_MARKUP_LANGUAGES" => Some(Self::MissingMarkupLanguages),
"MISSING_MOBILE_CARRIER" => Some(Self::MissingMobileCarrier),
"MISSING_PHONE" => Some(Self::MissingPhone),
"MISSING_REQUIRED_TEMPLATE_FIELDS" => {
Some(Self::MissingRequiredTemplateFields)
}
"MISSING_TEMPLATE_FIELD_VALUE" => Some(Self::MissingTemplateFieldValue),
"MISSING_TEXT" => Some(Self::MissingText),
"MISSING_VISIBLE_URL" => Some(Self::MissingVisibleUrl),
"MISSING_WIDTH" => Some(Self::MissingWidth),
"MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED" => {
Some(Self::MultipleDistinctFeedsUnsupported)
}
"MUST_USE_TEMP_AD_UNION_ID_ON_ADD" => {
Some(Self::MustUseTempAdUnionIdOnAdd)
}
"TOO_LONG" => Some(Self::TooLong),
"TOO_SHORT" => Some(Self::TooShort),
"UNION_DIMENSIONS_CANNOT_CHANGE" => {
Some(Self::UnionDimensionsCannotChange)
}
"UNKNOWN_ADDRESS_COMPONENT" => Some(Self::UnknownAddressComponent),
"UNKNOWN_FIELD_NAME" => Some(Self::UnknownFieldName),
"UNKNOWN_UNIQUE_NAME" => Some(Self::UnknownUniqueName),
"UNSUPPORTED_DIMENSIONS" => Some(Self::UnsupportedDimensions),
"URL_INVALID_SCHEME" => Some(Self::UrlInvalidScheme),
"URL_INVALID_TOP_LEVEL_DOMAIN" => Some(Self::UrlInvalidTopLevelDomain),
"URL_MALFORMED" => Some(Self::UrlMalformed),
"URL_NO_HOST" => Some(Self::UrlNoHost),
"URL_NOT_EQUIVALENT" => Some(Self::UrlNotEquivalent),
"URL_HOST_NAME_TOO_LONG" => Some(Self::UrlHostNameTooLong),
"URL_NO_SCHEME" => Some(Self::UrlNoScheme),
"URL_NO_TOP_LEVEL_DOMAIN" => Some(Self::UrlNoTopLevelDomain),
"URL_PATH_NOT_ALLOWED" => Some(Self::UrlPathNotAllowed),
"URL_PORT_NOT_ALLOWED" => Some(Self::UrlPortNotAllowed),
"URL_QUERY_NOT_ALLOWED" => Some(Self::UrlQueryNotAllowed),
"URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG" => {
Some(Self::UrlSchemeBeforeExpandedDynamicSearchAdTag)
}
"USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE" => {
Some(Self::UserDoesNotHaveAccessToTemplate)
}
"INCONSISTENT_EXPANDABLE_SETTINGS" => {
Some(Self::InconsistentExpandableSettings)
}
"INVALID_FORMAT" => Some(Self::InvalidFormat),
"INVALID_FIELD_TEXT" => Some(Self::InvalidFieldText),
"ELEMENT_NOT_PRESENT" => Some(Self::ElementNotPresent),
"IMAGE_ERROR" => Some(Self::ImageError),
"VALUE_NOT_IN_RANGE" => Some(Self::ValueNotInRange),
"FIELD_NOT_PRESENT" => Some(Self::FieldNotPresent),
"ADDRESS_NOT_COMPLETE" => Some(Self::AddressNotComplete),
"ADDRESS_INVALID" => Some(Self::AddressInvalid),
"VIDEO_RETRIEVAL_ERROR" => Some(Self::VideoRetrievalError),
"AUDIO_ERROR" => Some(Self::AudioError),
"INVALID_YOUTUBE_DISPLAY_URL" => Some(Self::InvalidYoutubeDisplayUrl),
"TOO_MANY_PRODUCT_IMAGES" => Some(Self::TooManyProductImages),
"TOO_MANY_PRODUCT_VIDEOS" => Some(Self::TooManyProductVideos),
"INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE" => {
Some(Self::IncompatibleAdTypeAndDevicePreference)
}
"CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY" => {
Some(Self::CalltrackingNotSupportedForCountry)
}
"CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED" => {
Some(Self::CarrierSpecificShortNumberNotAllowed)
}
"DISALLOWED_NUMBER_TYPE" => Some(Self::DisallowedNumberType),
"PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY" => {
Some(Self::PhoneNumberNotSupportedForCountry)
}
"PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY" => {
Some(Self::PhoneNumberNotSupportedWithCalltrackingForCountry)
}
"PREMIUM_RATE_NUMBER_NOT_ALLOWED" => {
Some(Self::PremiumRateNumberNotAllowed)
}
"VANITY_PHONE_NUMBER_NOT_ALLOWED" => {
Some(Self::VanityPhoneNumberNotAllowed)
}
"INVALID_CALL_CONVERSION_TYPE_ID" => {
Some(Self::InvalidCallConversionTypeId)
}
"CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID" => {
Some(Self::CannotDisableCallConversionAndSetConversionTypeId)
}
"CANNOT_SET_PATH2_WITHOUT_PATH1" => {
Some(Self::CannotSetPath2WithoutPath1)
}
"MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME" => {
Some(Self::MissingDynamicSearchAdsSettingDomainName)
}
"INCOMPATIBLE_WITH_RESTRICTION_TYPE" => {
Some(Self::IncompatibleWithRestrictionType)
}
"CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED" => {
Some(Self::CustomerConsentForCallRecordingRequired)
}
"MISSING_IMAGE_OR_MEDIA_BUNDLE" => Some(Self::MissingImageOrMediaBundle),
"PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN" => {
Some(Self::ProductTypeNotSupportedInThisCampaign)
}
"PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE" => {
Some(Self::PlaceholderCannotHaveEmptyDefaultValue)
}
"PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE" => {
Some(Self::PlaceholderCountdownFunctionCannotHaveDefaultValue)
}
"PLACEHOLDER_DEFAULT_VALUE_MISSING" => {
Some(Self::PlaceholderDefaultValueMissing)
}
"UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE" => {
Some(Self::UnexpectedPlaceholderDefaultValue)
}
"AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT" => {
Some(Self::AdCustomizersMayNotBeAdjacent)
}
"UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION" => {
Some(Self::UpdatingAdWithNoEnabledAssociation)
}
"CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN" => {
Some(Self::CallAdVerificationUrlFinalUrlDoesNotHaveSameDomain)
}
"CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY" => {
Some(Self::CallAdFinalUrlAndVerificationUrlCannotBothBeEmpty)
}
"TOO_MANY_AD_CUSTOMIZERS" => Some(Self::TooManyAdCustomizers),
"INVALID_AD_CUSTOMIZER_FORMAT" => Some(Self::InvalidAdCustomizerFormat),
"NESTED_AD_CUSTOMIZER_SYNTAX" => Some(Self::NestedAdCustomizerSyntax),
"UNSUPPORTED_AD_CUSTOMIZER_SYNTAX" => {
Some(Self::UnsupportedAdCustomizerSyntax)
}
"UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG" => {
Some(Self::UnpairedBraceInAdCustomizerTag)
}
"MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS" => {
Some(Self::MoreThanOneCountdownTagTypeExists)
}
"DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID" => {
Some(Self::DateTimeInCountdownTagIsInvalid)
}
"DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST" => {
Some(Self::DateTimeInCountdownTagIsPast)
}
"UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND" => {
Some(Self::UnrecognizedAdCustomizerTagFound)
}
"CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD" => {
Some(Self::CustomizerTypeForbiddenForField)
}
"INVALID_CUSTOMIZER_ATTRIBUTE_NAME" => {
Some(Self::InvalidCustomizerAttributeName)
}
"STORE_MISMATCH" => Some(Self::StoreMismatch),
"MISSING_REQUIRED_IMAGE_ASPECT_RATIO" => {
Some(Self::MissingRequiredImageAspectRatio)
}
"MISMATCHED_ASPECT_RATIOS" => Some(Self::MismatchedAspectRatios),
"DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS" => {
Some(Self::DuplicateImageAcrossCarouselCards)
}
_ => None,
}
}
}
}
/// Container for enum describing possible custom conversion goal errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomConversionGoalErrorEnum {}
/// Nested message and enum types in `CustomConversionGoalErrorEnum`.
pub mod custom_conversion_goal_error_enum {
/// Enum describing possible custom conversion goal errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CustomConversionGoalError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Cannot find a conversion action with the specified id.
InvalidConversionAction = 2,
/// The conversion action is not enabled so it cannot be included in a custom
/// conversion goal.
ConversionActionNotEnabled = 3,
/// The custom conversion goal cannot be removed because it's linked to a
/// campaign.
CannotRemoveLinkedCustomConversionGoal = 4,
/// Custom goal with the same name already exists.
CustomGoalDuplicateName = 5,
/// Custom goal with the same conversion action list already exists.
DuplicateConversionActionList = 6,
/// Conversion types that cannot be biddable should not be included in custom
/// goal.
NonBiddableConversionActionNotEligibleForCustomGoal = 7,
}
impl CustomConversionGoalError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CustomConversionGoalError::Unspecified => "UNSPECIFIED",
CustomConversionGoalError::Unknown => "UNKNOWN",
CustomConversionGoalError::InvalidConversionAction => {
"INVALID_CONVERSION_ACTION"
}
CustomConversionGoalError::ConversionActionNotEnabled => {
"CONVERSION_ACTION_NOT_ENABLED"
}
CustomConversionGoalError::CannotRemoveLinkedCustomConversionGoal => {
"CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL"
}
CustomConversionGoalError::CustomGoalDuplicateName => {
"CUSTOM_GOAL_DUPLICATE_NAME"
}
CustomConversionGoalError::DuplicateConversionActionList => {
"DUPLICATE_CONVERSION_ACTION_LIST"
}
CustomConversionGoalError::NonBiddableConversionActionNotEligibleForCustomGoal => {
"NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_CONVERSION_ACTION" => Some(Self::InvalidConversionAction),
"CONVERSION_ACTION_NOT_ENABLED" => Some(Self::ConversionActionNotEnabled),
"CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL" => {
Some(Self::CannotRemoveLinkedCustomConversionGoal)
}
"CUSTOM_GOAL_DUPLICATE_NAME" => Some(Self::CustomGoalDuplicateName),
"DUPLICATE_CONVERSION_ACTION_LIST" => {
Some(Self::DuplicateConversionActionList)
}
"NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL" => {
Some(Self::NonBiddableConversionActionNotEligibleForCustomGoal)
}
_ => None,
}
}
}
}
/// Container for enum describing possible ad group customizer errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdGroupCustomizerErrorEnum {}
/// Nested message and enum types in `AdGroupCustomizerErrorEnum`.
pub mod ad_group_customizer_error_enum {
/// Enum describing possible ad group customizer errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AdGroupCustomizerError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
}
impl AdGroupCustomizerError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AdGroupCustomizerError::Unspecified => "UNSPECIFIED",
AdGroupCustomizerError::Unknown => "UNKNOWN",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
_ => None,
}
}
}
}
/// Container for enum describing possible feed item target errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FeedItemTargetErrorEnum {}
/// Nested message and enum types in `FeedItemTargetErrorEnum`.
pub mod feed_item_target_error_enum {
/// Enum describing possible feed item target errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum FeedItemTargetError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// On CREATE, the FeedItemTarget must have a populated field in the oneof
/// target.
MustSetTargetOneofOnCreate = 2,
/// The specified feed item target already exists, so it cannot be added.
FeedItemTargetAlreadyExists = 3,
/// The schedules for a given feed item cannot overlap.
FeedItemSchedulesCannotOverlap = 4,
/// Too many targets of a given type were added for a single feed item.
TargetLimitExceededForGivenType = 5,
/// Too many AdSchedules are enabled for the feed item for the given day.
TooManySchedulesPerDay = 6,
/// A feed item may either have an enabled campaign target or an enabled ad
/// group target.
CannotHaveEnabledCampaignAndEnabledAdGroupTargets = 7,
/// Duplicate ad schedules aren't allowed.
DuplicateAdSchedule = 8,
/// Duplicate keywords aren't allowed.
DuplicateKeyword = 9,
}
impl FeedItemTargetError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
FeedItemTargetError::Unspecified => "UNSPECIFIED",
FeedItemTargetError::Unknown => "UNKNOWN",
FeedItemTargetError::MustSetTargetOneofOnCreate => {
"MUST_SET_TARGET_ONEOF_ON_CREATE"
}
FeedItemTargetError::FeedItemTargetAlreadyExists => {
"FEED_ITEM_TARGET_ALREADY_EXISTS"
}
FeedItemTargetError::FeedItemSchedulesCannotOverlap => {
"FEED_ITEM_SCHEDULES_CANNOT_OVERLAP"
}
FeedItemTargetError::TargetLimitExceededForGivenType => {
"TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE"
}
FeedItemTargetError::TooManySchedulesPerDay => {
"TOO_MANY_SCHEDULES_PER_DAY"
}
FeedItemTargetError::CannotHaveEnabledCampaignAndEnabledAdGroupTargets => {
"CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS"
}
FeedItemTargetError::DuplicateAdSchedule => "DUPLICATE_AD_SCHEDULE",
FeedItemTargetError::DuplicateKeyword => "DUPLICATE_KEYWORD",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"MUST_SET_TARGET_ONEOF_ON_CREATE" => {
Some(Self::MustSetTargetOneofOnCreate)
}
"FEED_ITEM_TARGET_ALREADY_EXISTS" => {
Some(Self::FeedItemTargetAlreadyExists)
}
"FEED_ITEM_SCHEDULES_CANNOT_OVERLAP" => {
Some(Self::FeedItemSchedulesCannotOverlap)
}
"TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE" => {
Some(Self::TargetLimitExceededForGivenType)
}
"TOO_MANY_SCHEDULES_PER_DAY" => Some(Self::TooManySchedulesPerDay),
"CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS" => {
Some(Self::CannotHaveEnabledCampaignAndEnabledAdGroupTargets)
}
"DUPLICATE_AD_SCHEDULE" => Some(Self::DuplicateAdSchedule),
"DUPLICATE_KEYWORD" => Some(Self::DuplicateKeyword),
_ => None,
}
}
}
}
/// Container for enum describing possible errors from KeywordPlanIdeaService.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct KeywordPlanIdeaErrorEnum {}
/// Nested message and enum types in `KeywordPlanIdeaErrorEnum`.
pub mod keyword_plan_idea_error_enum {
/// Enum describing possible errors from KeywordPlanIdeaService.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum KeywordPlanIdeaError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Error when crawling the input URL.
UrlCrawlError = 2,
/// The input has an invalid value.
InvalidValue = 3,
}
impl KeywordPlanIdeaError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
KeywordPlanIdeaError::Unspecified => "UNSPECIFIED",
KeywordPlanIdeaError::Unknown => "UNKNOWN",
KeywordPlanIdeaError::UrlCrawlError => "URL_CRAWL_ERROR",
KeywordPlanIdeaError::InvalidValue => "INVALID_VALUE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"URL_CRAWL_ERROR" => Some(Self::UrlCrawlError),
"INVALID_VALUE" => Some(Self::InvalidValue),
_ => None,
}
}
}
}
/// Container for enum describing possible url field errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct UrlFieldErrorEnum {}
/// Nested message and enum types in `UrlFieldErrorEnum`.
pub mod url_field_error_enum {
/// Enum describing possible url field errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum UrlFieldError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The tracking url template is invalid.
InvalidTrackingUrlTemplate = 2,
/// The tracking url template contains invalid tag.
InvalidTagInTrackingUrlTemplate = 3,
/// The tracking url template must contain at least one tag (for example,
/// {lpurl}), This applies only to tracking url template associated with
/// website ads or product ads.
MissingTrackingUrlTemplateTag = 4,
/// The tracking url template must start with a valid protocol (or lpurl
/// tag).
MissingProtocolInTrackingUrlTemplate = 5,
/// The tracking url template starts with an invalid protocol.
InvalidProtocolInTrackingUrlTemplate = 6,
/// The tracking url template contains illegal characters.
MalformedTrackingUrlTemplate = 7,
/// The tracking url template must contain a host name (or lpurl tag).
MissingHostInTrackingUrlTemplate = 8,
/// The tracking url template has an invalid or missing top level domain
/// extension.
InvalidTldInTrackingUrlTemplate = 9,
/// The tracking url template contains nested occurrences of the same
/// conditional tag (for example, {ifmobile:{ifmobile:x}}).
RedundantNestedTrackingUrlTemplateTag = 10,
/// The final url is invalid.
InvalidFinalUrl = 11,
/// The final url contains invalid tag.
InvalidTagInFinalUrl = 12,
/// The final url contains nested occurrences of the same conditional tag
/// (for example, {ifmobile:{ifmobile:x}}).
RedundantNestedFinalUrlTag = 13,
/// The final url must start with a valid protocol.
MissingProtocolInFinalUrl = 14,
/// The final url starts with an invalid protocol.
InvalidProtocolInFinalUrl = 15,
/// The final url contains illegal characters.
MalformedFinalUrl = 16,
/// The final url must contain a host name.
MissingHostInFinalUrl = 17,
/// The tracking url template has an invalid or missing top level domain
/// extension.
InvalidTldInFinalUrl = 18,
/// The final mobile url is invalid.
InvalidFinalMobileUrl = 19,
/// The final mobile url contains invalid tag.
InvalidTagInFinalMobileUrl = 20,
/// The final mobile url contains nested occurrences of the same conditional
/// tag (for example, {ifmobile:{ifmobile:x}}).
RedundantNestedFinalMobileUrlTag = 21,
/// The final mobile url must start with a valid protocol.
MissingProtocolInFinalMobileUrl = 22,
/// The final mobile url starts with an invalid protocol.
InvalidProtocolInFinalMobileUrl = 23,
/// The final mobile url contains illegal characters.
MalformedFinalMobileUrl = 24,
/// The final mobile url must contain a host name.
MissingHostInFinalMobileUrl = 25,
/// The tracking url template has an invalid or missing top level domain
/// extension.
InvalidTldInFinalMobileUrl = 26,
/// The final app url is invalid.
InvalidFinalAppUrl = 27,
/// The final app url contains invalid tag.
InvalidTagInFinalAppUrl = 28,
/// The final app url contains nested occurrences of the same conditional tag
/// (for example, {ifmobile:{ifmobile:x}}).
RedundantNestedFinalAppUrlTag = 29,
/// More than one app url found for the same OS type.
MultipleAppUrlsForOstype = 30,
/// The OS type given for an app url is not valid.
InvalidOstype = 31,
/// The protocol given for an app url is not valid. (For example,
/// "android-app://")
InvalidProtocolForAppUrl = 32,
/// The package id (app id) given for an app url is not valid.
InvalidPackageIdForAppUrl = 33,
/// The number of url custom parameters for an resource exceeds the maximum
/// limit allowed.
UrlCustomParametersCountExceedsLimit = 34,
/// An invalid character appears in the parameter key.
InvalidCharactersInUrlCustomParameterKey = 39,
/// An invalid character appears in the parameter value.
InvalidCharactersInUrlCustomParameterValue = 40,
/// The url custom parameter value fails url tag validation.
InvalidTagInUrlCustomParameterValue = 41,
/// The custom parameter contains nested occurrences of the same conditional
/// tag (for example, {ifmobile:{ifmobile:x}}).
RedundantNestedUrlCustomParameterTag = 42,
/// The protocol (http:// or https://) is missing.
MissingProtocol = 43,
/// Unsupported protocol in URL. Only http and https are supported.
InvalidProtocol = 52,
/// The url is invalid.
InvalidUrl = 44,
/// Destination Url is deprecated.
DestinationUrlDeprecated = 45,
/// The url contains invalid tag.
InvalidTagInUrl = 46,
/// The url must contain at least one tag (for example, {lpurl}).
MissingUrlTag = 47,
/// Duplicate url id.
DuplicateUrlId = 48,
/// Invalid url id.
InvalidUrlId = 49,
/// The final url suffix cannot begin with '?' or '&' characters and must be
/// a valid query string.
FinalUrlSuffixMalformed = 50,
/// The final url suffix cannot contain {lpurl} related or {ignore} tags.
InvalidTagInFinalUrlSuffix = 51,
/// The top level domain is invalid, for example, not a public top level
/// domain listed in publicsuffix.org.
InvalidTopLevelDomain = 53,
/// Malformed top level domain in URL.
MalformedTopLevelDomain = 54,
/// Malformed URL.
MalformedUrl = 55,
/// No host found in URL.
MissingHost = 56,
/// Custom parameter value cannot be null.
NullCustomParameterValue = 57,
/// Track parameter is not supported.
ValueTrackParameterNotSupported = 58,
}
impl UrlFieldError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
UrlFieldError::Unspecified => "UNSPECIFIED",
UrlFieldError::Unknown => "UNKNOWN",
UrlFieldError::InvalidTrackingUrlTemplate => {
"INVALID_TRACKING_URL_TEMPLATE"
}
UrlFieldError::InvalidTagInTrackingUrlTemplate => {
"INVALID_TAG_IN_TRACKING_URL_TEMPLATE"
}
UrlFieldError::MissingTrackingUrlTemplateTag => {
"MISSING_TRACKING_URL_TEMPLATE_TAG"
}
UrlFieldError::MissingProtocolInTrackingUrlTemplate => {
"MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE"
}
UrlFieldError::InvalidProtocolInTrackingUrlTemplate => {
"INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE"
}
UrlFieldError::MalformedTrackingUrlTemplate => {
"MALFORMED_TRACKING_URL_TEMPLATE"
}
UrlFieldError::MissingHostInTrackingUrlTemplate => {
"MISSING_HOST_IN_TRACKING_URL_TEMPLATE"
}
UrlFieldError::InvalidTldInTrackingUrlTemplate => {
"INVALID_TLD_IN_TRACKING_URL_TEMPLATE"
}
UrlFieldError::RedundantNestedTrackingUrlTemplateTag => {
"REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG"
}
UrlFieldError::InvalidFinalUrl => "INVALID_FINAL_URL",
UrlFieldError::InvalidTagInFinalUrl => "INVALID_TAG_IN_FINAL_URL",
UrlFieldError::RedundantNestedFinalUrlTag => {
"REDUNDANT_NESTED_FINAL_URL_TAG"
}
UrlFieldError::MissingProtocolInFinalUrl => {
"MISSING_PROTOCOL_IN_FINAL_URL"
}
UrlFieldError::InvalidProtocolInFinalUrl => {
"INVALID_PROTOCOL_IN_FINAL_URL"
}
UrlFieldError::MalformedFinalUrl => "MALFORMED_FINAL_URL",
UrlFieldError::MissingHostInFinalUrl => "MISSING_HOST_IN_FINAL_URL",
UrlFieldError::InvalidTldInFinalUrl => "INVALID_TLD_IN_FINAL_URL",
UrlFieldError::InvalidFinalMobileUrl => "INVALID_FINAL_MOBILE_URL",
UrlFieldError::InvalidTagInFinalMobileUrl => {
"INVALID_TAG_IN_FINAL_MOBILE_URL"
}
UrlFieldError::RedundantNestedFinalMobileUrlTag => {
"REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG"
}
UrlFieldError::MissingProtocolInFinalMobileUrl => {
"MISSING_PROTOCOL_IN_FINAL_MOBILE_URL"
}
UrlFieldError::InvalidProtocolInFinalMobileUrl => {
"INVALID_PROTOCOL_IN_FINAL_MOBILE_URL"
}
UrlFieldError::MalformedFinalMobileUrl => "MALFORMED_FINAL_MOBILE_URL",
UrlFieldError::MissingHostInFinalMobileUrl => {
"MISSING_HOST_IN_FINAL_MOBILE_URL"
}
UrlFieldError::InvalidTldInFinalMobileUrl => {
"INVALID_TLD_IN_FINAL_MOBILE_URL"
}
UrlFieldError::InvalidFinalAppUrl => "INVALID_FINAL_APP_URL",
UrlFieldError::InvalidTagInFinalAppUrl => "INVALID_TAG_IN_FINAL_APP_URL",
UrlFieldError::RedundantNestedFinalAppUrlTag => {
"REDUNDANT_NESTED_FINAL_APP_URL_TAG"
}
UrlFieldError::MultipleAppUrlsForOstype => "MULTIPLE_APP_URLS_FOR_OSTYPE",
UrlFieldError::InvalidOstype => "INVALID_OSTYPE",
UrlFieldError::InvalidProtocolForAppUrl => "INVALID_PROTOCOL_FOR_APP_URL",
UrlFieldError::InvalidPackageIdForAppUrl => {
"INVALID_PACKAGE_ID_FOR_APP_URL"
}
UrlFieldError::UrlCustomParametersCountExceedsLimit => {
"URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT"
}
UrlFieldError::InvalidCharactersInUrlCustomParameterKey => {
"INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY"
}
UrlFieldError::InvalidCharactersInUrlCustomParameterValue => {
"INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE"
}
UrlFieldError::InvalidTagInUrlCustomParameterValue => {
"INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE"
}
UrlFieldError::RedundantNestedUrlCustomParameterTag => {
"REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG"
}
UrlFieldError::MissingProtocol => "MISSING_PROTOCOL",
UrlFieldError::InvalidProtocol => "INVALID_PROTOCOL",
UrlFieldError::InvalidUrl => "INVALID_URL",
UrlFieldError::DestinationUrlDeprecated => "DESTINATION_URL_DEPRECATED",
UrlFieldError::InvalidTagInUrl => "INVALID_TAG_IN_URL",
UrlFieldError::MissingUrlTag => "MISSING_URL_TAG",
UrlFieldError::DuplicateUrlId => "DUPLICATE_URL_ID",
UrlFieldError::InvalidUrlId => "INVALID_URL_ID",
UrlFieldError::FinalUrlSuffixMalformed => "FINAL_URL_SUFFIX_MALFORMED",
UrlFieldError::InvalidTagInFinalUrlSuffix => {
"INVALID_TAG_IN_FINAL_URL_SUFFIX"
}
UrlFieldError::InvalidTopLevelDomain => "INVALID_TOP_LEVEL_DOMAIN",
UrlFieldError::MalformedTopLevelDomain => "MALFORMED_TOP_LEVEL_DOMAIN",
UrlFieldError::MalformedUrl => "MALFORMED_URL",
UrlFieldError::MissingHost => "MISSING_HOST",
UrlFieldError::NullCustomParameterValue => "NULL_CUSTOM_PARAMETER_VALUE",
UrlFieldError::ValueTrackParameterNotSupported => {
"VALUE_TRACK_PARAMETER_NOT_SUPPORTED"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_TRACKING_URL_TEMPLATE" => Some(Self::InvalidTrackingUrlTemplate),
"INVALID_TAG_IN_TRACKING_URL_TEMPLATE" => {
Some(Self::InvalidTagInTrackingUrlTemplate)
}
"MISSING_TRACKING_URL_TEMPLATE_TAG" => {
Some(Self::MissingTrackingUrlTemplateTag)
}
"MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE" => {
Some(Self::MissingProtocolInTrackingUrlTemplate)
}
"INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE" => {
Some(Self::InvalidProtocolInTrackingUrlTemplate)
}
"MALFORMED_TRACKING_URL_TEMPLATE" => {
Some(Self::MalformedTrackingUrlTemplate)
}
"MISSING_HOST_IN_TRACKING_URL_TEMPLATE" => {
Some(Self::MissingHostInTrackingUrlTemplate)
}
"INVALID_TLD_IN_TRACKING_URL_TEMPLATE" => {
Some(Self::InvalidTldInTrackingUrlTemplate)
}
"REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG" => {
Some(Self::RedundantNestedTrackingUrlTemplateTag)
}
"INVALID_FINAL_URL" => Some(Self::InvalidFinalUrl),
"INVALID_TAG_IN_FINAL_URL" => Some(Self::InvalidTagInFinalUrl),
"REDUNDANT_NESTED_FINAL_URL_TAG" => {
Some(Self::RedundantNestedFinalUrlTag)
}
"MISSING_PROTOCOL_IN_FINAL_URL" => Some(Self::MissingProtocolInFinalUrl),
"INVALID_PROTOCOL_IN_FINAL_URL" => Some(Self::InvalidProtocolInFinalUrl),
"MALFORMED_FINAL_URL" => Some(Self::MalformedFinalUrl),
"MISSING_HOST_IN_FINAL_URL" => Some(Self::MissingHostInFinalUrl),
"INVALID_TLD_IN_FINAL_URL" => Some(Self::InvalidTldInFinalUrl),
"INVALID_FINAL_MOBILE_URL" => Some(Self::InvalidFinalMobileUrl),
"INVALID_TAG_IN_FINAL_MOBILE_URL" => {
Some(Self::InvalidTagInFinalMobileUrl)
}
"REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG" => {
Some(Self::RedundantNestedFinalMobileUrlTag)
}
"MISSING_PROTOCOL_IN_FINAL_MOBILE_URL" => {
Some(Self::MissingProtocolInFinalMobileUrl)
}
"INVALID_PROTOCOL_IN_FINAL_MOBILE_URL" => {
Some(Self::InvalidProtocolInFinalMobileUrl)
}
"MALFORMED_FINAL_MOBILE_URL" => Some(Self::MalformedFinalMobileUrl),
"MISSING_HOST_IN_FINAL_MOBILE_URL" => {
Some(Self::MissingHostInFinalMobileUrl)
}
"INVALID_TLD_IN_FINAL_MOBILE_URL" => {
Some(Self::InvalidTldInFinalMobileUrl)
}
"INVALID_FINAL_APP_URL" => Some(Self::InvalidFinalAppUrl),
"INVALID_TAG_IN_FINAL_APP_URL" => Some(Self::InvalidTagInFinalAppUrl),
"REDUNDANT_NESTED_FINAL_APP_URL_TAG" => {
Some(Self::RedundantNestedFinalAppUrlTag)
}
"MULTIPLE_APP_URLS_FOR_OSTYPE" => Some(Self::MultipleAppUrlsForOstype),
"INVALID_OSTYPE" => Some(Self::InvalidOstype),
"INVALID_PROTOCOL_FOR_APP_URL" => Some(Self::InvalidProtocolForAppUrl),
"INVALID_PACKAGE_ID_FOR_APP_URL" => Some(Self::InvalidPackageIdForAppUrl),
"URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT" => {
Some(Self::UrlCustomParametersCountExceedsLimit)
}
"INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY" => {
Some(Self::InvalidCharactersInUrlCustomParameterKey)
}
"INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE" => {
Some(Self::InvalidCharactersInUrlCustomParameterValue)
}
"INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE" => {
Some(Self::InvalidTagInUrlCustomParameterValue)
}
"REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG" => {
Some(Self::RedundantNestedUrlCustomParameterTag)
}
"MISSING_PROTOCOL" => Some(Self::MissingProtocol),
"INVALID_PROTOCOL" => Some(Self::InvalidProtocol),
"INVALID_URL" => Some(Self::InvalidUrl),
"DESTINATION_URL_DEPRECATED" => Some(Self::DestinationUrlDeprecated),
"INVALID_TAG_IN_URL" => Some(Self::InvalidTagInUrl),
"MISSING_URL_TAG" => Some(Self::MissingUrlTag),
"DUPLICATE_URL_ID" => Some(Self::DuplicateUrlId),
"INVALID_URL_ID" => Some(Self::InvalidUrlId),
"FINAL_URL_SUFFIX_MALFORMED" => Some(Self::FinalUrlSuffixMalformed),
"INVALID_TAG_IN_FINAL_URL_SUFFIX" => {
Some(Self::InvalidTagInFinalUrlSuffix)
}
"INVALID_TOP_LEVEL_DOMAIN" => Some(Self::InvalidTopLevelDomain),
"MALFORMED_TOP_LEVEL_DOMAIN" => Some(Self::MalformedTopLevelDomain),
"MALFORMED_URL" => Some(Self::MalformedUrl),
"MISSING_HOST" => Some(Self::MissingHost),
"NULL_CUSTOM_PARAMETER_VALUE" => Some(Self::NullCustomParameterValue),
"VALUE_TRACK_PARAMETER_NOT_SUPPORTED" => {
Some(Self::ValueTrackParameterNotSupported)
}
_ => None,
}
}
}
}
/// Container for enum describing possible ad customizer errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdCustomizerErrorEnum {}
/// Nested message and enum types in `AdCustomizerErrorEnum`.
pub mod ad_customizer_error_enum {
/// Enum describing possible ad customizer errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AdCustomizerError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Invalid date argument in countdown function.
CountdownInvalidDateFormat = 2,
/// Countdown end date is in the past.
CountdownDateInPast = 3,
/// Invalid locale string in countdown function.
CountdownInvalidLocale = 4,
/// Days-before argument to countdown function is not positive.
CountdownInvalidStartDaysBefore = 5,
/// A user list referenced in an IF function does not exist.
UnknownUserList = 6,
}
impl AdCustomizerError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AdCustomizerError::Unspecified => "UNSPECIFIED",
AdCustomizerError::Unknown => "UNKNOWN",
AdCustomizerError::CountdownInvalidDateFormat => {
"COUNTDOWN_INVALID_DATE_FORMAT"
}
AdCustomizerError::CountdownDateInPast => "COUNTDOWN_DATE_IN_PAST",
AdCustomizerError::CountdownInvalidLocale => "COUNTDOWN_INVALID_LOCALE",
AdCustomizerError::CountdownInvalidStartDaysBefore => {
"COUNTDOWN_INVALID_START_DAYS_BEFORE"
}
AdCustomizerError::UnknownUserList => "UNKNOWN_USER_LIST",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"COUNTDOWN_INVALID_DATE_FORMAT" => Some(Self::CountdownInvalidDateFormat),
"COUNTDOWN_DATE_IN_PAST" => Some(Self::CountdownDateInPast),
"COUNTDOWN_INVALID_LOCALE" => Some(Self::CountdownInvalidLocale),
"COUNTDOWN_INVALID_START_DAYS_BEFORE" => {
Some(Self::CountdownInvalidStartDaysBefore)
}
"UNKNOWN_USER_LIST" => Some(Self::UnknownUserList),
_ => None,
}
}
}
}
/// Container for enum describing possible ad sharing errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdSharingErrorEnum {}
/// Nested message and enum types in `AdSharingErrorEnum`.
pub mod ad_sharing_error_enum {
/// Enum describing possible ad sharing errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum AdSharingError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Error resulting in attempting to add an Ad to an AdGroup that already
/// contains the Ad.
AdGroupAlreadyContainsAd = 2,
/// Ad is not compatible with the AdGroup it is being shared with.
IncompatibleAdUnderAdGroup = 3,
/// Cannot add AdGroupAd on inactive Ad.
CannotShareInactiveAd = 4,
}
impl AdSharingError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
AdSharingError::Unspecified => "UNSPECIFIED",
AdSharingError::Unknown => "UNKNOWN",
AdSharingError::AdGroupAlreadyContainsAd => {
"AD_GROUP_ALREADY_CONTAINS_AD"
}
AdSharingError::IncompatibleAdUnderAdGroup => {
"INCOMPATIBLE_AD_UNDER_AD_GROUP"
}
AdSharingError::CannotShareInactiveAd => "CANNOT_SHARE_INACTIVE_AD",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"AD_GROUP_ALREADY_CONTAINS_AD" => Some(Self::AdGroupAlreadyContainsAd),
"INCOMPATIBLE_AD_UNDER_AD_GROUP" => {
Some(Self::IncompatibleAdUnderAdGroup)
}
"CANNOT_SHARE_INACTIVE_AD" => Some(Self::CannotShareInactiveAd),
_ => None,
}
}
}
}
/// Container for enum describing possible billing setup errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct BillingSetupErrorEnum {}
/// Nested message and enum types in `BillingSetupErrorEnum`.
pub mod billing_setup_error_enum {
/// Enum describing possible billing setup errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum BillingSetupError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Cannot specify both an existing payments account and a new payments
/// account when setting up billing.
CannotUseExistingAndNewAccount = 2,
/// Cannot cancel an approved billing setup whose start time has passed.
CannotRemoveStartedBillingSetup = 3,
/// Cannot perform a Change of Bill-To (CBT) to the same payments account.
CannotChangeBillingToSamePaymentsAccount = 4,
/// Billing setups can only be used by customers with ENABLED or DRAFT
/// status.
BillingSetupNotPermittedForCustomerStatus = 5,
/// Billing setups must either include a correctly formatted existing
/// payments account id, or a non-empty new payments account name.
InvalidPaymentsAccount = 6,
/// Only billable and third-party customers can create billing setups.
BillingSetupNotPermittedForCustomerCategory = 7,
/// Billing setup creations can only use NOW for start time type.
InvalidStartTimeType = 8,
/// Billing setups can only be created for a third-party customer if they do
/// not already have a setup.
ThirdPartyAlreadyHasBilling = 9,
/// Billing setups cannot be created if there is already a pending billing in
/// progress.
BillingSetupInProgress = 10,
/// Billing setups can only be created by customers who have permission to
/// setup billings. Users can contact a representative for help setting up
/// permissions.
NoSignupPermission = 11,
/// Billing setups cannot be created if there is already a future-approved
/// billing.
ChangeOfBillToInProgress = 12,
/// Requested payments profile not found.
PaymentsProfileNotFound = 13,
/// Requested payments account not found.
PaymentsAccountNotFound = 14,
/// Billing setup creation failed because the payments profile is ineligible.
PaymentsProfileIneligible = 15,
/// Billing setup creation failed because the payments account is ineligible.
PaymentsAccountIneligible = 16,
/// Billing setup creation failed because the payments profile needs internal
/// approval.
CustomerNeedsInternalApproval = 17,
/// Billing setup creation failed because the user needs to accept master
/// service agreement on the payments profile.
PaymentsProfileNeedsServiceAgreementAcceptance = 18,
/// Payments account has different currency code than the current customer
/// and hence cannot be used to setup billing.
PaymentsAccountIneligibleCurrencyCodeMismatch = 19,
/// A start time in the future cannot be used because there is currently no
/// active billing setup for this customer.
FutureStartTimeProhibited = 20,
/// The payments account has maximum number of billing setups.
TooManyBillingSetupsForPaymentsAccount = 21,
}
impl BillingSetupError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
BillingSetupError::Unspecified => "UNSPECIFIED",
BillingSetupError::Unknown => "UNKNOWN",
BillingSetupError::CannotUseExistingAndNewAccount => {
"CANNOT_USE_EXISTING_AND_NEW_ACCOUNT"
}
BillingSetupError::CannotRemoveStartedBillingSetup => {
"CANNOT_REMOVE_STARTED_BILLING_SETUP"
}
BillingSetupError::CannotChangeBillingToSamePaymentsAccount => {
"CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT"
}
BillingSetupError::BillingSetupNotPermittedForCustomerStatus => {
"BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS"
}
BillingSetupError::InvalidPaymentsAccount => "INVALID_PAYMENTS_ACCOUNT",
BillingSetupError::BillingSetupNotPermittedForCustomerCategory => {
"BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY"
}
BillingSetupError::InvalidStartTimeType => "INVALID_START_TIME_TYPE",
BillingSetupError::ThirdPartyAlreadyHasBilling => {
"THIRD_PARTY_ALREADY_HAS_BILLING"
}
BillingSetupError::BillingSetupInProgress => "BILLING_SETUP_IN_PROGRESS",
BillingSetupError::NoSignupPermission => "NO_SIGNUP_PERMISSION",
BillingSetupError::ChangeOfBillToInProgress => {
"CHANGE_OF_BILL_TO_IN_PROGRESS"
}
BillingSetupError::PaymentsProfileNotFound => {
"PAYMENTS_PROFILE_NOT_FOUND"
}
BillingSetupError::PaymentsAccountNotFound => {
"PAYMENTS_ACCOUNT_NOT_FOUND"
}
BillingSetupError::PaymentsProfileIneligible => {
"PAYMENTS_PROFILE_INELIGIBLE"
}
BillingSetupError::PaymentsAccountIneligible => {
"PAYMENTS_ACCOUNT_INELIGIBLE"
}
BillingSetupError::CustomerNeedsInternalApproval => {
"CUSTOMER_NEEDS_INTERNAL_APPROVAL"
}
BillingSetupError::PaymentsProfileNeedsServiceAgreementAcceptance => {
"PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE"
}
BillingSetupError::PaymentsAccountIneligibleCurrencyCodeMismatch => {
"PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH"
}
BillingSetupError::FutureStartTimeProhibited => {
"FUTURE_START_TIME_PROHIBITED"
}
BillingSetupError::TooManyBillingSetupsForPaymentsAccount => {
"TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"CANNOT_USE_EXISTING_AND_NEW_ACCOUNT" => {
Some(Self::CannotUseExistingAndNewAccount)
}
"CANNOT_REMOVE_STARTED_BILLING_SETUP" => {
Some(Self::CannotRemoveStartedBillingSetup)
}
"CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT" => {
Some(Self::CannotChangeBillingToSamePaymentsAccount)
}
"BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS" => {
Some(Self::BillingSetupNotPermittedForCustomerStatus)
}
"INVALID_PAYMENTS_ACCOUNT" => Some(Self::InvalidPaymentsAccount),
"BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY" => {
Some(Self::BillingSetupNotPermittedForCustomerCategory)
}
"INVALID_START_TIME_TYPE" => Some(Self::InvalidStartTimeType),
"THIRD_PARTY_ALREADY_HAS_BILLING" => {
Some(Self::ThirdPartyAlreadyHasBilling)
}
"BILLING_SETUP_IN_PROGRESS" => Some(Self::BillingSetupInProgress),
"NO_SIGNUP_PERMISSION" => Some(Self::NoSignupPermission),
"CHANGE_OF_BILL_TO_IN_PROGRESS" => Some(Self::ChangeOfBillToInProgress),
"PAYMENTS_PROFILE_NOT_FOUND" => Some(Self::PaymentsProfileNotFound),
"PAYMENTS_ACCOUNT_NOT_FOUND" => Some(Self::PaymentsAccountNotFound),
"PAYMENTS_PROFILE_INELIGIBLE" => Some(Self::PaymentsProfileIneligible),
"PAYMENTS_ACCOUNT_INELIGIBLE" => Some(Self::PaymentsAccountIneligible),
"CUSTOMER_NEEDS_INTERNAL_APPROVAL" => {
Some(Self::CustomerNeedsInternalApproval)
}
"PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE" => {
Some(Self::PaymentsProfileNeedsServiceAgreementAcceptance)
}
"PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH" => {
Some(Self::PaymentsAccountIneligibleCurrencyCodeMismatch)
}
"FUTURE_START_TIME_PROHIBITED" => Some(Self::FutureStartTimeProhibited),
"TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT" => {
Some(Self::TooManyBillingSetupsForPaymentsAccount)
}
_ => None,
}
}
}
}
/// Container for enum describing country code errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CountryCodeErrorEnum {}
/// Nested message and enum types in `CountryCodeErrorEnum`.
pub mod country_code_error_enum {
/// Enum describing country code errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CountryCodeError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The country code is invalid.
InvalidCountryCode = 2,
}
impl CountryCodeError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CountryCodeError::Unspecified => "UNSPECIFIED",
CountryCodeError::Unknown => "UNKNOWN",
CountryCodeError::InvalidCountryCode => "INVALID_COUNTRY_CODE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_COUNTRY_CODE" => Some(Self::InvalidCountryCode),
_ => None,
}
}
}
}
/// Container for enum describing possible currency code errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CurrencyCodeErrorEnum {}
/// Nested message and enum types in `CurrencyCodeErrorEnum`.
pub mod currency_code_error_enum {
/// Enum describing possible currency code errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CurrencyCodeError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The currency code is not supported.
Unsupported = 2,
}
impl CurrencyCodeError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CurrencyCodeError::Unspecified => "UNSPECIFIED",
CurrencyCodeError::Unknown => "UNKNOWN",
CurrencyCodeError::Unsupported => "UNSUPPORTED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"UNSUPPORTED" => Some(Self::Unsupported),
_ => None,
}
}
}
}
/// Container for enum describing possible custom interest errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomInterestErrorEnum {}
/// Nested message and enum types in `CustomInterestErrorEnum`.
pub mod custom_interest_error_enum {
/// Enum describing possible custom interest errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CustomInterestError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Duplicate custom interest name ignoring case.
NameAlreadyUsed = 2,
/// In the remove custom interest member operation, both member ID and
/// pair \[type, parameter\] are not present.
CustomInterestMemberIdAndTypeParameterNotPresentInRemove = 3,
/// The pair of \[type, parameter\] does not exist.
TypeAndParameterNotFound = 4,
/// The pair of \[type, parameter\] already exists.
TypeAndParameterAlreadyExisted = 5,
/// Unsupported custom interest member type.
InvalidCustomInterestMemberType = 6,
/// Cannot remove a custom interest while it's still being targeted.
CannotRemoveWhileInUse = 7,
/// Cannot mutate custom interest type.
CannotChangeType = 8,
}
impl CustomInterestError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CustomInterestError::Unspecified => "UNSPECIFIED",
CustomInterestError::Unknown => "UNKNOWN",
CustomInterestError::NameAlreadyUsed => "NAME_ALREADY_USED",
CustomInterestError::CustomInterestMemberIdAndTypeParameterNotPresentInRemove => {
"CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE"
}
CustomInterestError::TypeAndParameterNotFound => {
"TYPE_AND_PARAMETER_NOT_FOUND"
}
CustomInterestError::TypeAndParameterAlreadyExisted => {
"TYPE_AND_PARAMETER_ALREADY_EXISTED"
}
CustomInterestError::InvalidCustomInterestMemberType => {
"INVALID_CUSTOM_INTEREST_MEMBER_TYPE"
}
CustomInterestError::CannotRemoveWhileInUse => {
"CANNOT_REMOVE_WHILE_IN_USE"
}
CustomInterestError::CannotChangeType => "CANNOT_CHANGE_TYPE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"NAME_ALREADY_USED" => Some(Self::NameAlreadyUsed),
"CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE" => {
Some(Self::CustomInterestMemberIdAndTypeParameterNotPresentInRemove)
}
"TYPE_AND_PARAMETER_NOT_FOUND" => Some(Self::TypeAndParameterNotFound),
"TYPE_AND_PARAMETER_ALREADY_EXISTED" => {
Some(Self::TypeAndParameterAlreadyExisted)
}
"INVALID_CUSTOM_INTEREST_MEMBER_TYPE" => {
Some(Self::InvalidCustomInterestMemberType)
}
"CANNOT_REMOVE_WHILE_IN_USE" => Some(Self::CannotRemoveWhileInUse),
"CANNOT_CHANGE_TYPE" => Some(Self::CannotChangeType),
_ => None,
}
}
}
}
/// Container for enum describing possible CustomerUserAccess errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomerUserAccessErrorEnum {}
/// Nested message and enum types in `CustomerUserAccessErrorEnum`.
pub mod customer_user_access_error_enum {
/// Enum describing possible customer user access errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CustomerUserAccessError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// There is no user associated with the user id specified.
InvalidUserId = 2,
/// Unable to remove the access between the user and customer.
RemovalDisallowed = 3,
/// Unable to add or update the access role as specified.
DisallowedAccessRole = 4,
/// The user can't remove itself from an active serving customer if it's the
/// last admin user and the customer doesn't have any owner manager
LastAdminUserOfServingCustomer = 5,
/// Last admin user cannot be removed from a manager.
LastAdminUserOfManager = 6,
}
impl CustomerUserAccessError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CustomerUserAccessError::Unspecified => "UNSPECIFIED",
CustomerUserAccessError::Unknown => "UNKNOWN",
CustomerUserAccessError::InvalidUserId => "INVALID_USER_ID",
CustomerUserAccessError::RemovalDisallowed => "REMOVAL_DISALLOWED",
CustomerUserAccessError::DisallowedAccessRole => "DISALLOWED_ACCESS_ROLE",
CustomerUserAccessError::LastAdminUserOfServingCustomer => {
"LAST_ADMIN_USER_OF_SERVING_CUSTOMER"
}
CustomerUserAccessError::LastAdminUserOfManager => {
"LAST_ADMIN_USER_OF_MANAGER"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_USER_ID" => Some(Self::InvalidUserId),
"REMOVAL_DISALLOWED" => Some(Self::RemovalDisallowed),
"DISALLOWED_ACCESS_ROLE" => Some(Self::DisallowedAccessRole),
"LAST_ADMIN_USER_OF_SERVING_CUSTOMER" => {
Some(Self::LastAdminUserOfServingCustomer)
}
"LAST_ADMIN_USER_OF_MANAGER" => Some(Self::LastAdminUserOfManager),
_ => None,
}
}
}
}
/// Container for enum describing possible customizer attribute errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomizerAttributeErrorEnum {}
/// Nested message and enum types in `CustomizerAttributeErrorEnum`.
pub mod customizer_attribute_error_enum {
/// Enum describing possible customizer attribute errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum CustomizerAttributeError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// CustomizerAttribute name matches that of another active
/// CustomizerAttribute.
DuplicateCustomizerAttributeName = 2,
}
impl CustomizerAttributeError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
CustomizerAttributeError::Unspecified => "UNSPECIFIED",
CustomizerAttributeError::Unknown => "UNKNOWN",
CustomizerAttributeError::DuplicateCustomizerAttributeName => {
"DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME" => {
Some(Self::DuplicateCustomizerAttributeName)
}
_ => None,
}
}
}
}
/// Container for enum describing possible function errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FunctionErrorEnum {}
/// Nested message and enum types in `FunctionErrorEnum`.
pub mod function_error_enum {
/// Enum describing possible function errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum FunctionError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The format of the function is not recognized as a supported function
/// format.
InvalidFunctionFormat = 2,
/// Operand data types do not match.
DataTypeMismatch = 3,
/// The operands cannot be used together in a conjunction.
InvalidConjunctionOperands = 4,
/// Invalid numer of Operands.
InvalidNumberOfOperands = 5,
/// Operand Type not supported.
InvalidOperandType = 6,
/// Operator not supported.
InvalidOperator = 7,
/// Request context type not supported.
InvalidRequestContextType = 8,
/// The matching function is not allowed for call placeholders
InvalidFunctionForCallPlaceholder = 9,
/// The matching function is not allowed for the specified placeholder
InvalidFunctionForPlaceholder = 10,
/// Invalid operand.
InvalidOperand = 11,
/// Missing value for the constant operand.
MissingConstantOperandValue = 12,
/// The value of the constant operand is invalid.
InvalidConstantOperandValue = 13,
/// Invalid function nesting.
InvalidNesting = 14,
/// The Feed ID was different from another Feed ID in the same function.
MultipleFeedIdsNotSupported = 15,
/// The matching function is invalid for use with a feed with a fixed schema.
InvalidFunctionForFeedWithFixedSchema = 16,
/// Invalid attribute name.
InvalidAttributeName = 17,
}
impl FunctionError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
FunctionError::Unspecified => "UNSPECIFIED",
FunctionError::Unknown => "UNKNOWN",
FunctionError::InvalidFunctionFormat => "INVALID_FUNCTION_FORMAT",
FunctionError::DataTypeMismatch => "DATA_TYPE_MISMATCH",
FunctionError::InvalidConjunctionOperands => {
"INVALID_CONJUNCTION_OPERANDS"
}
FunctionError::InvalidNumberOfOperands => "INVALID_NUMBER_OF_OPERANDS",
FunctionError::InvalidOperandType => "INVALID_OPERAND_TYPE",
FunctionError::InvalidOperator => "INVALID_OPERATOR",
FunctionError::InvalidRequestContextType => {
"INVALID_REQUEST_CONTEXT_TYPE"
}
FunctionError::InvalidFunctionForCallPlaceholder => {
"INVALID_FUNCTION_FOR_CALL_PLACEHOLDER"
}
FunctionError::InvalidFunctionForPlaceholder => {
"INVALID_FUNCTION_FOR_PLACEHOLDER"
}
FunctionError::InvalidOperand => "INVALID_OPERAND",
FunctionError::MissingConstantOperandValue => {
"MISSING_CONSTANT_OPERAND_VALUE"
}
FunctionError::InvalidConstantOperandValue => {
"INVALID_CONSTANT_OPERAND_VALUE"
}
FunctionError::InvalidNesting => "INVALID_NESTING",
FunctionError::MultipleFeedIdsNotSupported => {
"MULTIPLE_FEED_IDS_NOT_SUPPORTED"
}
FunctionError::InvalidFunctionForFeedWithFixedSchema => {
"INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA"
}
FunctionError::InvalidAttributeName => "INVALID_ATTRIBUTE_NAME",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_FUNCTION_FORMAT" => Some(Self::InvalidFunctionFormat),
"DATA_TYPE_MISMATCH" => Some(Self::DataTypeMismatch),
"INVALID_CONJUNCTION_OPERANDS" => Some(Self::InvalidConjunctionOperands),
"INVALID_NUMBER_OF_OPERANDS" => Some(Self::InvalidNumberOfOperands),
"INVALID_OPERAND_TYPE" => Some(Self::InvalidOperandType),
"INVALID_OPERATOR" => Some(Self::InvalidOperator),
"INVALID_REQUEST_CONTEXT_TYPE" => Some(Self::InvalidRequestContextType),
"INVALID_FUNCTION_FOR_CALL_PLACEHOLDER" => {
Some(Self::InvalidFunctionForCallPlaceholder)
}
"INVALID_FUNCTION_FOR_PLACEHOLDER" => {
Some(Self::InvalidFunctionForPlaceholder)
}
"INVALID_OPERAND" => Some(Self::InvalidOperand),
"MISSING_CONSTANT_OPERAND_VALUE" => {
Some(Self::MissingConstantOperandValue)
}
"INVALID_CONSTANT_OPERAND_VALUE" => {
Some(Self::InvalidConstantOperandValue)
}
"INVALID_NESTING" => Some(Self::InvalidNesting),
"MULTIPLE_FEED_IDS_NOT_SUPPORTED" => {
Some(Self::MultipleFeedIdsNotSupported)
}
"INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA" => {
Some(Self::InvalidFunctionForFeedWithFixedSchema)
}
"INVALID_ATTRIBUTE_NAME" => Some(Self::InvalidAttributeName),
_ => None,
}
}
}
}
/// Container for enum describing possible operation access denied errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct OperationAccessDeniedErrorEnum {}
/// Nested message and enum types in `OperationAccessDeniedErrorEnum`.
pub mod operation_access_denied_error_enum {
/// Enum describing possible operation access denied errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum OperationAccessDeniedError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Unauthorized invocation of a service's method (get, mutate, etc.)
ActionNotPermitted = 2,
/// Unauthorized CREATE operation in invoking a service's mutate method.
CreateOperationNotPermitted = 3,
/// Unauthorized REMOVE operation in invoking a service's mutate method.
RemoveOperationNotPermitted = 4,
/// Unauthorized UPDATE operation in invoking a service's mutate method.
UpdateOperationNotPermitted = 5,
/// A mutate action is not allowed on this resource, from this client.
MutateActionNotPermittedForClient = 6,
/// This operation is not permitted on this campaign type
OperationNotPermittedForCampaignType = 7,
/// A CREATE operation may not set status to REMOVED.
CreateAsRemovedNotPermitted = 8,
/// This operation is not allowed because the resource is removed.
OperationNotPermittedForRemovedResource = 9,
/// This operation is not permitted on this ad group type.
OperationNotPermittedForAdGroupType = 10,
/// The mutate is not allowed for this customer.
MutateNotPermittedForCustomer = 11,
}
impl OperationAccessDeniedError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
OperationAccessDeniedError::Unspecified => "UNSPECIFIED",
OperationAccessDeniedError::Unknown => "UNKNOWN",
OperationAccessDeniedError::ActionNotPermitted => "ACTION_NOT_PERMITTED",
OperationAccessDeniedError::CreateOperationNotPermitted => {
"CREATE_OPERATION_NOT_PERMITTED"
}
OperationAccessDeniedError::RemoveOperationNotPermitted => {
"REMOVE_OPERATION_NOT_PERMITTED"
}
OperationAccessDeniedError::UpdateOperationNotPermitted => {
"UPDATE_OPERATION_NOT_PERMITTED"
}
OperationAccessDeniedError::MutateActionNotPermittedForClient => {
"MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT"
}
OperationAccessDeniedError::OperationNotPermittedForCampaignType => {
"OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE"
}
OperationAccessDeniedError::CreateAsRemovedNotPermitted => {
"CREATE_AS_REMOVED_NOT_PERMITTED"
}
OperationAccessDeniedError::OperationNotPermittedForRemovedResource => {
"OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE"
}
OperationAccessDeniedError::OperationNotPermittedForAdGroupType => {
"OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE"
}
OperationAccessDeniedError::MutateNotPermittedForCustomer => {
"MUTATE_NOT_PERMITTED_FOR_CUSTOMER"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"ACTION_NOT_PERMITTED" => Some(Self::ActionNotPermitted),
"CREATE_OPERATION_NOT_PERMITTED" => {
Some(Self::CreateOperationNotPermitted)
}
"REMOVE_OPERATION_NOT_PERMITTED" => {
Some(Self::RemoveOperationNotPermitted)
}
"UPDATE_OPERATION_NOT_PERMITTED" => {
Some(Self::UpdateOperationNotPermitted)
}
"MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT" => {
Some(Self::MutateActionNotPermittedForClient)
}
"OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE" => {
Some(Self::OperationNotPermittedForCampaignType)
}
"CREATE_AS_REMOVED_NOT_PERMITTED" => {
Some(Self::CreateAsRemovedNotPermitted)
}
"OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE" => {
Some(Self::OperationNotPermittedForRemovedResource)
}
"OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE" => {
Some(Self::OperationNotPermittedForAdGroupType)
}
"MUTATE_NOT_PERMITTED_FOR_CUSTOMER" => {
Some(Self::MutateNotPermittedForCustomer)
}
_ => None,
}
}
}
}
/// Container for enum describing possible policy finding errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct PolicyFindingErrorEnum {}
/// Nested message and enum types in `PolicyFindingErrorEnum`.
pub mod policy_finding_error_enum {
/// Enum describing possible policy finding errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum PolicyFindingError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The resource has been disapproved since the policy summary includes
/// policy topics of type PROHIBITED.
PolicyFinding = 2,
/// The given policy topic does not exist.
PolicyTopicNotFound = 3,
}
impl PolicyFindingError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
PolicyFindingError::Unspecified => "UNSPECIFIED",
PolicyFindingError::Unknown => "UNKNOWN",
PolicyFindingError::PolicyFinding => "POLICY_FINDING",
PolicyFindingError::PolicyTopicNotFound => "POLICY_TOPIC_NOT_FOUND",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"POLICY_FINDING" => Some(Self::PolicyFinding),
"POLICY_TOPIC_NOT_FOUND" => Some(Self::PolicyTopicNotFound),
_ => None,
}
}
}
}
/// Container for enum describing possible query errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryErrorEnum {}
/// Nested message and enum types in `QueryErrorEnum`.
pub mod query_error_enum {
/// Enum describing possible query errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum QueryError {
/// Name unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Returned if all other query error reasons are not applicable.
QueryError = 50,
/// A condition used in the query references an invalid enum constant.
BadEnumConstant = 18,
/// Query contains an invalid escape sequence.
BadEscapeSequence = 7,
/// Field name is invalid.
BadFieldName = 12,
/// Limit value is invalid (for example, not a number)
BadLimitValue = 15,
/// Encountered number can not be parsed.
BadNumber = 5,
/// Invalid operator encountered.
BadOperator = 3,
/// Parameter unknown or not supported.
BadParameterName = 61,
/// Parameter have invalid value.
BadParameterValue = 62,
/// Invalid resource type was specified in the FROM clause.
BadResourceTypeInFromClause = 45,
/// Non-ASCII symbol encountered outside of strings.
BadSymbol = 2,
/// Value is invalid.
BadValue = 4,
/// Date filters fail to restrict date to a range smaller than 31 days.
/// Applicable if the query is segmented by date.
DateRangeTooWide = 36,
/// Filters on date/week/month/quarter have a start date after
/// end date.
DateRangeTooNarrow = 60,
/// Expected AND between values with BETWEEN operator.
ExpectedAnd = 30,
/// Expecting ORDER BY to have BY.
ExpectedBy = 14,
/// There was no dimension field selected.
ExpectedDimensionFieldInSelectClause = 37,
/// Missing filters on date related fields.
ExpectedFiltersOnDateRange = 55,
/// Missing FROM clause.
ExpectedFrom = 44,
/// The operator used in the conditions requires the value to be a list.
ExpectedList = 41,
/// Fields used in WHERE or ORDER BY clauses are missing from the SELECT
/// clause.
ExpectedReferencedFieldInSelectClause = 16,
/// SELECT is missing at the beginning of query.
ExpectedSelect = 13,
/// A list was passed as a value to a condition whose operator expects a
/// single value.
ExpectedSingleValue = 42,
/// Missing one or both values with BETWEEN operator.
ExpectedValueWithBetweenOperator = 29,
/// Invalid date format. Expected 'YYYY-MM-DD'.
InvalidDateFormat = 38,
/// Misaligned date value for the filter. The date should be the start of a
/// week/month/quarter if the filtered field is
/// segments.week/segments.month/segments.quarter.
MisalignedDateForFilter = 64,
/// Value passed was not a string when it should have been. For example, it
/// was a number or unquoted literal.
InvalidStringValue = 57,
/// A String value passed to the BETWEEN operator does not parse as a date.
InvalidValueWithBetweenOperator = 26,
/// The value passed to the DURING operator is not a Date range literal
InvalidValueWithDuringOperator = 22,
/// An invalid value was passed to the LIKE operator.
InvalidValueWithLikeOperator = 56,
/// An operator was provided that is inapplicable to the field being
/// filtered.
OperatorFieldMismatch = 35,
/// A Condition was found with an empty list.
ProhibitedEmptyListInCondition = 28,
/// A condition used in the query references an unsupported enum constant.
ProhibitedEnumConstant = 54,
/// Fields that are not allowed to be selected together were included in
/// the SELECT clause.
ProhibitedFieldCombinationInSelectClause = 31,
/// A field that is not orderable was included in the ORDER BY clause.
ProhibitedFieldInOrderByClause = 40,
/// A field that is not selectable was included in the SELECT clause.
ProhibitedFieldInSelectClause = 23,
/// A field that is not filterable was included in the WHERE clause.
ProhibitedFieldInWhereClause = 24,
/// Resource type specified in the FROM clause is not supported by this
/// service.
ProhibitedResourceTypeInFromClause = 43,
/// A field that comes from an incompatible resource was included in the
/// SELECT clause.
ProhibitedResourceTypeInSelectClause = 48,
/// A field that comes from an incompatible resource was included in the
/// WHERE clause.
ProhibitedResourceTypeInWhereClause = 58,
/// A metric incompatible with the main resource or other selected
/// segmenting resources was included in the SELECT or WHERE clause.
ProhibitedMetricInSelectOrWhereClause = 49,
/// A segment incompatible with the main resource or other selected
/// segmenting resources was included in the SELECT or WHERE clause.
ProhibitedSegmentInSelectOrWhereClause = 51,
/// A segment in the SELECT clause is incompatible with a metric in the
/// SELECT or WHERE clause.
ProhibitedSegmentWithMetricInSelectOrWhereClause = 53,
/// The value passed to the limit clause is too low.
LimitValueTooLow = 25,
/// Query has a string containing a newline character.
ProhibitedNewlineInString = 8,
/// List contains values of different types.
ProhibitedValueCombinationInList = 10,
/// The values passed to the BETWEEN operator are not of the same type.
ProhibitedValueCombinationWithBetweenOperator = 21,
/// Query contains unterminated string.
StringNotTerminated = 6,
/// Too many segments are specified in SELECT clause.
TooManySegments = 34,
/// Query is incomplete and cannot be parsed.
UnexpectedEndOfQuery = 9,
/// FROM clause cannot be specified in this query.
UnexpectedFromClause = 47,
/// Query contains one or more unrecognized fields.
UnrecognizedField = 32,
/// Query has an unexpected extra part.
UnexpectedInput = 11,
/// Metrics cannot be requested for a manager account. To retrieve metrics,
/// issue separate requests against each client account under the manager
/// account.
RequestedMetricsForManager = 59,
/// The number of values (right-hand-side operands) in a filter exceeds the
/// limit.
FilterHasTooManyValues = 63,
}
impl QueryError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
QueryError::Unspecified => "UNSPECIFIED",
QueryError::Unknown => "UNKNOWN",
QueryError::QueryError => "QUERY_ERROR",
QueryError::BadEnumConstant => "BAD_ENUM_CONSTANT",
QueryError::BadEscapeSequence => "BAD_ESCAPE_SEQUENCE",
QueryError::BadFieldName => "BAD_FIELD_NAME",
QueryError::BadLimitValue => "BAD_LIMIT_VALUE",
QueryError::BadNumber => "BAD_NUMBER",
QueryError::BadOperator => "BAD_OPERATOR",
QueryError::BadParameterName => "BAD_PARAMETER_NAME",
QueryError::BadParameterValue => "BAD_PARAMETER_VALUE",
QueryError::BadResourceTypeInFromClause => {
"BAD_RESOURCE_TYPE_IN_FROM_CLAUSE"
}
QueryError::BadSymbol => "BAD_SYMBOL",
QueryError::BadValue => "BAD_VALUE",
QueryError::DateRangeTooWide => "DATE_RANGE_TOO_WIDE",
QueryError::DateRangeTooNarrow => "DATE_RANGE_TOO_NARROW",
QueryError::ExpectedAnd => "EXPECTED_AND",
QueryError::ExpectedBy => "EXPECTED_BY",
QueryError::ExpectedDimensionFieldInSelectClause => {
"EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE"
}
QueryError::ExpectedFiltersOnDateRange => {
"EXPECTED_FILTERS_ON_DATE_RANGE"
}
QueryError::ExpectedFrom => "EXPECTED_FROM",
QueryError::ExpectedList => "EXPECTED_LIST",
QueryError::ExpectedReferencedFieldInSelectClause => {
"EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE"
}
QueryError::ExpectedSelect => "EXPECTED_SELECT",
QueryError::ExpectedSingleValue => "EXPECTED_SINGLE_VALUE",
QueryError::ExpectedValueWithBetweenOperator => {
"EXPECTED_VALUE_WITH_BETWEEN_OPERATOR"
}
QueryError::InvalidDateFormat => "INVALID_DATE_FORMAT",
QueryError::MisalignedDateForFilter => "MISALIGNED_DATE_FOR_FILTER",
QueryError::InvalidStringValue => "INVALID_STRING_VALUE",
QueryError::InvalidValueWithBetweenOperator => {
"INVALID_VALUE_WITH_BETWEEN_OPERATOR"
}
QueryError::InvalidValueWithDuringOperator => {
"INVALID_VALUE_WITH_DURING_OPERATOR"
}
QueryError::InvalidValueWithLikeOperator => {
"INVALID_VALUE_WITH_LIKE_OPERATOR"
}
QueryError::OperatorFieldMismatch => "OPERATOR_FIELD_MISMATCH",
QueryError::ProhibitedEmptyListInCondition => {
"PROHIBITED_EMPTY_LIST_IN_CONDITION"
}
QueryError::ProhibitedEnumConstant => "PROHIBITED_ENUM_CONSTANT",
QueryError::ProhibitedFieldCombinationInSelectClause => {
"PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE"
}
QueryError::ProhibitedFieldInOrderByClause => {
"PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE"
}
QueryError::ProhibitedFieldInSelectClause => {
"PROHIBITED_FIELD_IN_SELECT_CLAUSE"
}
QueryError::ProhibitedFieldInWhereClause => {
"PROHIBITED_FIELD_IN_WHERE_CLAUSE"
}
QueryError::ProhibitedResourceTypeInFromClause => {
"PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE"
}
QueryError::ProhibitedResourceTypeInSelectClause => {
"PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE"
}
QueryError::ProhibitedResourceTypeInWhereClause => {
"PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE"
}
QueryError::ProhibitedMetricInSelectOrWhereClause => {
"PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE"
}
QueryError::ProhibitedSegmentInSelectOrWhereClause => {
"PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE"
}
QueryError::ProhibitedSegmentWithMetricInSelectOrWhereClause => {
"PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE"
}
QueryError::LimitValueTooLow => "LIMIT_VALUE_TOO_LOW",
QueryError::ProhibitedNewlineInString => "PROHIBITED_NEWLINE_IN_STRING",
QueryError::ProhibitedValueCombinationInList => {
"PROHIBITED_VALUE_COMBINATION_IN_LIST"
}
QueryError::ProhibitedValueCombinationWithBetweenOperator => {
"PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR"
}
QueryError::StringNotTerminated => "STRING_NOT_TERMINATED",
QueryError::TooManySegments => "TOO_MANY_SEGMENTS",
QueryError::UnexpectedEndOfQuery => "UNEXPECTED_END_OF_QUERY",
QueryError::UnexpectedFromClause => "UNEXPECTED_FROM_CLAUSE",
QueryError::UnrecognizedField => "UNRECOGNIZED_FIELD",
QueryError::UnexpectedInput => "UNEXPECTED_INPUT",
QueryError::RequestedMetricsForManager => "REQUESTED_METRICS_FOR_MANAGER",
QueryError::FilterHasTooManyValues => "FILTER_HAS_TOO_MANY_VALUES",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"QUERY_ERROR" => Some(Self::QueryError),
"BAD_ENUM_CONSTANT" => Some(Self::BadEnumConstant),
"BAD_ESCAPE_SEQUENCE" => Some(Self::BadEscapeSequence),
"BAD_FIELD_NAME" => Some(Self::BadFieldName),
"BAD_LIMIT_VALUE" => Some(Self::BadLimitValue),
"BAD_NUMBER" => Some(Self::BadNumber),
"BAD_OPERATOR" => Some(Self::BadOperator),
"BAD_PARAMETER_NAME" => Some(Self::BadParameterName),
"BAD_PARAMETER_VALUE" => Some(Self::BadParameterValue),
"BAD_RESOURCE_TYPE_IN_FROM_CLAUSE" => {
Some(Self::BadResourceTypeInFromClause)
}
"BAD_SYMBOL" => Some(Self::BadSymbol),
"BAD_VALUE" => Some(Self::BadValue),
"DATE_RANGE_TOO_WIDE" => Some(Self::DateRangeTooWide),
"DATE_RANGE_TOO_NARROW" => Some(Self::DateRangeTooNarrow),
"EXPECTED_AND" => Some(Self::ExpectedAnd),
"EXPECTED_BY" => Some(Self::ExpectedBy),
"EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE" => {
Some(Self::ExpectedDimensionFieldInSelectClause)
}
"EXPECTED_FILTERS_ON_DATE_RANGE" => {
Some(Self::ExpectedFiltersOnDateRange)
}
"EXPECTED_FROM" => Some(Self::ExpectedFrom),
"EXPECTED_LIST" => Some(Self::ExpectedList),
"EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE" => {
Some(Self::ExpectedReferencedFieldInSelectClause)
}
"EXPECTED_SELECT" => Some(Self::ExpectedSelect),
"EXPECTED_SINGLE_VALUE" => Some(Self::ExpectedSingleValue),
"EXPECTED_VALUE_WITH_BETWEEN_OPERATOR" => {
Some(Self::ExpectedValueWithBetweenOperator)
}
"INVALID_DATE_FORMAT" => Some(Self::InvalidDateFormat),
"MISALIGNED_DATE_FOR_FILTER" => Some(Self::MisalignedDateForFilter),
"INVALID_STRING_VALUE" => Some(Self::InvalidStringValue),
"INVALID_VALUE_WITH_BETWEEN_OPERATOR" => {
Some(Self::InvalidValueWithBetweenOperator)
}
"INVALID_VALUE_WITH_DURING_OPERATOR" => {
Some(Self::InvalidValueWithDuringOperator)
}
"INVALID_VALUE_WITH_LIKE_OPERATOR" => {
Some(Self::InvalidValueWithLikeOperator)
}
"OPERATOR_FIELD_MISMATCH" => Some(Self::OperatorFieldMismatch),
"PROHIBITED_EMPTY_LIST_IN_CONDITION" => {
Some(Self::ProhibitedEmptyListInCondition)
}
"PROHIBITED_ENUM_CONSTANT" => Some(Self::ProhibitedEnumConstant),
"PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE" => {
Some(Self::ProhibitedFieldCombinationInSelectClause)
}
"PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE" => {
Some(Self::ProhibitedFieldInOrderByClause)
}
"PROHIBITED_FIELD_IN_SELECT_CLAUSE" => {
Some(Self::ProhibitedFieldInSelectClause)
}
"PROHIBITED_FIELD_IN_WHERE_CLAUSE" => {
Some(Self::ProhibitedFieldInWhereClause)
}
"PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE" => {
Some(Self::ProhibitedResourceTypeInFromClause)
}
"PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE" => {
Some(Self::ProhibitedResourceTypeInSelectClause)
}
"PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE" => {
Some(Self::ProhibitedResourceTypeInWhereClause)
}
"PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE" => {
Some(Self::ProhibitedMetricInSelectOrWhereClause)
}
"PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE" => {
Some(Self::ProhibitedSegmentInSelectOrWhereClause)
}
"PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE" => {
Some(Self::ProhibitedSegmentWithMetricInSelectOrWhereClause)
}
"LIMIT_VALUE_TOO_LOW" => Some(Self::LimitValueTooLow),
"PROHIBITED_NEWLINE_IN_STRING" => Some(Self::ProhibitedNewlineInString),
"PROHIBITED_VALUE_COMBINATION_IN_LIST" => {
Some(Self::ProhibitedValueCombinationInList)
}
"PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR" => {
Some(Self::ProhibitedValueCombinationWithBetweenOperator)
}
"STRING_NOT_TERMINATED" => Some(Self::StringNotTerminated),
"TOO_MANY_SEGMENTS" => Some(Self::TooManySegments),
"UNEXPECTED_END_OF_QUERY" => Some(Self::UnexpectedEndOfQuery),
"UNEXPECTED_FROM_CLAUSE" => Some(Self::UnexpectedFromClause),
"UNRECOGNIZED_FIELD" => Some(Self::UnrecognizedField),
"UNEXPECTED_INPUT" => Some(Self::UnexpectedInput),
"REQUESTED_METRICS_FOR_MANAGER" => Some(Self::RequestedMetricsForManager),
"FILTER_HAS_TOO_MANY_VALUES" => Some(Self::FilterHasTooManyValues),
_ => None,
}
}
}
}
/// Container for enum describing possible search term insight errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct SearchTermInsightErrorEnum {}
/// Nested message and enum types in `SearchTermInsightErrorEnum`.
pub mod search_term_insight_error_enum {
/// Enum describing possible search term insight errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum SearchTermInsightError {
/// Name unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// Search term insights cannot be filtered by metrics when segmenting.
FilteringNotAllowedWithSegments = 2,
/// Search term insights cannot have a LIMIT when segmenting.
LimitNotAllowedWithSegments = 3,
/// A selected field requires another field to be selected with it.
MissingFieldInSelectClause = 4,
/// A selected field/resource requires filtering by a single resource.
RequiresFilterBySingleResource = 5,
/// Search term insights cannot be sorted when segmenting.
SortingNotAllowedWithSegments = 6,
/// Search term insights cannot have a summary row when segmenting.
SummaryRowNotAllowedWithSegments = 7,
}
impl SearchTermInsightError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
SearchTermInsightError::Unspecified => "UNSPECIFIED",
SearchTermInsightError::Unknown => "UNKNOWN",
SearchTermInsightError::FilteringNotAllowedWithSegments => {
"FILTERING_NOT_ALLOWED_WITH_SEGMENTS"
}
SearchTermInsightError::LimitNotAllowedWithSegments => {
"LIMIT_NOT_ALLOWED_WITH_SEGMENTS"
}
SearchTermInsightError::MissingFieldInSelectClause => {
"MISSING_FIELD_IN_SELECT_CLAUSE"
}
SearchTermInsightError::RequiresFilterBySingleResource => {
"REQUIRES_FILTER_BY_SINGLE_RESOURCE"
}
SearchTermInsightError::SortingNotAllowedWithSegments => {
"SORTING_NOT_ALLOWED_WITH_SEGMENTS"
}
SearchTermInsightError::SummaryRowNotAllowedWithSegments => {
"SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"FILTERING_NOT_ALLOWED_WITH_SEGMENTS" => {
Some(Self::FilteringNotAllowedWithSegments)
}
"LIMIT_NOT_ALLOWED_WITH_SEGMENTS" => {
Some(Self::LimitNotAllowedWithSegments)
}
"MISSING_FIELD_IN_SELECT_CLAUSE" => {
Some(Self::MissingFieldInSelectClause)
}
"REQUIRES_FILTER_BY_SINGLE_RESOURCE" => {
Some(Self::RequiresFilterBySingleResource)
}
"SORTING_NOT_ALLOWED_WITH_SEGMENTS" => {
Some(Self::SortingNotAllowedWithSegments)
}
"SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS" => {
Some(Self::SummaryRowNotAllowedWithSegments)
}
_ => None,
}
}
}
}
/// Container for enum describing possible third party app analytics link errors.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ThirdPartyAppAnalyticsLinkErrorEnum {}
/// Nested message and enum types in `ThirdPartyAppAnalyticsLinkErrorEnum`.
pub mod third_party_app_analytics_link_error_enum {
/// Enum describing possible third party app analytics link errors.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum ThirdPartyAppAnalyticsLinkError {
/// Enum unspecified.
Unspecified = 0,
/// The received error code is not known in this version.
Unknown = 1,
/// The provided analytics provider ID is invalid.
InvalidAnalyticsProviderId = 2,
/// The provided mobile app ID is invalid.
InvalidMobileAppId = 3,
/// The mobile app corresponding to the provided app ID is not
/// active/enabled.
MobileAppIsNotEnabled = 4,
/// Regenerating shareable link ID is only allowed on active links
CannotRegenerateShareableLinkIdForRemovedLink = 5,
}
impl ThirdPartyAppAnalyticsLinkError {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ThirdPartyAppAnalyticsLinkError::Unspecified => "UNSPECIFIED",
ThirdPartyAppAnalyticsLinkError::Unknown => "UNKNOWN",
ThirdPartyAppAnalyticsLinkError::InvalidAnalyticsProviderId => {
"INVALID_ANALYTICS_PROVIDER_ID"
}
ThirdPartyAppAnalyticsLinkError::InvalidMobileAppId => {
"INVALID_MOBILE_APP_ID"
}
ThirdPartyAppAnalyticsLinkError::MobileAppIsNotEnabled => {
"MOBILE_APP_IS_NOT_ENABLED"
}
ThirdPartyAppAnalyticsLinkError::CannotRegenerateShareableLinkIdForRemovedLink => {
"CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK"
}
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"INVALID_ANALYTICS_PROVIDER_ID" => Some(Self::InvalidAnalyticsProviderId),
"INVALID_MOBILE_APP_ID" => Some(Self::InvalidMobileAppId),
"MOBILE_APP_IS_NOT_ENABLED" => Some(Self::MobileAppIsNotEnabled),
"CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK" => {
Some(Self::CannotRegenerateShareableLinkIdForRemovedLink)
}
_ => None,
}
}
}
}
/// Describes how a GoogleAds API call failed. It's returned inside
/// google.rpc.Status.details when a call fails.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GoogleAdsFailure {
/// The list of errors that occurred.
#[prost(message, repeated, tag = "1")]
pub errors: ::prost::alloc::vec::Vec<GoogleAdsError>,
/// The unique ID of the request that is used for debugging purposes.
#[prost(string, tag = "2")]
pub request_id: ::prost::alloc::string::String,
}
/// GoogleAds-specific error.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GoogleAdsError {
/// An enum value that indicates which error occurred.
#[prost(message, optional, tag = "1")]
pub error_code: ::core::option::Option<ErrorCode>,
/// A human-readable description of the error.
#[prost(string, tag = "2")]
pub message: ::prost::alloc::string::String,
/// The value that triggered the error.
#[prost(message, optional, tag = "3")]
pub trigger: ::core::option::Option<super::common::Value>,
/// Describes the part of the request proto that caused the error.
#[prost(message, optional, tag = "4")]
pub location: ::core::option::Option<ErrorLocation>,
/// Additional error details, which are returned by certain error codes. Most
/// error codes do not include details.
#[prost(message, optional, tag = "5")]
pub details: ::core::option::Option<ErrorDetails>,
}
/// The error reason represented by type and enum.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ErrorCode {
/// The list of error enums
#[prost(
oneof = "error_code::ErrorCode",
tags = "1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 161, 18, 159, 19, 21, 24, 25, 107, 149, 155, 148, 153, 154, 152, 26, 29, 166, 160, 31, 165, 109, 32, 150, 158, 90, 151, 33, 34, 35, 36, 37, 38, 39, 40, 110, 42, 116, 86, 162, 44, 45, 46, 47, 48, 49, 58, 180, 51, 52, 53, 54, 55, 56, 57, 117, 59, 60, 61, 62, 63, 64, 65, 115, 143, 111, 145, 146, 66, 67, 68, 70, 71, 72, 132, 74, 133, 76, 77, 78, 136, 79, 80, 81, 82, 83, 84, 87, 88, 91, 92, 93, 94, 96, 97, 98, 100, 101, 102, 103, 140, 141, 104, 105, 112, 114, 118, 119, 137, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 134, 135, 138, 139, 164, 174, 147, 156, 167, 169, 170, 171, 176, 177, 178, 179"
)]
pub error_code: ::core::option::Option<error_code::ErrorCode>,
}
/// Nested message and enum types in `ErrorCode`.
pub mod error_code {
/// The list of error enums
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum ErrorCode {
/// An error caused by the request
#[prost(enumeration = "super::request_error_enum::RequestError", tag = "1")]
RequestError(i32),
/// An error with a Bidding Strategy mutate.
#[prost(
enumeration = "super::bidding_strategy_error_enum::BiddingStrategyError",
tag = "2"
)]
BiddingStrategyError(i32),
/// An error with a URL field mutate.
#[prost(enumeration = "super::url_field_error_enum::UrlFieldError", tag = "3")]
UrlFieldError(i32),
/// An error with a list operation.
#[prost(
enumeration = "super::list_operation_error_enum::ListOperationError",
tag = "4"
)]
ListOperationError(i32),
/// An error with an AWQL query
#[prost(enumeration = "super::query_error_enum::QueryError", tag = "5")]
QueryError(i32),
/// An error with a mutate
#[prost(enumeration = "super::mutate_error_enum::MutateError", tag = "7")]
MutateError(i32),
/// An error with a field mask
#[prost(enumeration = "super::field_mask_error_enum::FieldMaskError", tag = "8")]
FieldMaskError(i32),
/// An error encountered when trying to authorize a user.
#[prost(
enumeration = "super::authorization_error_enum::AuthorizationError",
tag = "9"
)]
AuthorizationError(i32),
/// An unexpected server-side error.
#[prost(enumeration = "super::internal_error_enum::InternalError", tag = "10")]
InternalError(i32),
/// An error with the amount of quota remaining.
#[prost(enumeration = "super::quota_error_enum::QuotaError", tag = "11")]
QuotaError(i32),
/// An error with an Ad Group Ad mutate.
#[prost(enumeration = "super::ad_error_enum::AdError", tag = "12")]
AdError(i32),
/// An error with an Ad Group mutate.
#[prost(enumeration = "super::ad_group_error_enum::AdGroupError", tag = "13")]
AdGroupError(i32),
/// An error with a Campaign Budget mutate.
#[prost(
enumeration = "super::campaign_budget_error_enum::CampaignBudgetError",
tag = "14"
)]
CampaignBudgetError(i32),
/// An error with a Campaign mutate.
#[prost(enumeration = "super::campaign_error_enum::CampaignError", tag = "15")]
CampaignError(i32),
/// Indicates failure to properly authenticate user.
#[prost(
enumeration = "super::authentication_error_enum::AuthenticationError",
tag = "17"
)]
AuthenticationError(i32),
/// The reasons for the ad group criterion customizer error.
#[prost(
enumeration = "super::ad_group_criterion_customizer_error_enum::AdGroupCriterionCustomizerError",
tag = "161"
)]
AdGroupCriterionCustomizerError(i32),
/// Indicates failure to properly authenticate user.
#[prost(
enumeration = "super::ad_group_criterion_error_enum::AdGroupCriterionError",
tag = "18"
)]
AdGroupCriterionError(i32),
/// The reasons for the ad group customizer error.
#[prost(
enumeration = "super::ad_group_customizer_error_enum::AdGroupCustomizerError",
tag = "159"
)]
AdGroupCustomizerError(i32),
/// The reasons for the ad customizer error
#[prost(
enumeration = "super::ad_customizer_error_enum::AdCustomizerError",
tag = "19"
)]
AdCustomizerError(i32),
/// The reasons for the ad group ad error
#[prost(
enumeration = "super::ad_group_ad_error_enum::AdGroupAdError",
tag = "21"
)]
AdGroupAdError(i32),
/// The reasons for the ad sharing error
#[prost(
enumeration = "super::ad_sharing_error_enum::AdSharingError",
tag = "24"
)]
AdSharingError(i32),
/// The reasons for the adx error
#[prost(enumeration = "super::adx_error_enum::AdxError", tag = "25")]
AdxError(i32),
/// The reasons for the asset error
#[prost(enumeration = "super::asset_error_enum::AssetError", tag = "107")]
AssetError(i32),
/// The reasons for the asset group asset error
#[prost(
enumeration = "super::asset_group_asset_error_enum::AssetGroupAssetError",
tag = "149"
)]
AssetGroupAssetError(i32),
/// The reasons for the asset group listing group filter error
#[prost(
enumeration = "super::asset_group_listing_group_filter_error_enum::AssetGroupListingGroupFilterError",
tag = "155"
)]
AssetGroupListingGroupFilterError(i32),
/// The reasons for the asset group error
#[prost(
enumeration = "super::asset_group_error_enum::AssetGroupError",
tag = "148"
)]
AssetGroupError(i32),
/// The reasons for the asset set asset error
#[prost(
enumeration = "super::asset_set_asset_error_enum::AssetSetAssetError",
tag = "153"
)]
AssetSetAssetError(i32),
/// The reasons for the asset set link error
#[prost(
enumeration = "super::asset_set_link_error_enum::AssetSetLinkError",
tag = "154"
)]
AssetSetLinkError(i32),
/// The reasons for the asset set error
#[prost(enumeration = "super::asset_set_error_enum::AssetSetError", tag = "152")]
AssetSetError(i32),
/// The reasons for the bidding errors
#[prost(enumeration = "super::bidding_error_enum::BiddingError", tag = "26")]
BiddingError(i32),
/// The reasons for the campaign criterion error
#[prost(
enumeration = "super::campaign_criterion_error_enum::CampaignCriterionError",
tag = "29"
)]
CampaignCriterionError(i32),
/// The reasons for the campaign conversion goal error
#[prost(
enumeration = "super::campaign_conversion_goal_error_enum::CampaignConversionGoalError",
tag = "166"
)]
CampaignConversionGoalError(i32),
/// The reasons for the campaign customizer error.
#[prost(
enumeration = "super::campaign_customizer_error_enum::CampaignCustomizerError",
tag = "160"
)]
CampaignCustomizerError(i32),
/// The reasons for the collection size error
#[prost(
enumeration = "super::collection_size_error_enum::CollectionSizeError",
tag = "31"
)]
CollectionSizeError(i32),
/// The reasons for the conversion goal campaign config error
#[prost(
enumeration = "super::conversion_goal_campaign_config_error_enum::ConversionGoalCampaignConfigError",
tag = "165"
)]
ConversionGoalCampaignConfigError(i32),
/// The reasons for the country code error
#[prost(
enumeration = "super::country_code_error_enum::CountryCodeError",
tag = "109"
)]
CountryCodeError(i32),
/// The reasons for the criterion error
#[prost(enumeration = "super::criterion_error_enum::CriterionError", tag = "32")]
CriterionError(i32),
/// The reasons for the custom conversion goal error
#[prost(
enumeration = "super::custom_conversion_goal_error_enum::CustomConversionGoalError",
tag = "150"
)]
CustomConversionGoalError(i32),
/// The reasons for the customer customizer error.
#[prost(
enumeration = "super::customer_customizer_error_enum::CustomerCustomizerError",
tag = "158"
)]
CustomerCustomizerError(i32),
/// The reasons for the customer error
#[prost(enumeration = "super::customer_error_enum::CustomerError", tag = "90")]
CustomerError(i32),
/// The reasons for the customizer attribute error.
#[prost(
enumeration = "super::customizer_attribute_error_enum::CustomizerAttributeError",
tag = "151"
)]
CustomizerAttributeError(i32),
/// The reasons for the date error
#[prost(enumeration = "super::date_error_enum::DateError", tag = "33")]
DateError(i32),
/// The reasons for the date range error
#[prost(
enumeration = "super::date_range_error_enum::DateRangeError",
tag = "34"
)]
DateRangeError(i32),
/// The reasons for the distinct error
#[prost(enumeration = "super::distinct_error_enum::DistinctError", tag = "35")]
DistinctError(i32),
/// The reasons for the feed attribute reference error
#[prost(
enumeration = "super::feed_attribute_reference_error_enum::FeedAttributeReferenceError",
tag = "36"
)]
FeedAttributeReferenceError(i32),
/// The reasons for the function error
#[prost(enumeration = "super::function_error_enum::FunctionError", tag = "37")]
FunctionError(i32),
/// The reasons for the function parsing error
#[prost(
enumeration = "super::function_parsing_error_enum::FunctionParsingError",
tag = "38"
)]
FunctionParsingError(i32),
/// The reasons for the id error
#[prost(enumeration = "super::id_error_enum::IdError", tag = "39")]
IdError(i32),
/// The reasons for the image error
#[prost(enumeration = "super::image_error_enum::ImageError", tag = "40")]
ImageError(i32),
/// The reasons for the language code error
#[prost(
enumeration = "super::language_code_error_enum::LanguageCodeError",
tag = "110"
)]
LanguageCodeError(i32),
/// The reasons for the media bundle error
#[prost(
enumeration = "super::media_bundle_error_enum::MediaBundleError",
tag = "42"
)]
MediaBundleError(i32),
/// The reasons for media uploading errors.
#[prost(
enumeration = "super::media_upload_error_enum::MediaUploadError",
tag = "116"
)]
MediaUploadError(i32),
/// The reasons for the media file error
#[prost(
enumeration = "super::media_file_error_enum::MediaFileError",
tag = "86"
)]
MediaFileError(i32),
/// Container for enum describing possible merchant center errors.
#[prost(
enumeration = "super::merchant_center_error_enum::MerchantCenterError",
tag = "162"
)]
MerchantCenterError(i32),
/// The reasons for the multiplier error
#[prost(
enumeration = "super::multiplier_error_enum::MultiplierError",
tag = "44"
)]
MultiplierError(i32),
/// The reasons for the new resource creation error
#[prost(
enumeration = "super::new_resource_creation_error_enum::NewResourceCreationError",
tag = "45"
)]
NewResourceCreationError(i32),
/// The reasons for the not empty error
#[prost(enumeration = "super::not_empty_error_enum::NotEmptyError", tag = "46")]
NotEmptyError(i32),
/// The reasons for the null error
#[prost(enumeration = "super::null_error_enum::NullError", tag = "47")]
NullError(i32),
/// The reasons for the operator error
#[prost(enumeration = "super::operator_error_enum::OperatorError", tag = "48")]
OperatorError(i32),
/// The reasons for the range error
#[prost(enumeration = "super::range_error_enum::RangeError", tag = "49")]
RangeError(i32),
/// The reasons for error in applying a recommendation
#[prost(
enumeration = "super::recommendation_error_enum::RecommendationError",
tag = "58"
)]
RecommendationError(i32),
/// The reasons for the recommendation subscription error.
#[prost(
enumeration = "super::recommendation_subscription_error_enum::RecommendationSubscriptionError",
tag = "180"
)]
RecommendationSubscriptionError(i32),
/// The reasons for the region code error
#[prost(
enumeration = "super::region_code_error_enum::RegionCodeError",
tag = "51"
)]
RegionCodeError(i32),
/// The reasons for the setting error
#[prost(enumeration = "super::setting_error_enum::SettingError", tag = "52")]
SettingError(i32),
/// The reasons for the string format error
#[prost(
enumeration = "super::string_format_error_enum::StringFormatError",
tag = "53"
)]
StringFormatError(i32),
/// The reasons for the string length error
#[prost(
enumeration = "super::string_length_error_enum::StringLengthError",
tag = "54"
)]
StringLengthError(i32),
/// The reasons for the operation access denied error
#[prost(
enumeration = "super::operation_access_denied_error_enum::OperationAccessDeniedError",
tag = "55"
)]
OperationAccessDeniedError(i32),
/// The reasons for the resource access denied error
#[prost(
enumeration = "super::resource_access_denied_error_enum::ResourceAccessDeniedError",
tag = "56"
)]
ResourceAccessDeniedError(i32),
/// The reasons for the resource count limit exceeded error
#[prost(
enumeration = "super::resource_count_limit_exceeded_error_enum::ResourceCountLimitExceededError",
tag = "57"
)]
ResourceCountLimitExceededError(i32),
/// The reasons for YouTube video registration errors.
#[prost(
enumeration = "super::youtube_video_registration_error_enum::YoutubeVideoRegistrationError",
tag = "117"
)]
YoutubeVideoRegistrationError(i32),
/// The reasons for the ad group bid modifier error
#[prost(
enumeration = "super::ad_group_bid_modifier_error_enum::AdGroupBidModifierError",
tag = "59"
)]
AdGroupBidModifierError(i32),
/// The reasons for the context error
#[prost(enumeration = "super::context_error_enum::ContextError", tag = "60")]
ContextError(i32),
/// The reasons for the field error
#[prost(enumeration = "super::field_error_enum::FieldError", tag = "61")]
FieldError(i32),
/// The reasons for the shared set error
#[prost(
enumeration = "super::shared_set_error_enum::SharedSetError",
tag = "62"
)]
SharedSetError(i32),
/// The reasons for the shared criterion error
#[prost(
enumeration = "super::shared_criterion_error_enum::SharedCriterionError",
tag = "63"
)]
SharedCriterionError(i32),
/// The reasons for the campaign shared set error
#[prost(
enumeration = "super::campaign_shared_set_error_enum::CampaignSharedSetError",
tag = "64"
)]
CampaignSharedSetError(i32),
/// The reasons for the conversion action error
#[prost(
enumeration = "super::conversion_action_error_enum::ConversionActionError",
tag = "65"
)]
ConversionActionError(i32),
/// The reasons for the conversion adjustment upload error
#[prost(
enumeration = "super::conversion_adjustment_upload_error_enum::ConversionAdjustmentUploadError",
tag = "115"
)]
ConversionAdjustmentUploadError(i32),
/// The reasons for the conversion custom variable error
#[prost(
enumeration = "super::conversion_custom_variable_error_enum::ConversionCustomVariableError",
tag = "143"
)]
ConversionCustomVariableError(i32),
/// The reasons for the conversion upload error
#[prost(
enumeration = "super::conversion_upload_error_enum::ConversionUploadError",
tag = "111"
)]
ConversionUploadError(i32),
/// The reasons for the conversion value rule error
#[prost(
enumeration = "super::conversion_value_rule_error_enum::ConversionValueRuleError",
tag = "145"
)]
ConversionValueRuleError(i32),
/// The reasons for the conversion value rule set error
#[prost(
enumeration = "super::conversion_value_rule_set_error_enum::ConversionValueRuleSetError",
tag = "146"
)]
ConversionValueRuleSetError(i32),
/// The reasons for the header error.
#[prost(enumeration = "super::header_error_enum::HeaderError", tag = "66")]
HeaderError(i32),
/// The reasons for the database error.
#[prost(enumeration = "super::database_error_enum::DatabaseError", tag = "67")]
DatabaseError(i32),
/// The reasons for the policy finding error.
#[prost(
enumeration = "super::policy_finding_error_enum::PolicyFindingError",
tag = "68"
)]
PolicyFindingError(i32),
/// The reason for enum error.
#[prost(enumeration = "super::enum_error_enum::EnumError", tag = "70")]
EnumError(i32),
/// The reason for keyword plan error.
#[prost(
enumeration = "super::keyword_plan_error_enum::KeywordPlanError",
tag = "71"
)]
KeywordPlanError(i32),
/// The reason for keyword plan campaign error.
#[prost(
enumeration = "super::keyword_plan_campaign_error_enum::KeywordPlanCampaignError",
tag = "72"
)]
KeywordPlanCampaignError(i32),
/// The reason for keyword plan campaign keyword error.
#[prost(
enumeration = "super::keyword_plan_campaign_keyword_error_enum::KeywordPlanCampaignKeywordError",
tag = "132"
)]
KeywordPlanCampaignKeywordError(i32),
/// The reason for keyword plan ad group error.
#[prost(
enumeration = "super::keyword_plan_ad_group_error_enum::KeywordPlanAdGroupError",
tag = "74"
)]
KeywordPlanAdGroupError(i32),
/// The reason for keyword plan ad group keyword error.
#[prost(
enumeration = "super::keyword_plan_ad_group_keyword_error_enum::KeywordPlanAdGroupKeywordError",
tag = "133"
)]
KeywordPlanAdGroupKeywordError(i32),
/// The reason for keyword idea error.
#[prost(
enumeration = "super::keyword_plan_idea_error_enum::KeywordPlanIdeaError",
tag = "76"
)]
KeywordPlanIdeaError(i32),
/// The reasons for account budget proposal errors.
#[prost(
enumeration = "super::account_budget_proposal_error_enum::AccountBudgetProposalError",
tag = "77"
)]
AccountBudgetProposalError(i32),
/// The reasons for the user list error
#[prost(enumeration = "super::user_list_error_enum::UserListError", tag = "78")]
UserListError(i32),
/// The reasons for the change event error
#[prost(
enumeration = "super::change_event_error_enum::ChangeEventError",
tag = "136"
)]
ChangeEventError(i32),
/// The reasons for the change status error
#[prost(
enumeration = "super::change_status_error_enum::ChangeStatusError",
tag = "79"
)]
ChangeStatusError(i32),
/// The reasons for the feed error
#[prost(enumeration = "super::feed_error_enum::FeedError", tag = "80")]
FeedError(i32),
/// The reasons for the geo target constant suggestion error.
#[prost(
enumeration = "super::geo_target_constant_suggestion_error_enum::GeoTargetConstantSuggestionError",
tag = "81"
)]
GeoTargetConstantSuggestionError(i32),
/// The reasons for the campaign draft error
#[prost(
enumeration = "super::campaign_draft_error_enum::CampaignDraftError",
tag = "82"
)]
CampaignDraftError(i32),
/// The reasons for the feed item error
#[prost(enumeration = "super::feed_item_error_enum::FeedItemError", tag = "83")]
FeedItemError(i32),
/// The reason for the label error.
#[prost(enumeration = "super::label_error_enum::LabelError", tag = "84")]
LabelError(i32),
/// The reasons for the billing setup error
#[prost(
enumeration = "super::billing_setup_error_enum::BillingSetupError",
tag = "87"
)]
BillingSetupError(i32),
/// The reasons for the customer client link error
#[prost(
enumeration = "super::customer_client_link_error_enum::CustomerClientLinkError",
tag = "88"
)]
CustomerClientLinkError(i32),
/// The reasons for the customer manager link error
#[prost(
enumeration = "super::customer_manager_link_error_enum::CustomerManagerLinkError",
tag = "91"
)]
CustomerManagerLinkError(i32),
/// The reasons for the feed mapping error
#[prost(
enumeration = "super::feed_mapping_error_enum::FeedMappingError",
tag = "92"
)]
FeedMappingError(i32),
/// The reasons for the customer feed error
#[prost(
enumeration = "super::customer_feed_error_enum::CustomerFeedError",
tag = "93"
)]
CustomerFeedError(i32),
/// The reasons for the ad group feed error
#[prost(
enumeration = "super::ad_group_feed_error_enum::AdGroupFeedError",
tag = "94"
)]
AdGroupFeedError(i32),
/// The reasons for the campaign feed error
#[prost(
enumeration = "super::campaign_feed_error_enum::CampaignFeedError",
tag = "96"
)]
CampaignFeedError(i32),
/// The reasons for the custom interest error
#[prost(
enumeration = "super::custom_interest_error_enum::CustomInterestError",
tag = "97"
)]
CustomInterestError(i32),
/// The reasons for the campaign experiment error
#[prost(
enumeration = "super::campaign_experiment_error_enum::CampaignExperimentError",
tag = "98"
)]
CampaignExperimentError(i32),
/// The reasons for the extension feed item error
#[prost(
enumeration = "super::extension_feed_item_error_enum::ExtensionFeedItemError",
tag = "100"
)]
ExtensionFeedItemError(i32),
/// The reasons for the ad parameter error
#[prost(
enumeration = "super::ad_parameter_error_enum::AdParameterError",
tag = "101"
)]
AdParameterError(i32),
/// The reasons for the feed item validation error
#[prost(
enumeration = "super::feed_item_validation_error_enum::FeedItemValidationError",
tag = "102"
)]
FeedItemValidationError(i32),
/// The reasons for the extension setting error
#[prost(
enumeration = "super::extension_setting_error_enum::ExtensionSettingError",
tag = "103"
)]
ExtensionSettingError(i32),
/// The reasons for the feed item set error
#[prost(
enumeration = "super::feed_item_set_error_enum::FeedItemSetError",
tag = "140"
)]
FeedItemSetError(i32),
/// The reasons for the feed item set link error
#[prost(
enumeration = "super::feed_item_set_link_error_enum::FeedItemSetLinkError",
tag = "141"
)]
FeedItemSetLinkError(i32),
/// The reasons for the feed item target error
#[prost(
enumeration = "super::feed_item_target_error_enum::FeedItemTargetError",
tag = "104"
)]
FeedItemTargetError(i32),
/// The reasons for the policy violation error
#[prost(
enumeration = "super::policy_violation_error_enum::PolicyViolationError",
tag = "105"
)]
PolicyViolationError(i32),
/// The reasons for the mutate job error
#[prost(
enumeration = "super::partial_failure_error_enum::PartialFailureError",
tag = "112"
)]
PartialFailureError(i32),
/// The reasons for the policy validation parameter error
#[prost(
enumeration = "super::policy_validation_parameter_error_enum::PolicyValidationParameterError",
tag = "114"
)]
PolicyValidationParameterError(i32),
/// The reasons for the size limit error
#[prost(
enumeration = "super::size_limit_error_enum::SizeLimitError",
tag = "118"
)]
SizeLimitError(i32),
/// The reasons for the offline user data job error.
#[prost(
enumeration = "super::offline_user_data_job_error_enum::OfflineUserDataJobError",
tag = "119"
)]
OfflineUserDataJobError(i32),
/// The reasons for the not allowlisted error
#[prost(
enumeration = "super::not_allowlisted_error_enum::NotAllowlistedError",
tag = "137"
)]
NotAllowlistedError(i32),
/// The reasons for the manager link error
#[prost(
enumeration = "super::manager_link_error_enum::ManagerLinkError",
tag = "121"
)]
ManagerLinkError(i32),
/// The reasons for the currency code error
#[prost(
enumeration = "super::currency_code_error_enum::CurrencyCodeError",
tag = "122"
)]
CurrencyCodeError(i32),
/// The reasons for the experiment error
#[prost(
enumeration = "super::experiment_error_enum::ExperimentError",
tag = "123"
)]
ExperimentError(i32),
/// The reasons for the access invitation error
#[prost(
enumeration = "super::access_invitation_error_enum::AccessInvitationError",
tag = "124"
)]
AccessInvitationError(i32),
/// The reasons for the reach plan error
#[prost(
enumeration = "super::reach_plan_error_enum::ReachPlanError",
tag = "125"
)]
ReachPlanError(i32),
/// The reasons for the invoice error
#[prost(enumeration = "super::invoice_error_enum::InvoiceError", tag = "126")]
InvoiceError(i32),
/// The reasons for errors in payments accounts service
#[prost(
enumeration = "super::payments_account_error_enum::PaymentsAccountError",
tag = "127"
)]
PaymentsAccountError(i32),
/// The reasons for the time zone error
#[prost(enumeration = "super::time_zone_error_enum::TimeZoneError", tag = "128")]
TimeZoneError(i32),
/// The reasons for the asset link error
#[prost(
enumeration = "super::asset_link_error_enum::AssetLinkError",
tag = "129"
)]
AssetLinkError(i32),
/// The reasons for the user data error.
#[prost(enumeration = "super::user_data_error_enum::UserDataError", tag = "130")]
UserDataError(i32),
/// The reasons for the batch job error
#[prost(enumeration = "super::batch_job_error_enum::BatchJobError", tag = "131")]
BatchJobError(i32),
/// The reasons for the account link status change error
#[prost(
enumeration = "super::account_link_error_enum::AccountLinkError",
tag = "134"
)]
AccountLinkError(i32),
/// The reasons for the third party app analytics link mutate error
#[prost(
enumeration = "super::third_party_app_analytics_link_error_enum::ThirdPartyAppAnalyticsLinkError",
tag = "135"
)]
ThirdPartyAppAnalyticsLinkError(i32),
/// The reasons for the customer user access mutate error
#[prost(
enumeration = "super::customer_user_access_error_enum::CustomerUserAccessError",
tag = "138"
)]
CustomerUserAccessError(i32),
/// The reasons for the custom audience error
#[prost(
enumeration = "super::custom_audience_error_enum::CustomAudienceError",
tag = "139"
)]
CustomAudienceError(i32),
/// The reasons for the audience error
#[prost(enumeration = "super::audience_error_enum::AudienceError", tag = "164")]
AudienceError(i32),
/// The reasons for the Search term insight error
#[prost(
enumeration = "super::search_term_insight_error_enum::SearchTermInsightError",
tag = "174"
)]
SearchTermInsightError(i32),
/// The reasons for the Smart campaign error
#[prost(
enumeration = "super::smart_campaign_error_enum::SmartCampaignError",
tag = "147"
)]
SmartCampaignError(i32),
/// The reasons for the experiment arm error
#[prost(
enumeration = "super::experiment_arm_error_enum::ExperimentArmError",
tag = "156"
)]
ExperimentArmError(i32),
/// The reasons for the Audience Insights error
#[prost(
enumeration = "super::audience_insights_error_enum::AudienceInsightsError",
tag = "167"
)]
AudienceInsightsError(i32),
/// The reasons for the product link error
#[prost(
enumeration = "super::product_link_error_enum::ProductLinkError",
tag = "169"
)]
ProductLinkError(i32),
/// The reasons for the customer SK Ad network conversion value schema error
#[prost(
enumeration = "super::customer_sk_ad_network_conversion_value_schema_error_enum::CustomerSkAdNetworkConversionValueSchemaError",
tag = "170"
)]
CustomerSkAdNetworkConversionValueSchemaError(i32),
/// The reasons for the currency errors.
#[prost(enumeration = "super::currency_error_enum::CurrencyError", tag = "171")]
CurrencyError(i32),
/// The reasons for the asset group hint error
#[prost(
enumeration = "super::asset_group_signal_error_enum::AssetGroupSignalError",
tag = "176"
)]
AssetGroupSignalError(i32),
/// The reasons for the product link invitation error
#[prost(
enumeration = "super::product_link_invitation_error_enum::ProductLinkInvitationError",
tag = "177"
)]
ProductLinkInvitationError(i32),
/// The reasons for the customer lifecycle goal error
#[prost(
enumeration = "super::customer_lifecycle_goal_error_enum::CustomerLifecycleGoalError",
tag = "178"
)]
CustomerLifecycleGoalError(i32),
/// The reasons for the campaign lifecycle goal error
#[prost(
enumeration = "super::campaign_lifecycle_goal_error_enum::CampaignLifecycleGoalError",
tag = "179"
)]
CampaignLifecycleGoalError(i32),
}
}
/// Describes the part of the request proto that caused the error.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ErrorLocation {
/// A field path that indicates which field was invalid in the request.
#[prost(message, repeated, tag = "2")]
pub field_path_elements: ::prost::alloc::vec::Vec<error_location::FieldPathElement>,
}
/// Nested message and enum types in `ErrorLocation`.
pub mod error_location {
/// A part of a field path.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FieldPathElement {
/// The name of a field or a oneof
#[prost(string, tag = "1")]
pub field_name: ::prost::alloc::string::String,
/// If field_name is a repeated field, this is the element that failed
#[prost(int32, optional, tag = "3")]
pub index: ::core::option::Option<i32>,
}
}
/// Additional error details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ErrorDetails {
/// The error code that should have been returned, but wasn't. This is used
/// when the error code is not published in the client specified version.
#[prost(string, tag = "1")]
pub unpublished_error_code: ::prost::alloc::string::String,
/// Describes an ad policy violation.
#[prost(message, optional, tag = "2")]
pub policy_violation_details: ::core::option::Option<PolicyViolationDetails>,
/// Describes policy violation findings.
#[prost(message, optional, tag = "3")]
pub policy_finding_details: ::core::option::Option<PolicyFindingDetails>,
/// Details on the quota error, including the scope (account or developer), the
/// rate bucket name and the retry delay.
#[prost(message, optional, tag = "4")]
pub quota_error_details: ::core::option::Option<QuotaErrorDetails>,
/// Details for a resource count limit exceeded error.
#[prost(message, optional, tag = "5")]
pub resource_count_details: ::core::option::Option<ResourceCountDetails>,
}
/// Error returned as part of a mutate response.
/// This error indicates single policy violation by some text
/// in one of the fields.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PolicyViolationDetails {
/// Human readable description of policy violation.
#[prost(string, tag = "2")]
pub external_policy_description: ::prost::alloc::string::String,
/// Unique identifier for this violation.
/// If policy is exemptible, this key may be used to request exemption.
#[prost(message, optional, tag = "4")]
pub key: ::core::option::Option<super::common::PolicyViolationKey>,
/// Human readable name of the policy.
#[prost(string, tag = "5")]
pub external_policy_name: ::prost::alloc::string::String,
/// Whether user can file an exemption request for this violation.
#[prost(bool, tag = "6")]
pub is_exemptible: bool,
}
/// Error returned as part of a mutate response.
/// This error indicates one or more policy findings in the fields of a
/// resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PolicyFindingDetails {
/// The list of policy topics for the resource. Contains the PROHIBITED or
/// FULLY_LIMITED policy topic entries that prevented the resource from being
/// saved (among any other entries the resource may also have).
#[prost(message, repeated, tag = "1")]
pub policy_topic_entries: ::prost::alloc::vec::Vec<super::common::PolicyTopicEntry>,
}
/// Additional quota error details when there is QuotaError.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuotaErrorDetails {
/// The rate scope of the quota limit.
#[prost(enumeration = "quota_error_details::QuotaRateScope", tag = "1")]
pub rate_scope: i32,
/// The high level description of the quota bucket.
/// Examples are "Get requests for standard access" or "Requests per account".
#[prost(string, tag = "2")]
pub rate_name: ::prost::alloc::string::String,
/// Backoff period that customers should wait before sending next request.
#[prost(message, optional, tag = "3")]
pub retry_delay: ::core::option::Option<::prost_types::Duration>,
}
/// Nested message and enum types in `QuotaErrorDetails`.
pub mod quota_error_details {
/// Enum of possible scopes that quota buckets belong to.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum QuotaRateScope {
/// Unspecified enum
Unspecified = 0,
/// Used for return value only. Represents value unknown in this version.
Unknown = 1,
/// Per customer account quota
Account = 2,
/// Per project or DevToken quota
Developer = 3,
}
impl QuotaRateScope {
/// String value of the enum field names used in the ProtoBuf definition.
///
/// The values are not transformed in any way and thus are considered stable
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
QuotaRateScope::Unspecified => "UNSPECIFIED",
QuotaRateScope::Unknown => "UNKNOWN",
QuotaRateScope::Account => "ACCOUNT",
QuotaRateScope::Developer => "DEVELOPER",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"UNKNOWN" => Some(Self::Unknown),
"ACCOUNT" => Some(Self::Account),
"DEVELOPER" => Some(Self::Developer),
_ => None,
}
}
}
}
/// Error details returned when an resource count limit was exceeded.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourceCountDetails {
/// The ID of the resource whose limit was exceeded.
/// External customer ID if the limit is for a customer.
#[prost(string, tag = "1")]
pub enclosing_id: ::prost::alloc::string::String,
/// The name of the resource (Customer, Campaign etc.) whose limit was
/// exceeded.
#[prost(string, tag = "5")]
pub enclosing_resource: ::prost::alloc::string::String,
/// The limit which was exceeded.
#[prost(int32, tag = "2")]
pub limit: i32,
/// The resource limit type which was exceeded.
#[prost(
enumeration = "super::enums::resource_limit_type_enum::ResourceLimitType",
tag = "3"
)]
pub limit_type: i32,
/// The count of existing entities.
#[prost(int32, tag = "4")]
pub existing_count: i32,
}