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
// This file is @generated by prost-build.
/// An account-level budget. It contains information about the budget itself,
/// as well as the most recently approved changes to the budget and proposed
/// changes that are pending approval. The proposed changes that are pending
/// approval, if any, are found in 'pending_proposal'. Effective details about
/// the budget are found in fields prefixed 'approved_', 'adjusted_' and those
/// without a prefix. Since some effective details may differ from what the user
/// had originally requested (for example, spending limit), these differences are
/// juxtaposed through 'proposed_', 'approved_', and possibly 'adjusted_' fields.
///
/// This resource is mutated using AccountBudgetProposal and cannot be mutated
/// directly. A budget may have at most one pending proposal at any given time.
/// It is read through pending_proposal.
///
/// Once approved, a budget may be subject to adjustments, such as credit
/// adjustments. Adjustments create differences between the 'approved' and
/// 'adjusted' fields, which would otherwise be identical.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AccountBudget {
/// Output only. The resource name of the account-level budget.
/// AccountBudget resource names have the form:
///
/// `customers/{customer_id}/accountBudgets/{account_budget_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the account-level budget.
#[prost(int64, optional, tag = "23")]
pub id: ::core::option::Option<i64>,
/// Output only. The resource name of the billing setup associated with this
/// account-level budget. BillingSetup resource names have the form:
///
/// `customers/{customer_id}/billingSetups/{billing_setup_id}`
#[prost(string, optional, tag = "24")]
pub billing_setup: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The status of this account-level budget.
#[prost(
enumeration = "super::enums::account_budget_status_enum::AccountBudgetStatus",
tag = "4"
)]
pub status: i32,
/// Output only. The name of the account-level budget.
#[prost(string, optional, tag = "25")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The proposed start time of the account-level budget in
/// yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed,
/// this is the time of request.
#[prost(string, optional, tag = "26")]
pub proposed_start_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The approved start time of the account-level budget in
/// yyyy-MM-dd HH:mm:ss format.
///
/// For example, if a new budget is approved after the proposed start time,
/// the approved start time is the time of approval.
#[prost(string, optional, tag = "27")]
pub approved_start_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The total adjustments amount.
///
/// An example of an adjustment is courtesy credits.
#[prost(int64, tag = "33")]
pub total_adjustments_micros: i64,
/// Output only. The value of Ads that have been served, in micros.
///
/// This includes overdelivery costs, in which case a credit might be
/// automatically applied to the budget (see total_adjustments_micros).
#[prost(int64, tag = "34")]
pub amount_served_micros: i64,
/// Output only. A purchase order number is a value that helps users reference
/// this budget in their monthly invoices.
#[prost(string, optional, tag = "35")]
pub purchase_order_number: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Notes associated with the budget.
#[prost(string, optional, tag = "36")]
pub notes: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The pending proposal to modify this budget, if applicable.
#[prost(message, optional, tag = "22")]
pub pending_proposal: ::core::option::Option<
account_budget::PendingAccountBudgetProposal,
>,
/// The proposed end time of the account-level budget.
#[prost(oneof = "account_budget::ProposedEndTime", tags = "28, 9")]
pub proposed_end_time: ::core::option::Option<account_budget::ProposedEndTime>,
/// The approved end time of the account-level budget.
///
/// For example, if a budget's end time is updated and the proposal is approved
/// after the proposed end time, the approved end time is the time of approval.
#[prost(oneof = "account_budget::ApprovedEndTime", tags = "29, 11")]
pub approved_end_time: ::core::option::Option<account_budget::ApprovedEndTime>,
/// The proposed spending limit.
#[prost(oneof = "account_budget::ProposedSpendingLimit", tags = "30, 13")]
pub proposed_spending_limit: ::core::option::Option<
account_budget::ProposedSpendingLimit,
>,
/// The approved spending limit.
///
/// For example, if the amount already spent by the account exceeds the
/// proposed spending limit at the time the proposal is approved, the approved
/// spending limit is set to the amount already spent.
#[prost(oneof = "account_budget::ApprovedSpendingLimit", tags = "31, 15")]
pub approved_spending_limit: ::core::option::Option<
account_budget::ApprovedSpendingLimit,
>,
/// The spending limit after adjustments have been applied. Adjustments are
/// stored in total_adjustments_micros.
///
/// This value has the final say on how much the account is allowed to spend.
#[prost(oneof = "account_budget::AdjustedSpendingLimit", tags = "32, 17")]
pub adjusted_spending_limit: ::core::option::Option<
account_budget::AdjustedSpendingLimit,
>,
}
/// Nested message and enum types in `AccountBudget`.
pub mod account_budget {
/// A pending proposal associated with the enclosing account-level budget,
/// if applicable.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PendingAccountBudgetProposal {
/// Output only. The resource name of the proposal.
/// AccountBudgetProposal resource names have the form:
///
/// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
#[prost(string, optional, tag = "12")]
pub account_budget_proposal: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. The type of this proposal, for example, END to end the
/// budget associated with this proposal.
#[prost(
enumeration = "super::super::enums::account_budget_proposal_type_enum::AccountBudgetProposalType",
tag = "2"
)]
pub proposal_type: i32,
/// Output only. The name to assign to the account-level budget.
#[prost(string, optional, tag = "13")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The start time in yyyy-MM-dd HH:mm:ss format.
#[prost(string, optional, tag = "14")]
pub start_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. A purchase order number is a value that helps users
/// reference this budget in their monthly invoices.
#[prost(string, optional, tag = "17")]
pub purchase_order_number: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. Notes associated with this budget.
#[prost(string, optional, tag = "18")]
pub notes: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The time when this account-level budget proposal was
/// created. Formatted as yyyy-MM-dd HH:mm:ss.
#[prost(string, optional, tag = "19")]
pub creation_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// The end time of the account-level budget.
#[prost(oneof = "pending_account_budget_proposal::EndTime", tags = "15, 6")]
pub end_time: ::core::option::Option<pending_account_budget_proposal::EndTime>,
/// The spending limit.
#[prost(
oneof = "pending_account_budget_proposal::SpendingLimit",
tags = "16, 8"
)]
pub spending_limit: ::core::option::Option<
pending_account_budget_proposal::SpendingLimit,
>,
}
/// Nested message and enum types in `PendingAccountBudgetProposal`.
pub mod pending_account_budget_proposal {
/// The end time of the account-level budget.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum EndTime {
/// Output only. The end time in yyyy-MM-dd HH:mm:ss format.
#[prost(string, tag = "15")]
EndDateTime(::prost::alloc::string::String),
/// Output only. The end time as a well-defined type, for example, FOREVER.
#[prost(
enumeration = "super::super::super::enums::time_type_enum::TimeType",
tag = "6"
)]
EndTimeType(i32),
}
/// The spending limit.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum SpendingLimit {
/// Output only. The spending limit in micros. One million is equivalent
/// to one unit.
#[prost(int64, tag = "16")]
SpendingLimitMicros(i64),
/// Output only. The spending limit as a well-defined type, for example,
/// INFINITE.
#[prost(
enumeration = "super::super::super::enums::spending_limit_type_enum::SpendingLimitType",
tag = "8"
)]
SpendingLimitType(i32),
}
}
/// The proposed end time of the account-level budget.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum ProposedEndTime {
/// Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format.
#[prost(string, tag = "28")]
ProposedEndDateTime(::prost::alloc::string::String),
/// Output only. The proposed end time as a well-defined type, for example,
/// FOREVER.
#[prost(
enumeration = "super::super::enums::time_type_enum::TimeType",
tag = "9"
)]
ProposedEndTimeType(i32),
}
/// The approved end time of the account-level budget.
///
/// For example, if a budget's end time is updated and the proposal is approved
/// after the proposed end time, the approved end time is the time of approval.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum ApprovedEndTime {
/// Output only. The approved end time in yyyy-MM-dd HH:mm:ss format.
#[prost(string, tag = "29")]
ApprovedEndDateTime(::prost::alloc::string::String),
/// Output only. The approved end time as a well-defined type, for example,
/// FOREVER.
#[prost(
enumeration = "super::super::enums::time_type_enum::TimeType",
tag = "11"
)]
ApprovedEndTimeType(i32),
}
/// The proposed spending limit.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum ProposedSpendingLimit {
/// Output only. The proposed spending limit in micros. One million is
/// equivalent to one unit.
#[prost(int64, tag = "30")]
ProposedSpendingLimitMicros(i64),
/// Output only. The proposed spending limit as a well-defined type, for
/// example, INFINITE.
#[prost(
enumeration = "super::super::enums::spending_limit_type_enum::SpendingLimitType",
tag = "13"
)]
ProposedSpendingLimitType(i32),
}
/// The approved spending limit.
///
/// For example, if the amount already spent by the account exceeds the
/// proposed spending limit at the time the proposal is approved, the approved
/// spending limit is set to the amount already spent.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum ApprovedSpendingLimit {
/// Output only. The approved spending limit in micros. One million is
/// equivalent to one unit. This will only be populated if the proposed
/// spending limit is finite, and will always be greater than or equal to the
/// proposed spending limit.
#[prost(int64, tag = "31")]
ApprovedSpendingLimitMicros(i64),
/// Output only. The approved spending limit as a well-defined type, for
/// example, INFINITE. This will only be populated if the approved spending
/// limit is INFINITE.
#[prost(
enumeration = "super::super::enums::spending_limit_type_enum::SpendingLimitType",
tag = "15"
)]
ApprovedSpendingLimitType(i32),
}
/// The spending limit after adjustments have been applied. Adjustments are
/// stored in total_adjustments_micros.
///
/// This value has the final say on how much the account is allowed to spend.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum AdjustedSpendingLimit {
/// Output only. The adjusted spending limit in micros. One million is
/// equivalent to one unit.
///
/// If the approved spending limit is finite, the adjusted
/// spending limit may vary depending on the types of adjustments applied
/// to this budget, if applicable.
///
/// The different kinds of adjustments are described here:
/// <https://support.google.com/google-ads/answer/1704323>
///
/// For example, a debit adjustment reduces how much the account is
/// allowed to spend.
#[prost(int64, tag = "32")]
AdjustedSpendingLimitMicros(i64),
/// Output only. The adjusted spending limit as a well-defined type, for
/// example, INFINITE. This will only be populated if the adjusted spending
/// limit is INFINITE, which is guaranteed to be true if the approved
/// spending limit is INFINITE.
#[prost(
enumeration = "super::super::enums::spending_limit_type_enum::SpendingLimitType",
tag = "17"
)]
AdjustedSpendingLimitType(i32),
}
}
/// Describes the status of returned resource. ChangeStatus could have up to 3
/// minutes delay to reflect a new change.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChangeStatus {
/// Output only. The resource name of the change status.
/// Change status resource names have the form:
///
/// `customers/{customer_id}/changeStatus/{change_status_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Time at which the most recent change has occurred on this
/// resource.
#[prost(string, optional, tag = "24")]
pub last_change_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Represents the type of the changed resource. This dictates
/// what fields will be set. For example, for AD_GROUP, campaign and ad_group
/// fields will be set.
#[prost(
enumeration = "super::enums::change_status_resource_type_enum::ChangeStatusResourceType",
tag = "4"
)]
pub resource_type: i32,
/// Output only. The Campaign affected by this change.
#[prost(string, optional, tag = "17")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The AdGroup affected by this change.
#[prost(string, optional, tag = "18")]
pub ad_group: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Represents the status of the changed resource.
#[prost(
enumeration = "super::enums::change_status_operation_enum::ChangeStatusOperation",
tag = "8"
)]
pub resource_status: i32,
/// Output only. The AdGroupAd affected by this change.
#[prost(string, optional, tag = "25")]
pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The AdGroupCriterion affected by this change.
#[prost(string, optional, tag = "26")]
pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The CampaignCriterion affected by this change.
#[prost(string, optional, tag = "27")]
pub campaign_criterion: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The Feed affected by this change.
#[prost(string, optional, tag = "28")]
pub feed: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The FeedItem affected by this change.
#[prost(string, optional, tag = "29")]
pub feed_item: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The AdGroupFeed affected by this change.
#[prost(string, optional, tag = "30")]
pub ad_group_feed: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The CampaignFeed affected by this change.
#[prost(string, optional, tag = "31")]
pub campaign_feed: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The AdGroupBidModifier affected by this change.
#[prost(string, optional, tag = "32")]
pub ad_group_bid_modifier: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The SharedSet affected by this change.
#[prost(string, tag = "33")]
pub shared_set: ::prost::alloc::string::String,
/// Output only. The CampaignSharedSet affected by this change.
#[prost(string, tag = "34")]
pub campaign_shared_set: ::prost::alloc::string::String,
/// Output only. The Asset affected by this change.
#[prost(string, tag = "35")]
pub asset: ::prost::alloc::string::String,
/// Output only. The CustomerAsset affected by this change.
#[prost(string, tag = "36")]
pub customer_asset: ::prost::alloc::string::String,
/// Output only. The CampaignAsset affected by this change.
#[prost(string, tag = "37")]
pub campaign_asset: ::prost::alloc::string::String,
/// Output only. The AdGroupAsset affected by this change.
#[prost(string, tag = "38")]
pub ad_group_asset: ::prost::alloc::string::String,
/// Output only. The CombinedAudience affected by this change.
#[prost(string, tag = "40")]
pub combined_audience: ::prost::alloc::string::String,
}
/// A detailed demographic: a particular interest-based vertical to be targeted
/// to reach users based on long-term life facts.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DetailedDemographic {
/// Output only. The resource name of the detailed demographic.
/// Detailed demographic resource names have the form:
///
/// `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the detailed demographic.
#[prost(int64, tag = "2")]
pub id: i64,
/// Output only. The name of the detailed demographic. For example,"Highest
/// Level of Educational Attainment"
#[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String,
/// Output only. The parent of the detailed_demographic.
#[prost(string, tag = "4")]
pub parent: ::prost::alloc::string::String,
/// Output only. True if the detailed demographic is launched to all channels
/// and locales.
#[prost(bool, tag = "5")]
pub launched_to_all: bool,
/// Output only. Availability information of the detailed demographic.
#[prost(message, repeated, tag = "6")]
pub availabilities: ::prost::alloc::vec::Vec<
super::common::CriterionCategoryAvailability,
>,
}
/// A paid organic search term view providing a view of search stats across
/// ads and organic listings aggregated by search term at the ad group level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaidOrganicSearchTermView {
/// Output only. The resource name of the search term view.
/// Search term view resource names have the form:
///
/// `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~
/// {ad_group_id}~{URL-base64 search term}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The search term.
#[prost(string, optional, tag = "3")]
pub search_term: ::core::option::Option<::prost::alloc::string::String>,
}
/// AssetGroupAsset is the link between an asset and an asset group.
/// Adding an AssetGroupAsset links an asset with an asset group.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetGroupAsset {
/// Immutable. The resource name of the asset group asset.
/// Asset group asset resource name have the form:
///
/// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The asset group which this asset group asset is linking.
#[prost(string, tag = "2")]
pub asset_group: ::prost::alloc::string::String,
/// Immutable. The asset which this asset group asset is linking.
#[prost(string, tag = "3")]
pub asset: ::prost::alloc::string::String,
/// The description of the placement of the asset within the asset group. For
/// example: HEADLINE, YOUTUBE_VIDEO etc
#[prost(
enumeration = "super::enums::asset_field_type_enum::AssetFieldType",
tag = "4"
)]
pub field_type: i32,
/// The status of the link between an asset and asset group.
#[prost(
enumeration = "super::enums::asset_link_status_enum::AssetLinkStatus",
tag = "5"
)]
pub status: i32,
/// Output only. Provides the PrimaryStatus of this asset link.
/// Primary status is meant essentially to differentiate between the plain
/// "status" field, which has advertiser set values of enabled, paused, or
/// removed. The primary status takes into account other signals (for assets
/// its mainly policy and quality approvals) to come up with a more
/// comprehensive status to indicate its serving state.
#[prost(
enumeration = "super::enums::asset_link_primary_status_enum::AssetLinkPrimaryStatus",
tag = "8"
)]
pub primary_status: i32,
/// Output only. Provides a list of reasons for why an asset is not serving or
/// not serving at full capacity.
#[prost(
enumeration = "super::enums::asset_link_primary_status_reason_enum::AssetLinkPrimaryStatusReason",
repeated,
packed = "false",
tag = "9"
)]
pub primary_status_reasons: ::prost::alloc::vec::Vec<i32>,
/// Output only. Provides the details of the primary status and its associated
/// reasons.
#[prost(message, repeated, tag = "10")]
pub primary_status_details: ::prost::alloc::vec::Vec<
super::common::AssetLinkPrimaryStatusDetails,
>,
/// Output only. The performance of this asset group asset.
#[prost(
enumeration = "super::enums::asset_performance_label_enum::AssetPerformanceLabel",
tag = "6"
)]
pub performance_label: i32,
/// Output only. The policy information for this asset group asset.
#[prost(message, optional, tag = "7")]
pub policy_summary: ::core::option::Option<super::common::PolicySummary>,
/// Output only. Source of the asset group asset.
#[prost(enumeration = "super::enums::asset_source_enum::AssetSource", tag = "11")]
pub source: i32,
}
/// An ad group.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroup {
/// Immutable. The resource name of the ad group.
/// Ad group resource names have the form:
///
/// `customers/{customer_id}/adGroups/{ad_group_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the ad group.
#[prost(int64, optional, tag = "34")]
pub id: ::core::option::Option<i64>,
/// The name of the ad group.
///
/// This field is required and should not be empty when creating new ad
/// groups.
///
/// It must contain fewer than 255 UTF-8 full-width characters.
///
/// It must not contain any null (code point 0x0), NL line feed
/// (code point 0xA) or carriage return (code point 0xD) characters.
#[prost(string, optional, tag = "35")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// The status of the ad group.
#[prost(
enumeration = "super::enums::ad_group_status_enum::AdGroupStatus",
tag = "5"
)]
pub status: i32,
/// Immutable. The type of the ad group.
#[prost(enumeration = "super::enums::ad_group_type_enum::AdGroupType", tag = "12")]
pub r#type: i32,
/// The ad rotation mode of the ad group.
#[prost(
enumeration = "super::enums::ad_group_ad_rotation_mode_enum::AdGroupAdRotationMode",
tag = "22"
)]
pub ad_rotation_mode: i32,
/// Output only. For draft or experiment ad groups, this field is the resource
/// name of the base ad group from which this ad group was created. If a draft
/// or experiment ad group does not have a base ad group, then this field is
/// null.
///
/// For base ad groups, this field equals the ad group resource name.
///
/// This field is read-only.
#[prost(string, optional, tag = "36")]
pub base_ad_group: ::core::option::Option<::prost::alloc::string::String>,
/// The URL template for constructing a tracking URL.
#[prost(string, optional, tag = "37")]
pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>,
/// The list of mappings used to substitute custom parameter tags in a
/// `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
#[prost(message, repeated, tag = "6")]
pub url_custom_parameters: ::prost::alloc::vec::Vec<super::common::CustomParameter>,
/// Immutable. The campaign to which the ad group belongs.
#[prost(string, optional, tag = "38")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
/// The maximum CPC (cost-per-click) bid.
#[prost(int64, optional, tag = "39")]
pub cpc_bid_micros: ::core::option::Option<i64>,
/// Output only. Value will be same as that of the CPC (cost-per-click) bid
/// value when the bidding strategy is one of manual cpc, enhanced cpc, page
/// one promoted or target outrank share, otherwise the value will be null.
#[prost(int64, optional, tag = "57")]
pub effective_cpc_bid_micros: ::core::option::Option<i64>,
/// The maximum CPM (cost-per-thousand viewable impressions) bid.
#[prost(int64, optional, tag = "40")]
pub cpm_bid_micros: ::core::option::Option<i64>,
/// The target CPA (cost-per-acquisition). If the ad group's campaign
/// bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa
/// field set), then this field overrides the target CPA specified in the
/// campaign's bidding strategy.
/// Otherwise, this value is ignored.
#[prost(int64, optional, tag = "41")]
pub target_cpa_micros: ::core::option::Option<i64>,
/// The CPV (cost-per-view) bid.
#[prost(int64, optional, tag = "42")]
pub cpv_bid_micros: ::core::option::Option<i64>,
/// Average amount in micros that the advertiser is willing to pay for every
/// thousand times the ad is shown.
#[prost(int64, optional, tag = "43")]
pub target_cpm_micros: ::core::option::Option<i64>,
/// The target ROAS (return-on-ad-spend) override. If the ad group's campaign
/// bidding strategy is TargetRoas or MaximizeConversionValue (with its
/// target_roas field set), then this field overrides the target ROAS specified
/// in the campaign's bidding strategy.
/// Otherwise, this value is ignored.
#[prost(double, optional, tag = "44")]
pub target_roas: ::core::option::Option<f64>,
/// The percent cpc bid amount, expressed as a fraction of the advertised price
/// for some good or service. The valid range for the fraction is [0,1) and the
/// value stored here is 1,000,000 * \[fraction\].
#[prost(int64, optional, tag = "45")]
pub percent_cpc_bid_micros: ::core::option::Option<i64>,
/// True if optimized targeting is enabled. Optimized Targeting is the
/// replacement for Audience Expansion.
#[prost(bool, tag = "59")]
pub optimized_targeting_enabled: bool,
/// Allows advertisers to specify a targeting dimension on which to place
/// absolute bids. This is only applicable for campaigns that target only the
/// display network and not search.
#[prost(
enumeration = "super::enums::targeting_dimension_enum::TargetingDimension",
tag = "23"
)]
pub display_custom_bid_dimension: i32,
/// URL template for appending params to Final URL.
#[prost(string, optional, tag = "46")]
pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>,
/// Setting for targeting related features.
#[prost(message, optional, tag = "25")]
pub targeting_setting: ::core::option::Option<super::common::TargetingSetting>,
/// Immutable. Setting for audience related features.
#[prost(message, optional, tag = "56")]
pub audience_setting: ::core::option::Option<ad_group::AudienceSetting>,
/// Output only. The effective target CPA (cost-per-acquisition).
/// This field is read-only.
#[prost(int64, optional, tag = "47")]
pub effective_target_cpa_micros: ::core::option::Option<i64>,
/// Output only. Source of the effective target CPA.
/// This field is read-only.
#[prost(
enumeration = "super::enums::bidding_source_enum::BiddingSource",
tag = "29"
)]
pub effective_target_cpa_source: i32,
/// Output only. The effective target ROAS (return-on-ad-spend).
/// This field is read-only.
#[prost(double, optional, tag = "48")]
pub effective_target_roas: ::core::option::Option<f64>,
/// Output only. Source of the effective target ROAS.
/// This field is read-only.
#[prost(
enumeration = "super::enums::bidding_source_enum::BiddingSource",
tag = "32"
)]
pub effective_target_roas_source: i32,
/// Output only. The resource names of labels attached to this ad group.
#[prost(string, repeated, tag = "49")]
pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The asset field types that should be excluded from this ad group. Asset
/// links with these field types will not be inherited by this ad group from
/// the upper levels.
#[prost(
enumeration = "super::enums::asset_field_type_enum::AssetFieldType",
repeated,
tag = "54"
)]
pub excluded_parent_asset_field_types: ::prost::alloc::vec::Vec<i32>,
/// The asset set types that should be excluded from this ad group. Asset set
/// links with these types will not be inherited by this ad group from the
/// upper levels.
/// Location group types (GMB_DYNAMIC_LOCATION_GROUP,
/// CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
/// LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
/// location group asset sets are not allowed to be linked to this ad group,
/// and all Location Extension (LE) and Affiliate Location Extensions (ALE)
/// will not be served under this ad group.
/// Only LOCATION_SYNC is currently supported.
#[prost(
enumeration = "super::enums::asset_set_type_enum::AssetSetType",
repeated,
tag = "58"
)]
pub excluded_parent_asset_set_types: ::prost::alloc::vec::Vec<i32>,
}
/// Nested message and enum types in `AdGroup`.
pub mod ad_group {
/// Settings for the audience targeting.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AudienceSetting {
/// Immutable. If true, this ad group uses an Audience resource for audience
/// targeting. If false, this ad group may use audience segment criteria
/// instead.
#[prost(bool, tag = "1")]
pub use_audience_grouped: bool,
}
}
/// An account-level budget proposal.
///
/// All fields prefixed with 'proposed' may not necessarily be applied directly.
/// For example, proposed spending limits may be adjusted before their
/// application. This is true if the 'proposed' field has an 'approved'
/// counterpart, for example, spending limits.
///
/// Note that the proposal type (proposal_type) changes which fields are
/// required and which must remain empty.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AccountBudgetProposal {
/// Immutable. The resource name of the proposal.
/// AccountBudgetProposal resource names have the form:
///
/// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the proposal.
#[prost(int64, optional, tag = "25")]
pub id: ::core::option::Option<i64>,
/// Immutable. The resource name of the billing setup associated with this
/// proposal.
#[prost(string, optional, tag = "26")]
pub billing_setup: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The resource name of the account-level budget associated with
/// this proposal.
#[prost(string, optional, tag = "27")]
pub account_budget: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The type of this proposal, for example, END to end the budget
/// associated with this proposal.
#[prost(
enumeration = "super::enums::account_budget_proposal_type_enum::AccountBudgetProposalType",
tag = "4"
)]
pub proposal_type: i32,
/// Output only. The status of this proposal.
/// When a new proposal is created, the status defaults to PENDING.
#[prost(
enumeration = "super::enums::account_budget_proposal_status_enum::AccountBudgetProposalStatus",
tag = "15"
)]
pub status: i32,
/// Immutable. The name to assign to the account-level budget.
#[prost(string, optional, tag = "28")]
pub proposed_name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format.
#[prost(string, optional, tag = "30")]
pub approved_start_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. A purchase order number is a value that enables the user to help
/// them reference this budget in their monthly invoices.
#[prost(string, optional, tag = "35")]
pub proposed_purchase_order_number: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Immutable. Notes associated with this budget.
#[prost(string, optional, tag = "36")]
pub proposed_notes: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The date time when this account-level budget proposal was
/// created, which is not the same as its approval date time, if applicable.
#[prost(string, optional, tag = "37")]
pub creation_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The date time when this account-level budget was approved, if
/// applicable.
#[prost(string, optional, tag = "38")]
pub approval_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// The proposed start date time of the account-level budget, which cannot be
/// in the past.
#[prost(oneof = "account_budget_proposal::ProposedStartTime", tags = "29, 7")]
pub proposed_start_time: ::core::option::Option<
account_budget_proposal::ProposedStartTime,
>,
/// The proposed end date time of the account-level budget, which cannot be in
/// the past.
#[prost(oneof = "account_budget_proposal::ProposedEndTime", tags = "31, 9")]
pub proposed_end_time: ::core::option::Option<
account_budget_proposal::ProposedEndTime,
>,
/// The approved end date time of the account-level budget.
#[prost(oneof = "account_budget_proposal::ApprovedEndTime", tags = "32, 22")]
pub approved_end_time: ::core::option::Option<
account_budget_proposal::ApprovedEndTime,
>,
/// The proposed spending limit.
#[prost(oneof = "account_budget_proposal::ProposedSpendingLimit", tags = "33, 11")]
pub proposed_spending_limit: ::core::option::Option<
account_budget_proposal::ProposedSpendingLimit,
>,
/// The approved spending limit.
#[prost(oneof = "account_budget_proposal::ApprovedSpendingLimit", tags = "34, 24")]
pub approved_spending_limit: ::core::option::Option<
account_budget_proposal::ApprovedSpendingLimit,
>,
}
/// Nested message and enum types in `AccountBudgetProposal`.
pub mod account_budget_proposal {
/// The proposed start date time of the account-level budget, which cannot be
/// in the past.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum ProposedStartTime {
/// Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format.
#[prost(string, tag = "29")]
ProposedStartDateTime(::prost::alloc::string::String),
/// Immutable. The proposed start date time as a well-defined type, for
/// example, NOW.
#[prost(
enumeration = "super::super::enums::time_type_enum::TimeType",
tag = "7"
)]
ProposedStartTimeType(i32),
}
/// The proposed end date time of the account-level budget, which cannot be in
/// the past.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum ProposedEndTime {
/// Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format.
#[prost(string, tag = "31")]
ProposedEndDateTime(::prost::alloc::string::String),
/// Immutable. The proposed end date time as a well-defined type, for
/// example, FOREVER.
#[prost(
enumeration = "super::super::enums::time_type_enum::TimeType",
tag = "9"
)]
ProposedEndTimeType(i32),
}
/// The approved end date time of the account-level budget.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum ApprovedEndTime {
/// Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format.
#[prost(string, tag = "32")]
ApprovedEndDateTime(::prost::alloc::string::String),
/// Output only. The approved end date time as a well-defined type, for
/// example, FOREVER.
#[prost(
enumeration = "super::super::enums::time_type_enum::TimeType",
tag = "22"
)]
ApprovedEndTimeType(i32),
}
/// The proposed spending limit.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum ProposedSpendingLimit {
/// Immutable. The proposed spending limit in micros. One million is
/// equivalent to one unit.
#[prost(int64, tag = "33")]
ProposedSpendingLimitMicros(i64),
/// Immutable. The proposed spending limit as a well-defined type, for
/// example, INFINITE.
#[prost(
enumeration = "super::super::enums::spending_limit_type_enum::SpendingLimitType",
tag = "11"
)]
ProposedSpendingLimitType(i32),
}
/// The approved spending limit.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum ApprovedSpendingLimit {
/// Output only. The approved spending limit in micros. One million is
/// equivalent to one unit.
#[prost(int64, tag = "34")]
ApprovedSpendingLimitMicros(i64),
/// Output only. The approved spending limit as a well-defined type, for
/// example, INFINITE.
#[prost(
enumeration = "super::super::enums::spending_limit_type_enum::SpendingLimitType",
tag = "24"
)]
ApprovedSpendingLimitType(i32),
}
}
/// A hotel reconciliation. It contains conversion information from Hotel
/// bookings to reconcile with advertiser records. These rows may be updated
/// or canceled before billing through Bulk Uploads.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HotelReconciliation {
/// Immutable. The resource name of the hotel reconciliation.
/// Hotel reconciliation resource names have the form:
///
/// `customers/{customer_id}/hotelReconciliations/{commission_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Required. Output only. The commission ID is Google's ID for this booking.
/// Every booking event is assigned a Commission ID to help you match it to a
/// guest stay.
#[prost(string, tag = "2")]
pub commission_id: ::prost::alloc::string::String,
/// Output only. The order ID is the identifier for this booking as provided in
/// the 'transaction_id' parameter of the conversion tracking tag.
#[prost(string, tag = "3")]
pub order_id: ::prost::alloc::string::String,
/// Output only. The resource name for the Campaign associated with the
/// conversion.
#[prost(string, tag = "11")]
pub campaign: ::prost::alloc::string::String,
/// Output only. Identifier for the Hotel Center account which provides the
/// rates for the Hotel campaign.
#[prost(int64, tag = "4")]
pub hotel_center_id: i64,
/// Output only. Unique identifier for the booked property, as provided in the
/// Hotel Center feed. The hotel ID comes from the 'ID' parameter of the
/// conversion tracking tag.
#[prost(string, tag = "5")]
pub hotel_id: ::prost::alloc::string::String,
/// Output only. Check-in date recorded when the booking is made. If the
/// check-in date is modified at reconciliation, the revised date will then
/// take the place of the original date in this column. Format is YYYY-MM-DD.
#[prost(string, tag = "6")]
pub check_in_date: ::prost::alloc::string::String,
/// Output only. Check-out date recorded when the booking is made. If the
/// check-in date is modified at reconciliation, the revised date will then
/// take the place of the original date in this column. Format is YYYY-MM-DD.
#[prost(string, tag = "7")]
pub check_out_date: ::prost::alloc::string::String,
/// Required. Output only. Reconciled value is the final value of a booking as
/// paid by the guest. If original booking value changes for any reason, such
/// as itinerary changes or room upsells, the reconciled value should be the
/// full final amount collected. If a booking is canceled, the reconciled value
/// should include the value of any cancellation fees or non-refundable nights
/// charged. Value is in millionths of the base unit currency. For example,
/// $12.35 would be represented as 12350000. Currency unit is in the default
/// customer currency.
#[prost(int64, tag = "8")]
pub reconciled_value_micros: i64,
/// Output only. Whether a given booking has been billed. Once billed, a
/// booking can't be modified.
#[prost(bool, tag = "9")]
pub billed: bool,
/// Required. Output only. Current status of a booking with regards to
/// reconciliation and billing. Bookings should be reconciled within 45 days
/// after the check-out date. Any booking not reconciled within 45 days will be
/// billed at its original value.
#[prost(
enumeration = "super::enums::hotel_reconciliation_status_enum::HotelReconciliationStatus",
tag = "10"
)]
pub status: i32,
}
/// Asset is a part of an ad which can be shared across multiple ads.
/// It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc.
/// Assets are immutable and cannot be removed. To stop an asset from serving,
/// remove the asset from the entity that is using it.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Asset {
/// Immutable. The resource name of the asset.
/// Asset resource names have the form:
///
/// `customers/{customer_id}/assets/{asset_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the asset.
#[prost(int64, optional, tag = "11")]
pub id: ::core::option::Option<i64>,
/// Optional name of the asset.
#[prost(string, optional, tag = "12")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Type of the asset.
#[prost(enumeration = "super::enums::asset_type_enum::AssetType", tag = "4")]
pub r#type: i32,
/// A list of possible final URLs after all cross domain redirects.
#[prost(string, repeated, tag = "14")]
pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// A list of possible final mobile URLs after all cross domain redirects.
#[prost(string, repeated, tag = "16")]
pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// URL template for constructing a tracking URL.
#[prost(string, optional, tag = "17")]
pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>,
/// A list of mappings to be used for substituting URL custom parameter tags in
/// the tracking_url_template, final_urls, and/or final_mobile_urls.
#[prost(message, repeated, tag = "18")]
pub url_custom_parameters: ::prost::alloc::vec::Vec<super::common::CustomParameter>,
/// URL template for appending params to landing page URLs served with parallel
/// tracking.
#[prost(string, optional, tag = "19")]
pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Source of the asset.
#[prost(enumeration = "super::enums::asset_source_enum::AssetSource", tag = "38")]
pub source: i32,
/// Output only. Policy information for the asset.
#[prost(message, optional, tag = "13")]
pub policy_summary: ::core::option::Option<AssetPolicySummary>,
/// Output only. Policy information for the asset for each FieldType.
#[prost(message, repeated, tag = "40")]
pub field_type_policy_summaries: ::prost::alloc::vec::Vec<
AssetFieldTypePolicySummary,
>,
/// The specific type of the asset.
#[prost(
oneof = "asset::AssetData",
tags = "5, 6, 7, 8, 9, 10, 15, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 39, 41"
)]
pub asset_data: ::core::option::Option<asset::AssetData>,
}
/// Nested message and enum types in `Asset`.
pub mod asset {
/// The specific type of the asset.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum AssetData {
/// Immutable. A YouTube video asset.
#[prost(message, tag = "5")]
YoutubeVideoAsset(super::super::common::YoutubeVideoAsset),
/// Immutable. A media bundle asset.
#[prost(message, tag = "6")]
MediaBundleAsset(super::super::common::MediaBundleAsset),
/// Output only. An image asset.
#[prost(message, tag = "7")]
ImageAsset(super::super::common::ImageAsset),
/// Immutable. A text asset.
#[prost(message, tag = "8")]
TextAsset(super::super::common::TextAsset),
/// A lead form asset.
#[prost(message, tag = "9")]
LeadFormAsset(super::super::common::LeadFormAsset),
/// A book on google asset.
#[prost(message, tag = "10")]
BookOnGoogleAsset(super::super::common::BookOnGoogleAsset),
/// A promotion asset.
#[prost(message, tag = "15")]
PromotionAsset(super::super::common::PromotionAsset),
/// A callout asset.
#[prost(message, tag = "20")]
CalloutAsset(super::super::common::CalloutAsset),
/// A structured snippet asset.
#[prost(message, tag = "21")]
StructuredSnippetAsset(super::super::common::StructuredSnippetAsset),
/// A sitelink asset.
#[prost(message, tag = "22")]
SitelinkAsset(super::super::common::SitelinkAsset),
/// A page feed asset.
#[prost(message, tag = "23")]
PageFeedAsset(super::super::common::PageFeedAsset),
/// A dynamic education asset.
#[prost(message, tag = "24")]
DynamicEducationAsset(super::super::common::DynamicEducationAsset),
/// A mobile app asset.
#[prost(message, tag = "25")]
MobileAppAsset(super::super::common::MobileAppAsset),
/// A hotel callout asset.
#[prost(message, tag = "26")]
HotelCalloutAsset(super::super::common::HotelCalloutAsset),
/// A call asset.
#[prost(message, tag = "27")]
CallAsset(super::super::common::CallAsset),
/// A price asset.
#[prost(message, tag = "28")]
PriceAsset(super::super::common::PriceAsset),
/// Immutable. A call to action asset.
#[prost(message, tag = "29")]
CallToActionAsset(super::super::common::CallToActionAsset),
/// A dynamic real estate asset.
#[prost(message, tag = "30")]
DynamicRealEstateAsset(super::super::common::DynamicRealEstateAsset),
/// A dynamic custom asset.
#[prost(message, tag = "31")]
DynamicCustomAsset(super::super::common::DynamicCustomAsset),
/// A dynamic hotels and rentals asset.
#[prost(message, tag = "32")]
DynamicHotelsAndRentalsAsset(super::super::common::DynamicHotelsAndRentalsAsset),
/// A dynamic flights asset.
#[prost(message, tag = "33")]
DynamicFlightsAsset(super::super::common::DynamicFlightsAsset),
/// Immutable. A discovery carousel card asset.
#[prost(message, tag = "34")]
DiscoveryCarouselCardAsset(super::super::common::DiscoveryCarouselCardAsset),
/// A dynamic travel asset.
#[prost(message, tag = "35")]
DynamicTravelAsset(super::super::common::DynamicTravelAsset),
/// A dynamic local asset.
#[prost(message, tag = "36")]
DynamicLocalAsset(super::super::common::DynamicLocalAsset),
/// A dynamic jobs asset.
#[prost(message, tag = "37")]
DynamicJobsAsset(super::super::common::DynamicJobsAsset),
/// Output only. A location asset.
#[prost(message, tag = "39")]
LocationAsset(super::super::common::LocationAsset),
/// Immutable. A hotel property asset.
#[prost(message, tag = "41")]
HotelPropertyAsset(super::super::common::HotelPropertyAsset),
}
}
/// Contains policy information for an asset under AssetFieldType context.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetFieldTypePolicySummary {
/// Output only. FieldType of this asset.
#[prost(
enumeration = "super::enums::asset_field_type_enum::AssetFieldType",
optional,
tag = "1"
)]
pub asset_field_type: ::core::option::Option<i32>,
/// Output only. Source of this asset.
#[prost(
enumeration = "super::enums::asset_source_enum::AssetSource",
optional,
tag = "2"
)]
pub asset_source: ::core::option::Option<i32>,
/// Output only. Policy summary.
#[prost(message, optional, tag = "3")]
pub policy_summary_info: ::core::option::Option<AssetPolicySummary>,
}
/// Contains policy information for an asset.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetPolicySummary {
/// Output only. The list of policy findings for this asset.
#[prost(message, repeated, tag = "1")]
pub policy_topic_entries: ::prost::alloc::vec::Vec<super::common::PolicyTopicEntry>,
/// Output only. Where in the review process this asset is.
#[prost(
enumeration = "super::enums::policy_review_status_enum::PolicyReviewStatus",
tag = "2"
)]
pub review_status: i32,
/// Output only. The overall approval status of this asset, calculated based on
/// the status of its individual policy topic entries.
#[prost(
enumeration = "super::enums::policy_approval_status_enum::PolicyApprovalStatus",
tag = "3"
)]
pub approval_status: i32,
}
/// A video.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Video {
/// Output only. The resource name of the video.
/// Video resource names have the form:
///
/// `customers/{customer_id}/videos/{video_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the video.
#[prost(string, optional, tag = "6")]
pub id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The owner channel id of the video.
#[prost(string, optional, tag = "7")]
pub channel_id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The duration of the video in milliseconds.
#[prost(int64, optional, tag = "8")]
pub duration_millis: ::core::option::Option<i64>,
/// Output only. The title of the video.
#[prost(string, optional, tag = "9")]
pub title: ::core::option::Option<::prost::alloc::string::String>,
}
/// An ad group feed.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupFeed {
/// Immutable. The resource name of the ad group feed.
/// Ad group feed resource names have the form:
///
/// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The feed being linked to the ad group.
#[prost(string, optional, tag = "7")]
pub feed: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The ad group being linked to the feed.
#[prost(string, optional, tag = "8")]
pub ad_group: ::core::option::Option<::prost::alloc::string::String>,
/// Indicates which placeholder types the feed may populate under the connected
/// ad group. Required.
#[prost(
enumeration = "super::enums::placeholder_type_enum::PlaceholderType",
repeated,
tag = "4"
)]
pub placeholder_types: ::prost::alloc::vec::Vec<i32>,
/// Matching function associated with the AdGroupFeed.
/// The matching function is used to filter the set of feed items selected.
/// Required.
#[prost(message, optional, tag = "5")]
pub matching_function: ::core::option::Option<super::common::MatchingFunction>,
/// Output only. Status of the ad group feed.
/// This field is read-only.
#[prost(
enumeration = "super::enums::feed_link_status_enum::FeedLinkStatus",
tag = "6"
)]
pub status: i32,
}
/// A category generated automatically by crawling a domain. If a campaign uses
/// the DynamicSearchAdsSetting, then domain categories will be generated for
/// the domain. The categories can be targeted using WebpageConditionInfo.
/// See: <https://support.google.com/google-ads/answer/2471185>
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DomainCategory {
/// Output only. The resource name of the domain category.
/// Domain category resource names have the form:
///
/// `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The campaign this category is recommended for.
#[prost(string, optional, tag = "10")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Recommended category for the website domain, for example, if
/// you have a website about electronics, the categories could be "cameras",
/// "televisions", etc.
#[prost(string, optional, tag = "11")]
pub category: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The language code specifying the language of the website, for
/// example, "en" for English. The language can be specified in the
/// DynamicSearchAdsSetting required for dynamic search ads. This is the
/// language of the pages from your website that you want Google Ads to find,
/// create ads for, and match searches with.
#[prost(string, optional, tag = "12")]
pub language_code: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The domain for the website. The domain can be specified in the
/// DynamicSearchAdsSetting required for dynamic search ads.
#[prost(string, optional, tag = "13")]
pub domain: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Fraction of pages on your site that this category matches.
#[prost(double, optional, tag = "14")]
pub coverage_fraction: ::core::option::Option<f64>,
/// Output only. The position of this category in the set of categories. Lower
/// numbers indicate a better match for the domain. null indicates not
/// recommended.
#[prost(int64, optional, tag = "15")]
pub category_rank: ::core::option::Option<i64>,
/// Output only. Indicates whether this category has sub-categories.
#[prost(bool, optional, tag = "16")]
pub has_children: ::core::option::Option<bool>,
/// Output only. The recommended cost per click for the category.
#[prost(int64, optional, tag = "17")]
pub recommended_cpc_bid_micros: ::core::option::Option<i64>,
}
/// A Keyword Planner plan.
/// Max number of saved keyword plans: 10000.
/// It's possible to remove plans if limit is reached.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeywordPlan {
/// Immutable. The resource name of the Keyword Planner plan.
/// KeywordPlan resource names have the form:
///
/// `customers/{customer_id}/keywordPlans/{kp_plan_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the keyword plan.
#[prost(int64, optional, tag = "5")]
pub id: ::core::option::Option<i64>,
/// The name of the keyword plan.
///
/// This field is required and should not be empty when creating new keyword
/// plans.
#[prost(string, optional, tag = "6")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// The date period used for forecasting the plan.
#[prost(message, optional, tag = "4")]
pub forecast_period: ::core::option::Option<KeywordPlanForecastPeriod>,
}
/// The forecasting period associated with the keyword plan.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeywordPlanForecastPeriod {
/// Required. The date used for forecasting the Plan.
#[prost(oneof = "keyword_plan_forecast_period::Interval", tags = "1, 2")]
pub interval: ::core::option::Option<keyword_plan_forecast_period::Interval>,
}
/// Nested message and enum types in `KeywordPlanForecastPeriod`.
pub mod keyword_plan_forecast_period {
/// Required. The date used for forecasting the Plan.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Interval {
/// A future date range relative to the current date used for forecasting.
#[prost(
enumeration = "super::super::enums::keyword_plan_forecast_interval_enum::KeywordPlanForecastInterval",
tag = "1"
)]
DateInterval(i32),
/// The custom date range used for forecasting. It cannot be greater than
/// a year.
/// The start and end dates must be in the future. Otherwise, an error will
/// be returned when the forecasting action is performed.
/// The start and end dates are inclusive.
#[prost(message, tag = "2")]
DateRange(super::super::common::DateRange),
}
}
/// Recommendation Subscription resource
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RecommendationSubscription {
/// Immutable. The resource name of the recommendation subscription.
///
/// `customers/{customer_id}/recommendationSubscriptions/{recommendation_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Required. Immutable. The type of recommendation subscribed to.
#[prost(
enumeration = "super::enums::recommendation_type_enum::RecommendationType",
tag = "2"
)]
pub r#type: i32,
/// Output only. Time in seconds when the subscription was first created. The
/// datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss"
/// format.
#[prost(string, optional, tag = "3")]
pub create_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Contains the time in microseconds, when the Recommendation
/// Subscription was last updated. The datetime is in the customer's time zone
/// and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
#[prost(string, optional, tag = "4")]
pub modify_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// Required. Status of the subscription, either enabled or paused.
#[prost(
enumeration = "super::enums::recommendation_subscription_status_enum::RecommendationSubscriptionStatus",
optional,
tag = "5"
)]
pub status: ::core::option::Option<i32>,
}
/// A negative criterion for exclusions at the customer level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerNegativeCriterion {
/// Immutable. The resource name of the customer negative criterion.
/// Customer negative criterion resource names have the form:
///
/// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the criterion.
#[prost(int64, optional, tag = "10")]
pub id: ::core::option::Option<i64>,
/// Output only. The type of the criterion.
#[prost(enumeration = "super::enums::criterion_type_enum::CriterionType", tag = "3")]
pub r#type: i32,
/// The customer negative criterion.
///
/// Exactly one must be set.
#[prost(
oneof = "customer_negative_criterion::Criterion",
tags = "4, 5, 6, 7, 8, 9, 11"
)]
pub criterion: ::core::option::Option<customer_negative_criterion::Criterion>,
}
/// Nested message and enum types in `CustomerNegativeCriterion`.
pub mod customer_negative_criterion {
/// The customer negative criterion.
///
/// Exactly one must be set.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Criterion {
/// Immutable. ContentLabel.
#[prost(message, tag = "4")]
ContentLabel(super::super::common::ContentLabelInfo),
/// Immutable. MobileApplication.
#[prost(message, tag = "5")]
MobileApplication(super::super::common::MobileApplicationInfo),
/// Immutable. MobileAppCategory.
#[prost(message, tag = "6")]
MobileAppCategory(super::super::common::MobileAppCategoryInfo),
/// Immutable. Placement.
#[prost(message, tag = "7")]
Placement(super::super::common::PlacementInfo),
/// Immutable. YouTube Video.
#[prost(message, tag = "8")]
YoutubeVideo(super::super::common::YouTubeVideoInfo),
/// Immutable. YouTube Channel.
#[prost(message, tag = "9")]
YoutubeChannel(super::super::common::YouTubeChannelInfo),
/// Immutable. NegativeKeywordList.
#[prost(message, tag = "11")]
NegativeKeywordList(super::super::common::NegativeKeywordListInfo),
}
}
/// A hotel performance view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HotelPerformanceView {
/// Output only. The resource name of the hotel performance view.
/// Hotel performance view resource names have the form:
///
/// `customers/{customer_id}/hotelPerformanceView`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// A view on the usage of ad group ad asset combination.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetGroupTopCombinationView {
/// Output only. The resource name of the asset group top combination view.
/// AssetGroup Top Combination view resource names have the form:
/// `"customers/{customer_id}/assetGroupTopCombinationViews/{asset_group_id}~{asset_combination_category}"
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The top combinations of assets that served together.
#[prost(message, repeated, tag = "2")]
pub asset_group_top_combinations: ::prost::alloc::vec::Vec<
AssetGroupAssetCombinationData,
>,
}
/// Asset group asset combination data
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetGroupAssetCombinationData {
/// Output only. Served assets.
#[prost(message, repeated, tag = "1")]
pub asset_combination_served_assets: ::prost::alloc::vec::Vec<
super::common::AssetUsage,
>,
}
/// A customer.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Customer {
/// Immutable. The resource name of the customer.
/// Customer resource names have the form:
///
/// `customers/{customer_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the customer.
#[prost(int64, optional, tag = "19")]
pub id: ::core::option::Option<i64>,
/// Optional, non-unique descriptive name of the customer.
#[prost(string, optional, tag = "20")]
pub descriptive_name: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The currency in which the account operates.
/// A subset of the currency codes from the ISO 4217 standard is
/// supported.
#[prost(string, optional, tag = "21")]
pub currency_code: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The local timezone ID of the customer.
#[prost(string, optional, tag = "22")]
pub time_zone: ::core::option::Option<::prost::alloc::string::String>,
/// The URL template for constructing a tracking URL out of parameters.
/// Only mutable in an `update` operation.
#[prost(string, optional, tag = "23")]
pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>,
/// The URL template for appending params to the final URL.
/// Only mutable in an `update` operation.
#[prost(string, optional, tag = "24")]
pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>,
/// Whether auto-tagging is enabled for the customer.
#[prost(bool, optional, tag = "25")]
pub auto_tagging_enabled: ::core::option::Option<bool>,
/// Output only. Whether the Customer has a Partners program badge. If the
/// Customer is not associated with the Partners program, this will be false.
/// For more information, see
/// <https://support.google.com/partners/answer/3125774.>
#[prost(bool, optional, tag = "26")]
pub has_partners_badge: ::core::option::Option<bool>,
/// Output only. Whether the customer is a manager.
#[prost(bool, optional, tag = "27")]
pub manager: ::core::option::Option<bool>,
/// Output only. Whether the customer is a test account.
#[prost(bool, optional, tag = "28")]
pub test_account: ::core::option::Option<bool>,
/// Call reporting setting for a customer. Only mutable in an `update`
/// operation.
#[prost(message, optional, tag = "10")]
pub call_reporting_setting: ::core::option::Option<CallReportingSetting>,
/// Output only. Conversion tracking setting for a customer.
#[prost(message, optional, tag = "14")]
pub conversion_tracking_setting: ::core::option::Option<ConversionTrackingSetting>,
/// Output only. Remarketing setting for a customer.
#[prost(message, optional, tag = "15")]
pub remarketing_setting: ::core::option::Option<RemarketingSetting>,
/// Output only. Reasons why the customer is not eligible to use
/// PaymentMode.CONVERSIONS. If the list is empty, the customer is eligible.
/// This field is read-only.
#[prost(
enumeration = "super::enums::customer_pay_per_conversion_eligibility_failure_reason_enum::CustomerPayPerConversionEligibilityFailureReason",
repeated,
packed = "false",
tag = "16"
)]
pub pay_per_conversion_eligibility_failure_reasons: ::prost::alloc::vec::Vec<i32>,
/// Output only. Optimization score of the customer.
///
/// Optimization score is an estimate of how well a customer's campaigns are
/// set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null
/// for all manager customers, and for unscored non-manager customers.
///
/// See "About optimization score" at
/// <https://support.google.com/google-ads/answer/9061546.>
///
/// This field is read-only.
#[prost(double, optional, tag = "29")]
pub optimization_score: ::core::option::Option<f64>,
/// Output only. Optimization score weight of the customer.
///
/// Optimization score weight can be used to compare/aggregate optimization
/// scores across multiple non-manager customers. The aggregate optimization
/// score of a manager is computed as the sum over all of their customers of
/// `Customer.optimization_score * Customer.optimization_score_weight`. This
/// field is 0 for all manager customers, and for unscored non-manager
/// customers.
///
/// This field is read-only.
#[prost(double, tag = "30")]
pub optimization_score_weight: f64,
/// Output only. The status of the customer.
#[prost(
enumeration = "super::enums::customer_status_enum::CustomerStatus",
tag = "36"
)]
pub status: i32,
/// Output only. True if feed based location has been migrated to asset based
/// location.
#[prost(bool, optional, tag = "38")]
pub location_asset_auto_migration_done: ::core::option::Option<bool>,
/// Output only. True if feed based image has been migrated to asset based
/// image.
#[prost(bool, optional, tag = "39")]
pub image_asset_auto_migration_done: ::core::option::Option<bool>,
/// Output only. Timestamp of migration from feed based location to asset base
/// location in yyyy-MM-dd HH:mm:ss format.
#[prost(string, optional, tag = "40")]
pub location_asset_auto_migration_done_date_time: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. Timestamp of migration from feed based image to asset base
/// image in yyyy-MM-dd HH:mm:ss format.
#[prost(string, optional, tag = "41")]
pub image_asset_auto_migration_done_date_time: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. Customer Agreement Setting for a customer.
#[prost(message, optional, tag = "44")]
pub customer_agreement_setting: ::core::option::Option<CustomerAgreementSetting>,
/// Output only. Settings for Local Services customer.
#[prost(message, optional, tag = "45")]
pub local_services_settings: ::core::option::Option<LocalServicesSettings>,
}
/// Call reporting setting for a customer. Only mutable in an `update` operation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CallReportingSetting {
/// Enable reporting of phone call events by redirecting them through Google
/// System.
#[prost(bool, optional, tag = "10")]
pub call_reporting_enabled: ::core::option::Option<bool>,
/// Whether to enable call conversion reporting.
#[prost(bool, optional, tag = "11")]
pub call_conversion_reporting_enabled: ::core::option::Option<bool>,
/// Customer-level call conversion action to attribute a call conversion to.
/// If not set a default conversion action is used. Only in effect when
/// call_conversion_reporting_enabled is set to true.
#[prost(string, optional, tag = "12")]
pub call_conversion_action: ::core::option::Option<::prost::alloc::string::String>,
}
/// A collection of customer-wide settings related to Google Ads Conversion
/// Tracking.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConversionTrackingSetting {
/// Output only. The conversion tracking id used for this account. This id
/// doesn't indicate whether the customer uses conversion tracking
/// (conversion_tracking_status does). This field is read-only.
#[prost(int64, optional, tag = "3")]
pub conversion_tracking_id: ::core::option::Option<i64>,
/// Output only. The conversion tracking id of the customer's manager. This is
/// set when the customer is opted into cross account conversion tracking, and
/// it overrides conversion_tracking_id. This field can only be managed through
/// the Google Ads UI. This field is read-only.
#[prost(int64, optional, tag = "4")]
pub cross_account_conversion_tracking_id: ::core::option::Option<i64>,
/// Output only. Whether the customer has accepted customer data terms. If
/// using cross-account conversion tracking, this value is inherited from the
/// manager. This field is read-only. For more
/// information, see <https://support.google.com/adspolicy/answer/7475709.>
#[prost(bool, tag = "5")]
pub accepted_customer_data_terms: bool,
/// Output only. Conversion tracking status. It indicates whether the customer
/// is using conversion tracking, and who is the conversion tracking owner of
/// this customer. If this customer is using cross-account conversion tracking,
/// the value returned will differ based on the `login-customer-id` of the
/// request.
#[prost(
enumeration = "super::enums::conversion_tracking_status_enum::ConversionTrackingStatus",
tag = "6"
)]
pub conversion_tracking_status: i32,
/// Output only. Whether the customer is opted-in for enhanced conversions
/// for leads. If using cross-account conversion tracking, this value is
/// inherited from the manager. This field is read-only.
#[prost(bool, tag = "7")]
pub enhanced_conversions_for_leads_enabled: bool,
/// Output only. The resource name of the customer where conversions are
/// created and managed. This field is read-only.
#[prost(string, tag = "8")]
pub google_ads_conversion_customer: ::prost::alloc::string::String,
}
/// Remarketing setting for a customer.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemarketingSetting {
/// Output only. The Google tag.
#[prost(string, optional, tag = "2")]
pub google_global_site_tag: ::core::option::Option<::prost::alloc::string::String>,
}
/// Customer Agreement Setting for a customer.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomerAgreementSetting {
/// Output only. Whether the customer has accepted lead form term of service.
#[prost(bool, tag = "1")]
pub accepted_lead_form_terms: bool,
}
/// Settings for Local Services customer.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LocalServicesSettings {
/// Output only. A read-only list of geo vertical level license statuses.
#[prost(message, repeated, tag = "1")]
pub granular_license_statuses: ::prost::alloc::vec::Vec<GranularLicenseStatus>,
/// Output only. A read-only list of geo vertical level insurance statuses.
#[prost(message, repeated, tag = "2")]
pub granular_insurance_statuses: ::prost::alloc::vec::Vec<GranularInsuranceStatus>,
}
/// License status at geo + vertical level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GranularLicenseStatus {
/// Output only. Geotarget criterion ID associated with the status. Can be on
/// country or state/province geo level, depending on requirements and
/// location. See <https://developers.google.com/google-ads/api/data/geotargets>
/// for more information.
#[prost(int64, optional, tag = "1")]
pub geo_criterion_id: ::core::option::Option<i64>,
/// Output only. Service category associated with the status. For example,
/// xcat:service_area_business_plumber.
/// For more details see:
/// <https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids>
#[prost(string, optional, tag = "2")]
pub category_id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Granular license status, per geo + vertical.
#[prost(
enumeration = "super::enums::local_services_verification_status_enum::LocalServicesVerificationStatus",
optional,
tag = "3"
)]
pub verification_status: ::core::option::Option<i32>,
}
/// Insurance status at geo + vertical level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GranularInsuranceStatus {
/// Output only. Geotarget criterion ID associated with the status. Can be on
/// country or state/province geo level, depending on requirements and
/// location. See <https://developers.google.com/google-ads/api/data/geotargets>
/// for more information.
#[prost(int64, optional, tag = "1")]
pub geo_criterion_id: ::core::option::Option<i64>,
/// Output only. Service category associated with the status. For example,
/// xcat:service_area_business_plumber.
/// For more details see:
/// <https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids>
#[prost(string, optional, tag = "2")]
pub category_id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Granular insurance status, per geo + vertical.
#[prost(
enumeration = "super::enums::local_services_verification_status_enum::LocalServicesVerificationStatus",
optional,
tag = "3"
)]
pub verification_status: ::core::option::Option<i32>,
}
/// A webpage view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WebpageView {
/// Output only. The resource name of the webpage view.
/// Webpage view resource names have the form:
///
/// `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// Represents a bidding data exclusion.
///
/// See "About data exclusions" at
/// <https://support.google.com/google-ads/answer/10370710.>
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BiddingDataExclusion {
/// Immutable. The resource name of the data exclusion.
/// Data exclusion resource names have the form:
///
/// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the data exclusion.
#[prost(int64, tag = "2")]
pub data_exclusion_id: i64,
/// The scope of the data exclusion.
#[prost(
enumeration = "super::enums::seasonality_event_scope_enum::SeasonalityEventScope",
tag = "3"
)]
pub scope: i32,
/// Output only. The status of the data exclusion.
#[prost(
enumeration = "super::enums::seasonality_event_status_enum::SeasonalityEventStatus",
tag = "4"
)]
pub status: i32,
/// Required. The inclusive start time of the data exclusion in yyyy-MM-dd
/// HH:mm:ss format.
///
/// A data exclusion is backward looking and should be used for events that
/// start in the past and end either in the past or future.
#[prost(string, tag = "5")]
pub start_date_time: ::prost::alloc::string::String,
/// Required. The exclusive end time of the data exclusion in yyyy-MM-dd
/// HH:mm:ss format.
///
/// The length of [start_date_time, end_date_time) interval must be
/// within (0, 14 days].
#[prost(string, tag = "6")]
pub end_date_time: ::prost::alloc::string::String,
/// The name of the data exclusion. The name can be at most 255
/// characters.
#[prost(string, tag = "7")]
pub name: ::prost::alloc::string::String,
/// The description of the data exclusion. The description can be at
/// most 2048 characters.
#[prost(string, tag = "8")]
pub description: ::prost::alloc::string::String,
/// If not specified, all devices will be included in this exclusion.
/// Otherwise, only the specified targeted devices will be included in this
/// exclusion.
#[prost(enumeration = "super::enums::device_enum::Device", repeated, tag = "9")]
pub devices: ::prost::alloc::vec::Vec<i32>,
/// The data exclusion will apply to the campaigns listed when the scope of
/// this exclusion is CAMPAIGN. The maximum number of campaigns per event is
/// 2000.
/// Note: a data exclusion with both advertising_channel_types and
/// campaign_ids is not supported.
#[prost(string, repeated, tag = "10")]
pub campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The data_exclusion will apply to all the campaigns under the listed
/// channels retroactively as well as going forward when the scope of this
/// exclusion is CHANNEL.
/// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING.
/// Note: a data exclusion with both advertising_channel_types and
/// campaign_ids is not supported.
#[prost(
enumeration = "super::enums::advertising_channel_type_enum::AdvertisingChannelType",
repeated,
tag = "11"
)]
pub advertising_channel_types: ::prost::alloc::vec::Vec<i32>,
}
/// A link between a Campaign and an Asset.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignAsset {
/// Immutable. The resource name of the campaign asset.
/// CampaignAsset resource names have the form:
///
/// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The campaign to which the asset is linked.
#[prost(string, optional, tag = "6")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The asset which is linked to the campaign.
#[prost(string, optional, tag = "7")]
pub asset: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. Role that the asset takes under the linked campaign.
/// Required.
#[prost(
enumeration = "super::enums::asset_field_type_enum::AssetFieldType",
tag = "4"
)]
pub field_type: i32,
/// Output only. Source of the campaign asset link.
#[prost(enumeration = "super::enums::asset_source_enum::AssetSource", tag = "8")]
pub source: i32,
/// Status of the campaign asset.
#[prost(
enumeration = "super::enums::asset_link_status_enum::AssetLinkStatus",
tag = "5"
)]
pub status: i32,
/// Output only. Provides the PrimaryStatus of this asset link.
/// Primary status is meant essentially to differentiate between the plain
/// "status" field, which has advertiser set values of enabled, paused, or
/// removed. The primary status takes into account other signals (for assets
/// its mainly policy and quality approvals) to come up with a more
/// comprehensive status to indicate its serving state.
#[prost(
enumeration = "super::enums::asset_link_primary_status_enum::AssetLinkPrimaryStatus",
tag = "9"
)]
pub primary_status: i32,
/// Output only. Provides the details of the primary status and its associated
/// reasons.
#[prost(message, repeated, tag = "10")]
pub primary_status_details: ::prost::alloc::vec::Vec<
super::common::AssetLinkPrimaryStatusDetails,
>,
/// Output only. Provides a list of reasons for why an asset is not serving or
/// not serving at full capacity.
#[prost(
enumeration = "super::enums::asset_link_primary_status_reason_enum::AssetLinkPrimaryStatusReason",
repeated,
packed = "false",
tag = "11"
)]
pub primary_status_reasons: ::prost::alloc::vec::Vec<i32>,
}
/// A campaign simulation. Supported combinations of advertising
/// channel type, simulation type and simulation modification
/// method is detailed below respectively.
///
/// * SEARCH - CPC_BID - UNIFORM
/// * SEARCH - CPC_BID - SCALING
/// * SEARCH - TARGET_CPA - UNIFORM
/// * SEARCH - TARGET_CPA - SCALING
/// * SEARCH - TARGET_ROAS - UNIFORM
/// * SEARCH - TARGET_IMPRESSION_SHARE - UNIFORM
/// * SEARCH - BUDGET - UNIFORM
/// * SHOPPING - BUDGET - UNIFORM
/// * SHOPPING - TARGET_ROAS - UNIFORM
/// * MULTI_CHANNEL - TARGET_CPA - UNIFORM
/// * DISCOVERY - TARGET_CPA - DEFAULT
/// * DISPLAY - TARGET_CPA - UNIFORM
/// * PERFORMANCE_MAX - TARGET_CPA - UNIFORM
/// * PERFORMANCE_MAX - TARGET_ROAS - UNIFORM
/// * PERFORMANCE_MAX - BUDGET - UNIFORM
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignSimulation {
/// Output only. The resource name of the campaign simulation.
/// Campaign simulation resource names have the form:
///
/// `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Campaign id of the simulation.
#[prost(int64, tag = "2")]
pub campaign_id: i64,
/// Output only. The field that the simulation modifies.
#[prost(
enumeration = "super::enums::simulation_type_enum::SimulationType",
tag = "3"
)]
pub r#type: i32,
/// Output only. How the simulation modifies the field.
#[prost(
enumeration = "super::enums::simulation_modification_method_enum::SimulationModificationMethod",
tag = "4"
)]
pub modification_method: i32,
/// Output only. First day on which the simulation is based, in YYYY-MM-DD
/// format.
#[prost(string, tag = "5")]
pub start_date: ::prost::alloc::string::String,
/// Output only. Last day on which the simulation is based, in YYYY-MM-DD
/// format
#[prost(string, tag = "6")]
pub end_date: ::prost::alloc::string::String,
/// List of simulation points.
#[prost(oneof = "campaign_simulation::PointList", tags = "7, 8, 9, 10, 11")]
pub point_list: ::core::option::Option<campaign_simulation::PointList>,
}
/// Nested message and enum types in `CampaignSimulation`.
pub mod campaign_simulation {
/// List of simulation points.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum PointList {
/// Output only. Simulation points if the simulation type is CPC_BID.
#[prost(message, tag = "7")]
CpcBidPointList(super::super::common::CpcBidSimulationPointList),
/// Output only. Simulation points if the simulation type is TARGET_CPA.
#[prost(message, tag = "8")]
TargetCpaPointList(super::super::common::TargetCpaSimulationPointList),
/// Output only. Simulation points if the simulation type is TARGET_ROAS.
#[prost(message, tag = "9")]
TargetRoasPointList(super::super::common::TargetRoasSimulationPointList),
/// Output only. Simulation points if the simulation type is
/// TARGET_IMPRESSION_SHARE.
#[prost(message, tag = "10")]
TargetImpressionSharePointList(
super::super::common::TargetImpressionShareSimulationPointList,
),
/// Output only. Simulation points if the simulation type is BUDGET.
#[prost(message, tag = "11")]
BudgetPointList(super::super::common::BudgetSimulationPointList),
}
}
/// An income range view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IncomeRangeView {
/// Output only. The resource name of the income range view.
/// Income range view resource names have the form:
///
/// `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// A feed.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Feed {
/// Immutable. The resource name of the feed.
/// Feed resource names have the form:
///
/// `customers/{customer_id}/feeds/{feed_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the feed.
/// This field is read-only.
#[prost(int64, optional, tag = "11")]
pub id: ::core::option::Option<i64>,
/// Immutable. Name of the feed. Required.
#[prost(string, optional, tag = "12")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// The Feed's attributes. Required on CREATE, unless
/// system_feed_generation_data is provided, in which case Google Ads will
/// update the feed with the correct attributes.
/// Disallowed on UPDATE. Use attribute_operations to add new attributes.
#[prost(message, repeated, tag = "4")]
pub attributes: ::prost::alloc::vec::Vec<FeedAttribute>,
/// The list of operations changing the feed attributes. Attributes can only
/// be added, not removed.
#[prost(message, repeated, tag = "9")]
pub attribute_operations: ::prost::alloc::vec::Vec<FeedAttributeOperation>,
/// Immutable. Specifies who manages the FeedAttributes for the Feed.
#[prost(enumeration = "super::enums::feed_origin_enum::FeedOrigin", tag = "5")]
pub origin: i32,
/// Output only. Status of the feed.
/// This field is read-only.
#[prost(enumeration = "super::enums::feed_status_enum::FeedStatus", tag = "8")]
pub status: i32,
/// The system data for the Feed. This data specifies information for
/// generating the feed items of the system generated feed.
#[prost(oneof = "feed::SystemFeedGenerationData", tags = "6, 7")]
pub system_feed_generation_data: ::core::option::Option<
feed::SystemFeedGenerationData,
>,
}
/// Nested message and enum types in `Feed`.
pub mod feed {
/// Data used to configure a location feed populated from Business Profile.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PlacesLocationFeedData {
/// Immutable. Required authentication token (from OAuth API) for the email.
/// This field can only be specified in a create request. All its subfields
/// are not selectable.
#[prost(message, optional, tag = "1")]
pub oauth_info: ::core::option::Option<places_location_feed_data::OAuthInfo>,
/// Email address of a Business Profile or email address of a
/// manager of the Business Profile. Required.
#[prost(string, optional, tag = "7")]
pub email_address: ::core::option::Option<::prost::alloc::string::String>,
/// Plus page ID of the managed business whose locations should be used. If
/// this field is not set, then all businesses accessible by the user
/// (specified by email_address) are used.
/// This field is mutate-only and is not selectable.
#[prost(string, tag = "8")]
pub business_account_id: ::prost::alloc::string::String,
/// Used to filter Business Profile listings by business name. If
/// business_name_filter is set, only listings with a matching business name
/// are candidates to be sync'd into FeedItems.
#[prost(string, optional, tag = "9")]
pub business_name_filter: ::core::option::Option<::prost::alloc::string::String>,
/// Used to filter Business Profile listings by categories. If entries
/// exist in category_filters, only listings that belong to any of the
/// categories are candidates to be sync'd into FeedItems. If no entries
/// exist in category_filters, then all listings are candidates for syncing.
#[prost(string, repeated, tag = "11")]
pub category_filters: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Used to filter Business Profile listings by labels. If entries exist in
/// label_filters, only listings that has any of the labels set are
/// candidates to be synchronized into FeedItems. If no entries exist in
/// label_filters, then all listings are candidates for syncing.
#[prost(string, repeated, tag = "12")]
pub label_filters: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `PlacesLocationFeedData`.
pub mod places_location_feed_data {
/// Data used for authorization using OAuth.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OAuthInfo {
/// The HTTP method used to obtain authorization.
#[prost(string, optional, tag = "4")]
pub http_method: ::core::option::Option<::prost::alloc::string::String>,
/// The HTTP request URL used to obtain authorization.
#[prost(string, optional, tag = "5")]
pub http_request_url: ::core::option::Option<::prost::alloc::string::String>,
/// The HTTP authorization header used to obtain authorization.
#[prost(string, optional, tag = "6")]
pub http_authorization_header: ::core::option::Option<
::prost::alloc::string::String,
>,
}
}
/// Data used to configure an affiliate location feed populated with the
/// specified chains.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AffiliateLocationFeedData {
/// The list of chains that the affiliate location feed will sync the
/// locations from.
#[prost(int64, repeated, tag = "3")]
pub chain_ids: ::prost::alloc::vec::Vec<i64>,
/// The relationship the chains have with the advertiser.
#[prost(
enumeration = "super::super::enums::affiliate_location_feed_relationship_type_enum::AffiliateLocationFeedRelationshipType",
tag = "2"
)]
pub relationship_type: i32,
}
/// The system data for the Feed. This data specifies information for
/// generating the feed items of the system generated feed.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum SystemFeedGenerationData {
/// Data used to configure a location feed populated from Business Profile.
#[prost(message, tag = "6")]
PlacesLocationFeedData(PlacesLocationFeedData),
/// Data used to configure an affiliate location feed populated with
/// the specified chains.
#[prost(message, tag = "7")]
AffiliateLocationFeedData(AffiliateLocationFeedData),
}
}
/// FeedAttributes define the types of data expected to be present in a Feed. A
/// single FeedAttribute specifies the expected type of the FeedItemAttributes
/// with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as
/// being part of a FeedItem's unique key.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FeedAttribute {
/// ID of the attribute.
#[prost(int64, optional, tag = "5")]
pub id: ::core::option::Option<i64>,
/// The name of the attribute. Required.
#[prost(string, optional, tag = "6")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Data type for feed attribute. Required.
#[prost(
enumeration = "super::enums::feed_attribute_type_enum::FeedAttributeType",
tag = "3"
)]
pub r#type: i32,
/// Indicates that data corresponding to this attribute is part of a
/// FeedItem's unique key. It defaults to false if it is unspecified. Note
/// that a unique key is not required in a Feed's schema, in which case the
/// FeedItems must be referenced by their feed_item_id.
#[prost(bool, optional, tag = "7")]
pub is_part_of_key: ::core::option::Option<bool>,
}
/// Operation to be performed on a feed attribute list in a mutate.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FeedAttributeOperation {
/// Output only. Type of list operation to perform.
#[prost(enumeration = "feed_attribute_operation::Operator", tag = "1")]
pub operator: i32,
/// Output only. The feed attribute being added to the list.
#[prost(message, optional, tag = "2")]
pub value: ::core::option::Option<FeedAttribute>,
}
/// Nested message and enum types in `FeedAttributeOperation`.
pub mod feed_attribute_operation {
/// The operator.
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration
)]
#[repr(i32)]
pub enum Operator {
/// Unspecified.
Unspecified = 0,
/// Used for return value only. Represents value unknown in this version.
Unknown = 1,
/// Add the attribute to the existing attributes.
Add = 2,
}
impl Operator {
/// 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 {
Operator::Unspecified => "UNSPECIFIED",
Operator::Unknown => "UNKNOWN",
Operator::Add => "ADD",
}
}
/// 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),
"ADD" => Some(Self::Add),
_ => None,
}
}
}
}
/// Data from Local Services Lead.
/// Contains details of Lead which is generated when user calls, messages or
/// books service from advertiser.
/// More info: <https://ads.google.com/local-services-ads>
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LocalServicesLead {
/// Output only. The resource name of the local services lead data.
/// Local Services Lead resource name have the form
///
/// `customers/{customer_id}/localServicesLead/{local_services_lead_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. ID of this Lead.
#[prost(int64, tag = "2")]
pub id: i64,
/// Output only. Service category of the lead. For example:
/// `xcat:service_area_business_hvac`,
/// `xcat:service_area_business_real_estate_agent`, etc.
/// For more details see:
/// <https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids>
#[prost(string, tag = "3")]
pub category_id: ::prost::alloc::string::String,
/// Output only. Service for the category. For example: `buyer_agent`,
/// `seller_agent` for the category of
/// `xcat:service_area_business_real_estate_agent`.
#[prost(string, tag = "4")]
pub service_id: ::prost::alloc::string::String,
/// Output only. Lead's contact details.
#[prost(message, optional, tag = "5")]
pub contact_details: ::core::option::Option<ContactDetails>,
/// Output only. Type of Local Services lead: phone, message, booking, etc.
#[prost(
enumeration = "super::enums::local_services_lead_type_enum::LeadType",
tag = "6"
)]
pub lead_type: i32,
/// Output only. Current status of lead.
#[prost(
enumeration = "super::enums::local_services_lead_status_enum::LeadStatus",
tag = "7"
)]
pub lead_status: i32,
/// Output only. The date time at which lead was created by Local Services Ads.
/// The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
/// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
#[prost(string, tag = "8")]
pub creation_date_time: ::prost::alloc::string::String,
/// Output only. Language used by the Local Services provider linked to lead.
/// See <https://developers.google.com/google-ads/api/data/codes-formats#locales>
#[prost(string, tag = "9")]
pub locale: ::prost::alloc::string::String,
/// Output only. Note added by advertiser for the lead.
#[prost(message, optional, tag = "10")]
pub note: ::core::option::Option<Note>,
/// Output only. True if the advertiser was charged for the lead.
#[prost(bool, tag = "11")]
pub lead_charged: bool,
}
/// Fields containing consumer contact details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContactDetails {
/// Output only. Consumer phone number in E164 format.
#[prost(string, tag = "1")]
pub phone_number: ::prost::alloc::string::String,
/// Output only. Consumer email address.
#[prost(string, tag = "2")]
pub email: ::prost::alloc::string::String,
/// Output only. Consumer name if consumer provided name from Message or
/// Booking form on google.com
#[prost(string, tag = "3")]
pub consumer_name: ::prost::alloc::string::String,
}
/// Represents a note added to a lead by the advertiser. Advertisers can edit
/// notes, which will reset edit time and change description.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Note {
/// Output only. The date time when lead note was edited. The format is
/// "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples:
/// "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
#[prost(string, tag = "1")]
pub edit_date_time: ::prost::alloc::string::String,
/// Output only. Content of lead note.
#[prost(string, tag = "2")]
pub description: ::prost::alloc::string::String,
}
/// An asset set type view.
/// This view reports non-overcounted metrics for each asset set type. Child
/// asset set types are not included in this report. Their stats are aggregated
/// under the parent asset set type.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetSetTypeView {
/// Output only. The resource name of the asset set type view.
/// Asset set type view resource names have the form:
///
/// `customers/{customer_id}/assetSetTypeViews/{asset_set_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The asset set type of the asset set type view.
#[prost(enumeration = "super::enums::asset_set_type_enum::AssetSetType", tag = "3")]
pub asset_set_type: i32,
}
/// A field or resource (artifact) used by GoogleAdsService.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GoogleAdsField {
/// Output only. The resource name of the artifact.
/// Artifact resource names have the form:
///
/// `googleAdsFields/{name}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The name of the artifact.
#[prost(string, optional, tag = "21")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The category of the artifact.
#[prost(
enumeration = "super::enums::google_ads_field_category_enum::GoogleAdsFieldCategory",
tag = "3"
)]
pub category: i32,
/// Output only. Whether the artifact can be used in a SELECT clause in search
/// queries.
#[prost(bool, optional, tag = "22")]
pub selectable: ::core::option::Option<bool>,
/// Output only. Whether the artifact can be used in a WHERE clause in search
/// queries.
#[prost(bool, optional, tag = "23")]
pub filterable: ::core::option::Option<bool>,
/// Output only. Whether the artifact can be used in a ORDER BY clause in
/// search queries.
#[prost(bool, optional, tag = "24")]
pub sortable: ::core::option::Option<bool>,
/// Output only. The names of all resources, segments, and metrics that are
/// selectable with the described artifact.
#[prost(string, repeated, tag = "25")]
pub selectable_with: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Output only. The names of all resources that are selectable with the
/// described artifact. Fields from these resources do not segment metrics when
/// included in search queries.
///
/// This field is only set for artifacts whose category is RESOURCE.
#[prost(string, repeated, tag = "26")]
pub attribute_resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Output only. This field lists the names of all metrics that are selectable
/// with the described artifact when it is used in the FROM clause. It is only
/// set for artifacts whose category is RESOURCE.
#[prost(string, repeated, tag = "27")]
pub metrics: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Output only. This field lists the names of all artifacts, whether a segment
/// or another resource, that segment metrics when included in search queries
/// and when the described artifact is used in the FROM clause. It is only set
/// for artifacts whose category is RESOURCE.
#[prost(string, repeated, tag = "28")]
pub segments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Output only. Values the artifact can assume if it is a field of type ENUM.
///
/// This field is only set for artifacts of category SEGMENT or ATTRIBUTE.
#[prost(string, repeated, tag = "29")]
pub enum_values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Output only. This field determines the operators that can be used with the
/// artifact in WHERE clauses.
#[prost(
enumeration = "super::enums::google_ads_field_data_type_enum::GoogleAdsFieldDataType",
tag = "12"
)]
pub data_type: i32,
/// Output only. The URL of proto describing the artifact's data type.
#[prost(string, optional, tag = "30")]
pub type_url: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Whether the field artifact is repeated.
#[prost(bool, optional, tag = "31")]
pub is_repeated: ::core::option::Option<bool>,
}
/// A relationship between an ad group ad and a label.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupAdLabel {
/// Immutable. The resource name of the ad group ad label.
/// Ad group ad label resource names have the form:
/// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The ad group ad to which the label is attached.
#[prost(string, optional, tag = "4")]
pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The label assigned to the ad group ad.
#[prost(string, optional, tag = "5")]
pub label: ::core::option::Option<::prost::alloc::string::String>,
}
/// An ad.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Ad {
/// Immutable. The resource name of the ad.
/// Ad resource names have the form:
///
/// `customers/{customer_id}/ads/{ad_id}`
#[prost(string, tag = "37")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the ad.
#[prost(int64, optional, tag = "40")]
pub id: ::core::option::Option<i64>,
/// The list of possible final URLs after all cross-domain redirects for the
/// ad.
#[prost(string, repeated, tag = "41")]
pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// A list of final app URLs that will be used on mobile if the user has the
/// specific app installed.
#[prost(message, repeated, tag = "35")]
pub final_app_urls: ::prost::alloc::vec::Vec<super::common::FinalAppUrl>,
/// The list of possible final mobile URLs after all cross-domain redirects
/// for the ad.
#[prost(string, repeated, tag = "42")]
pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The URL template for constructing a tracking URL.
#[prost(string, optional, tag = "43")]
pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>,
/// The suffix to use when constructing a final URL.
#[prost(string, optional, tag = "44")]
pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>,
/// The list of mappings that can be used to substitute custom parameter tags
/// in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
/// For mutates, use url custom parameter operations.
#[prost(message, repeated, tag = "10")]
pub url_custom_parameters: ::prost::alloc::vec::Vec<super::common::CustomParameter>,
/// The URL that appears in the ad description for some ad formats.
#[prost(string, optional, tag = "45")]
pub display_url: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The type of ad.
#[prost(enumeration = "super::enums::ad_type_enum::AdType", tag = "5")]
pub r#type: i32,
/// Output only. Indicates if this ad was automatically added by Google Ads and
/// not by a user. For example, this could happen when ads are automatically
/// created as suggestions for new ads based on knowledge of how existing ads
/// are performing.
#[prost(bool, optional, tag = "46")]
pub added_by_google_ads: ::core::option::Option<bool>,
/// The device preference for the ad. You can only specify a preference for
/// mobile devices. When this preference is set the ad will be preferred over
/// other ads when being displayed on a mobile device. The ad can still be
/// displayed on other device types, for example, if no other ads are
/// available. If unspecified (no device preference), all devices are targeted.
/// This is only supported by some ad types.
#[prost(enumeration = "super::enums::device_enum::Device", tag = "20")]
pub device_preference: i32,
/// Additional URLs for the ad that are tagged with a unique identifier that
/// can be referenced from other fields in the ad.
#[prost(message, repeated, tag = "26")]
pub url_collections: ::prost::alloc::vec::Vec<super::common::UrlCollection>,
/// Immutable. The name of the ad. This is only used to be able to identify the
/// ad. It does not need to be unique and does not affect the served ad. The
/// name field is currently only supported for DisplayUploadAd, ImageAd,
/// ShoppingComparisonListingAd and VideoAd.
#[prost(string, optional, tag = "47")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. If this ad is system managed, then this field will indicate
/// the source. This field is read-only.
#[prost(
enumeration = "super::enums::system_managed_resource_source_enum::SystemManagedResourceSource",
tag = "27"
)]
pub system_managed_resource_source: i32,
/// Details pertinent to the ad type. Exactly one value must be set.
#[prost(
oneof = "ad::AdData",
tags = "6, 7, 49, 14, 15, 17, 18, 22, 24, 39, 25, 28, 29, 30, 31, 32, 33, 34, 36, 48, 50, 51, 52, 60, 54"
)]
pub ad_data: ::core::option::Option<ad::AdData>,
}
/// Nested message and enum types in `Ad`.
pub mod ad {
/// Details pertinent to the ad type. Exactly one value must be set.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum AdData {
/// Immutable. Details pertaining to a text ad.
#[prost(message, tag = "6")]
TextAd(super::super::common::TextAdInfo),
/// Details pertaining to an expanded text ad.
#[prost(message, tag = "7")]
ExpandedTextAd(super::super::common::ExpandedTextAdInfo),
/// Details pertaining to a call ad.
#[prost(message, tag = "49")]
CallAd(super::super::common::CallAdInfo),
/// Immutable. Details pertaining to an Expanded Dynamic Search Ad.
/// This type of ad has its headline, final URLs, and display URL
/// auto-generated at serving time according to domain name specific
/// information provided by `dynamic_search_ads_setting` linked at the
/// campaign level.
#[prost(message, tag = "14")]
ExpandedDynamicSearchAd(super::super::common::ExpandedDynamicSearchAdInfo),
/// Details pertaining to a hotel ad.
#[prost(message, tag = "15")]
HotelAd(super::super::common::HotelAdInfo),
/// Details pertaining to a Smart Shopping ad.
#[prost(message, tag = "17")]
ShoppingSmartAd(super::super::common::ShoppingSmartAdInfo),
/// Details pertaining to a Shopping product ad.
#[prost(message, tag = "18")]
ShoppingProductAd(super::super::common::ShoppingProductAdInfo),
/// Immutable. Details pertaining to an Image ad.
#[prost(message, tag = "22")]
ImageAd(super::super::common::ImageAdInfo),
/// Details pertaining to a Video ad.
#[prost(message, tag = "24")]
VideoAd(super::super::common::VideoAdInfo),
/// Details pertaining to a Video responsive ad.
#[prost(message, tag = "39")]
VideoResponsiveAd(super::super::common::VideoResponsiveAdInfo),
/// Details pertaining to a responsive search ad.
#[prost(message, tag = "25")]
ResponsiveSearchAd(super::super::common::ResponsiveSearchAdInfo),
/// Details pertaining to a legacy responsive display ad.
#[prost(message, tag = "28")]
LegacyResponsiveDisplayAd(super::super::common::LegacyResponsiveDisplayAdInfo),
/// Details pertaining to an app ad.
#[prost(message, tag = "29")]
AppAd(super::super::common::AppAdInfo),
/// Immutable. Details pertaining to a legacy app install ad.
#[prost(message, tag = "30")]
LegacyAppInstallAd(super::super::common::LegacyAppInstallAdInfo),
/// Details pertaining to a responsive display ad.
#[prost(message, tag = "31")]
ResponsiveDisplayAd(super::super::common::ResponsiveDisplayAdInfo),
/// Details pertaining to a local ad.
#[prost(message, tag = "32")]
LocalAd(super::super::common::LocalAdInfo),
/// Details pertaining to a display upload ad.
#[prost(message, tag = "33")]
DisplayUploadAd(super::super::common::DisplayUploadAdInfo),
/// Details pertaining to an app engagement ad.
#[prost(message, tag = "34")]
AppEngagementAd(super::super::common::AppEngagementAdInfo),
/// Details pertaining to a Shopping Comparison Listing ad.
#[prost(message, tag = "36")]
ShoppingComparisonListingAd(
super::super::common::ShoppingComparisonListingAdInfo,
),
/// Details pertaining to a Smart campaign ad.
#[prost(message, tag = "48")]
SmartCampaignAd(super::super::common::SmartCampaignAdInfo),
/// Details pertaining to an app pre-registration ad.
#[prost(message, tag = "50")]
AppPreRegistrationAd(super::super::common::AppPreRegistrationAdInfo),
/// Details pertaining to a discovery multi asset ad.
#[prost(message, tag = "51")]
DiscoveryMultiAssetAd(super::super::common::DiscoveryMultiAssetAdInfo),
/// Details pertaining to a discovery carousel ad.
#[prost(message, tag = "52")]
DiscoveryCarouselAd(super::super::common::DiscoveryCarouselAdInfo),
/// Details pertaining to a discovery video responsive ad.
#[prost(message, tag = "60")]
DiscoveryVideoResponsiveAd(super::super::common::DiscoveryVideoResponsiveAdInfo),
/// Details pertaining to a travel ad.
#[prost(message, tag = "54")]
TravelAd(super::super::common::TravelAdInfo),
}
}
/// A recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Recommendation {
/// Immutable. The resource name of the recommendation.
///
/// `customers/{customer_id}/recommendations/{recommendation_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The type of recommendation.
#[prost(
enumeration = "super::enums::recommendation_type_enum::RecommendationType",
tag = "2"
)]
pub r#type: i32,
/// Output only. The impact on account performance as a result of applying the
/// recommendation.
#[prost(message, optional, tag = "3")]
pub impact: ::core::option::Option<recommendation::RecommendationImpact>,
/// Output only. The budget targeted by this recommendation. This will be set
/// only when the recommendation affects a single campaign budget.
///
/// This field will be set for the following recommendation types:
/// CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET,
/// MOVE_UNUSED_BUDGET
#[prost(string, optional, tag = "24")]
pub campaign_budget: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The campaign targeted by this recommendation.
///
/// This field will be set for the following recommendation types:
/// CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN,
/// USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE,
/// UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN,
/// MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION,
/// RESPONSIVE_SEARCH_AD,
/// RESPONSIVE_SEARCH_AD_ASSET,
/// SEARCH_PARTNERS_OPT_IN, DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION,
/// TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD,
/// UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX,
/// RAISE_TARGET_CPA_BID_TOO_LOW, FORECASTING_SET_TARGET_ROAS,
/// SHOPPING_ADD_AGE_GROUP, SHOPPING_ADD_COLOR, SHOPPING_ADD_GENDER,
/// SHOPPING_ADD_SIZE, SHOPPING_ADD_GTIN, SHOPPING_ADD_MORE_IDENTIFIERS,
/// SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN, SHOPPING_FIX_DISAPPROVED_PRODUCTS,
/// SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX,
/// DYNAMIC_IMAGE_EXTENSION_OPT_IN, RAISE_TARGET_CPA, LOWER_TARGET_ROAS,
/// FORECASTING_SET_TARGET_CPA,
/// SET_TARGET_CPA, SET_TARGET_ROAS
#[prost(string, optional, tag = "25")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ad group targeted by this recommendation. This will be set
/// only when the recommendation affects a single ad group.
///
/// This field will be set for the following recommendation types:
/// KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD,
/// RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD
#[prost(string, optional, tag = "26")]
pub ad_group: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Whether the recommendation is dismissed or not.
#[prost(bool, optional, tag = "27")]
pub dismissed: ::core::option::Option<bool>,
/// Output only. The campaigns targeted by this recommendation.
///
/// This field will be set for the following recommendation types:
/// CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET,
/// MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET
#[prost(string, repeated, tag = "38")]
pub campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The details of recommendation.
#[prost(
oneof = "recommendation::Recommendation",
tags = "4, 22, 8, 9, 10, 11, 12, 14, 15, 16, 20, 21, 23, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62"
)]
pub recommendation: ::core::option::Option<recommendation::Recommendation>,
}
/// Nested message and enum types in `Recommendation`.
pub mod recommendation {
/// The Merchant Center account details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MerchantInfo {
/// Output only. The Merchant Center account ID.
#[prost(int64, tag = "1")]
pub id: i64,
/// Output only. The name of the Merchant Center account.
#[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String,
/// Output only. Whether the Merchant Center account is a Multi-Client
/// account (MCA).
#[prost(bool, tag = "3")]
pub multi_client: bool,
}
/// The impact of making the change as described in the recommendation.
/// Some types of recommendations may not have impact information.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RecommendationImpact {
/// Output only. Base metrics at the time the recommendation was generated.
#[prost(message, optional, tag = "1")]
pub base_metrics: ::core::option::Option<RecommendationMetrics>,
/// Output only. Estimated metrics if the recommendation is applied.
#[prost(message, optional, tag = "2")]
pub potential_metrics: ::core::option::Option<RecommendationMetrics>,
}
/// Weekly account performance metrics. For some recommendation types, these
/// are averaged over the past 90-day period and hence can be fractional.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RecommendationMetrics {
/// Output only. Number of ad impressions.
#[prost(double, optional, tag = "6")]
pub impressions: ::core::option::Option<f64>,
/// Output only. Number of ad clicks.
#[prost(double, optional, tag = "7")]
pub clicks: ::core::option::Option<f64>,
/// Output only. Cost (in micros) for advertising, in the local currency for
/// the account.
#[prost(int64, optional, tag = "8")]
pub cost_micros: ::core::option::Option<i64>,
/// Output only. Number of conversions.
#[prost(double, optional, tag = "9")]
pub conversions: ::core::option::Option<f64>,
/// Output only. Number of video views for a video ad campaign.
#[prost(double, optional, tag = "10")]
pub video_views: ::core::option::Option<f64>,
}
/// The budget recommendation for budget constrained campaigns.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignBudgetRecommendation {
/// Output only. The current budget amount in micros.
#[prost(int64, optional, tag = "7")]
pub current_budget_amount_micros: ::core::option::Option<i64>,
/// Output only. The recommended budget amount in micros.
#[prost(int64, optional, tag = "8")]
pub recommended_budget_amount_micros: ::core::option::Option<i64>,
/// Output only. The budget amounts and associated impact estimates for some
/// values of possible budget amounts.
#[prost(message, repeated, tag = "3")]
pub budget_options: ::prost::alloc::vec::Vec<
campaign_budget_recommendation::CampaignBudgetRecommendationOption,
>,
}
/// Nested message and enum types in `CampaignBudgetRecommendation`.
pub mod campaign_budget_recommendation {
/// The impact estimates for a given budget amount.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CampaignBudgetRecommendationOption {
/// Output only. The budget amount for this option.
#[prost(int64, optional, tag = "3")]
pub budget_amount_micros: ::core::option::Option<i64>,
/// Output only. The impact estimate if budget is changed to amount
/// specified in this option.
#[prost(message, optional, tag = "2")]
pub impact: ::core::option::Option<super::RecommendationImpact>,
}
}
/// The keyword recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeywordRecommendation {
/// Output only. The recommended keyword.
#[prost(message, optional, tag = "1")]
pub keyword: ::core::option::Option<super::super::common::KeywordInfo>,
/// Output only. A list of search terms this keyword matches. The same search
/// term may be repeated for multiple keywords.
#[prost(message, repeated, tag = "4")]
pub search_terms: ::prost::alloc::vec::Vec<keyword_recommendation::SearchTerm>,
/// Output only. The recommended CPC (cost-per-click) bid.
#[prost(int64, optional, tag = "3")]
pub recommended_cpc_bid_micros: ::core::option::Option<i64>,
}
/// Nested message and enum types in `KeywordRecommendation`.
pub mod keyword_recommendation {
/// Information about a search term as related to a keyword recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SearchTerm {
/// Output only. The text of the search term.
#[prost(string, tag = "1")]
pub text: ::prost::alloc::string::String,
/// Output only. Estimated number of historical weekly searches for this
/// search term.
#[prost(int64, tag = "2")]
pub estimated_weekly_search_count: i64,
}
}
/// The text ad recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TextAdRecommendation {
/// Output only. Recommended ad.
#[prost(message, optional, tag = "1")]
pub ad: ::core::option::Option<super::Ad>,
/// Output only. Creation date of the recommended ad.
/// YYYY-MM-DD format, for example, 2018-04-17.
#[prost(string, optional, tag = "4")]
pub creation_date: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Date, if present, is the earliest when the recommendation
/// will be auto applied. YYYY-MM-DD format, for example, 2018-04-17.
#[prost(string, optional, tag = "5")]
pub auto_apply_date: ::core::option::Option<::prost::alloc::string::String>,
}
/// The Target CPA opt-in recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetCpaOptInRecommendation {
/// Output only. The available goals and corresponding options for Target CPA
/// strategy.
#[prost(message, repeated, tag = "1")]
pub options: ::prost::alloc::vec::Vec<
target_cpa_opt_in_recommendation::TargetCpaOptInRecommendationOption,
>,
/// Output only. The recommended average CPA target. See required budget
/// amount and impact of using this recommendation in options list.
#[prost(int64, optional, tag = "3")]
pub recommended_target_cpa_micros: ::core::option::Option<i64>,
}
/// Nested message and enum types in `TargetCpaOptInRecommendation`.
pub mod target_cpa_opt_in_recommendation {
/// The Target CPA opt-in option with impact estimate.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TargetCpaOptInRecommendationOption {
/// Output only. The goal achieved by this option.
#[prost(
enumeration = "super::super::super::enums::target_cpa_opt_in_recommendation_goal_enum::TargetCpaOptInRecommendationGoal",
tag = "1"
)]
pub goal: i32,
/// Output only. Average CPA target.
#[prost(int64, optional, tag = "5")]
pub target_cpa_micros: ::core::option::Option<i64>,
/// Output only. The minimum campaign budget, in local currency for the
/// account, required to achieve the target CPA. Amount is specified in
/// micros, where one million is equivalent to one currency unit.
#[prost(int64, optional, tag = "6")]
pub required_campaign_budget_amount_micros: ::core::option::Option<i64>,
/// Output only. The impact estimate if this option is selected.
#[prost(message, optional, tag = "4")]
pub impact: ::core::option::Option<super::RecommendationImpact>,
}
}
/// The Maximize Conversions Opt-In recommendation.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MaximizeConversionsOptInRecommendation {
/// Output only. The recommended new budget amount.
#[prost(int64, optional, tag = "2")]
pub recommended_budget_amount_micros: ::core::option::Option<i64>,
}
/// The Enhanced Cost-Per-Click Opt-In recommendation.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct EnhancedCpcOptInRecommendation {}
/// The Search Partners Opt-In recommendation.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct SearchPartnersOptInRecommendation {}
/// The Maximize Clicks opt-in recommendation.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MaximizeClicksOptInRecommendation {
/// Output only. The recommended new budget amount.
/// Only set if the current budget is too high.
#[prost(int64, optional, tag = "2")]
pub recommended_budget_amount_micros: ::core::option::Option<i64>,
}
/// The Optimize Ad Rotation recommendation.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct OptimizeAdRotationRecommendation {}
/// The callout asset recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CalloutAssetRecommendation {
/// Output only. New callout extension assets recommended at the campaign
/// level.
#[prost(message, repeated, tag = "1")]
pub recommended_campaign_callout_assets: ::prost::alloc::vec::Vec<super::Asset>,
/// Output only. New callout extension assets recommended at the customer
/// level.
#[prost(message, repeated, tag = "2")]
pub recommended_customer_callout_assets: ::prost::alloc::vec::Vec<super::Asset>,
}
/// The sitelink asset recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SitelinkAssetRecommendation {
/// Output only. New sitelink assets recommended at the campaign level.
#[prost(message, repeated, tag = "1")]
pub recommended_campaign_sitelink_assets: ::prost::alloc::vec::Vec<super::Asset>,
/// Output only. New sitelink assets recommended at the customer level.
#[prost(message, repeated, tag = "2")]
pub recommended_customer_sitelink_assets: ::prost::alloc::vec::Vec<super::Asset>,
}
/// The call asset recommendation.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CallAssetRecommendation {}
/// The keyword match type recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeywordMatchTypeRecommendation {
/// Output only. The existing keyword where the match type should be more
/// broad.
#[prost(message, optional, tag = "1")]
pub keyword: ::core::option::Option<super::super::common::KeywordInfo>,
/// Output only. The recommended new match type.
#[prost(
enumeration = "super::super::enums::keyword_match_type_enum::KeywordMatchType",
tag = "2"
)]
pub recommended_match_type: i32,
}
/// The move unused budget recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MoveUnusedBudgetRecommendation {
/// Output only. The excess budget's resource_name.
#[prost(string, optional, tag = "3")]
pub excess_campaign_budget: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. The recommendation for the constrained budget to increase.
#[prost(message, optional, tag = "2")]
pub budget_recommendation: ::core::option::Option<CampaignBudgetRecommendation>,
}
/// The Target ROAS opt-in recommendation.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TargetRoasOptInRecommendation {
/// Output only. The recommended target ROAS (revenue per unit of spend).
/// The value is between 0.01 and 1000.0, inclusive.
#[prost(double, optional, tag = "1")]
pub recommended_target_roas: ::core::option::Option<f64>,
/// Output only. The minimum campaign budget, in local currency for the
/// account, required to achieve the target ROAS. Amount is specified in
/// micros, where one million is equivalent to one currency unit.
#[prost(int64, optional, tag = "2")]
pub required_campaign_budget_amount_micros: ::core::option::Option<i64>,
}
/// The add responsive search ad asset recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResponsiveSearchAdAssetRecommendation {
/// Output only. The current ad to be updated.
#[prost(message, optional, tag = "3")]
pub current_ad: ::core::option::Option<super::Ad>,
/// Output only. The recommended assets. This is populated only with the new
/// headlines and/or descriptions, and is otherwise empty.
#[prost(message, optional, tag = "2")]
pub recommended_assets: ::core::option::Option<super::Ad>,
}
/// The responsive search ad improve ad strength recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResponsiveSearchAdImproveAdStrengthRecommendation {
/// Output only. The current ad to be updated.
#[prost(message, optional, tag = "1")]
pub current_ad: ::core::option::Option<super::Ad>,
/// Output only. The updated ad.
#[prost(message, optional, tag = "2")]
pub recommended_ad: ::core::option::Option<super::Ad>,
}
/// The add responsive search ad recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResponsiveSearchAdRecommendation {
/// Output only. Recommended ad.
#[prost(message, optional, tag = "1")]
pub ad: ::core::option::Option<super::Ad>,
}
/// The use broad match keyword recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UseBroadMatchKeywordRecommendation {
/// Output only. Sample of keywords to be expanded to Broad Match.
#[prost(message, repeated, tag = "1")]
pub keyword: ::prost::alloc::vec::Vec<super::super::common::KeywordInfo>,
/// Output only. Total number of keywords to be expanded to Broad Match in
/// the campaign.
#[prost(int64, tag = "2")]
pub suggested_keywords_count: i64,
/// Output only. Total number of keywords in the campaign.
#[prost(int64, tag = "3")]
pub campaign_keywords_count: i64,
/// Output only. Whether the associated campaign uses a shared budget.
#[prost(bool, tag = "4")]
pub campaign_uses_shared_budget: bool,
/// Output only. The budget recommended to avoid becoming budget constrained
/// after applying the recommendation.
#[prost(int64, tag = "5")]
pub required_campaign_budget_amount_micros: i64,
}
/// The upgrade a Smart Shopping campaign to a Performance Max campaign
/// recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation {
/// Output only. ID of Merchant Center account.
#[prost(int64, tag = "1")]
pub merchant_id: i64,
/// Output only. Country whose products from merchant's inventory should be
/// included.
#[prost(string, tag = "2")]
pub sales_country_code: ::prost::alloc::string::String,
}
/// The raise target CPA bid too low recommendation.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RaiseTargetCpaBidTooLowRecommendation {
/// Output only. A number greater than 1.0 indicating the factor by which we
/// recommend the target CPA should be increased.
#[prost(double, optional, tag = "1")]
pub recommended_target_multiplier: ::core::option::Option<f64>,
/// Output only. The current average target CPA of the campaign, in micros of
/// customer local currency.
#[prost(int64, optional, tag = "2")]
pub average_target_cpa_micros: ::core::option::Option<i64>,
}
/// The Display Expansion opt-in recommendation.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DisplayExpansionOptInRecommendation {}
/// The Upgrade Local campaign to Performance Max campaign recommendation.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct UpgradeLocalCampaignToPerformanceMaxRecommendation {}
/// The forecasting set target ROAS recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ForecastingSetTargetRoasRecommendation {
/// Output only. The recommended target ROAS (revenue per unit of spend).
/// The value is between 0.01 and 1000.0, inclusive.
#[prost(double, tag = "1")]
pub recommended_target_roas: f64,
/// Output only. The campaign budget.
#[prost(message, optional, tag = "2")]
pub campaign_budget: ::core::option::Option<CampaignBudget>,
}
/// The shopping recommendation to add an attribute to offers that are demoted
/// because it is missing.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ShoppingOfferAttributeRecommendation {
/// Output only. The details of the Merchant Center account.
#[prost(message, optional, tag = "1")]
pub merchant: ::core::option::Option<MerchantInfo>,
/// Output only. The campaign feed label.
#[prost(string, tag = "2")]
pub feed_label: ::prost::alloc::string::String,
/// Output only. The number of online, servable offers.
#[prost(int64, tag = "3")]
pub offers_count: i64,
/// Output only. The number of online, servable offers that are demoted for
/// missing attributes. Visit the Merchant Center for more details.
#[prost(int64, tag = "4")]
pub demoted_offers_count: i64,
}
/// The shopping recommendation to fix disapproved products in a Shopping
/// Campaign Inventory.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ShoppingFixDisapprovedProductsRecommendation {
/// Output only. The details of the Merchant Center account.
#[prost(message, optional, tag = "1")]
pub merchant: ::core::option::Option<MerchantInfo>,
/// Output only. The feed label for the campaign.
#[prost(string, tag = "2")]
pub feed_label: ::prost::alloc::string::String,
/// Output only. The number of products of the campaign.
#[prost(int64, tag = "3")]
pub products_count: i64,
/// Output only. The numbers of products of the campaign that are
/// disapproved.
#[prost(int64, tag = "4")]
pub disapproved_products_count: i64,
}
/// The shopping recommendation to create a catch-all campaign that targets all
/// offers.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ShoppingTargetAllOffersRecommendation {
/// Output only. The details of the Merchant Center account.
#[prost(message, optional, tag = "1")]
pub merchant: ::core::option::Option<MerchantInfo>,
/// Output only. The number of untargeted offers.
#[prost(int64, tag = "2")]
pub untargeted_offers_count: i64,
/// Output only. The offer feed label.
#[prost(string, tag = "3")]
pub feed_label: ::prost::alloc::string::String,
}
/// The shopping recommendation to add products to a Shopping Campaign
/// Inventory.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ShoppingAddProductsToCampaignRecommendation {
/// Output only. The details of the Merchant Center account.
#[prost(message, optional, tag = "1")]
pub merchant: ::core::option::Option<MerchantInfo>,
/// Output only. The feed label for the campaign.
#[prost(string, tag = "2")]
pub feed_label: ::prost::alloc::string::String,
/// Output only. The reason why no products are attached to the campaign.
#[prost(
enumeration = "super::super::enums::shopping_add_products_to_campaign_recommendation_enum::Reason",
tag = "3"
)]
pub reason: i32,
}
/// The shopping recommendation to fix Merchant Center account suspension
/// issues.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ShoppingMerchantCenterAccountSuspensionRecommendation {
/// Output only. The details of the Merchant Center account.
#[prost(message, optional, tag = "1")]
pub merchant: ::core::option::Option<MerchantInfo>,
/// Output only. The feed label of the campaign for which the suspension
/// happened.
#[prost(string, tag = "2")]
pub feed_label: ::prost::alloc::string::String,
}
/// The shopping recommendation to migrate Regular Shopping Campaign targeted
/// offers to Performance Max campaigns.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation {
/// Output only. The details of the Merchant Center account.
#[prost(message, optional, tag = "1")]
pub merchant: ::core::option::Option<MerchantInfo>,
/// Output only. The feed label of the offers targeted by the campaigns
/// sharing this suggestion.
#[prost(string, tag = "2")]
pub feed_label: ::prost::alloc::string::String,
}
/// Information of a target adjustment recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetAdjustmentInfo {
/// Output only. The shared set resource name of the portfolio bidding
/// strategy where the target is defined. Only populated if the
/// recommendation is portfolio level.
#[prost(string, optional, tag = "1")]
pub shared_set: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The factor by which we recommend the target to be adjusted
/// by.
#[prost(double, tag = "2")]
pub recommended_target_multiplier: f64,
/// Output only. The current average target of the campaign or portfolio
/// targeted by this recommendation.
#[prost(int64, tag = "3")]
pub current_average_target_micros: i64,
}
/// Recommendation to raise Target CPA.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RaiseTargetCpaRecommendation {
/// Output only. The relevant information describing the recommended target
/// adjustment.
#[prost(message, optional, tag = "1")]
pub target_adjustment: ::core::option::Option<TargetAdjustmentInfo>,
/// Output only. Represents the goal towards which the bidding strategy
/// should optimize. Only populated for App Campaigns.
#[prost(
enumeration = "super::super::enums::app_bidding_goal_enum::AppBiddingGoal",
optional,
tag = "2"
)]
pub app_bidding_goal: ::core::option::Option<i32>,
}
/// Recommendation to lower Target ROAS.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LowerTargetRoasRecommendation {
/// Output only. The relevant information describing the recommended target
/// adjustment.
#[prost(message, optional, tag = "1")]
pub target_adjustment: ::core::option::Option<TargetAdjustmentInfo>,
}
/// Recommendation to enable dynamic image extensions on the account,
/// allowing Google to find the best images from ad landing pages and
/// complement text ads.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DynamicImageExtensionOptInRecommendation {}
/// A campaign budget shared amongst various budget recommendation types.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignBudget {
/// Output only. Current budget amount.
#[prost(int64, tag = "1")]
pub current_amount_micros: i64,
/// Output only. Recommended budget amount.
#[prost(int64, tag = "2")]
pub recommended_new_amount_micros: i64,
/// Output only. The date when the new budget would start being used.
/// This field will be set for the following recommendation types:
/// FORECASTING_SET_TARGET_ROAS , FORECASTING_SET_TARGET_CPA
/// YYYY-MM-DD format, for example, 2018-04-17.
#[prost(string, tag = "3")]
pub new_start_date: ::prost::alloc::string::String,
}
/// The Performance Max Opt In recommendation.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct PerformanceMaxOptInRecommendation {}
/// Recommendation to improve the asset group strength of a Performance Max
/// campaign to an "Excellent" rating.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ImprovePerformanceMaxAdStrengthRecommendation {
/// Output only. The asset group resource name.
#[prost(string, tag = "1")]
pub asset_group: ::prost::alloc::string::String,
}
/// The Dynamic Search Ads to Performance Max migration recommendation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation {
/// Output only. A link to the Google Ads UI where the customer can manually
/// apply the recommendation.
#[prost(string, tag = "1")]
pub apply_link: ::prost::alloc::string::String,
}
/// The set target CPA recommendations.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ForecastingSetTargetCpaRecommendation {
/// Output only. The recommended target CPA.
#[prost(int64, tag = "1")]
pub recommended_target_cpa_micros: i64,
/// Output only. The campaign budget.
#[prost(message, optional, tag = "2")]
pub campaign_budget: ::core::option::Option<CampaignBudget>,
}
/// The details of recommendation.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Recommendation {
/// Output only. The campaign budget recommendation.
#[prost(message, tag = "4")]
CampaignBudgetRecommendation(CampaignBudgetRecommendation),
/// Output only. The forecasting campaign budget recommendation.
#[prost(message, tag = "22")]
ForecastingCampaignBudgetRecommendation(CampaignBudgetRecommendation),
/// Output only. The keyword recommendation.
#[prost(message, tag = "8")]
KeywordRecommendation(KeywordRecommendation),
/// Output only. Add expanded text ad recommendation.
#[prost(message, tag = "9")]
TextAdRecommendation(TextAdRecommendation),
/// Output only. The TargetCPA opt-in recommendation.
#[prost(message, tag = "10")]
TargetCpaOptInRecommendation(TargetCpaOptInRecommendation),
/// Output only. The MaximizeConversions Opt-In recommendation.
#[prost(message, tag = "11")]
MaximizeConversionsOptInRecommendation(MaximizeConversionsOptInRecommendation),
/// Output only. The Enhanced Cost-Per-Click Opt-In recommendation.
#[prost(message, tag = "12")]
EnhancedCpcOptInRecommendation(EnhancedCpcOptInRecommendation),
/// Output only. The Search Partners Opt-In recommendation.
#[prost(message, tag = "14")]
SearchPartnersOptInRecommendation(SearchPartnersOptInRecommendation),
/// Output only. The MaximizeClicks Opt-In recommendation.
#[prost(message, tag = "15")]
MaximizeClicksOptInRecommendation(MaximizeClicksOptInRecommendation),
/// Output only. The Optimize Ad Rotation recommendation.
#[prost(message, tag = "16")]
OptimizeAdRotationRecommendation(OptimizeAdRotationRecommendation),
/// Output only. The keyword match type recommendation.
#[prost(message, tag = "20")]
KeywordMatchTypeRecommendation(KeywordMatchTypeRecommendation),
/// Output only. The move unused budget recommendation.
#[prost(message, tag = "21")]
MoveUnusedBudgetRecommendation(MoveUnusedBudgetRecommendation),
/// Output only. The Target ROAS opt-in recommendation.
#[prost(message, tag = "23")]
TargetRoasOptInRecommendation(TargetRoasOptInRecommendation),
/// Output only. The add responsive search ad recommendation.
#[prost(message, tag = "28")]
ResponsiveSearchAdRecommendation(ResponsiveSearchAdRecommendation),
/// Output only. The marginal ROI campaign budget recommendation.
#[prost(message, tag = "29")]
MarginalRoiCampaignBudgetRecommendation(CampaignBudgetRecommendation),
/// Output only. The use broad match keyword recommendation.
#[prost(message, tag = "30")]
UseBroadMatchKeywordRecommendation(UseBroadMatchKeywordRecommendation),
/// Output only. The responsive search ad asset recommendation.
#[prost(message, tag = "31")]
ResponsiveSearchAdAssetRecommendation(ResponsiveSearchAdAssetRecommendation),
/// Output only. The upgrade a Smart Shopping campaign to a Performance Max
/// campaign recommendation.
#[prost(message, tag = "32")]
UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation(
UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation,
),
/// Output only. The responsive search ad improve ad strength recommendation.
#[prost(message, tag = "33")]
ResponsiveSearchAdImproveAdStrengthRecommendation(
ResponsiveSearchAdImproveAdStrengthRecommendation,
),
/// Output only. The Display Expansion opt-in recommendation.
#[prost(message, tag = "34")]
DisplayExpansionOptInRecommendation(DisplayExpansionOptInRecommendation),
/// Output only. The upgrade a Local campaign to a Performance Max campaign
/// recommendation.
#[prost(message, tag = "35")]
UpgradeLocalCampaignToPerformanceMaxRecommendation(
UpgradeLocalCampaignToPerformanceMaxRecommendation,
),
/// Output only. The raise target CPA bid too low recommendation.
#[prost(message, tag = "36")]
RaiseTargetCpaBidTooLowRecommendation(RaiseTargetCpaBidTooLowRecommendation),
/// Output only. The forecasting set target ROAS recommendation.
#[prost(message, tag = "37")]
ForecastingSetTargetRoasRecommendation(ForecastingSetTargetRoasRecommendation),
/// Output only. The callout asset recommendation.
#[prost(message, tag = "39")]
CalloutAssetRecommendation(CalloutAssetRecommendation),
/// Output only. The sitelink asset recommendation.
#[prost(message, tag = "40")]
SitelinkAssetRecommendation(SitelinkAssetRecommendation),
/// Output only. The call asset recommendation.
#[prost(message, tag = "41")]
CallAssetRecommendation(CallAssetRecommendation),
/// Output only. The shopping add age group recommendation.
#[prost(message, tag = "42")]
ShoppingAddAgeGroupRecommendation(ShoppingOfferAttributeRecommendation),
/// Output only. The shopping add color recommendation.
#[prost(message, tag = "43")]
ShoppingAddColorRecommendation(ShoppingOfferAttributeRecommendation),
/// Output only. The shopping add gender recommendation.
#[prost(message, tag = "44")]
ShoppingAddGenderRecommendation(ShoppingOfferAttributeRecommendation),
/// Output only. The shopping add GTIN recommendation.
#[prost(message, tag = "45")]
ShoppingAddGtinRecommendation(ShoppingOfferAttributeRecommendation),
/// Output only. The shopping add more identifiers recommendation.
#[prost(message, tag = "46")]
ShoppingAddMoreIdentifiersRecommendation(ShoppingOfferAttributeRecommendation),
/// Output only. The shopping add size recommendation.
#[prost(message, tag = "47")]
ShoppingAddSizeRecommendation(ShoppingOfferAttributeRecommendation),
/// Output only. The shopping add products to campaign recommendation.
#[prost(message, tag = "48")]
ShoppingAddProductsToCampaignRecommendation(
ShoppingAddProductsToCampaignRecommendation,
),
/// Output only. The shopping fix disapproved products recommendation.
#[prost(message, tag = "49")]
ShoppingFixDisapprovedProductsRecommendation(
ShoppingFixDisapprovedProductsRecommendation,
),
/// Output only. The shopping target all offers recommendation.
#[prost(message, tag = "50")]
ShoppingTargetAllOffersRecommendation(ShoppingTargetAllOffersRecommendation),
/// Output only. The shopping fix suspended Merchant Center account
/// recommendation.
#[prost(message, tag = "51")]
ShoppingFixSuspendedMerchantCenterAccountRecommendation(
ShoppingMerchantCenterAccountSuspensionRecommendation,
),
/// Output only. The shopping fix Merchant Center account suspension warning
/// recommendation.
#[prost(message, tag = "52")]
ShoppingFixMerchantCenterAccountSuspensionWarningRecommendation(
ShoppingMerchantCenterAccountSuspensionRecommendation,
),
/// Output only. The shopping migrate Regular Shopping Campaign offers to
/// Performance Max recommendation.
#[prost(message, tag = "53")]
ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation(
ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation,
),
/// Output only. Recommendation to enable dynamic image extensions on the
/// account, allowing Google to find the best images from ad landing pages
/// and complement text ads.
#[prost(message, tag = "54")]
DynamicImageExtensionOptInRecommendation(
DynamicImageExtensionOptInRecommendation,
),
/// Output only. Recommendation to raise Target CPA.
#[prost(message, tag = "55")]
RaiseTargetCpaRecommendation(RaiseTargetCpaRecommendation),
/// Output only. Recommendation to lower Target ROAS.
#[prost(message, tag = "56")]
LowerTargetRoasRecommendation(LowerTargetRoasRecommendation),
/// Output only. The Performance Max Opt In recommendation.
#[prost(message, tag = "57")]
PerformanceMaxOptInRecommendation(PerformanceMaxOptInRecommendation),
/// Output only. The improve Performance Max ad strength recommendation.
#[prost(message, tag = "58")]
ImprovePerformanceMaxAdStrengthRecommendation(
ImprovePerformanceMaxAdStrengthRecommendation,
),
/// Output only. The Dynamic Search Ads to Performance Max migration
/// recommendation.
#[prost(message, tag = "59")]
MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation(
MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation,
),
/// Output only. The forecasting set target CPA recommendation.
#[prost(message, tag = "60")]
ForecastingSetTargetCpaRecommendation(ForecastingSetTargetCpaRecommendation),
/// Output only. The set target CPA recommendation.
#[prost(message, tag = "61")]
SetTargetCpaRecommendation(ForecastingSetTargetCpaRecommendation),
/// Output only. The set target ROAS recommendation.
#[prost(message, tag = "62")]
SetTargetRoasRecommendation(ForecastingSetTargetRoasRecommendation),
}
}
/// Data from lead form submissions.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LeadFormSubmissionData {
/// Output only. The resource name of the lead form submission data.
/// Lead form submission data resource names have the form:
///
/// `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. ID of this lead form submission.
#[prost(string, tag = "2")]
pub id: ::prost::alloc::string::String,
/// Output only. Asset associated with the submitted lead form.
#[prost(string, tag = "3")]
pub asset: ::prost::alloc::string::String,
/// Output only. Campaign associated with the submitted lead form.
#[prost(string, tag = "4")]
pub campaign: ::prost::alloc::string::String,
/// Output only. Submission data associated with a lead form.
#[prost(message, repeated, tag = "5")]
pub lead_form_submission_fields: ::prost::alloc::vec::Vec<LeadFormSubmissionField>,
/// Output only. Submission data associated with a custom lead form.
#[prost(message, repeated, tag = "10")]
pub custom_lead_form_submission_fields: ::prost::alloc::vec::Vec<
CustomLeadFormSubmissionField,
>,
/// Output only. AdGroup associated with the submitted lead form.
#[prost(string, tag = "6")]
pub ad_group: ::prost::alloc::string::String,
/// Output only. AdGroupAd associated with the submitted lead form.
#[prost(string, tag = "7")]
pub ad_group_ad: ::prost::alloc::string::String,
/// Output only. Google Click Id associated with the submissed lead form.
#[prost(string, tag = "8")]
pub gclid: ::prost::alloc::string::String,
/// Output only. The date and time at which the lead form was submitted. The
/// format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01
/// 12:32:45-08:00".
#[prost(string, tag = "9")]
pub submission_date_time: ::prost::alloc::string::String,
}
/// Fields in the submitted lead form.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LeadFormSubmissionField {
/// Output only. Field type for lead form fields.
#[prost(
enumeration = "super::enums::lead_form_field_user_input_type_enum::LeadFormFieldUserInputType",
tag = "1"
)]
pub field_type: i32,
/// Output only. Field value for lead form fields.
#[prost(string, tag = "2")]
pub field_value: ::prost::alloc::string::String,
}
/// Fields in the submitted custom question
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomLeadFormSubmissionField {
/// Output only. Question text for custom question, maximum number of
/// characters is 300.
#[prost(string, tag = "1")]
pub question_text: ::prost::alloc::string::String,
/// Output only. Field value for custom question response, maximum number of
/// characters is 70.
#[prost(string, tag = "2")]
pub field_value: ::prost::alloc::string::String,
}
/// A dynamic search ads search term view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DynamicSearchAdsSearchTermView {
/// Output only. The resource name of the dynamic search ads search term view.
/// Dynamic search ads search term view resource names have the form:
///
/// `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Search term
///
/// This field is read-only.
#[prost(string, optional, tag = "9")]
pub search_term: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The dynamically generated headline of the Dynamic Search Ad.
///
/// This field is read-only.
#[prost(string, optional, tag = "10")]
pub headline: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The dynamically selected landing page URL of the impression.
///
/// This field is read-only.
#[prost(string, optional, tag = "11")]
pub landing_page: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The URL of page feed item served for the impression.
///
/// This field is read-only.
#[prost(string, optional, tag = "12")]
pub page_url: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. True if query matches a negative keyword.
///
/// This field is read-only.
#[prost(bool, optional, tag = "13")]
pub has_negative_keyword: ::core::option::Option<bool>,
/// Output only. True if query is added to targeted keywords.
///
/// This field is read-only.
#[prost(bool, optional, tag = "14")]
pub has_matching_keyword: ::core::option::Option<bool>,
/// Output only. True if query matches a negative url.
///
/// This field is read-only.
#[prost(bool, optional, tag = "15")]
pub has_negative_url: ::core::option::Option<bool>,
}
/// A link between a customer and an asset.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerAsset {
/// Immutable. The resource name of the customer asset.
/// CustomerAsset resource names have the form:
///
/// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Required. Immutable. The asset which is linked to the customer.
#[prost(string, tag = "2")]
pub asset: ::prost::alloc::string::String,
/// Required. Immutable. Role that the asset takes for the customer link.
#[prost(
enumeration = "super::enums::asset_field_type_enum::AssetFieldType",
tag = "3"
)]
pub field_type: i32,
/// Output only. Source of the customer asset link.
#[prost(enumeration = "super::enums::asset_source_enum::AssetSource", tag = "5")]
pub source: i32,
/// Status of the customer asset.
#[prost(
enumeration = "super::enums::asset_link_status_enum::AssetLinkStatus",
tag = "4"
)]
pub status: i32,
/// Output only. Provides the PrimaryStatus of this asset link.
/// Primary status is meant essentially to differentiate between the plain
/// "status" field, which has advertiser set values of enabled, paused, or
/// removed. The primary status takes into account other signals (for assets
/// its mainly policy and quality approvals) to come up with a more
/// comprehensive status to indicate its serving state.
#[prost(
enumeration = "super::enums::asset_link_primary_status_enum::AssetLinkPrimaryStatus",
tag = "6"
)]
pub primary_status: i32,
/// Output only. Provides the details of the primary status and its associated
/// reasons.
#[prost(message, repeated, tag = "7")]
pub primary_status_details: ::prost::alloc::vec::Vec<
super::common::AssetLinkPrimaryStatusDetails,
>,
/// Output only. Provides a list of reasons for why an asset is not serving or
/// not serving at full capacity.
#[prost(
enumeration = "super::enums::asset_link_primary_status_reason_enum::AssetLinkPrimaryStatusReason",
repeated,
packed = "false",
tag = "8"
)]
pub primary_status_reasons: ::prost::alloc::vec::Vec<i32>,
}
/// A bidding strategy.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BiddingStrategy {
/// Immutable. The resource name of the bidding strategy.
/// Bidding strategy resource names have the form:
///
/// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the bidding strategy.
#[prost(int64, optional, tag = "16")]
pub id: ::core::option::Option<i64>,
/// The name of the bidding strategy.
/// All bidding strategies within an account must be named distinctly.
///
/// The length of this string should be between 1 and 255, inclusive,
/// in UTF-8 bytes, (trimmed).
#[prost(string, optional, tag = "17")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The status of the bidding strategy.
///
/// This field is read-only.
#[prost(
enumeration = "super::enums::bidding_strategy_status_enum::BiddingStrategyStatus",
tag = "15"
)]
pub status: i32,
/// Output only. The type of the bidding strategy.
/// Create a bidding strategy by setting the bidding scheme.
///
/// This field is read-only.
#[prost(
enumeration = "super::enums::bidding_strategy_type_enum::BiddingStrategyType",
tag = "5"
)]
pub r#type: i32,
/// Immutable. The currency used by the bidding strategy (ISO 4217 three-letter
/// code).
///
/// For bidding strategies in manager customers, this currency can be set on
/// creation and defaults to the manager customer's currency. For serving
/// customers, this field cannot be set; all strategies in a serving customer
/// implicitly use the serving customer's currency. In all cases the
/// effective_currency_code field returns the currency used by the strategy.
#[prost(string, tag = "23")]
pub currency_code: ::prost::alloc::string::String,
/// Output only. The currency used by the bidding strategy (ISO 4217
/// three-letter code).
///
/// For bidding strategies in manager customers, this is the currency set by
/// the advertiser when creating the strategy. For serving customers, this is
/// the customer's currency_code.
///
/// Bidding strategy metrics are reported in this currency.
///
/// This field is read-only.
#[prost(string, optional, tag = "20")]
pub effective_currency_code: ::core::option::Option<::prost::alloc::string::String>,
/// ID of the campaign budget that this portfolio bidding strategy
/// is aligned with. When a portfolio and a campaign budget are aligned, that
/// means that they are attached to the same set of campaigns. After a bidding
/// strategy is aligned with a campaign budget, campaigns that are added to the
/// bidding strategy must also use the aligned campaign budget.
#[prost(int64, tag = "25")]
pub aligned_campaign_budget_id: i64,
/// Output only. The number of campaigns attached to this bidding strategy.
///
/// This field is read-only.
#[prost(int64, optional, tag = "18")]
pub campaign_count: ::core::option::Option<i64>,
/// Output only. The number of non-removed campaigns attached to this bidding
/// strategy.
///
/// This field is read-only.
#[prost(int64, optional, tag = "19")]
pub non_removed_campaign_count: ::core::option::Option<i64>,
/// The bidding scheme.
///
/// Only one can be set.
#[prost(oneof = "bidding_strategy::Scheme", tags = "7, 21, 22, 9, 48, 11, 12")]
pub scheme: ::core::option::Option<bidding_strategy::Scheme>,
}
/// Nested message and enum types in `BiddingStrategy`.
pub mod bidding_strategy {
/// The bidding scheme.
///
/// Only one can be set.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum Scheme {
/// A bidding strategy that raises bids for clicks that seem more likely to
/// lead to a conversion and lowers them for clicks where they seem less
/// likely.
#[prost(message, tag = "7")]
EnhancedCpc(super::super::common::EnhancedCpc),
/// An automated bidding strategy to help get the most conversion value for
/// your campaigns while spending your budget.
#[prost(message, tag = "21")]
MaximizeConversionValue(super::super::common::MaximizeConversionValue),
/// An automated bidding strategy to help get the most conversions for your
/// campaigns while spending your budget.
#[prost(message, tag = "22")]
MaximizeConversions(super::super::common::MaximizeConversions),
/// A bidding strategy that sets bids to help get as many conversions as
/// possible at the target cost-per-acquisition (CPA) you set.
#[prost(message, tag = "9")]
TargetCpa(super::super::common::TargetCpa),
/// A bidding strategy that automatically optimizes towards a chosen
/// percentage of impressions.
#[prost(message, tag = "48")]
TargetImpressionShare(super::super::common::TargetImpressionShare),
/// A bidding strategy that helps you maximize revenue while averaging a
/// specific target Return On Ad Spend (ROAS).
#[prost(message, tag = "11")]
TargetRoas(super::super::common::TargetRoas),
/// A bid strategy that sets your bids to help get as many clicks as
/// possible within your budget.
#[prost(message, tag = "12")]
TargetSpend(super::super::common::TargetSpend),
}
}
/// An asset group product group view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetGroupProductGroupView {
/// Output only. The resource name of the asset group product group view.
/// Asset group product group view resource names have the form:
///
/// `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The asset group associated with the listing group filter.
#[prost(string, tag = "2")]
pub asset_group: ::prost::alloc::string::String,
/// Output only. The resource name of the asset group listing group filter.
#[prost(string, tag = "4")]
pub asset_group_listing_group_filter: ::prost::alloc::string::String,
}
/// A Google ads experiment for users to experiment changes on multiple
/// campaigns, compare the performance, and apply the effective changes.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExperimentArm {
/// Immutable. The resource name of the experiment arm.
/// Experiment arm resource names have the form:
///
/// `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The experiment to which the ExperimentArm belongs.
#[prost(string, tag = "8")]
pub experiment: ::prost::alloc::string::String,
/// Required. The name of the experiment arm. It must have a minimum length of
/// 1 and maximum length of 1024. It must be unique under an experiment.
#[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String,
/// Whether this arm is a control arm. A control arm is the arm against
/// which the other arms are compared.
#[prost(bool, tag = "4")]
pub control: bool,
/// Traffic split of the trial arm. The value should be between 1 and 100
/// and must total 100 between the two trial arms.
#[prost(int64, tag = "5")]
pub traffic_split: i64,
/// List of campaigns in the trial arm. The max length is one.
#[prost(string, repeated, tag = "6")]
pub campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Output only. The in design campaigns in the treatment experiment arm.
#[prost(string, repeated, tag = "7")]
pub in_design_campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// An extension feed item.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExtensionFeedItem {
/// Immutable. The resource name of the extension feed item.
/// Extension feed item resource names have the form:
///
/// `customers/{customer_id}/extensionFeedItems/{feed_item_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of this feed item. Read-only.
#[prost(int64, optional, tag = "25")]
pub id: ::core::option::Option<i64>,
/// Output only. The extension type of the extension feed item.
/// This field is read-only.
#[prost(
enumeration = "super::enums::extension_type_enum::ExtensionType",
tag = "13"
)]
pub extension_type: i32,
/// Start time in which this feed item is effective and can begin serving. The
/// time is in the customer's time zone.
/// The format is "YYYY-MM-DD HH:MM:SS".
/// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
#[prost(string, optional, tag = "26")]
pub start_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// End time in which this feed item is no longer effective and will stop
/// serving. The time is in the customer's time zone.
/// The format is "YYYY-MM-DD HH:MM:SS".
/// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
#[prost(string, optional, tag = "27")]
pub end_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// List of non-overlapping schedules specifying all time intervals
/// for which the feed item may serve. There can be a maximum of 6 schedules
/// per day.
#[prost(message, repeated, tag = "16")]
pub ad_schedules: ::prost::alloc::vec::Vec<super::common::AdScheduleInfo>,
/// The targeted device.
#[prost(
enumeration = "super::enums::feed_item_target_device_enum::FeedItemTargetDevice",
tag = "17"
)]
pub device: i32,
/// The targeted geo target constant.
#[prost(string, optional, tag = "30")]
pub targeted_geo_target_constant: ::core::option::Option<
::prost::alloc::string::String,
>,
/// The targeted keyword.
#[prost(message, optional, tag = "22")]
pub targeted_keyword: ::core::option::Option<super::common::KeywordInfo>,
/// Output only. Status of the feed item.
/// This field is read-only.
#[prost(
enumeration = "super::enums::feed_item_status_enum::FeedItemStatus",
tag = "4"
)]
pub status: i32,
/// Extension type.
#[prost(
oneof = "extension_feed_item::Extension",
tags = "2, 3, 7, 8, 9, 10, 11, 12, 14, 15, 23, 31"
)]
pub extension: ::core::option::Option<extension_feed_item::Extension>,
/// Targeting at either the campaign or ad group level. Feed items that target
/// a campaign or ad group will only serve with that resource.
#[prost(oneof = "extension_feed_item::ServingResourceTargeting", tags = "28, 29")]
pub serving_resource_targeting: ::core::option::Option<
extension_feed_item::ServingResourceTargeting,
>,
}
/// Nested message and enum types in `ExtensionFeedItem`.
pub mod extension_feed_item {
/// Extension type.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Extension {
/// Sitelink.
#[prost(message, tag = "2")]
SitelinkFeedItem(super::super::common::SitelinkFeedItem),
/// Structured snippet extension.
#[prost(message, tag = "3")]
StructuredSnippetFeedItem(super::super::common::StructuredSnippetFeedItem),
/// App extension.
#[prost(message, tag = "7")]
AppFeedItem(super::super::common::AppFeedItem),
/// Call extension.
#[prost(message, tag = "8")]
CallFeedItem(super::super::common::CallFeedItem),
/// Callout extension.
#[prost(message, tag = "9")]
CalloutFeedItem(super::super::common::CalloutFeedItem),
/// Text message extension.
#[prost(message, tag = "10")]
TextMessageFeedItem(super::super::common::TextMessageFeedItem),
/// Price extension.
#[prost(message, tag = "11")]
PriceFeedItem(super::super::common::PriceFeedItem),
/// Promotion extension.
#[prost(message, tag = "12")]
PromotionFeedItem(super::super::common::PromotionFeedItem),
/// Output only. Location extension. Locations are synced from a Business
/// Profile into a feed. This field is read-only.
#[prost(message, tag = "14")]
LocationFeedItem(super::super::common::LocationFeedItem),
/// Output only. Affiliate location extension. Feed locations are populated
/// by Google Ads based on a chain ID. This field is read-only.
#[prost(message, tag = "15")]
AffiliateLocationFeedItem(super::super::common::AffiliateLocationFeedItem),
/// Hotel Callout extension.
#[prost(message, tag = "23")]
HotelCalloutFeedItem(super::super::common::HotelCalloutFeedItem),
/// Immutable. Advertiser provided image extension.
#[prost(message, tag = "31")]
ImageFeedItem(super::super::common::ImageFeedItem),
}
/// Targeting at either the campaign or ad group level. Feed items that target
/// a campaign or ad group will only serve with that resource.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum ServingResourceTargeting {
/// The targeted campaign.
#[prost(string, tag = "28")]
TargetedCampaign(::prost::alloc::string::String),
/// The targeted ad group.
#[prost(string, tag = "29")]
TargetedAdGroup(::prost::alloc::string::String),
}
}
/// An ad group criterion.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupCriterion {
/// Immutable. The resource name of the ad group criterion.
/// Ad group criterion resource names have the form:
///
/// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the criterion.
///
/// This field is ignored for mutates.
#[prost(int64, optional, tag = "56")]
pub criterion_id: ::core::option::Option<i64>,
/// Output only. The display name of the criterion.
///
/// This field is ignored for mutates.
#[prost(string, tag = "77")]
pub display_name: ::prost::alloc::string::String,
/// The status of the criterion.
///
/// This is the status of the ad group criterion entity, set by the client.
/// Note: UI reports may incorporate additional information that affects
/// whether a criterion is eligible to run. In some cases a criterion that's
/// REMOVED in the API can still show as enabled in the UI.
/// For example, campaigns by default show to users of all age ranges unless
/// excluded. The UI will show each age range as "enabled", since they're
/// eligible to see the ads; but AdGroupCriterion.status will show "removed",
/// since no positive criterion was added.
#[prost(
enumeration = "super::enums::ad_group_criterion_status_enum::AdGroupCriterionStatus",
tag = "3"
)]
pub status: i32,
/// Output only. Information regarding the quality of the criterion.
#[prost(message, optional, tag = "4")]
pub quality_info: ::core::option::Option<ad_group_criterion::QualityInfo>,
/// Immutable. The ad group to which the criterion belongs.
#[prost(string, optional, tag = "57")]
pub ad_group: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The type of the criterion.
#[prost(
enumeration = "super::enums::criterion_type_enum::CriterionType",
tag = "25"
)]
pub r#type: i32,
/// Immutable. Whether to target (`false`) or exclude (`true`) the criterion.
///
/// This field is immutable. To switch a criterion from positive to negative,
/// remove then re-add it.
#[prost(bool, optional, tag = "58")]
pub negative: ::core::option::Option<bool>,
/// Output only. Serving status of the criterion.
#[prost(
enumeration = "super::enums::criterion_system_serving_status_enum::CriterionSystemServingStatus",
tag = "52"
)]
pub system_serving_status: i32,
/// Output only. Approval status of the criterion.
#[prost(
enumeration = "super::enums::ad_group_criterion_approval_status_enum::AdGroupCriterionApprovalStatus",
tag = "53"
)]
pub approval_status: i32,
/// Output only. List of disapproval reasons of the criterion.
///
/// The different reasons for disapproving a criterion can be found here:
/// <https://support.google.com/adspolicy/answer/6008942>
///
/// This field is read-only.
#[prost(string, repeated, tag = "59")]
pub disapproval_reasons: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Output only. The resource names of labels attached to this ad group
/// criterion.
#[prost(string, repeated, tag = "60")]
pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The modifier for the bid when the criterion matches. The modifier must be
/// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers.
#[prost(double, optional, tag = "61")]
pub bid_modifier: ::core::option::Option<f64>,
/// The CPC (cost-per-click) bid.
#[prost(int64, optional, tag = "62")]
pub cpc_bid_micros: ::core::option::Option<i64>,
/// The CPM (cost-per-thousand viewable impressions) bid.
#[prost(int64, optional, tag = "63")]
pub cpm_bid_micros: ::core::option::Option<i64>,
/// The CPV (cost-per-view) bid.
#[prost(int64, optional, tag = "64")]
pub cpv_bid_micros: ::core::option::Option<i64>,
/// The CPC bid amount, expressed as a fraction of the advertised price
/// for some good or service. The valid range for the fraction is [0,1) and the
/// value stored here is 1,000,000 * \[fraction\].
#[prost(int64, optional, tag = "65")]
pub percent_cpc_bid_micros: ::core::option::Option<i64>,
/// Output only. The effective CPC (cost-per-click) bid.
#[prost(int64, optional, tag = "66")]
pub effective_cpc_bid_micros: ::core::option::Option<i64>,
/// Output only. The effective CPM (cost-per-thousand viewable impressions)
/// bid.
#[prost(int64, optional, tag = "67")]
pub effective_cpm_bid_micros: ::core::option::Option<i64>,
/// Output only. The effective CPV (cost-per-view) bid.
#[prost(int64, optional, tag = "68")]
pub effective_cpv_bid_micros: ::core::option::Option<i64>,
/// Output only. The effective Percent CPC bid amount.
#[prost(int64, optional, tag = "69")]
pub effective_percent_cpc_bid_micros: ::core::option::Option<i64>,
/// Output only. Source of the effective CPC bid.
#[prost(
enumeration = "super::enums::bidding_source_enum::BiddingSource",
tag = "21"
)]
pub effective_cpc_bid_source: i32,
/// Output only. Source of the effective CPM bid.
#[prost(
enumeration = "super::enums::bidding_source_enum::BiddingSource",
tag = "22"
)]
pub effective_cpm_bid_source: i32,
/// Output only. Source of the effective CPV bid.
#[prost(
enumeration = "super::enums::bidding_source_enum::BiddingSource",
tag = "23"
)]
pub effective_cpv_bid_source: i32,
/// Output only. Source of the effective Percent CPC bid.
#[prost(
enumeration = "super::enums::bidding_source_enum::BiddingSource",
tag = "35"
)]
pub effective_percent_cpc_bid_source: i32,
/// Output only. Estimates for criterion bids at various positions.
#[prost(message, optional, tag = "10")]
pub position_estimates: ::core::option::Option<
ad_group_criterion::PositionEstimates,
>,
/// The list of possible final URLs after all cross-domain redirects for the
/// ad.
#[prost(string, repeated, tag = "70")]
pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The list of possible final mobile URLs after all cross-domain redirects.
#[prost(string, repeated, tag = "71")]
pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// URL template for appending params to final URL.
#[prost(string, optional, tag = "72")]
pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>,
/// The URL template for constructing a tracking URL.
#[prost(string, optional, tag = "73")]
pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>,
/// The list of mappings used to substitute custom parameter tags in a
/// `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
#[prost(message, repeated, tag = "14")]
pub url_custom_parameters: ::prost::alloc::vec::Vec<super::common::CustomParameter>,
/// The ad group criterion.
///
/// Exactly one must be set.
#[prost(
oneof = "ad_group_criterion::Criterion",
tags = "27, 28, 29, 30, 32, 36, 37, 38, 39, 42, 40, 41, 43, 45, 46, 47, 48, 49, 74, 75, 79, 82, 83"
)]
pub criterion: ::core::option::Option<ad_group_criterion::Criterion>,
}
/// Nested message and enum types in `AdGroupCriterion`.
pub mod ad_group_criterion {
/// A container for ad group criterion quality information.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QualityInfo {
/// Output only. The quality score.
///
/// This field may not be populated if Google does not have enough
/// information to determine a value.
#[prost(int32, optional, tag = "5")]
pub quality_score: ::core::option::Option<i32>,
/// Output only. The performance of the ad compared to other advertisers.
#[prost(
enumeration = "super::super::enums::quality_score_bucket_enum::QualityScoreBucket",
tag = "2"
)]
pub creative_quality_score: i32,
/// Output only. The quality score of the landing page.
#[prost(
enumeration = "super::super::enums::quality_score_bucket_enum::QualityScoreBucket",
tag = "3"
)]
pub post_click_quality_score: i32,
/// Output only. The click-through rate compared to that of other
/// advertisers.
#[prost(
enumeration = "super::super::enums::quality_score_bucket_enum::QualityScoreBucket",
tag = "4"
)]
pub search_predicted_ctr: i32,
}
/// Estimates for criterion bids at various positions.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct PositionEstimates {
/// Output only. The estimate of the CPC bid required for ad to be shown on
/// first page of search results.
#[prost(int64, optional, tag = "6")]
pub first_page_cpc_micros: ::core::option::Option<i64>,
/// Output only. The estimate of the CPC bid required for ad to be displayed
/// in first position, at the top of the first page of search results.
#[prost(int64, optional, tag = "7")]
pub first_position_cpc_micros: ::core::option::Option<i64>,
/// Output only. The estimate of the CPC bid required for ad to be displayed
/// at the top of the first page of search results.
#[prost(int64, optional, tag = "8")]
pub top_of_page_cpc_micros: ::core::option::Option<i64>,
/// Output only. Estimate of how many clicks per week you might get by
/// changing your keyword bid to the value in first_position_cpc_micros.
#[prost(int64, optional, tag = "9")]
pub estimated_add_clicks_at_first_position_cpc: ::core::option::Option<i64>,
/// Output only. Estimate of how your cost per week might change when
/// changing your keyword bid to the value in first_position_cpc_micros.
#[prost(int64, optional, tag = "10")]
pub estimated_add_cost_at_first_position_cpc: ::core::option::Option<i64>,
}
/// The ad group criterion.
///
/// Exactly one must be set.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Criterion {
/// Immutable. Keyword.
#[prost(message, tag = "27")]
Keyword(super::super::common::KeywordInfo),
/// Immutable. Placement.
#[prost(message, tag = "28")]
Placement(super::super::common::PlacementInfo),
/// Immutable. Mobile app category.
#[prost(message, tag = "29")]
MobileAppCategory(super::super::common::MobileAppCategoryInfo),
/// Immutable. Mobile application.
#[prost(message, tag = "30")]
MobileApplication(super::super::common::MobileApplicationInfo),
/// Immutable. Listing group.
#[prost(message, tag = "32")]
ListingGroup(super::super::common::ListingGroupInfo),
/// Immutable. Age range.
#[prost(message, tag = "36")]
AgeRange(super::super::common::AgeRangeInfo),
/// Immutable. Gender.
#[prost(message, tag = "37")]
Gender(super::super::common::GenderInfo),
/// Immutable. Income range.
#[prost(message, tag = "38")]
IncomeRange(super::super::common::IncomeRangeInfo),
/// Immutable. Parental status.
#[prost(message, tag = "39")]
ParentalStatus(super::super::common::ParentalStatusInfo),
/// Immutable. User List.
/// The Similar Audiences sunset starts May 2023. Refer to
/// <https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html>
/// for other options.
#[prost(message, tag = "42")]
UserList(super::super::common::UserListInfo),
/// Immutable. YouTube Video.
#[prost(message, tag = "40")]
YoutubeVideo(super::super::common::YouTubeVideoInfo),
/// Immutable. YouTube Channel.
#[prost(message, tag = "41")]
YoutubeChannel(super::super::common::YouTubeChannelInfo),
/// Immutable. Topic.
#[prost(message, tag = "43")]
Topic(super::super::common::TopicInfo),
/// Immutable. User Interest.
#[prost(message, tag = "45")]
UserInterest(super::super::common::UserInterestInfo),
/// Immutable. Webpage
#[prost(message, tag = "46")]
Webpage(super::super::common::WebpageInfo),
/// Immutable. App Payment Model.
#[prost(message, tag = "47")]
AppPaymentModel(super::super::common::AppPaymentModelInfo),
/// Immutable. Custom Affinity.
#[prost(message, tag = "48")]
CustomAffinity(super::super::common::CustomAffinityInfo),
/// Immutable. Custom Intent.
#[prost(message, tag = "49")]
CustomIntent(super::super::common::CustomIntentInfo),
/// Immutable. Custom Audience.
#[prost(message, tag = "74")]
CustomAudience(super::super::common::CustomAudienceInfo),
/// Immutable. Combined Audience.
#[prost(message, tag = "75")]
CombinedAudience(super::super::common::CombinedAudienceInfo),
/// Immutable. Audience.
#[prost(message, tag = "79")]
Audience(super::super::common::AudienceInfo),
/// Immutable. Location.
#[prost(message, tag = "82")]
Location(super::super::common::LocationInfo),
/// Immutable. Language.
#[prost(message, tag = "83")]
Language(super::super::common::LanguageInfo),
}
}
/// Represents an invitation for data sharing connection between a Google Ads
/// account and another account.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProductLinkInvitation {
/// Immutable. The resource name of a product link invitation.
/// Product link invitation resource names have the form:
///
/// `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the product link invitation.
/// This field is read only.
#[prost(int64, tag = "2")]
pub product_link_invitation_id: i64,
/// Output only. The status of the product link invitation.
/// This field is read only.
#[prost(
enumeration = "super::enums::product_link_invitation_status_enum::ProductLinkInvitationStatus",
tag = "3"
)]
pub status: i32,
/// Output only. The type of the invited account.
/// This field is read only and can be used for filtering invitations with
/// {@code GoogleAdsService.SearchGoogleAdsRequest}.
#[prost(
enumeration = "super::enums::linked_product_type_enum::LinkedProductType",
tag = "6"
)]
pub r#type: i32,
/// An account invited to link to this Google Ads account.
#[prost(oneof = "product_link_invitation::InvitedAccount", tags = "4, 5")]
pub invited_account: ::core::option::Option<product_link_invitation::InvitedAccount>,
}
/// Nested message and enum types in `ProductLinkInvitation`.
pub mod product_link_invitation {
/// An account invited to link to this Google Ads account.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum InvitedAccount {
/// Output only. Hotel link invitation.
#[prost(message, tag = "4")]
HotelCenter(super::HotelCenterLinkInvitationIdentifier),
/// Output only. Merchant Center link invitation.
#[prost(message, tag = "5")]
MerchantCenter(super::MerchantCenterLinkInvitationIdentifier),
}
}
/// The identifier for Hotel account.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct HotelCenterLinkInvitationIdentifier {
/// Output only. The hotel center id of the hotel account.
/// This field is read only
#[prost(int64, tag = "1")]
pub hotel_center_id: i64,
}
/// The identifier for Merchant Center Account.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MerchantCenterLinkInvitationIdentifier {
/// Output only. The Merchant Center id of the Merchant account.
/// This field is read only
#[prost(int64, tag = "1")]
pub merchant_center_id: i64,
}
/// A local services verification resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LocalServicesVerificationArtifact {
/// Immutable. The resource name of the Local Services Verification.
/// Local Services Verification resource names have the form:
///
/// `customers/{customer_id}/localServicesVerificationArtifacts/{verification_artifact_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the verification artifact.
#[prost(int64, optional, tag = "2")]
pub id: ::core::option::Option<i64>,
/// Output only. The timestamp when this verification artifact was created.
/// The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
/// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
#[prost(string, tag = "3")]
pub creation_date_time: ::prost::alloc::string::String,
/// Output only. The status of the verification artifact.
#[prost(
enumeration = "super::enums::local_services_verification_artifact_status_enum::LocalServicesVerificationArtifactStatus",
tag = "4"
)]
pub status: i32,
/// Output only. The type of the verification artifact.
#[prost(
enumeration = "super::enums::local_services_verification_artifact_type_enum::LocalServicesVerificationArtifactType",
tag = "5"
)]
pub artifact_type: i32,
/// The types of verification info.
#[prost(
oneof = "local_services_verification_artifact::ArtifactData",
tags = "6, 7, 8"
)]
pub artifact_data: ::core::option::Option<
local_services_verification_artifact::ArtifactData,
>,
}
/// Nested message and enum types in `LocalServicesVerificationArtifact`.
pub mod local_services_verification_artifact {
/// The types of verification info.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum ArtifactData {
/// Output only. A background check verification artifact.
#[prost(message, tag = "6")]
BackgroundCheckVerificationArtifact(super::BackgroundCheckVerificationArtifact),
/// Output only. An insurance verification artifact.
#[prost(message, tag = "7")]
InsuranceVerificationArtifact(super::InsuranceVerificationArtifact),
/// Output only. A license verification artifact.
#[prost(message, tag = "8")]
LicenseVerificationArtifact(super::LicenseVerificationArtifact),
}
}
/// A proto holding information specific to local services background check.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackgroundCheckVerificationArtifact {
/// Output only. URL to access background case.
#[prost(string, optional, tag = "1")]
pub case_url: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The timestamp when this background check case result was
/// adjudicated. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads
/// account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01
/// 14:34:30"
#[prost(string, optional, tag = "2")]
pub final_adjudication_date_time: ::core::option::Option<
::prost::alloc::string::String,
>,
}
/// A proto holding information specific to a local services insurance.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsuranceVerificationArtifact {
/// Output only. Insurance amount. This is measured in "micros" of the currency
/// mentioned in the insurance document.
#[prost(int64, optional, tag = "1")]
pub amount_micros: ::core::option::Option<i64>,
/// Output only. Insurance document's rejection reason.
#[prost(
enumeration = "super::enums::local_services_insurance_rejection_reason_enum::LocalServicesInsuranceRejectionReason",
optional,
tag = "2"
)]
pub rejection_reason: ::core::option::Option<i32>,
/// Output only. The readonly field containing the information for an uploaded
/// insurance document.
#[prost(message, optional, tag = "3")]
pub insurance_document_readonly: ::core::option::Option<
super::common::LocalServicesDocumentReadOnly,
>,
}
/// A proto holding information specific to a local services license.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LicenseVerificationArtifact {
/// Output only. License type / name.
#[prost(string, optional, tag = "1")]
pub license_type: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. License number.
#[prost(string, optional, tag = "2")]
pub license_number: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. First name of the licensee.
#[prost(string, optional, tag = "3")]
pub licensee_first_name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Last name of the licensee.
#[prost(string, optional, tag = "4")]
pub licensee_last_name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. License rejection reason.
#[prost(
enumeration = "super::enums::local_services_license_rejection_reason_enum::LocalServicesLicenseRejectionReason",
optional,
tag = "5"
)]
pub rejection_reason: ::core::option::Option<i32>,
/// Output only. The readonly field containing the information for an uploaded
/// license document.
#[prost(message, optional, tag = "6")]
pub license_document_readonly: ::core::option::Option<
super::common::LocalServicesDocumentReadOnly,
>,
}
/// An ad parameter that is used to update numeric values (such as prices or
/// inventory levels) in any text line of an ad (including URLs). There can
/// be a maximum of two AdParameters per ad group criterion. (One with
/// parameter_index = 1 and one with parameter_index = 2.)
/// In the ad the parameters are referenced by a placeholder of the form
/// "{param#:value}". For example, "{param1:$17}"
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdParameter {
/// Immutable. The resource name of the ad parameter.
/// Ad parameter resource names have the form:
///
/// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The ad group criterion that this ad parameter belongs to.
#[prost(string, optional, tag = "5")]
pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The unique index of this ad parameter. Must be either 1 or 2.
#[prost(int64, optional, tag = "6")]
pub parameter_index: ::core::option::Option<i64>,
/// Numeric value to insert into the ad text. The following restrictions
/// apply:
/// - Can use comma or period as a separator, with an optional period or
/// comma (respectively) for fractional values. For example, 1,000,000.00
/// and 2.000.000,10 are valid.
/// - Can be prepended or appended with a currency symbol. For example,
/// $99.99 is valid.
/// - Can be prepended or appended with a currency code. For example, 99.99USD
/// and EUR200 are valid.
/// - Can use '%'. For example, 1.0% and 1,0% are valid.
/// - Can use plus or minus. For example, -10.99 and 25+ are valid.
/// - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are
/// valid.
#[prost(string, optional, tag = "7")]
pub insertion_text: ::core::option::Option<::prost::alloc::string::String>,
}
/// Use topics to target or exclude placements in the Google Display Network
/// based on the category into which the placement falls (for example,
/// "Pets & Animals/Pets/Dogs").
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TopicConstant {
/// Output only. The resource name of the topic constant.
/// topic constant resource names have the form:
///
/// `topicConstants/{topic_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the topic.
#[prost(int64, optional, tag = "5")]
pub id: ::core::option::Option<i64>,
/// Output only. Resource name of parent of the topic constant.
#[prost(string, optional, tag = "6")]
pub topic_constant_parent: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The category to target or exclude. Each subsequent element in
/// the array describes a more specific sub-category. For example,
/// {"Pets & Animals", "Pets", "Dogs"} represents the
/// "Pets & Animals/Pets/Dogs" category. List of available topic categories at
/// <https://developers.google.com/google-ads/api/reference/data/verticals>
#[prost(string, repeated, tag = "7")]
pub path: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// A data sharing connection, allowing the import of third party app analytics
/// into a Google Ads Customer.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ThirdPartyAppAnalyticsLink {
/// Immutable. The resource name of the third party app analytics link.
/// Third party app analytics link resource names have the form:
///
/// `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The shareable link ID that should be provided to the third
/// party when setting up app analytics. This is able to be regenerated using
/// regenerate method in the ThirdPartyAppAnalyticsLinkService.
#[prost(string, optional, tag = "3")]
pub shareable_link_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A job containing offline user data of store visitors, or user list members
/// that will be processed asynchronously. The uploaded data isn't readable and
/// the processing results of the job can only be read using
/// GoogleAdsService.Search/SearchStream.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OfflineUserDataJob {
/// Immutable. The resource name of the offline user data job.
/// Offline user data job resource names have the form:
///
/// `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. ID of this offline user data job.
#[prost(int64, optional, tag = "9")]
pub id: ::core::option::Option<i64>,
/// Immutable. User specified job ID.
#[prost(int64, optional, tag = "10")]
pub external_id: ::core::option::Option<i64>,
/// Immutable. Type of the job.
#[prost(
enumeration = "super::enums::offline_user_data_job_type_enum::OfflineUserDataJobType",
tag = "4"
)]
pub r#type: i32,
/// Output only. Status of the job.
#[prost(
enumeration = "super::enums::offline_user_data_job_status_enum::OfflineUserDataJobStatus",
tag = "5"
)]
pub status: i32,
/// Output only. Reason for the processing failure, if status is FAILED.
#[prost(
enumeration = "super::enums::offline_user_data_job_failure_reason_enum::OfflineUserDataJobFailureReason",
tag = "6"
)]
pub failure_reason: i32,
/// Output only. Metadata of offline user data job depicting match rate range.
#[prost(message, optional, tag = "11")]
pub operation_metadata: ::core::option::Option<OfflineUserDataJobMetadata>,
/// Metadata of the job.
#[prost(oneof = "offline_user_data_job::Metadata", tags = "7, 8")]
pub metadata: ::core::option::Option<offline_user_data_job::Metadata>,
}
/// Nested message and enum types in `OfflineUserDataJob`.
pub mod offline_user_data_job {
/// Metadata of the job.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Metadata {
/// Immutable. Metadata for data updates to a CRM-based user list.
#[prost(message, tag = "7")]
CustomerMatchUserListMetadata(
super::super::common::CustomerMatchUserListMetadata,
),
/// Immutable. Metadata for store sales data update.
#[prost(message, tag = "8")]
StoreSalesMetadata(super::super::common::StoreSalesMetadata),
}
}
/// Metadata of offline user data job.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct OfflineUserDataJobMetadata {
/// Output only. Match rate of the Customer Match user list upload. Describes
/// the estimated match rate when the status of the job is "RUNNING" and final
/// match rate when the final match rate is available after the status of the
/// job is "SUCCESS/FAILED".
#[prost(
enumeration = "super::enums::offline_user_data_job_match_rate_range_enum::OfflineUserDataJobMatchRateRange",
tag = "1"
)]
pub match_rate_range: i32,
}
/// A view with metrics aggregated by ad group and URL or YouTube video.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DetailPlacementView {
/// Output only. The resource name of the detail placement view.
/// Detail placement view resource names have the form:
///
/// `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The automatic placement string at detail level, e. g. website
/// URL, mobile application ID, or a YouTube video ID.
#[prost(string, optional, tag = "7")]
pub placement: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The display name is URL name for websites, YouTube video name
/// for YouTube videos, and translated mobile app name for mobile apps.
#[prost(string, optional, tag = "8")]
pub display_name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. URL of the group placement, for example, domain, link to the
/// mobile application in app store, or a YouTube channel URL.
#[prost(string, optional, tag = "9")]
pub group_placement_target_url: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. URL of the placement, for example, website, link to the mobile
/// application in app store, or a YouTube video URL.
#[prost(string, optional, tag = "10")]
pub target_url: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Type of the placement, for example, Website, YouTube Video,
/// and Mobile Application.
#[prost(enumeration = "super::enums::placement_type_enum::PlacementType", tag = "6")]
pub placement_type: i32,
}
/// A link between the given customer and a client customer. CustomerClients only
/// exist for manager customers. All direct and indirect client customers are
/// included, as well as the manager itself.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerClient {
/// Output only. The resource name of the customer client.
/// CustomerClient resource names have the form:
/// `customers/{customer_id}/customerClients/{client_customer_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The resource name of the client-customer which is linked to
/// the given customer. Read only.
#[prost(string, optional, tag = "12")]
pub client_customer: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Specifies whether this is a
/// [hidden account](<https://support.google.com/google-ads/answer/7519830>).
/// Read only.
#[prost(bool, optional, tag = "13")]
pub hidden: ::core::option::Option<bool>,
/// Output only. Distance between given customer and client. For self link, the
/// level value will be 0. Read only.
#[prost(int64, optional, tag = "14")]
pub level: ::core::option::Option<i64>,
/// Output only. Common Locale Data Repository (CLDR) string representation of
/// the time zone of the client, for example, America/Los_Angeles. Read only.
#[prost(string, optional, tag = "15")]
pub time_zone: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Identifies if the client is a test account. Read only.
#[prost(bool, optional, tag = "16")]
pub test_account: ::core::option::Option<bool>,
/// Output only. Identifies if the client is a manager. Read only.
#[prost(bool, optional, tag = "17")]
pub manager: ::core::option::Option<bool>,
/// Output only. Descriptive name for the client. Read only.
#[prost(string, optional, tag = "18")]
pub descriptive_name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Currency code (for example, 'USD', 'EUR') for the client. Read
/// only.
#[prost(string, optional, tag = "19")]
pub currency_code: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ID of the client customer. Read only.
#[prost(int64, optional, tag = "20")]
pub id: ::core::option::Option<i64>,
/// Output only. The resource names of the labels owned by the requesting
/// customer that are applied to the client customer. Label resource names have
/// the form:
///
/// `customers/{customer_id}/labels/{label_id}`
#[prost(string, repeated, tag = "21")]
pub applied_labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Output only. The status of the client customer. Read only.
#[prost(
enumeration = "super::enums::customer_status_enum::CustomerStatus",
tag = "22"
)]
pub status: i32,
}
/// Represents customer-manager link relationship.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerManagerLink {
/// Immutable. Name of the resource.
/// CustomerManagerLink resource names have the form:
/// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The manager customer linked to the customer.
#[prost(string, optional, tag = "6")]
pub manager_customer: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. ID of the customer-manager link. This field is read only.
#[prost(int64, optional, tag = "7")]
pub manager_link_id: ::core::option::Option<i64>,
/// Status of the link between the customer and the manager.
#[prost(
enumeration = "super::enums::manager_link_status_enum::ManagerLinkStatus",
tag = "5"
)]
pub status: i32,
}
/// A product group view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProductGroupView {
/// Output only. The resource name of the product group view.
/// Product group view resource names have the form:
///
/// `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// CampaignAssetSet is the linkage between a campaign and an asset set.
/// Adding a CampaignAssetSet links an asset set with a campaign.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignAssetSet {
/// Immutable. The resource name of the campaign asset set.
/// Asset set asset resource names have the form:
///
/// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The campaign to which this asset set is linked.
#[prost(string, tag = "2")]
pub campaign: ::prost::alloc::string::String,
/// Immutable. The asset set which is linked to the campaign.
#[prost(string, tag = "3")]
pub asset_set: ::prost::alloc::string::String,
/// Output only. The status of the campaign asset set asset. Read-only.
#[prost(
enumeration = "super::enums::asset_set_link_status_enum::AssetSetLinkStatus",
tag = "4"
)]
pub status: i32,
}
/// A campaign budget.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignBudget {
/// Immutable. The resource name of the campaign budget.
/// Campaign budget resource names have the form:
///
/// `customers/{customer_id}/campaignBudgets/{campaign_budget_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the campaign budget.
///
/// A campaign budget is created using the CampaignBudgetService create
/// operation and is assigned a budget ID. A budget ID can be shared across
/// different campaigns; the system will then allocate the campaign budget
/// among different campaigns to get optimum results.
#[prost(int64, optional, tag = "19")]
pub id: ::core::option::Option<i64>,
/// The name of the campaign budget.
///
/// When creating a campaign budget through CampaignBudgetService, every
/// explicitly shared campaign budget must have a non-null, non-empty name.
/// Campaign budgets that are not explicitly shared derive their name from the
/// attached campaign's name.
///
/// The length of this string must be between 1 and 255, inclusive,
/// in UTF-8 bytes, (trimmed).
#[prost(string, optional, tag = "20")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// The amount of the budget, in the local currency for the account.
/// Amount is specified in micros, where one million is equivalent to one
/// currency unit. Monthly spend is capped at 30.4 times this amount.
#[prost(int64, optional, tag = "21")]
pub amount_micros: ::core::option::Option<i64>,
/// The lifetime amount of the budget, in the local currency for the account.
/// Amount is specified in micros, where one million is equivalent to one
/// currency unit.
#[prost(int64, optional, tag = "22")]
pub total_amount_micros: ::core::option::Option<i64>,
/// Output only. The status of this campaign budget. This field is read-only.
#[prost(enumeration = "super::enums::budget_status_enum::BudgetStatus", tag = "6")]
pub status: i32,
/// The delivery method that determines the rate at which the campaign budget
/// is spent.
///
/// Defaults to STANDARD if unspecified in a create operation.
#[prost(
enumeration = "super::enums::budget_delivery_method_enum::BudgetDeliveryMethod",
tag = "7"
)]
pub delivery_method: i32,
/// Specifies whether the budget is explicitly shared. Defaults to true if
/// unspecified in a create operation.
///
/// If true, the budget was created with the purpose of sharing
/// across one or more campaigns.
///
/// If false, the budget was created with the intention of only being used
/// with a single campaign. The budget's name and status will stay in sync
/// with the campaign's name and status. Attempting to share the budget with a
/// second campaign will result in an error.
///
/// A non-shared budget can become an explicitly shared. The same operation
/// must also assign the budget a name.
///
/// A shared campaign budget can never become non-shared.
#[prost(bool, optional, tag = "23")]
pub explicitly_shared: ::core::option::Option<bool>,
/// Output only. The number of campaigns actively using the budget.
///
/// This field is read-only.
#[prost(int64, optional, tag = "24")]
pub reference_count: ::core::option::Option<i64>,
/// Output only. Indicates whether there is a recommended budget for this
/// campaign budget.
///
/// This field is read-only.
#[prost(bool, optional, tag = "25")]
pub has_recommended_budget: ::core::option::Option<bool>,
/// Output only. The recommended budget amount. If no recommendation is
/// available, this will be set to the budget amount. Amount is specified in
/// micros, where one million is equivalent to one currency unit.
///
/// This field is read-only.
#[prost(int64, optional, tag = "26")]
pub recommended_budget_amount_micros: ::core::option::Option<i64>,
/// Immutable. Period over which to spend the budget. Defaults to DAILY if not
/// specified.
#[prost(enumeration = "super::enums::budget_period_enum::BudgetPeriod", tag = "13")]
pub period: i32,
/// Output only. The estimated change in weekly clicks if the recommended
/// budget is applied.
///
/// This field is read-only.
#[prost(int64, optional, tag = "27")]
pub recommended_budget_estimated_change_weekly_clicks: ::core::option::Option<i64>,
/// Output only. The estimated change in weekly cost in micros if the
/// recommended budget is applied. One million is equivalent to one currency
/// unit.
///
/// This field is read-only.
#[prost(int64, optional, tag = "28")]
pub recommended_budget_estimated_change_weekly_cost_micros: ::core::option::Option<
i64,
>,
/// Output only. The estimated change in weekly interactions if the recommended
/// budget is applied.
///
/// This field is read-only.
#[prost(int64, optional, tag = "29")]
pub recommended_budget_estimated_change_weekly_interactions: ::core::option::Option<
i64,
>,
/// Output only. The estimated change in weekly views if the recommended budget
/// is applied.
///
/// This field is read-only.
#[prost(int64, optional, tag = "30")]
pub recommended_budget_estimated_change_weekly_views: ::core::option::Option<i64>,
/// Immutable. The type of the campaign budget.
#[prost(enumeration = "super::enums::budget_type_enum::BudgetType", tag = "18")]
pub r#type: i32,
/// ID of the portfolio bidding strategy that this shared campaign budget
/// is aligned with. When a bidding strategy and a campaign budget are aligned,
/// they are attached to the same set of campaigns. After a campaign budget is
/// aligned with a bidding strategy, campaigns that are added to the campaign
/// budget must also use the aligned bidding strategy.
#[prost(int64, tag = "31")]
pub aligned_bidding_strategy_id: i64,
}
/// A display keyword view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DisplayKeywordView {
/// Output only. The resource name of the display keyword view.
/// Display Keyword view resource names have the form:
///
/// `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// A customizer value for the associated CustomizerAttribute at the Customer
/// level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerCustomizer {
/// Immutable. The resource name of the customer customizer.
/// Customer customizer resource names have the form:
///
/// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Required. Immutable. The customizer attribute which is linked to the
/// customer.
#[prost(string, tag = "2")]
pub customizer_attribute: ::prost::alloc::string::String,
/// Output only. The status of the customer customizer attribute.
#[prost(
enumeration = "super::enums::customizer_value_status_enum::CustomizerValueStatus",
tag = "3"
)]
pub status: i32,
/// Required. The value to associate with the customizer attribute at this
/// level. The value must be of the type specified for the CustomizerAttribute.
#[prost(message, optional, tag = "4")]
pub value: ::core::option::Option<super::common::CustomizerValue>,
}
/// Data from Local Services Lead Conversation.
/// Contains details of Lead Conversation which is generated when user calls,
/// messages or books service from advertiser. These are appended to a Lead.
/// More info: <https://ads.google.com/local-services-ads>
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LocalServicesLeadConversation {
/// Output only. The resource name of the local services lead conversation
/// data. Local Services Lead Conversation resource name have the form
///
/// `customers/{customer_id}/localServicesLeadConversation/{local_services_lead_conversation_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. ID of this Lead Conversation.
#[prost(int64, tag = "2")]
pub id: i64,
/// Output only. Type of GLS lead conversation, EMAIL, MESSAGE, PHONE_CALL,
/// SMS, etc.
#[prost(
enumeration = "super::enums::local_services_lead_conversation_type_enum::ConversationType",
tag = "3"
)]
pub conversation_channel: i32,
/// Output only. Type of participant in the lead conversation, ADVERTISER or
/// CONSUMER.
#[prost(
enumeration = "super::enums::local_services_participant_type_enum::ParticipantType",
tag = "4"
)]
pub participant_type: i32,
/// Output only. Resource name of Lead associated to the Lead Conversation.
#[prost(string, tag = "5")]
pub lead: ::prost::alloc::string::String,
/// Output only. The date time at which lead conversation was created by Local
/// Services Ads. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads
/// account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01
/// 14:34:30"
#[prost(string, tag = "6")]
pub event_date_time: ::prost::alloc::string::String,
/// Output only. Details of phone call conversation in case of PHONE_CALL.
#[prost(message, optional, tag = "7")]
pub phone_call_details: ::core::option::Option<PhoneCallDetails>,
/// Output only. Details of message conversation in case of EMAIL, MESSAGE or
/// SMS.
#[prost(message, optional, tag = "8")]
pub message_details: ::core::option::Option<MessageDetails>,
}
/// Represents details of a phone call conversation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PhoneCallDetails {
/// Output only. The duration (in milliseconds) of the phone call (end to end).
#[prost(int64, tag = "1")]
pub call_duration_millis: i64,
/// Output only. URL to the call recording audio file.
#[prost(string, tag = "2")]
pub call_recording_url: ::prost::alloc::string::String,
}
/// Represents details of text message in case of email, message or SMS.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MessageDetails {
/// Output only. Textual content of the message.
#[prost(string, tag = "1")]
pub text: ::prost::alloc::string::String,
}
/// Custom conversion goal that can make arbitrary conversion actions biddable.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomConversionGoal {
/// Immutable. The resource name of the custom conversion goal.
/// Custom conversion goal resource names have the form:
///
/// `customers/{customer_id}/customConversionGoals/{goal_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The ID for this custom conversion goal.
#[prost(int64, tag = "2")]
pub id: i64,
/// The name for this custom conversion goal.
#[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String,
/// Conversion actions that the custom conversion goal makes biddable.
#[prost(string, repeated, tag = "4")]
pub conversion_actions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The status of the custom conversion goal.
#[prost(
enumeration = "super::enums::custom_conversion_goal_status_enum::CustomConversionGoalStatus",
tag = "5"
)]
pub status: i32,
}
/// A travel activity performance view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TravelActivityPerformanceView {
/// Output only. The resource name of the travel activity performance view.
/// Travel Activity performance view resource names have the form:
///
/// `customers/{customer_id}/travelActivityPerformanceView`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// A customizer value for the associated CustomizerAttribute at the
/// AdGroupCriterion level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupCriterionCustomizer {
/// Immutable. The resource name of the ad group criterion customizer.
/// Ad group criterion customizer resource names have the form:
///
/// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The ad group criterion to which the customizer attribute is
/// linked. It must be a keyword criterion.
#[prost(string, optional, tag = "2")]
pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>,
/// Required. Immutable. The customizer attribute which is linked to the ad
/// group criterion.
#[prost(string, tag = "3")]
pub customizer_attribute: ::prost::alloc::string::String,
/// Output only. The status of the ad group criterion customizer.
#[prost(
enumeration = "super::enums::customizer_value_status_enum::CustomizerValueStatus",
tag = "4"
)]
pub status: i32,
/// Required. The value to associate with the customizer attribute at this
/// level. The value must be of the type specified for the CustomizerAttribute.
#[prost(message, optional, tag = "5")]
pub value: ::core::option::Option<super::common::CustomizerValue>,
}
/// An ad group ad.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupAd {
/// Immutable. The resource name of the ad.
/// Ad group ad resource names have the form:
///
/// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// The status of the ad.
#[prost(
enumeration = "super::enums::ad_group_ad_status_enum::AdGroupAdStatus",
tag = "3"
)]
pub status: i32,
/// Immutable. The ad group to which the ad belongs.
#[prost(string, optional, tag = "9")]
pub ad_group: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The ad.
#[prost(message, optional, tag = "5")]
pub ad: ::core::option::Option<Ad>,
/// Output only. Policy information for the ad.
#[prost(message, optional, tag = "6")]
pub policy_summary: ::core::option::Option<AdGroupAdPolicySummary>,
/// Output only. Overall ad strength for this ad group ad.
#[prost(enumeration = "super::enums::ad_strength_enum::AdStrength", tag = "7")]
pub ad_strength: i32,
/// Output only. A list of recommendations to improve the ad strength. For
/// example, a recommendation could be "Try adding a few more unique headlines
/// or unpinning some assets.".
#[prost(string, repeated, tag = "13")]
pub action_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Output only. The resource names of labels attached to this ad group ad.
#[prost(string, repeated, tag = "10")]
pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Contains policy information for an ad.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupAdPolicySummary {
/// Output only. The list of policy findings for this ad.
#[prost(message, repeated, tag = "1")]
pub policy_topic_entries: ::prost::alloc::vec::Vec<super::common::PolicyTopicEntry>,
/// Output only. Where in the review process this ad is.
#[prost(
enumeration = "super::enums::policy_review_status_enum::PolicyReviewStatus",
tag = "2"
)]
pub review_status: i32,
/// Output only. The overall approval status of this ad, calculated based on
/// the status of its individual policy topic entries.
#[prost(
enumeration = "super::enums::policy_approval_status_enum::PolicyApprovalStatus",
tag = "3"
)]
pub approval_status: i32,
}
/// A feed item target.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FeedItemTarget {
/// Immutable. The resource name of the feed item target.
/// Feed item target resource names have the form:
/// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The feed item to which this feed item target belongs.
#[prost(string, optional, tag = "12")]
pub feed_item: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The target type of this feed item target. This field is
/// read-only.
#[prost(
enumeration = "super::enums::feed_item_target_type_enum::FeedItemTargetType",
tag = "3"
)]
pub feed_item_target_type: i32,
/// Output only. The ID of the targeted resource. This field is read-only.
#[prost(int64, optional, tag = "13")]
pub feed_item_target_id: ::core::option::Option<i64>,
/// Output only. Status of the feed item target.
/// This field is read-only.
#[prost(
enumeration = "super::enums::feed_item_target_status_enum::FeedItemTargetStatus",
tag = "11"
)]
pub status: i32,
/// The targeted resource.
#[prost(oneof = "feed_item_target::Target", tags = "14, 15, 7, 16, 9, 10")]
pub target: ::core::option::Option<feed_item_target::Target>,
}
/// Nested message and enum types in `FeedItemTarget`.
pub mod feed_item_target {
/// The targeted resource.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Target {
/// Immutable. The targeted campaign.
#[prost(string, tag = "14")]
Campaign(::prost::alloc::string::String),
/// Immutable. The targeted ad group.
#[prost(string, tag = "15")]
AdGroup(::prost::alloc::string::String),
/// Immutable. The targeted keyword.
#[prost(message, tag = "7")]
Keyword(super::super::common::KeywordInfo),
/// Immutable. The targeted geo target constant resource name.
#[prost(string, tag = "16")]
GeoTargetConstant(::prost::alloc::string::String),
/// Immutable. The targeted device.
#[prost(
enumeration = "super::super::enums::feed_item_target_device_enum::FeedItemTargetDevice",
tag = "9"
)]
Device(i32),
/// Immutable. The targeted schedule.
#[prost(message, tag = "10")]
AdSchedule(super::super::common::AdScheduleInfo),
}
}
/// Conversion goal settings for a Campaign.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConversionGoalCampaignConfig {
/// Immutable. The resource name of the conversion goal campaign config.
/// Conversion goal campaign config resource names have the form:
///
/// `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The campaign with which this conversion goal campaign config is
/// associated.
#[prost(string, tag = "2")]
pub campaign: ::prost::alloc::string::String,
/// The level of goal config the campaign is using.
#[prost(
enumeration = "super::enums::goal_config_level_enum::GoalConfigLevel",
tag = "3"
)]
pub goal_config_level: i32,
/// The custom conversion goal the campaign is using for optimization.
#[prost(string, tag = "4")]
pub custom_conversion_goal: ::prost::alloc::string::String,
}
/// An ad schedule view summarizes the performance of campaigns by
/// AdSchedule criteria.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdScheduleView {
/// Output only. The resource name of the ad schedule view.
/// AdSchedule view resource names have the form:
///
/// `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// An asset field type view.
/// This view reports non-overcounted metrics for each asset field type when the
/// asset is used as extension.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetFieldTypeView {
/// Output only. The resource name of the asset field type view.
/// Asset field type view resource names have the form:
///
/// `customers/{customer_id}/assetFieldTypeViews/{field_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The asset field type of the asset field type view.
#[prost(
enumeration = "super::enums::asset_field_type_enum::AssetFieldType",
tag = "3"
)]
pub field_type: i32,
}
/// A Product Category.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProductCategoryConstant {
/// Output only. The resource name of the product category.
/// Product category resource names have the form:
///
/// `productCategoryConstants/{level}~{category_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the product category.
///
/// This ID is equivalent to the google_product_category ID as described in
/// this article: <https://support.google.com/merchants/answer/6324436.>
#[prost(int64, tag = "2")]
pub category_id: i64,
/// Output only. Resource name of the parent product category.
#[prost(string, optional, tag = "3")]
pub product_category_constant_parent: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. Level of the product category.
#[prost(
enumeration = "super::enums::product_category_level_enum::ProductCategoryLevel",
tag = "4"
)]
pub level: i32,
/// Output only. State of the product category.
#[prost(
enumeration = "super::enums::product_category_state_enum::ProductCategoryState",
tag = "5"
)]
pub state: i32,
/// Output only. List of all available localizations of the product category.
#[prost(message, repeated, tag = "6")]
pub localizations: ::prost::alloc::vec::Vec<
product_category_constant::ProductCategoryLocalization,
>,
}
/// Nested message and enum types in `ProductCategoryConstant`.
pub mod product_category_constant {
/// Localization for the product category.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProductCategoryLocalization {
/// Output only. Upper-case two-letter ISO 3166-1 country code of the
/// localized category.
#[prost(string, tag = "1")]
pub region_code: ::prost::alloc::string::String,
/// Output only. Two-letter ISO 639-1 language code of the localized
/// category.
#[prost(string, tag = "2")]
pub language_code: ::prost::alloc::string::String,
/// Output only. The name of the category in the specified locale.
#[prost(string, tag = "3")]
pub value: ::prost::alloc::string::String,
}
}
/// A keyword view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeywordView {
/// Output only. The resource name of the keyword view.
/// Keyword view resource names have the form:
///
/// `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// A Keyword Planner ad group.
/// Max number of keyword plan ad groups per plan: 200.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeywordPlanAdGroup {
/// Immutable. The resource name of the Keyword Planner ad group.
/// KeywordPlanAdGroup resource names have the form:
///
/// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// The keyword plan campaign to which this ad group belongs.
#[prost(string, optional, tag = "6")]
pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ID of the keyword plan ad group.
#[prost(int64, optional, tag = "7")]
pub id: ::core::option::Option<i64>,
/// The name of the keyword plan ad group.
///
/// This field is required and should not be empty when creating keyword plan
/// ad group.
#[prost(string, optional, tag = "8")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// A default ad group max cpc bid in micros in account currency for all
/// biddable keywords under the keyword plan ad group.
/// If not set, will inherit from parent campaign.
#[prost(int64, optional, tag = "9")]
pub cpc_bid_micros: ::core::option::Option<i64>,
}
/// An ad group extension setting.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupExtensionSetting {
/// Immutable. The resource name of the ad group extension setting.
/// AdGroupExtensionSetting resource names have the form:
///
/// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The extension type of the ad group extension setting.
#[prost(enumeration = "super::enums::extension_type_enum::ExtensionType", tag = "2")]
pub extension_type: i32,
/// Immutable. The resource name of the ad group. The linked extension feed
/// items will serve under this ad group. AdGroup resource names have the form:
///
/// `customers/{customer_id}/adGroups/{ad_group_id}`
#[prost(string, optional, tag = "6")]
pub ad_group: ::core::option::Option<::prost::alloc::string::String>,
/// The resource names of the extension feed items to serve under the ad group.
/// ExtensionFeedItem resource names have the form:
///
/// `customers/{customer_id}/extensionFeedItems/{feed_item_id}`
#[prost(string, repeated, tag = "7")]
pub extension_feed_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The device for which the extensions will serve. Optional.
#[prost(
enumeration = "super::enums::extension_setting_device_enum::ExtensionSettingDevice",
tag = "5"
)]
pub device: i32,
}
/// A Smart Campaign keyword theme constant.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeywordThemeConstant {
/// Output only. The resource name of the keyword theme constant.
/// Keyword theme constant resource names have the form:
///
/// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US".
/// To display and query matching purpose, the keyword theme needs to be
/// localized.
#[prost(string, optional, tag = "2")]
pub country_code: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ISO-639-1 language code with 2 letters of the constant,
/// eg. "en". To display and query matching purpose, the keyword theme needs to
/// be localized.
#[prost(string, optional, tag = "3")]
pub language_code: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The display name of the keyword theme or sub keyword theme.
#[prost(string, optional, tag = "4")]
pub display_name: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a relationship between a customer and a label. This customer may
/// not have access to all the labels attached to it. Additional CustomerLabels
/// may be returned by increasing permissions with login-customer-id.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerLabel {
/// Immutable. Name of the resource.
/// Customer label resource names have the form:
/// `customers/{customer_id}/customerLabels/{label_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The resource name of the customer to which the label is
/// attached. Read only.
#[prost(string, optional, tag = "4")]
pub customer: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The resource name of the label assigned to the customer.
///
/// Note: the Customer ID portion of the label resource name is not
/// validated when creating a new CustomerLabel.
#[prost(string, optional, tag = "5")]
pub label: ::core::option::Option<::prost::alloc::string::String>,
}
/// An Android privacy shared key view for Google campaign key.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AndroidPrivacySharedKeyGoogleCampaign {
/// Output only. The resource name of the Android privacy shared key.
/// Android privacy shared key resource names have the form:
///
/// `customers/{customer_id}/androidPrivacySharedKeyGoogleCampaigns/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_interaction_date(yyyy-mm-dd)}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The campaign ID used in the share key encoding.
#[prost(int64, tag = "2")]
pub campaign_id: i64,
/// Output only. The interaction type enum used in the share key encoding.
#[prost(
enumeration = "super::enums::android_privacy_interaction_type_enum::AndroidPrivacyInteractionType",
tag = "3"
)]
pub android_privacy_interaction_type: i32,
/// Output only. The interaction date used in the shared key encoding in the
/// format of "YYYY-MM-DD" in UTC timezone.
#[prost(string, tag = "4")]
pub android_privacy_interaction_date: ::prost::alloc::string::String,
/// Output only. 128 bit hex string of the encoded shared campaign key,
/// including a '0x' prefix. This key can be used to do a bitwise OR operator
/// with the aggregate conversion key to create a full aggregation key to
/// retrieve the Aggregate API Report in Android Privacy Sandbox.
#[prost(string, tag = "5")]
pub shared_campaign_key: ::prost::alloc::string::String,
}
/// An ad group criterion simulation. Supported combinations of advertising
/// channel type, criterion type, simulation type, and simulation modification
/// method are detailed below respectively. Hotel AdGroupCriterion simulation
/// operations starting in V5.
///
/// 1. DISPLAY - KEYWORD - CPC_BID - UNIFORM
/// 2. SEARCH - KEYWORD - CPC_BID - UNIFORM
/// 3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM
/// 4. HOTEL - LISTING_GROUP - CPC_BID - UNIFORM
/// 5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupCriterionSimulation {
/// Output only. The resource name of the ad group criterion simulation.
/// Ad group criterion simulation resource names have the form:
///
/// `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. AdGroup ID of the simulation.
#[prost(int64, optional, tag = "9")]
pub ad_group_id: ::core::option::Option<i64>,
/// Output only. Criterion ID of the simulation.
#[prost(int64, optional, tag = "10")]
pub criterion_id: ::core::option::Option<i64>,
/// Output only. The field that the simulation modifies.
#[prost(
enumeration = "super::enums::simulation_type_enum::SimulationType",
tag = "4"
)]
pub r#type: i32,
/// Output only. How the simulation modifies the field.
#[prost(
enumeration = "super::enums::simulation_modification_method_enum::SimulationModificationMethod",
tag = "5"
)]
pub modification_method: i32,
/// Output only. First day on which the simulation is based, in YYYY-MM-DD
/// format.
#[prost(string, optional, tag = "11")]
pub start_date: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Last day on which the simulation is based, in YYYY-MM-DD
/// format.
#[prost(string, optional, tag = "12")]
pub end_date: ::core::option::Option<::prost::alloc::string::String>,
/// List of simulation points.
#[prost(oneof = "ad_group_criterion_simulation::PointList", tags = "8, 13")]
pub point_list: ::core::option::Option<ad_group_criterion_simulation::PointList>,
}
/// Nested message and enum types in `AdGroupCriterionSimulation`.
pub mod ad_group_criterion_simulation {
/// List of simulation points.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum PointList {
/// Output only. Simulation points if the simulation type is CPC_BID.
#[prost(message, tag = "8")]
CpcBidPointList(super::super::common::CpcBidSimulationPointList),
/// Output only. Simulation points if the simulation type is PERCENT_CPC_BID.
#[prost(message, tag = "13")]
PercentCpcBidPointList(super::super::common::PercentCpcBidSimulationPointList),
}
}
/// A criterion belonging to a shared set.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SharedCriterion {
/// Immutable. The resource name of the shared criterion.
/// Shared set resource names have the form:
///
/// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The shared set to which the shared criterion belongs.
#[prost(string, optional, tag = "10")]
pub shared_set: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ID of the criterion.
///
/// This field is ignored for mutates.
#[prost(int64, optional, tag = "11")]
pub criterion_id: ::core::option::Option<i64>,
/// Output only. The type of the criterion.
#[prost(enumeration = "super::enums::criterion_type_enum::CriterionType", tag = "4")]
pub r#type: i32,
/// The criterion.
///
/// Exactly one must be set.
#[prost(oneof = "shared_criterion::Criterion", tags = "3, 5, 6, 7, 8, 9, 12")]
pub criterion: ::core::option::Option<shared_criterion::Criterion>,
}
/// Nested message and enum types in `SharedCriterion`.
pub mod shared_criterion {
/// The criterion.
///
/// Exactly one must be set.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Criterion {
/// Immutable. Keyword.
#[prost(message, tag = "3")]
Keyword(super::super::common::KeywordInfo),
/// Immutable. YouTube Video.
#[prost(message, tag = "5")]
YoutubeVideo(super::super::common::YouTubeVideoInfo),
/// Immutable. YouTube Channel.
#[prost(message, tag = "6")]
YoutubeChannel(super::super::common::YouTubeChannelInfo),
/// Immutable. Placement.
#[prost(message, tag = "7")]
Placement(super::super::common::PlacementInfo),
/// Immutable. Mobile App Category.
#[prost(message, tag = "8")]
MobileAppCategory(super::super::common::MobileAppCategoryInfo),
/// Immutable. Mobile application.
#[prost(message, tag = "9")]
MobileApplication(super::super::common::MobileApplicationInfo),
/// Immutable. Brand.
#[prost(message, tag = "12")]
Brand(super::super::common::BrandInfo),
}
}
/// A geographic view.
///
/// Geographic View includes all metrics aggregated at the country level,
/// one row per country. It reports metrics at either actual physical location of
/// the user or an area of interest. If other segment fields are used, you may
/// get more than one row per country.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GeographicView {
/// Output only. The resource name of the geographic view.
/// Geographic view resource names have the form:
///
/// `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Type of the geo targeting of the campaign.
#[prost(
enumeration = "super::enums::geo_targeting_type_enum::GeoTargetingType",
tag = "3"
)]
pub location_type: i32,
/// Output only. Criterion Id for the country.
#[prost(int64, optional, tag = "5")]
pub country_criterion_id: ::core::option::Option<i64>,
}
/// Represents the data sharing connection between a Google
/// Ads customer and another product.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProductLink {
/// Immutable. Resource name of the product link.
/// ProductLink resource names have the form:
///
/// `customers/{customer_id}/productLinks/{product_link_id} `
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the link.
/// This field is read only.
#[prost(int64, optional, tag = "2")]
pub product_link_id: ::core::option::Option<i64>,
/// Output only. The type of the linked product.
#[prost(
enumeration = "super::enums::linked_product_type_enum::LinkedProductType",
tag = "3"
)]
pub r#type: i32,
/// A product linked to this account.
#[prost(oneof = "product_link::LinkedProduct", tags = "4, 5, 12")]
pub linked_product: ::core::option::Option<product_link::LinkedProduct>,
}
/// Nested message and enum types in `ProductLink`.
pub mod product_link {
/// A product linked to this account.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum LinkedProduct {
/// Immutable. Data partner link.
#[prost(message, tag = "4")]
DataPartner(super::DataPartnerIdentifier),
/// Immutable. Google Ads link.
#[prost(message, tag = "5")]
GoogleAds(super::GoogleAdsIdentifier),
/// Immutable. Google Merchant Center link.
#[prost(message, tag = "12")]
MerchantCenter(super::MerchantCenterIdentifier),
}
}
/// The identifier for Data Partner account.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DataPartnerIdentifier {
/// Immutable. The customer ID of the Data partner account.
/// This field is required and should not be empty when creating a new
/// data partner link. It is unable to be modified after the creation of
/// the link.
#[prost(int64, optional, tag = "1")]
pub data_partner_id: ::core::option::Option<i64>,
}
/// The identifier for Google Ads account.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GoogleAdsIdentifier {
/// Immutable. The resource name of the Google Ads account.
/// This field is required and should not be empty when creating a new
/// Google Ads link. It is unable to be modified after the creation of
/// the link.
#[prost(string, optional, tag = "1")]
pub customer: ::core::option::Option<::prost::alloc::string::String>,
}
/// The identifier for Google Merchant Center account
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MerchantCenterIdentifier {
/// Immutable. The customer ID of the Google Merchant Center account.
/// This field is required and should not be empty when creating a new
/// Merchant Center link. It is unable to be modified after the creation of
/// the link.
#[prost(int64, optional, tag = "1")]
pub merchant_center_id: ::core::option::Option<i64>,
}
/// A Keyword Plan campaign.
/// Max number of keyword plan campaigns per plan allowed: 1.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeywordPlanCampaign {
/// Immutable. The resource name of the Keyword Plan campaign.
/// KeywordPlanCampaign resource names have the form:
///
/// `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// The keyword plan this campaign belongs to.
#[prost(string, optional, tag = "9")]
pub keyword_plan: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ID of the Keyword Plan campaign.
#[prost(int64, optional, tag = "10")]
pub id: ::core::option::Option<i64>,
/// The name of the Keyword Plan campaign.
///
/// This field is required and should not be empty when creating Keyword Plan
/// campaigns.
#[prost(string, optional, tag = "11")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// The languages targeted for the Keyword Plan campaign.
/// Max allowed: 1.
#[prost(string, repeated, tag = "12")]
pub language_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Targeting network.
///
/// This field is required and should not be empty when creating Keyword Plan
/// campaigns.
#[prost(
enumeration = "super::enums::keyword_plan_network_enum::KeywordPlanNetwork",
tag = "6"
)]
pub keyword_plan_network: i32,
/// A default max cpc bid in micros, and in the account currency, for all ad
/// groups under the campaign.
///
/// This field is required and should not be empty when creating Keyword Plan
/// campaigns.
#[prost(int64, optional, tag = "13")]
pub cpc_bid_micros: ::core::option::Option<i64>,
/// The geo targets.
/// Max number allowed: 20.
#[prost(message, repeated, tag = "8")]
pub geo_targets: ::prost::alloc::vec::Vec<KeywordPlanGeoTarget>,
}
/// A geo target.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeywordPlanGeoTarget {
/// Required. The resource name of the geo target.
#[prost(string, optional, tag = "2")]
pub geo_target_constant: ::core::option::Option<::prost::alloc::string::String>,
}
/// A media file.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MediaFile {
/// Immutable. The resource name of the media file.
/// Media file resource names have the form:
///
/// `customers/{customer_id}/mediaFiles/{media_file_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the media file.
#[prost(int64, optional, tag = "12")]
pub id: ::core::option::Option<i64>,
/// Immutable. Type of the media file.
#[prost(enumeration = "super::enums::media_type_enum::MediaType", tag = "5")]
pub r#type: i32,
/// Output only. The mime type of the media file.
#[prost(enumeration = "super::enums::mime_type_enum::MimeType", tag = "6")]
pub mime_type: i32,
/// Immutable. The URL of where the original media file was downloaded from (or
/// a file name). Only used for media of type AUDIO and IMAGE.
#[prost(string, optional, tag = "13")]
pub source_url: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The name of the media file. The name can be used by clients to
/// help identify previously uploaded media.
#[prost(string, optional, tag = "14")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The size of the media file in bytes.
#[prost(int64, optional, tag = "15")]
pub file_size: ::core::option::Option<i64>,
/// The specific type of the media file.
#[prost(oneof = "media_file::Mediatype", tags = "3, 4, 10, 11")]
pub mediatype: ::core::option::Option<media_file::Mediatype>,
}
/// Nested message and enum types in `MediaFile`.
pub mod media_file {
/// The specific type of the media file.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Mediatype {
/// Immutable. Encapsulates an Image.
#[prost(message, tag = "3")]
Image(super::MediaImage),
/// Immutable. A ZIP archive media the content of which contains HTML5
/// assets.
#[prost(message, tag = "4")]
MediaBundle(super::MediaBundle),
/// Output only. Encapsulates an Audio.
#[prost(message, tag = "10")]
Audio(super::MediaAudio),
/// Immutable. Encapsulates a Video.
#[prost(message, tag = "11")]
Video(super::MediaVideo),
}
}
/// Encapsulates an Image.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MediaImage {
/// Immutable. Raw image data.
#[prost(bytes = "bytes", optional, tag = "4")]
pub data: ::core::option::Option<::prost::bytes::Bytes>,
/// Output only. The url to the full size version of the image.
#[prost(string, optional, tag = "2")]
pub full_size_image_url: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The url to the preview size version of the image.
#[prost(string, optional, tag = "3")]
pub preview_size_image_url: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a ZIP archive media the content of which contains HTML5 assets.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MediaBundle {
/// Immutable. Raw zipped data.
#[prost(bytes = "bytes", optional, tag = "3")]
pub data: ::core::option::Option<::prost::bytes::Bytes>,
/// Output only. The url to access the uploaded zipped data.
/// For example, <https://tpc.googlesyndication.com/simgad/123>
/// This field is read-only.
#[prost(string, optional, tag = "2")]
pub url: ::core::option::Option<::prost::alloc::string::String>,
}
/// Encapsulates an Audio.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MediaAudio {
/// Output only. The duration of the Audio in milliseconds.
#[prost(int64, optional, tag = "2")]
pub ad_duration_millis: ::core::option::Option<i64>,
}
/// Encapsulates a Video.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MediaVideo {
/// Output only. The duration of the Video in milliseconds.
#[prost(int64, optional, tag = "5")]
pub ad_duration_millis: ::core::option::Option<i64>,
/// Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix
/// "<https://www.youtube.com/watch?v="> to this ID will get the YouTube
/// streaming URL for this video.
#[prost(string, optional, tag = "6")]
pub youtube_video_id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The Advertising Digital Identification code for this video, as
/// defined by the American Association of Advertising Agencies, used mainly
/// for television commercials.
#[prost(string, optional, tag = "7")]
pub advertising_id_code: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The Industry Standard Commercial Identifier code for this
/// video, used mainly for television commercials.
#[prost(string, optional, tag = "8")]
pub isci_code: ::core::option::Option<::prost::alloc::string::String>,
}
/// A language.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LanguageConstant {
/// Output only. The resource name of the language constant.
/// Language constant resource names have the form:
///
/// `languageConstants/{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the language constant.
#[prost(int64, optional, tag = "6")]
pub id: ::core::option::Option<i64>,
/// Output only. The language code, for example, "en_US", "en_AU", "es", "fr",
/// etc.
#[prost(string, optional, tag = "7")]
pub code: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The full name of the language in English, for example,
/// "English (US)", "Spanish", etc.
#[prost(string, optional, tag = "8")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Whether the language is targetable.
#[prost(bool, optional, tag = "9")]
pub targetable: ::core::option::Option<bool>,
}
/// A campaign group.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignGroup {
/// Immutable. The resource name of the campaign group.
/// Campaign group resource names have the form:
///
/// `customers/{customer_id}/campaignGroups/{campaign_group_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the campaign group.
#[prost(int64, tag = "3")]
pub id: i64,
/// The name of the campaign group.
///
/// This field is required and should not be empty when creating new campaign
/// groups.
///
/// It must not contain any null (code point 0x0), NL line feed
/// (code point 0xA) or carriage return (code point 0xD) characters.
#[prost(string, tag = "4")]
pub name: ::prost::alloc::string::String,
/// The status of the campaign group.
///
/// When a new campaign group is added, the status defaults to ENABLED.
#[prost(
enumeration = "super::enums::campaign_group_status_enum::CampaignGroupStatus",
tag = "5"
)]
pub status: i32,
}
/// An ad group audience view.
/// Includes performance data from interests and remarketing lists for Display
/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA),
/// aggregated at the audience level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupAudienceView {
/// Output only. The resource name of the ad group audience view.
/// Ad group audience view resource names have the form:
///
/// `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// CustomerAssetSet is the linkage between a customer and an asset set.
/// Adding a CustomerAssetSet links an asset set with a customer.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerAssetSet {
/// Immutable. The resource name of the customer asset set.
/// Asset set asset resource names have the form:
///
/// `customers/{customer_id}/customerAssetSets/{asset_set_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The asset set which is linked to the customer.
#[prost(string, tag = "2")]
pub asset_set: ::prost::alloc::string::String,
/// Immutable. The customer to which this asset set is linked.
#[prost(string, tag = "3")]
pub customer: ::prost::alloc::string::String,
/// Output only. The status of the customer asset set asset. Read-only.
#[prost(
enumeration = "super::enums::asset_set_link_status_enum::AssetSetLinkStatus",
tag = "4"
)]
pub status: i32,
}
/// A Keyword Plan ad group keyword.
/// Max number of keyword plan keywords per plan: 10000.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeywordPlanAdGroupKeyword {
/// Immutable. The resource name of the Keyword Plan ad group keyword.
/// KeywordPlanAdGroupKeyword resource names have the form:
///
/// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// The Keyword Plan ad group to which this keyword belongs.
#[prost(string, optional, tag = "8")]
pub keyword_plan_ad_group: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ID of the Keyword Plan keyword.
#[prost(int64, optional, tag = "9")]
pub id: ::core::option::Option<i64>,
/// The keyword text.
#[prost(string, optional, tag = "10")]
pub text: ::core::option::Option<::prost::alloc::string::String>,
/// The keyword match type.
#[prost(
enumeration = "super::enums::keyword_match_type_enum::KeywordMatchType",
tag = "5"
)]
pub match_type: i32,
/// A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency
/// is the same as the account currency code. This will override any CPC bid
/// set at the keyword plan ad group level. Not applicable for negative
/// keywords. (negative = true) This field is Optional.
#[prost(int64, optional, tag = "11")]
pub cpc_bid_micros: ::core::option::Option<i64>,
/// Immutable. If true, the keyword is negative.
#[prost(bool, optional, tag = "12")]
pub negative: ::core::option::Option<bool>,
}
/// Account level customer lifecycle goal settings.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerLifecycleGoal {
/// Immutable. The resource name of the customer lifecycle goal.
/// Customer lifecycle resource names have the form:
///
/// `customers/{customer_id}/customerLifecycleGoal`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Common lifecycle goal settings shared among different types of
/// lifecycle goals.
#[prost(message, optional, tag = "2")]
pub lifecycle_goal_customer_definition_settings: ::core::option::Option<
customer_lifecycle_goal::LifecycleGoalCustomerDefinitionSettings,
>,
/// Output only. Customer acquisition goal customer level value settings.
#[prost(message, optional, tag = "3")]
pub customer_acquisition_goal_value_settings: ::core::option::Option<
super::common::LifecycleGoalValueSettings,
>,
}
/// Nested message and enum types in `CustomerLifecycleGoal`.
pub mod customer_lifecycle_goal {
/// Lifecycle goal common settings, including existing user lists and existing
/// high lifetime value user lists, shared among different types of lifecycle
/// goals.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LifecycleGoalCustomerDefinitionSettings {
/// Output only. User lists which represent existing customers.
#[prost(string, repeated, tag = "1")]
pub existing_user_lists: ::prost::alloc::vec::Vec<
::prost::alloc::string::String,
>,
/// Output only. User lists which represent customers of high lifetime value.
/// In current stage, high lifetime value feature is in beta and this field
/// is read-only.
#[prost(string, repeated, tag = "2")]
pub high_lifetime_value_user_lists: ::prost::alloc::vec::Vec<
::prost::alloc::string::String,
>,
}
}
/// A Keyword Plan Campaign keyword.
/// Only negative keywords are supported for Campaign Keyword.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeywordPlanCampaignKeyword {
/// Immutable. The resource name of the Keyword Plan Campaign keyword.
/// KeywordPlanCampaignKeyword resource names have the form:
///
/// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// The Keyword Plan campaign to which this negative keyword belongs.
#[prost(string, optional, tag = "8")]
pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ID of the Keyword Plan negative keyword.
#[prost(int64, optional, tag = "9")]
pub id: ::core::option::Option<i64>,
/// The keyword text.
#[prost(string, optional, tag = "10")]
pub text: ::core::option::Option<::prost::alloc::string::String>,
/// The keyword match type.
#[prost(
enumeration = "super::enums::keyword_match_type_enum::KeywordMatchType",
tag = "5"
)]
pub match_type: i32,
/// Immutable. If true, the keyword is negative.
/// Must be set to true. Only negative campaign keywords are supported.
#[prost(bool, optional, tag = "11")]
pub negative: ::core::option::Option<bool>,
}
/// Represents a view of BiddingStrategies owned by and shared with the customer.
///
/// In contrast to BiddingStrategy, this resource includes strategies owned by
/// managers of the customer and shared with this customer - in addition to
/// strategies owned by this customer. This resource does not provide metrics and
/// only exposes a limited subset of the BiddingStrategy attributes.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AccessibleBiddingStrategy {
/// Output only. The resource name of the accessible bidding strategy.
/// AccessibleBiddingStrategy resource names have the form:
///
/// `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the bidding strategy.
#[prost(int64, tag = "2")]
pub id: i64,
/// Output only. The name of the bidding strategy.
#[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String,
/// Output only. The type of the bidding strategy.
#[prost(
enumeration = "super::enums::bidding_strategy_type_enum::BiddingStrategyType",
tag = "4"
)]
pub r#type: i32,
/// Output only. The ID of the Customer which owns the bidding strategy.
#[prost(int64, tag = "5")]
pub owner_customer_id: i64,
/// Output only. descriptive_name of the Customer which owns the bidding
/// strategy.
#[prost(string, tag = "6")]
pub owner_descriptive_name: ::prost::alloc::string::String,
/// The bidding scheme.
///
/// Only one can be set.
#[prost(oneof = "accessible_bidding_strategy::Scheme", tags = "7, 8, 9, 10, 11, 12")]
pub scheme: ::core::option::Option<accessible_bidding_strategy::Scheme>,
}
/// Nested message and enum types in `AccessibleBiddingStrategy`.
pub mod accessible_bidding_strategy {
/// An automated bidding strategy to help get the most conversion value for
/// your campaigns while spending your budget.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MaximizeConversionValue {
/// Output only. The target return on ad spend (ROAS) option. If set, the bid
/// strategy will maximize revenue while averaging the target return on ad
/// spend. If the target ROAS is high, the bid strategy may not be able to
/// spend the full budget. If the target ROAS is not set, the bid strategy
/// will aim to achieve the highest possible ROAS for the budget.
#[prost(double, tag = "1")]
pub target_roas: f64,
}
/// An automated bidding strategy to help get the most conversions for your
/// campaigns while spending your budget.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MaximizeConversions {
/// Output only. The target cost per acquisition (CPA) option. This is the
/// average amount that you would like to spend per acquisition.
#[prost(int64, tag = "2")]
pub target_cpa_micros: i64,
}
/// An automated bid strategy that sets bids to help get as many conversions as
/// possible at the target cost-per-acquisition (CPA) you set.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TargetCpa {
/// Output only. Average CPA target.
/// This target should be greater than or equal to minimum billable unit
/// based on the currency for the account.
#[prost(int64, optional, tag = "1")]
pub target_cpa_micros: ::core::option::Option<i64>,
}
/// An automated bidding strategy that sets bids so that a certain percentage
/// of search ads are shown at the top of the first page (or other targeted
/// location).
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TargetImpressionShare {
/// Output only. The targeted location on the search results page.
#[prost(
enumeration = "super::super::enums::target_impression_share_location_enum::TargetImpressionShareLocation",
tag = "1"
)]
pub location: i32,
/// The chosen fraction of ads to be shown in the targeted location in
/// micros. For example, 1% equals 10,000.
#[prost(int64, optional, tag = "2")]
pub location_fraction_micros: ::core::option::Option<i64>,
/// Output only. The highest CPC bid the automated bidding system is
/// permitted to specify. This is a required field entered by the advertiser
/// that sets the ceiling and specified in local micros.
#[prost(int64, optional, tag = "3")]
pub cpc_bid_ceiling_micros: ::core::option::Option<i64>,
}
/// An automated bidding strategy that helps you maximize revenue while
/// averaging a specific target return on ad spend (ROAS).
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TargetRoas {
/// Output only. The chosen revenue (based on conversion data) per unit of
/// spend.
#[prost(double, optional, tag = "1")]
pub target_roas: ::core::option::Option<f64>,
}
/// An automated bid strategy that sets your bids to help get as many clicks
/// as possible within your budget.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TargetSpend {
/// Output only. The spend target under which to maximize clicks.
/// A TargetSpend bidder will attempt to spend the smaller of this value
/// or the natural throttling spend amount.
/// If not specified, the budget is used as the spend target.
/// This field is deprecated and should no longer be used. See
/// <https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html>
/// for details.
#[deprecated]
#[prost(int64, optional, tag = "1")]
pub target_spend_micros: ::core::option::Option<i64>,
/// Output only. Maximum bid limit that can be set by the bid strategy.
/// The limit applies to all keywords managed by the strategy.
#[prost(int64, optional, tag = "2")]
pub cpc_bid_ceiling_micros: ::core::option::Option<i64>,
}
/// The bidding scheme.
///
/// Only one can be set.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum Scheme {
/// Output only. An automated bidding strategy to help get the most
/// conversion value for your campaigns while spending your budget.
#[prost(message, tag = "7")]
MaximizeConversionValue(MaximizeConversionValue),
/// Output only. An automated bidding strategy to help get the most
/// conversions for your campaigns while spending your budget.
#[prost(message, tag = "8")]
MaximizeConversions(MaximizeConversions),
/// Output only. A bidding strategy that sets bids to help get as many
/// conversions as possible at the target cost-per-acquisition (CPA) you set.
#[prost(message, tag = "9")]
TargetCpa(TargetCpa),
/// Output only. A bidding strategy that automatically optimizes towards a
/// chosen percentage of impressions.
#[prost(message, tag = "10")]
TargetImpressionShare(TargetImpressionShare),
/// Output only. A bidding strategy that helps you maximize revenue while
/// averaging a specific target Return On Ad Spend (ROAS).
#[prost(message, tag = "11")]
TargetRoas(TargetRoas),
/// Output only. A bid strategy that sets your bids to help get as many
/// clicks as possible within your budget.
#[prost(message, tag = "12")]
TargetSpend(TargetSpend),
}
}
/// Represents a link between a FeedItem and a FeedItemSet.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FeedItemSetLink {
/// Immutable. The resource name of the feed item set link.
/// Feed item set link resource names have the form:
/// `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The linked FeedItem.
#[prost(string, tag = "2")]
pub feed_item: ::prost::alloc::string::String,
/// Immutable. The linked FeedItemSet.
#[prost(string, tag = "3")]
pub feed_item_set: ::prost::alloc::string::String,
}
/// A user location view.
///
/// User Location View includes all metrics aggregated at the country level,
/// one row per country. It reports metrics at the actual physical location of
/// the user by targeted or not targeted location. If other segment fields are
/// used, you may get more than one row per country.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserLocationView {
/// Output only. The resource name of the user location view.
/// UserLocation view resource names have the form:
///
/// `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Criterion Id for the country.
#[prost(int64, optional, tag = "4")]
pub country_criterion_id: ::core::option::Option<i64>,
/// Output only. Indicates whether location was targeted or not.
#[prost(bool, optional, tag = "5")]
pub targeting_location: ::core::option::Option<bool>,
}
/// A geo target constant.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GeoTargetConstant {
/// Output only. The resource name of the geo target constant.
/// Geo target constant resource names have the form:
///
/// `geoTargetConstants/{geo_target_constant_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the geo target constant.
#[prost(int64, optional, tag = "10")]
pub id: ::core::option::Option<i64>,
/// Output only. Geo target constant English name.
#[prost(string, optional, tag = "11")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ISO-3166-1 alpha-2 country code that is associated with
/// the target.
#[prost(string, optional, tag = "12")]
pub country_code: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Geo target constant target type.
#[prost(string, optional, tag = "13")]
pub target_type: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Geo target constant status.
#[prost(
enumeration = "super::enums::geo_target_constant_status_enum::GeoTargetConstantStatus",
tag = "7"
)]
pub status: i32,
/// Output only. The fully qualified English name, consisting of the target's
/// name and that of its parent and country.
#[prost(string, optional, tag = "14")]
pub canonical_name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The resource name of the parent geo target constant.
/// Geo target constant resource names have the form:
///
/// `geoTargetConstants/{parent_geo_target_constant_id}`
#[prost(string, optional, tag = "9")]
pub parent_geo_target: ::core::option::Option<::prost::alloc::string::String>,
}
/// A customizer value for the associated CustomizerAttribute at the Campaign
/// level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignCustomizer {
/// Immutable. The resource name of the campaign customizer.
/// Campaign customizer resource names have the form:
///
/// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The campaign to which the customizer attribute is linked.
#[prost(string, tag = "2")]
pub campaign: ::prost::alloc::string::String,
/// Required. Immutable. The customizer attribute which is linked to the
/// campaign.
#[prost(string, tag = "3")]
pub customizer_attribute: ::prost::alloc::string::String,
/// Output only. The status of the campaign customizer.
#[prost(
enumeration = "super::enums::customizer_value_status_enum::CustomizerValueStatus",
tag = "4"
)]
pub status: i32,
/// Required. The value to associate with the customizer attribute at this
/// level. The value must be of the type specified for the CustomizerAttribute.
#[prost(message, optional, tag = "5")]
pub value: ::core::option::Option<super::common::CustomizerValue>,
}
/// A landing page view with metrics aggregated at the unexpanded final URL
/// level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LandingPageView {
/// Output only. The resource name of the landing page view.
/// Landing page view resource names have the form:
///
/// `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The advertiser-specified final URL.
#[prost(string, optional, tag = "3")]
pub unexpanded_final_url: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents customer client link relationship.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerClientLink {
/// Immutable. Name of the resource.
/// CustomerClientLink resource names have the form:
/// `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The client customer linked to this customer.
#[prost(string, optional, tag = "7")]
pub client_customer: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. This is uniquely identifies a customer client link. Read only.
#[prost(int64, optional, tag = "8")]
pub manager_link_id: ::core::option::Option<i64>,
/// This is the status of the link between client and manager.
#[prost(
enumeration = "super::enums::manager_link_status_enum::ManagerLinkStatus",
tag = "5"
)]
pub status: i32,
/// The visibility of the link. Users can choose whether or not to see hidden
/// links in the Google Ads UI.
/// Default value is false
#[prost(bool, optional, tag = "9")]
pub hidden: ::core::option::Option<bool>,
}
/// Represents a bid-modifiable only criterion at the campaign level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignBidModifier {
/// Immutable. The resource name of the campaign bid modifier.
/// Campaign bid modifier resource names have the form:
///
/// `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The campaign to which this criterion belongs.
#[prost(string, optional, tag = "6")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ID of the criterion to bid modify.
///
/// This field is ignored for mutates.
#[prost(int64, optional, tag = "7")]
pub criterion_id: ::core::option::Option<i64>,
/// The modifier for the bid when the criterion matches.
#[prost(double, optional, tag = "8")]
pub bid_modifier: ::core::option::Option<f64>,
/// The criterion of this campaign bid modifier.
///
/// Required in create operations starting in V5.
#[prost(oneof = "campaign_bid_modifier::Criterion", tags = "5")]
pub criterion: ::core::option::Option<campaign_bid_modifier::Criterion>,
}
/// Nested message and enum types in `CampaignBidModifier`.
pub mod campaign_bid_modifier {
/// The criterion of this campaign bid modifier.
///
/// Required in create operations starting in V5.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum Criterion {
/// Immutable. Criterion for interaction type. Only supported for search
/// campaigns.
#[prost(message, tag = "5")]
InteractionType(super::super::common::InteractionTypeInfo),
}
}
/// A relationship between an ad group and a label.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupLabel {
/// Immutable. The resource name of the ad group label.
/// Ad group label resource names have the form:
/// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The ad group to which the label is attached.
#[prost(string, optional, tag = "4")]
pub ad_group: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The label assigned to the ad group.
#[prost(string, optional, tag = "5")]
pub label: ::core::option::Option<::prost::alloc::string::String>,
}
/// An age range view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AgeRangeView {
/// Output only. The resource name of the age range view.
/// Age range view resource names have the form:
///
/// `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// Represents the data sharing connection between a Google Ads account and
/// another account
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AccountLink {
/// Immutable. Resource name of the account link.
/// AccountLink resource names have the form:
/// `customers/{customer_id}/accountLinks/{account_link_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the link.
/// This field is read only.
#[prost(int64, optional, tag = "8")]
pub account_link_id: ::core::option::Option<i64>,
/// The status of the link.
#[prost(
enumeration = "super::enums::account_link_status_enum::AccountLinkStatus",
tag = "3"
)]
pub status: i32,
/// Output only. The type of the linked account.
#[prost(
enumeration = "super::enums::linked_account_type_enum::LinkedAccountType",
tag = "4"
)]
pub r#type: i32,
/// An account linked to this Google Ads account.
#[prost(oneof = "account_link::LinkedAccount", tags = "5, 6, 7, 10")]
pub linked_account: ::core::option::Option<account_link::LinkedAccount>,
}
/// Nested message and enum types in `AccountLink`.
pub mod account_link {
/// An account linked to this Google Ads account.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum LinkedAccount {
/// Immutable. A third party app analytics link.
#[prost(message, tag = "5")]
ThirdPartyAppAnalytics(super::ThirdPartyAppAnalyticsLinkIdentifier),
/// Output only. Data partner link.
#[prost(message, tag = "6")]
DataPartner(super::DataPartnerLinkIdentifier),
/// Output only. Google Ads link.
#[prost(message, tag = "7")]
GoogleAds(super::GoogleAdsLinkIdentifier),
/// Output only. Advertising Partner link
#[prost(message, tag = "10")]
AdvertisingPartner(super::AdvertisingPartnerLinkIdentifier),
}
}
/// The identifiers of a Third Party App Analytics Link.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ThirdPartyAppAnalyticsLinkIdentifier {
/// Immutable. The ID of the app analytics provider.
/// This field should not be empty when creating a new third
/// party app analytics link. It is unable to be modified after the creation of
/// the link.
#[prost(int64, optional, tag = "4")]
pub app_analytics_provider_id: ::core::option::Option<i64>,
/// Immutable. A string that uniquely identifies a mobile application from
/// which the data was collected to the Google Ads API. For iOS, the ID string
/// is the 9 digit string that appears at the end of an App Store URL (for
/// example, "422689480" for "Gmail" whose App Store link is
/// <https://apps.apple.com/us/app/gmail-email-by-google/id422689480>). For
/// Android, the ID string is the application's package name (for example,
/// "com.google.android.gm" for "Gmail" given Google Play link
/// <https://play.google.com/store/apps/details?id=com.google.android.gm>)
/// This field should not be empty when creating a new third
/// party app analytics link. It is unable to be modified after the creation of
/// the link.
#[prost(string, optional, tag = "5")]
pub app_id: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The vendor of the app.
/// This field should not be empty when creating a new third
/// party app analytics link. It is unable to be modified after the creation of
/// the link.
#[prost(
enumeration = "super::enums::mobile_app_vendor_enum::MobileAppVendor",
tag = "3"
)]
pub app_vendor: i32,
}
/// The identifier for Data Partner account.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DataPartnerLinkIdentifier {
/// Immutable. The customer ID of the Data partner account.
/// This field is required and should not be empty when creating a new
/// data partner link. It is unable to be modified after the creation of
/// the link.
#[prost(int64, optional, tag = "1")]
pub data_partner_id: ::core::option::Option<i64>,
}
/// The identifier for Google Ads account.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GoogleAdsLinkIdentifier {
/// Immutable. The resource name of the Google Ads account.
/// This field is required and should not be empty when creating a new
/// Google Ads link. It is unable to be modified after the creation of
/// the link.
#[prost(string, optional, tag = "3")]
pub customer: ::core::option::Option<::prost::alloc::string::String>,
}
/// The identifier for the Advertising Partner Google Ads account.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdvertisingPartnerLinkIdentifier {
/// Immutable. The resource name of the advertising partner Google Ads account.
/// This field is required and should not be empty when creating a new
/// Advertising Partner link. It is unable to be modified after the creation of
/// the link.
#[prost(string, optional, tag = "1")]
pub customer: ::core::option::Option<::prost::alloc::string::String>,
}
/// A topic view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TopicView {
/// Output only. The resource name of the topic view.
/// Topic view resource names have the form:
///
/// `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// A custom audience. This is a list of users by interest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomAudience {
/// Immutable. The resource name of the custom audience.
/// Custom audience resource names have the form:
///
/// `customers/{customer_id}/customAudiences/{custom_audience_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. ID of the custom audience.
#[prost(int64, tag = "2")]
pub id: i64,
/// Output only. Status of this custom audience. Indicates whether the custom
/// audience is enabled or removed.
#[prost(
enumeration = "super::enums::custom_audience_status_enum::CustomAudienceStatus",
tag = "3"
)]
pub status: i32,
/// Name of the custom audience. It should be unique for all custom audiences
/// created by a customer.
/// This field is required for creating operations.
#[prost(string, tag = "4")]
pub name: ::prost::alloc::string::String,
/// Type of the custom audience.
/// ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom
/// audience but kept for existing audiences)
#[prost(
enumeration = "super::enums::custom_audience_type_enum::CustomAudienceType",
tag = "5"
)]
pub r#type: i32,
/// Description of this custom audience.
#[prost(string, tag = "6")]
pub description: ::prost::alloc::string::String,
/// List of custom audience members that this custom audience is composed of.
/// Members can be added during CustomAudience creation. If members are
/// presented in UPDATE operation, existing members will be overridden.
#[prost(message, repeated, tag = "7")]
pub members: ::prost::alloc::vec::Vec<CustomAudienceMember>,
}
/// A member of custom audience. A member can be a KEYWORD, URL,
/// PLACE_CATEGORY or APP. It can only be created or removed but not changed.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomAudienceMember {
/// The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP.
#[prost(
enumeration = "super::enums::custom_audience_member_type_enum::CustomAudienceMemberType",
tag = "1"
)]
pub member_type: i32,
/// The CustomAudienceMember value. One field is populated depending on the
/// member type.
#[prost(oneof = "custom_audience_member::Value", tags = "2, 3, 4, 5")]
pub value: ::core::option::Option<custom_audience_member::Value>,
}
/// Nested message and enum types in `CustomAudienceMember`.
pub mod custom_audience_member {
/// The CustomAudienceMember value. One field is populated depending on the
/// member type.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Value {
/// A keyword or keyword phrase — at most 10 words and 80 characters.
/// Languages with double-width characters such as Chinese, Japanese,
/// or Korean, are allowed 40 characters, which describes the user's
/// interests or actions.
#[prost(string, tag = "2")]
Keyword(::prost::alloc::string::String),
/// An HTTP URL, protocol-included — at most 2048 characters, which includes
/// contents users have interests in.
#[prost(string, tag = "3")]
Url(::prost::alloc::string::String),
/// A place type described by a place category users visit.
#[prost(int64, tag = "4")]
PlaceCategory(i64),
/// A package name of Android apps which users installed such as
/// com.google.example.
#[prost(string, tag = "5")]
App(::prost::alloc::string::String),
}
}
/// A feed item.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FeedItem {
/// Immutable. The resource name of the feed item.
/// Feed item resource names have the form:
///
/// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The feed to which this feed item belongs.
#[prost(string, optional, tag = "11")]
pub feed: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ID of this feed item.
#[prost(int64, optional, tag = "12")]
pub id: ::core::option::Option<i64>,
/// Start time in which this feed item is effective and can begin serving. The
/// time is in the customer's time zone.
/// The format is "YYYY-MM-DD HH:MM:SS".
/// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
#[prost(string, optional, tag = "13")]
pub start_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// End time in which this feed item is no longer effective and will stop
/// serving. The time is in the customer's time zone.
/// The format is "YYYY-MM-DD HH:MM:SS".
/// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
#[prost(string, optional, tag = "14")]
pub end_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// The feed item's attribute values.
#[prost(message, repeated, tag = "6")]
pub attribute_values: ::prost::alloc::vec::Vec<FeedItemAttributeValue>,
/// Geo targeting restriction specifies the type of location that can be used
/// for targeting.
#[prost(
enumeration = "super::enums::geo_targeting_restriction_enum::GeoTargetingRestriction",
tag = "7"
)]
pub geo_targeting_restriction: i32,
/// The list of mappings used to substitute custom parameter tags in a
/// `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
#[prost(message, repeated, tag = "8")]
pub url_custom_parameters: ::prost::alloc::vec::Vec<super::common::CustomParameter>,
/// Output only. Status of the feed item.
/// This field is read-only.
#[prost(
enumeration = "super::enums::feed_item_status_enum::FeedItemStatus",
tag = "9"
)]
pub status: i32,
/// Output only. List of info about a feed item's validation and approval state
/// for active feed mappings. There will be an entry in the list for each type
/// of feed mapping associated with the feed, for example, a feed with a
/// sitelink and a call feed mapping would cause every feed item associated
/// with that feed to have an entry in this list for both sitelink and call.
/// This field is read-only.
#[prost(message, repeated, tag = "10")]
pub policy_infos: ::prost::alloc::vec::Vec<FeedItemPlaceholderPolicyInfo>,
}
/// A feed item attribute value.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FeedItemAttributeValue {
/// Id of the feed attribute for which the value is associated with.
#[prost(int64, optional, tag = "11")]
pub feed_attribute_id: ::core::option::Option<i64>,
/// Int64 value. Should be set if feed_attribute_id refers to a feed attribute
/// of type INT64.
#[prost(int64, optional, tag = "12")]
pub integer_value: ::core::option::Option<i64>,
/// Bool value. Should be set if feed_attribute_id refers to a feed attribute
/// of type BOOLEAN.
#[prost(bool, optional, tag = "13")]
pub boolean_value: ::core::option::Option<bool>,
/// String value. Should be set if feed_attribute_id refers to a feed attribute
/// of type STRING, URL or DATE_TIME.
/// For STRING the maximum length is 1500 characters. For URL the maximum
/// length is 2076 characters. For DATE_TIME the string must be in the format
/// "YYYYMMDD HHMMSS".
#[prost(string, optional, tag = "14")]
pub string_value: ::core::option::Option<::prost::alloc::string::String>,
/// Double value. Should be set if feed_attribute_id refers to a feed attribute
/// of type DOUBLE.
#[prost(double, optional, tag = "15")]
pub double_value: ::core::option::Option<f64>,
/// Price value. Should be set if feed_attribute_id refers to a feed attribute
/// of type PRICE.
#[prost(message, optional, tag = "6")]
pub price_value: ::core::option::Option<super::common::Money>,
/// Repeated int64 value. Should be set if feed_attribute_id refers to a feed
/// attribute of type INT64_LIST.
#[prost(int64, repeated, tag = "16")]
pub integer_values: ::prost::alloc::vec::Vec<i64>,
/// Repeated bool value. Should be set if feed_attribute_id refers to a feed
/// attribute of type BOOLEAN_LIST.
#[prost(bool, repeated, tag = "17")]
pub boolean_values: ::prost::alloc::vec::Vec<bool>,
/// Repeated string value. Should be set if feed_attribute_id refers to a feed
/// attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST.
/// For STRING_LIST and URL_LIST the total size of the list in bytes may not
/// exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200.
///
/// For STRING_LIST the maximum length of each string element is 1500
/// characters. For URL_LIST the maximum length is 2076 characters. For
/// DATE_TIME the format of the string must be the same as start and end time
/// for the feed item.
#[prost(string, repeated, tag = "18")]
pub string_values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Repeated double value. Should be set if feed_attribute_id refers to a feed
/// attribute of type DOUBLE_LIST.
#[prost(double, repeated, tag = "19")]
pub double_values: ::prost::alloc::vec::Vec<f64>,
}
/// Policy, validation, and quality approval info for a feed item for the
/// specified placeholder type.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FeedItemPlaceholderPolicyInfo {
/// Output only. The placeholder type.
#[prost(
enumeration = "super::enums::placeholder_type_enum::PlaceholderType",
tag = "10"
)]
pub placeholder_type_enum: i32,
/// Output only. The FeedMapping that contains the placeholder type.
#[prost(string, optional, tag = "11")]
pub feed_mapping_resource_name: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. Where the placeholder type is in the review process.
#[prost(
enumeration = "super::enums::policy_review_status_enum::PolicyReviewStatus",
tag = "3"
)]
pub review_status: i32,
/// Output only. The overall approval status of the placeholder type,
/// calculated based on the status of its individual policy topic entries.
#[prost(
enumeration = "super::enums::policy_approval_status_enum::PolicyApprovalStatus",
tag = "4"
)]
pub approval_status: i32,
/// Output only. The list of policy findings for the placeholder type.
#[prost(message, repeated, tag = "5")]
pub policy_topic_entries: ::prost::alloc::vec::Vec<super::common::PolicyTopicEntry>,
/// Output only. The validation status of the placeholder type.
#[prost(
enumeration = "super::enums::feed_item_validation_status_enum::FeedItemValidationStatus",
tag = "6"
)]
pub validation_status: i32,
/// Output only. List of placeholder type validation errors.
#[prost(message, repeated, tag = "7")]
pub validation_errors: ::prost::alloc::vec::Vec<FeedItemValidationError>,
/// Output only. Placeholder type quality evaluation approval status.
#[prost(
enumeration = "super::enums::feed_item_quality_approval_status_enum::FeedItemQualityApprovalStatus",
tag = "8"
)]
pub quality_approval_status: i32,
/// Output only. List of placeholder type quality evaluation disapproval
/// reasons.
#[prost(
enumeration = "super::enums::feed_item_quality_disapproval_reason_enum::FeedItemQualityDisapprovalReason",
repeated,
packed = "false",
tag = "9"
)]
pub quality_disapproval_reasons: ::prost::alloc::vec::Vec<i32>,
}
/// Stores a validation error and the set of offending feed attributes which
/// together are responsible for causing a feed item validation error.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FeedItemValidationError {
/// Output only. Error code indicating what validation error was triggered. The
/// description of the error can be found in the 'description' field.
#[prost(
enumeration = "super::errors::feed_item_validation_error_enum::FeedItemValidationError",
tag = "1"
)]
pub validation_error: i32,
/// Output only. The description of the validation error.
#[prost(string, optional, tag = "6")]
pub description: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Set of feed attributes in the feed item flagged during
/// validation. If empty, no specific feed attributes can be associated with
/// the error (for example, error across the entire feed item).
#[prost(int64, repeated, packed = "false", tag = "7")]
pub feed_attribute_ids: ::prost::alloc::vec::Vec<i64>,
/// Output only. Any extra information related to this error which is not
/// captured by validation_error and feed_attribute_id (for example,
/// placeholder field IDs when feed_attribute_id is not mapped). Note that
/// extra_info is not localized.
#[prost(string, optional, tag = "8")]
pub extra_info: ::core::option::Option<::prost::alloc::string::String>,
}
/// A user interest: a particular interest-based vertical to be targeted.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserInterest {
/// Output only. The resource name of the user interest.
/// User interest resource names have the form:
///
/// `customers/{customer_id}/userInterests/{user_interest_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Taxonomy type of the user interest.
#[prost(
enumeration = "super::enums::user_interest_taxonomy_type_enum::UserInterestTaxonomyType",
tag = "2"
)]
pub taxonomy_type: i32,
/// Output only. The ID of the user interest.
#[prost(int64, optional, tag = "8")]
pub user_interest_id: ::core::option::Option<i64>,
/// Output only. The name of the user interest.
#[prost(string, optional, tag = "9")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The parent of the user interest.
#[prost(string, optional, tag = "10")]
pub user_interest_parent: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. True if the user interest is launched to all channels and
/// locales.
#[prost(bool, optional, tag = "11")]
pub launched_to_all: ::core::option::Option<bool>,
/// Output only. Availability information of the user interest.
#[prost(message, repeated, tag = "7")]
pub availabilities: ::prost::alloc::vec::Vec<
super::common::CriterionCategoryAvailability,
>,
}
/// A conversion action.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConversionAction {
/// Immutable. The resource name of the conversion action.
/// Conversion action resource names have the form:
///
/// `customers/{customer_id}/conversionActions/{conversion_action_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the conversion action.
#[prost(int64, optional, tag = "21")]
pub id: ::core::option::Option<i64>,
/// The name of the conversion action.
///
/// This field is required and should not be empty when creating new
/// conversion actions.
#[prost(string, optional, tag = "22")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// The status of this conversion action for conversion event accrual.
#[prost(
enumeration = "super::enums::conversion_action_status_enum::ConversionActionStatus",
tag = "4"
)]
pub status: i32,
/// Immutable. The type of this conversion action.
#[prost(
enumeration = "super::enums::conversion_action_type_enum::ConversionActionType",
tag = "5"
)]
pub r#type: i32,
/// Output only. The conversion origin of this conversion action.
#[prost(
enumeration = "super::enums::conversion_origin_enum::ConversionOrigin",
tag = "30"
)]
pub origin: i32,
/// If a conversion action's primary_for_goal bit is false, the conversion
/// action is non-biddable for all campaigns regardless of their customer
/// conversion goal or campaign conversion goal.
/// However, custom conversion goals do not respect primary_for_goal, so if
/// a campaign has a custom conversion goal configured with a
/// primary_for_goal = false conversion action, that conversion action is
/// still biddable.
/// By default, primary_for_goal will be true if not set. In V9,
/// primary_for_goal can only be set to false after creation through an
/// 'update' operation because it's not declared as optional.
#[prost(bool, optional, tag = "31")]
pub primary_for_goal: ::core::option::Option<bool>,
/// The category of conversions reported for this conversion action.
#[prost(
enumeration = "super::enums::conversion_action_category_enum::ConversionActionCategory",
tag = "6"
)]
pub category: i32,
/// Output only. The resource name of the conversion action owner customer, or
/// null if this is a system-defined conversion action.
#[prost(string, optional, tag = "23")]
pub owner_customer: ::core::option::Option<::prost::alloc::string::String>,
/// Whether this conversion action should be included in the "conversions"
/// metric.
#[prost(bool, optional, tag = "24")]
pub include_in_conversions_metric: ::core::option::Option<bool>,
/// The maximum number of days that may elapse between an interaction
/// (for example, a click) and a conversion event.
#[prost(int64, optional, tag = "25")]
pub click_through_lookback_window_days: ::core::option::Option<i64>,
/// The maximum number of days which may elapse between an impression and a
/// conversion without an interaction.
#[prost(int64, optional, tag = "26")]
pub view_through_lookback_window_days: ::core::option::Option<i64>,
/// Settings related to the value for conversion events associated with this
/// conversion action.
#[prost(message, optional, tag = "11")]
pub value_settings: ::core::option::Option<conversion_action::ValueSettings>,
/// How to count conversion events for the conversion action.
#[prost(
enumeration = "super::enums::conversion_action_counting_type_enum::ConversionActionCountingType",
tag = "12"
)]
pub counting_type: i32,
/// Settings related to this conversion action's attribution model.
#[prost(message, optional, tag = "13")]
pub attribution_model_settings: ::core::option::Option<
conversion_action::AttributionModelSettings,
>,
/// Output only. The snippets used for tracking conversions.
#[prost(message, repeated, tag = "14")]
pub tag_snippets: ::prost::alloc::vec::Vec<super::common::TagSnippet>,
/// The phone call duration in seconds after which a conversion should be
/// reported for this conversion action.
///
/// The value must be between 0 and 10000, inclusive.
#[prost(int64, optional, tag = "27")]
pub phone_call_duration_seconds: ::core::option::Option<i64>,
/// App ID for an app conversion action.
#[prost(string, optional, tag = "28")]
pub app_id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Mobile app vendor for an app conversion action.
#[prost(
enumeration = "super::enums::mobile_app_vendor_enum::MobileAppVendor",
tag = "17"
)]
pub mobile_app_vendor: i32,
/// Output only. Firebase settings for Firebase conversion types.
#[prost(message, optional, tag = "18")]
pub firebase_settings: ::core::option::Option<conversion_action::FirebaseSettings>,
/// Output only. Third Party App Analytics settings for third party conversion
/// types.
#[prost(message, optional, tag = "19")]
pub third_party_app_analytics_settings: ::core::option::Option<
conversion_action::ThirdPartyAppAnalyticsSettings,
>,
/// Output only. Google Analytics 4 settings for Google Analytics 4 conversion
/// types.
#[prost(message, optional, tag = "34")]
pub google_analytics_4_settings: ::core::option::Option<
conversion_action::GoogleAnalytics4Settings,
>,
}
/// Nested message and enum types in `ConversionAction`.
pub mod conversion_action {
/// Settings related to this conversion action's attribution model.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AttributionModelSettings {
/// The attribution model type of this conversion action.
#[prost(
enumeration = "super::super::enums::attribution_model_enum::AttributionModel",
tag = "1"
)]
pub attribution_model: i32,
/// Output only. The status of the data-driven attribution model for the
/// conversion action.
#[prost(
enumeration = "super::super::enums::data_driven_model_status_enum::DataDrivenModelStatus",
tag = "2"
)]
pub data_driven_model_status: i32,
}
/// Settings related to the value for conversion events associated with this
/// conversion action.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ValueSettings {
/// The value to use when conversion events for this conversion action are
/// sent with an invalid, disallowed or missing value, or when
/// this conversion action is configured to always use the default value.
#[prost(double, optional, tag = "4")]
pub default_value: ::core::option::Option<f64>,
/// The currency code to use when conversion events for this conversion
/// action are sent with an invalid or missing currency code, or when this
/// conversion action is configured to always use the default value.
#[prost(string, optional, tag = "5")]
pub default_currency_code: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Controls whether the default value and default currency code are used in
/// place of the value and currency code specified in conversion events for
/// this conversion action.
#[prost(bool, optional, tag = "6")]
pub always_use_default_value: ::core::option::Option<bool>,
}
/// Settings related to a third party app analytics conversion action.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ThirdPartyAppAnalyticsSettings {
/// Output only. The event name of a third-party app analytics conversion.
#[prost(string, optional, tag = "2")]
pub event_name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Name of the third-party app analytics provider.
#[prost(string, tag = "3")]
pub provider_name: ::prost::alloc::string::String,
}
/// Settings related to a Firebase conversion action.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FirebaseSettings {
/// Output only. The event name of a Firebase conversion.
#[prost(string, optional, tag = "3")]
pub event_name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The Firebase project ID of the conversion.
#[prost(string, optional, tag = "4")]
pub project_id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The GA property ID of the conversion.
#[prost(int64, tag = "5")]
pub property_id: i64,
/// Output only. The GA property name of the conversion.
#[prost(string, tag = "6")]
pub property_name: ::prost::alloc::string::String,
}
/// Settings related to a Google Analytics 4 conversion action.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GoogleAnalytics4Settings {
/// Output only. The name of the GA 4 event.
#[prost(string, tag = "1")]
pub event_name: ::prost::alloc::string::String,
/// Output only. The name of the GA 4 property.
#[prost(string, tag = "2")]
pub property_name: ::prost::alloc::string::String,
/// Output only. The ID of the GA 4 property.
#[prost(int64, tag = "3")]
pub property_id: i64,
}
}
/// A billing setup, which associates a payments account and an advertiser. A
/// billing setup is specific to one advertiser.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BillingSetup {
/// Immutable. The resource name of the billing setup.
/// BillingSetup resource names have the form:
///
/// `customers/{customer_id}/billingSetups/{billing_setup_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the billing setup.
#[prost(int64, optional, tag = "15")]
pub id: ::core::option::Option<i64>,
/// Output only. The status of the billing setup.
#[prost(
enumeration = "super::enums::billing_setup_status_enum::BillingSetupStatus",
tag = "3"
)]
pub status: i32,
/// Immutable. The resource name of the payments account associated with this
/// billing setup. Payments resource names have the form:
///
/// `customers/{customer_id}/paymentsAccounts/{payments_account_id}`
/// When setting up billing, this is used to signup with an existing payments
/// account (and then payments_account_info should not be set).
/// When getting a billing setup, this and payments_account_info will be
/// populated.
#[prost(string, optional, tag = "18")]
pub payments_account: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The payments account information associated with this billing
/// setup. When setting up billing, this is used to signup with a new payments
/// account (and then payments_account should not be set). When getting a
/// billing setup, this and payments_account will be populated.
#[prost(message, optional, tag = "12")]
pub payments_account_info: ::core::option::Option<
billing_setup::PaymentsAccountInfo,
>,
/// When creating a new billing setup, this is when the setup should take
/// effect. NOW is the only acceptable start time if the customer doesn't have
/// any approved setups.
///
/// When fetching an existing billing setup, this is the requested start time.
/// However, if the setup was approved (see status) after the requested start
/// time, then this is the approval time.
#[prost(oneof = "billing_setup::StartTime", tags = "16, 10")]
pub start_time: ::core::option::Option<billing_setup::StartTime>,
/// When the billing setup ends / ended. This is either FOREVER or the start
/// time of the next scheduled billing setup.
#[prost(oneof = "billing_setup::EndTime", tags = "17, 14")]
pub end_time: ::core::option::Option<billing_setup::EndTime>,
}
/// Nested message and enum types in `BillingSetup`.
pub mod billing_setup {
/// Container of payments account information for this billing.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaymentsAccountInfo {
/// Output only. A 16 digit id used to identify the payments account
/// associated with the billing setup.
///
/// This must be passed as a string with dashes, for example,
/// "1234-5678-9012-3456".
#[prost(string, optional, tag = "6")]
pub payments_account_id: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The name of the payments account associated with the billing
/// setup.
///
/// This enables the user to specify a meaningful name for a payments account
/// to aid in reconciling monthly invoices.
///
/// This name will be printed in the monthly invoices.
#[prost(string, optional, tag = "7")]
pub payments_account_name: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Immutable. A 12 digit id used to identify the payments profile associated
/// with the billing setup.
///
/// This must be passed in as a string with dashes, for example,
/// "1234-5678-9012".
#[prost(string, optional, tag = "8")]
pub payments_profile_id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The name of the payments profile associated with the billing
/// setup.
#[prost(string, optional, tag = "9")]
pub payments_profile_name: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. A secondary payments profile id present in uncommon
/// situations, for example, when a sequential liability agreement has been
/// arranged.
#[prost(string, optional, tag = "10")]
pub secondary_payments_profile_id: ::core::option::Option<
::prost::alloc::string::String,
>,
}
/// When creating a new billing setup, this is when the setup should take
/// effect. NOW is the only acceptable start time if the customer doesn't have
/// any approved setups.
///
/// When fetching an existing billing setup, this is the requested start time.
/// However, if the setup was approved (see status) after the requested start
/// time, then this is the approval time.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum StartTime {
/// Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss
/// format. Only a future time is allowed.
#[prost(string, tag = "16")]
StartDateTime(::prost::alloc::string::String),
/// Immutable. The start time as a type. Only NOW is allowed.
#[prost(
enumeration = "super::super::enums::time_type_enum::TimeType",
tag = "10"
)]
StartTimeType(i32),
}
/// When the billing setup ends / ended. This is either FOREVER or the start
/// time of the next scheduled billing setup.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum EndTime {
/// Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss
/// format.
#[prost(string, tag = "17")]
EndDateTime(::prost::alloc::string::String),
/// Output only. The end time as a type. The only possible value is FOREVER.
#[prost(
enumeration = "super::super::enums::time_type_enum::TimeType",
tag = "14"
)]
EndTimeType(i32),
}
}
/// Biddability control for conversion actions with a matching category and
/// origin.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerConversionGoal {
/// Immutable. The resource name of the customer conversion goal.
/// Customer conversion goal resource names have the form:
///
/// `customers/{customer_id}/customerConversionGoals/{category}~{origin}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// The conversion category of this customer conversion goal. Only
/// conversion actions that have this category will be included in this goal.
#[prost(
enumeration = "super::enums::conversion_action_category_enum::ConversionActionCategory",
tag = "2"
)]
pub category: i32,
/// The conversion origin of this customer conversion goal. Only
/// conversion actions that have this conversion origin will be included in
/// this goal.
#[prost(
enumeration = "super::enums::conversion_origin_enum::ConversionOrigin",
tag = "3"
)]
pub origin: i32,
/// The biddability of the customer conversion goal.
#[prost(bool, tag = "4")]
pub biddable: bool,
}
/// An Android privacy shared key view for Google network type key.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AndroidPrivacySharedKeyGoogleNetworkType {
/// Output only. The resource name of the Android privacy shared key.
/// Android privacy shared key resource names have the form:
///
/// `customers/{customer_id}/androidPrivacySharedKeyGoogleNetworkTypes/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_privacy_interaction_date(yyyy-mm-dd)}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The campaign ID used in the share key encoding.
#[prost(int64, tag = "2")]
pub campaign_id: i64,
/// Output only. The interaction type enum used in the share key encoding.
#[prost(
enumeration = "super::enums::android_privacy_interaction_type_enum::AndroidPrivacyInteractionType",
tag = "3"
)]
pub android_privacy_interaction_type: i32,
/// Output only. The interaction date used in the shared key encoding in the
/// format of "YYYY-MM-DD" in UTC timezone.
#[prost(string, tag = "4")]
pub android_privacy_interaction_date: ::prost::alloc::string::String,
/// Output only. The network type enum used in the share key encoding.
#[prost(
enumeration = "super::enums::android_privacy_network_type_enum::AndroidPrivacyNetworkType",
tag = "5"
)]
pub android_privacy_network_type: i32,
/// Output only. 128 bit hex string of the encoded shared network type key,
/// including a '0x' prefix. This key can be used to do a bitwise OR operator
/// with the aggregate conversion key to create a full aggregation key to
/// retrieve the Aggregate API Report in Android Privacy Sandbox.
#[prost(string, tag = "6")]
pub shared_network_type_key: ::prost::alloc::string::String,
}
/// A customizer value for the associated CustomizerAttribute at the AdGroup
/// level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupCustomizer {
/// Immutable. The resource name of the ad group customizer.
/// Ad group customizer resource names have the form:
///
/// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The ad group to which the customizer attribute is linked.
#[prost(string, tag = "2")]
pub ad_group: ::prost::alloc::string::String,
/// Required. Immutable. The customizer attribute which is linked to the ad
/// group.
#[prost(string, tag = "3")]
pub customizer_attribute: ::prost::alloc::string::String,
/// Output only. The status of the ad group customizer.
#[prost(
enumeration = "super::enums::customizer_value_status_enum::CustomizerValueStatus",
tag = "4"
)]
pub status: i32,
/// Required. The value to associate with the customizer attribute at this
/// level. The value must be of the type specified for the CustomizerAttribute.
#[prost(message, optional, tag = "5")]
pub value: ::core::option::Option<super::common::CustomizerValue>,
}
/// A link between an ad group and an asset.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupAsset {
/// Immutable. The resource name of the ad group asset.
/// AdGroupAsset resource names have the form:
///
/// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Required. Immutable. The ad group to which the asset is linked.
#[prost(string, tag = "2")]
pub ad_group: ::prost::alloc::string::String,
/// Required. Immutable. The asset which is linked to the ad group.
#[prost(string, tag = "3")]
pub asset: ::prost::alloc::string::String,
/// Required. Immutable. Role that the asset takes under the linked ad group.
#[prost(
enumeration = "super::enums::asset_field_type_enum::AssetFieldType",
tag = "4"
)]
pub field_type: i32,
/// Output only. Source of the adgroup asset link.
#[prost(enumeration = "super::enums::asset_source_enum::AssetSource", tag = "6")]
pub source: i32,
/// Status of the ad group asset.
#[prost(
enumeration = "super::enums::asset_link_status_enum::AssetLinkStatus",
tag = "5"
)]
pub status: i32,
/// Output only. Provides the PrimaryStatus of this asset link.
/// Primary status is meant essentially to differentiate between the plain
/// "status" field, which has advertiser set values of enabled, paused, or
/// removed. The primary status takes into account other signals (for assets
/// its mainly policy and quality approvals) to come up with a more
/// comprehensive status to indicate its serving state.
#[prost(
enumeration = "super::enums::asset_link_primary_status_enum::AssetLinkPrimaryStatus",
tag = "7"
)]
pub primary_status: i32,
/// Output only. Provides the details of the primary status and its associated
/// reasons.
#[prost(message, repeated, tag = "8")]
pub primary_status_details: ::prost::alloc::vec::Vec<
super::common::AssetLinkPrimaryStatusDetails,
>,
/// Output only. Provides a list of reasons for why an asset is not serving or
/// not serving at full capacity.
#[prost(
enumeration = "super::enums::asset_link_primary_status_reason_enum::AssetLinkPrimaryStatusReason",
repeated,
packed = "false",
tag = "9"
)]
pub primary_status_reasons: ::prost::alloc::vec::Vec<i32>,
}
/// A gender view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenderView {
/// Output only. The resource name of the gender view.
/// Gender view resource names have the form:
///
/// `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// SharedSets are used for sharing criterion exclusions across multiple
/// campaigns.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SharedSet {
/// Immutable. The resource name of the shared set.
/// Shared set resource names have the form:
///
/// `customers/{customer_id}/sharedSets/{shared_set_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of this shared set. Read only.
#[prost(int64, optional, tag = "8")]
pub id: ::core::option::Option<i64>,
/// Immutable. The type of this shared set: each shared set holds only a single
/// kind of resource. Required. Immutable.
#[prost(
enumeration = "super::enums::shared_set_type_enum::SharedSetType",
tag = "3"
)]
pub r#type: i32,
/// The name of this shared set. Required.
/// Shared Sets must have names that are unique among active shared sets of
/// the same type.
/// The length of this string should be between 1 and 255 UTF-8 bytes,
/// inclusive.
#[prost(string, optional, tag = "9")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The status of this shared set. Read only.
#[prost(
enumeration = "super::enums::shared_set_status_enum::SharedSetStatus",
tag = "5"
)]
pub status: i32,
/// Output only. The number of shared criteria within this shared set. Read
/// only.
#[prost(int64, optional, tag = "10")]
pub member_count: ::core::option::Option<i64>,
/// Output only. The number of campaigns associated with this shared set. Read
/// only.
#[prost(int64, optional, tag = "11")]
pub reference_count: ::core::option::Option<i64>,
}
/// A click view with metrics aggregated at each click level, including both
/// valid and invalid clicks. For non-Search campaigns, metrics.clicks
/// represents the number of valid and invalid interactions.
/// Queries including ClickView must have a filter limiting the results to one
/// day and can be requested for dates back to 90 days before the time of the
/// request.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ClickView {
/// Output only. The resource name of the click view.
/// Click view resource names have the form:
///
/// `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The Google Click ID.
#[prost(string, optional, tag = "8")]
pub gclid: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The location criteria matching the area of interest associated
/// with the impression.
#[prost(message, optional, tag = "3")]
pub area_of_interest: ::core::option::Option<super::common::ClickLocation>,
/// Output only. The location criteria matching the location of presence
/// associated with the impression.
#[prost(message, optional, tag = "4")]
pub location_of_presence: ::core::option::Option<super::common::ClickLocation>,
/// Output only. Page number in search results where the ad was shown.
#[prost(int64, optional, tag = "9")]
pub page_number: ::core::option::Option<i64>,
/// Output only. The associated ad.
#[prost(string, optional, tag = "10")]
pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The associated campaign location target, if one exists.
#[prost(string, optional, tag = "11")]
pub campaign_location_target: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The associated user list, if one exists.
#[prost(string, optional, tag = "12")]
pub user_list: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The associated keyword, if one exists and the click
/// corresponds to the SEARCH channel.
#[prost(string, tag = "13")]
pub keyword: ::prost::alloc::string::String,
/// Output only. Basic information about the associated keyword, if it exists.
#[prost(message, optional, tag = "14")]
pub keyword_info: ::core::option::Option<super::common::KeywordInfo>,
}
/// A bidding strategy simulation. Supported combinations of simulation type
/// and simulation modification method are detailed below respectively.
///
/// 1. TARGET_CPA - UNIFORM
/// 2. TARGET_ROAS - UNIFORM
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BiddingStrategySimulation {
/// Output only. The resource name of the bidding strategy simulation.
/// Bidding strategy simulation resource names have the form:
///
/// `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Bidding strategy shared set id of the simulation.
#[prost(int64, tag = "2")]
pub bidding_strategy_id: i64,
/// Output only. The field that the simulation modifies.
#[prost(
enumeration = "super::enums::simulation_type_enum::SimulationType",
tag = "3"
)]
pub r#type: i32,
/// Output only. How the simulation modifies the field.
#[prost(
enumeration = "super::enums::simulation_modification_method_enum::SimulationModificationMethod",
tag = "4"
)]
pub modification_method: i32,
/// Output only. First day on which the simulation is based, in YYYY-MM-DD
/// format.
#[prost(string, tag = "5")]
pub start_date: ::prost::alloc::string::String,
/// Output only. Last day on which the simulation is based, in YYYY-MM-DD
/// format
#[prost(string, tag = "6")]
pub end_date: ::prost::alloc::string::String,
/// List of simulation points.
#[prost(oneof = "bidding_strategy_simulation::PointList", tags = "7, 8")]
pub point_list: ::core::option::Option<bidding_strategy_simulation::PointList>,
}
/// Nested message and enum types in `BiddingStrategySimulation`.
pub mod bidding_strategy_simulation {
/// List of simulation points.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum PointList {
/// Output only. Simulation points if the simulation type is TARGET_CPA.
#[prost(message, tag = "7")]
TargetCpaPointList(super::super::common::TargetCpaSimulationPointList),
/// Output only. Simulation points if the simulation type is TARGET_ROAS.
#[prost(message, tag = "8")]
TargetRoasPointList(super::super::common::TargetRoasSimulationPointList),
}
}
/// A mobile device constant.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MobileDeviceConstant {
/// Output only. The resource name of the mobile device constant.
/// Mobile device constant resource names have the form:
///
/// `mobileDeviceConstants/{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the mobile device constant.
#[prost(int64, optional, tag = "7")]
pub id: ::core::option::Option<i64>,
/// Output only. The name of the mobile device.
#[prost(string, optional, tag = "8")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The manufacturer of the mobile device.
#[prost(string, optional, tag = "9")]
pub manufacturer_name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The operating system of the mobile device.
#[prost(string, optional, tag = "10")]
pub operating_system_name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The type of mobile device.
#[prost(
enumeration = "super::enums::mobile_device_type_enum::MobileDeviceType",
tag = "6"
)]
pub r#type: i32,
}
/// Represents an ad group bid modifier.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupBidModifier {
/// Immutable. The resource name of the ad group bid modifier.
/// Ad group bid modifier resource names have the form:
///
/// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The ad group to which this criterion belongs.
#[prost(string, optional, tag = "13")]
pub ad_group: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ID of the criterion to bid modify.
///
/// This field is ignored for mutates.
#[prost(int64, optional, tag = "14")]
pub criterion_id: ::core::option::Option<i64>,
/// The modifier for the bid when the criterion matches. The modifier must be
/// in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent.
/// Use 0 to opt out of a Device type.
#[prost(double, optional, tag = "15")]
pub bid_modifier: ::core::option::Option<f64>,
/// Output only. The base ad group from which this draft/trial adgroup bid
/// modifier was created. If ad_group is a base ad group then this field will
/// be equal to ad_group. If the ad group was created in the draft or trial and
/// has no corresponding base ad group, then this field will be null. This
/// field is readonly.
#[prost(string, optional, tag = "16")]
pub base_ad_group: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Bid modifier source.
#[prost(
enumeration = "super::enums::bid_modifier_source_enum::BidModifierSource",
tag = "10"
)]
pub bid_modifier_source: i32,
/// The criterion of this ad group bid modifier.
///
/// Required in create operations starting in V5.
#[prost(oneof = "ad_group_bid_modifier::Criterion", tags = "5, 6, 7, 8, 11, 17")]
pub criterion: ::core::option::Option<ad_group_bid_modifier::Criterion>,
}
/// Nested message and enum types in `AdGroupBidModifier`.
pub mod ad_group_bid_modifier {
/// The criterion of this ad group bid modifier.
///
/// Required in create operations starting in V5.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Criterion {
/// Immutable. Criterion for hotel date selection (default dates versus user
/// selected).
#[prost(message, tag = "5")]
HotelDateSelectionType(super::super::common::HotelDateSelectionTypeInfo),
/// Immutable. Criterion for number of days prior to the stay the booking is
/// being made.
#[prost(message, tag = "6")]
HotelAdvanceBookingWindow(super::super::common::HotelAdvanceBookingWindowInfo),
/// Immutable. Criterion for length of hotel stay in nights.
#[prost(message, tag = "7")]
HotelLengthOfStay(super::super::common::HotelLengthOfStayInfo),
/// Immutable. Criterion for day of the week the booking is for.
#[prost(message, tag = "8")]
HotelCheckInDay(super::super::common::HotelCheckInDayInfo),
/// Immutable. A device criterion.
#[prost(message, tag = "11")]
Device(super::super::common::DeviceInfo),
/// Immutable. Criterion for a hotel check-in date range.
#[prost(message, tag = "17")]
HotelCheckInDateRange(super::super::common::HotelCheckInDateRangeInfo),
}
}
/// An asset set representing a collection of assets.
/// Use AssetSetAsset to link an asset to the asset set.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetSet {
/// Output only. The ID of the asset set.
#[prost(int64, tag = "6")]
pub id: i64,
/// Immutable. The resource name of the asset set.
/// Asset set resource names have the form:
///
/// `customers/{customer_id}/assetSets/{asset_set_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Required. Name of the asset set. Required. It must have a minimum length of
/// 1 and maximum length of 128.
#[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String,
/// Required. Immutable. The type of the asset set. Required.
#[prost(enumeration = "super::enums::asset_set_type_enum::AssetSetType", tag = "3")]
pub r#type: i32,
/// Output only. The status of the asset set. Read-only.
#[prost(
enumeration = "super::enums::asset_set_status_enum::AssetSetStatus",
tag = "4"
)]
pub status: i32,
/// Merchant ID and Feed Label from Google Merchant Center.
#[prost(message, optional, tag = "5")]
pub merchant_center_feed: ::core::option::Option<asset_set::MerchantCenterFeed>,
/// Immutable. Parent asset set id for the asset set where the elements of this
/// asset set come from. For example: the sync level location AssetSet id where
/// the the elements in LocationGroup AssetSet come from. This field is
/// required and only applicable for Location Group typed AssetSet.
#[prost(int64, tag = "10")]
pub location_group_parent_asset_set_id: i64,
/// Output only. For Performance Max for travel goals campaigns with a Hotel
/// Center account link. Read-only.
#[prost(message, optional, tag = "11")]
pub hotel_property_data: ::core::option::Option<asset_set::HotelPropertyData>,
/// Asset set data specific to each asset set type. Not all types have specific
/// data.
#[prost(oneof = "asset_set::AssetSetSource", tags = "7, 8, 9")]
pub asset_set_source: ::core::option::Option<asset_set::AssetSetSource>,
}
/// Nested message and enum types in `AssetSet`.
pub mod asset_set {
/// Merchant ID and Feed Label from Google Merchant Center.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MerchantCenterFeed {
/// Required. Merchant ID from Google Merchant Center
#[prost(int64, tag = "1")]
pub merchant_id: i64,
/// Optional. Feed Label from Google Merchant Center.
#[prost(string, optional, tag = "2")]
pub feed_label: ::core::option::Option<::prost::alloc::string::String>,
}
/// For Performance Max for travel goals campaigns with a Hotel
/// Center account link. Read-only.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HotelPropertyData {
/// Output only. The hotel center ID of the partner.
#[prost(int64, optional, tag = "1")]
pub hotel_center_id: ::core::option::Option<i64>,
/// Output only. Name of the hotel partner.
#[prost(string, optional, tag = "2")]
pub partner_name: ::core::option::Option<::prost::alloc::string::String>,
}
/// Asset set data specific to each asset set type. Not all types have specific
/// data.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum AssetSetSource {
/// Location asset set data. This will be used for sync level location
/// set. This can only be set if AssetSet's type is LOCATION_SYNC.
#[prost(message, tag = "7")]
LocationSet(super::super::common::LocationSet),
/// Business Profile location group asset set data.
#[prost(message, tag = "8")]
BusinessProfileLocationGroup(super::super::common::BusinessProfileLocationGroup),
/// Represents information about a Chain dynamic location group.
/// Only applicable if the sync level AssetSet's type is LOCATION_SYNC and
/// sync source is chain.
#[prost(message, tag = "9")]
ChainLocationGroup(super::super::common::ChainLocationGroup),
}
}
/// AssetSetAsset is the link between an asset and an asset set.
/// Adding an AssetSetAsset links an asset with an asset set.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetSetAsset {
/// Immutable. The resource name of the asset set asset.
/// Asset set asset resource names have the form:
///
/// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The asset set which this asset set asset is linking to.
#[prost(string, tag = "2")]
pub asset_set: ::prost::alloc::string::String,
/// Immutable. The asset which this asset set asset is linking to.
#[prost(string, tag = "3")]
pub asset: ::prost::alloc::string::String,
/// Output only. The status of the asset set asset. Read-only.
#[prost(
enumeration = "super::enums::asset_set_asset_status_enum::AssetSetAssetStatus",
tag = "4"
)]
pub status: i32,
}
/// A campaign.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Campaign {
/// Immutable. The resource name of the campaign.
/// Campaign resource names have the form:
///
/// `customers/{customer_id}/campaigns/{campaign_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the campaign.
#[prost(int64, optional, tag = "59")]
pub id: ::core::option::Option<i64>,
/// The name of the campaign.
///
/// This field is required and should not be empty when creating new
/// campaigns.
///
/// It must not contain any null (code point 0x0), NL line feed
/// (code point 0xA) or carriage return (code point 0xD) characters.
#[prost(string, optional, tag = "58")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The primary status of the campaign.
///
/// Provides insight into why a campaign is not serving or not serving
/// optimally. Modification to the campaign and its related entities might take
/// a while to be reflected in this status.
#[prost(
enumeration = "super::enums::campaign_primary_status_enum::CampaignPrimaryStatus",
tag = "81"
)]
pub primary_status: i32,
/// Output only. The primary status reasons of the campaign.
///
/// Provides insight into why a campaign is not serving or not serving
/// optimally. These reasons are aggregated to determine an overall
/// CampaignPrimaryStatus.
#[prost(
enumeration = "super::enums::campaign_primary_status_reason_enum::CampaignPrimaryStatusReason",
repeated,
packed = "false",
tag = "82"
)]
pub primary_status_reasons: ::prost::alloc::vec::Vec<i32>,
/// The status of the campaign.
///
/// When a new campaign is added, the status defaults to ENABLED.
#[prost(
enumeration = "super::enums::campaign_status_enum::CampaignStatus",
tag = "5"
)]
pub status: i32,
/// Output only. The ad serving status of the campaign.
#[prost(
enumeration = "super::enums::campaign_serving_status_enum::CampaignServingStatus",
tag = "21"
)]
pub serving_status: i32,
/// Output only. The system status of the campaign's bidding strategy.
#[prost(
enumeration = "super::enums::bidding_strategy_system_status_enum::BiddingStrategySystemStatus",
tag = "78"
)]
pub bidding_strategy_system_status: i32,
/// The ad serving optimization status of the campaign.
#[prost(
enumeration = "super::enums::ad_serving_optimization_status_enum::AdServingOptimizationStatus",
tag = "8"
)]
pub ad_serving_optimization_status: i32,
/// Immutable. The primary serving target for ads within the campaign.
/// The targeting options can be refined in `network_settings`.
///
/// This field is required and should not be empty when creating new
/// campaigns.
///
/// Can be set only when creating campaigns.
/// After the campaign is created, the field can not be changed.
#[prost(
enumeration = "super::enums::advertising_channel_type_enum::AdvertisingChannelType",
tag = "9"
)]
pub advertising_channel_type: i32,
/// Immutable. Optional refinement to `advertising_channel_type`.
/// Must be a valid sub-type of the parent channel type.
///
/// Can be set only when creating campaigns.
/// After campaign is created, the field can not be changed.
#[prost(
enumeration = "super::enums::advertising_channel_sub_type_enum::AdvertisingChannelSubType",
tag = "10"
)]
pub advertising_channel_sub_type: i32,
/// The URL template for constructing a tracking URL.
#[prost(string, optional, tag = "60")]
pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>,
/// The list of mappings used to substitute custom parameter tags in a
/// `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
#[prost(message, repeated, tag = "12")]
pub url_custom_parameters: ::prost::alloc::vec::Vec<super::common::CustomParameter>,
/// The Local Services Campaign related settings.
#[prost(message, optional, tag = "75")]
pub local_services_campaign_settings: ::core::option::Option<
campaign::LocalServicesCampaignSettings,
>,
/// Settings for Travel campaign.
#[prost(message, optional, tag = "85")]
pub travel_campaign_settings: ::core::option::Option<
campaign::TravelCampaignSettings,
>,
/// Settings for Discovery campaign.
#[prost(message, optional, tag = "87")]
pub discovery_campaign_settings: ::core::option::Option<
campaign::DiscoveryCampaignSettings,
>,
/// Settings for Real-Time Bidding, a feature only available for campaigns
/// targeting the Ad Exchange network.
#[prost(message, optional, tag = "39")]
pub real_time_bidding_setting: ::core::option::Option<
super::common::RealTimeBiddingSetting,
>,
/// The network settings for the campaign.
#[prost(message, optional, tag = "14")]
pub network_settings: ::core::option::Option<campaign::NetworkSettings>,
/// Immutable. The hotel setting for the campaign.
#[prost(message, optional, tag = "32")]
pub hotel_setting: ::core::option::Option<campaign::HotelSettingInfo>,
/// The setting for controlling Dynamic Search Ads (DSA).
#[prost(message, optional, tag = "33")]
pub dynamic_search_ads_setting: ::core::option::Option<
campaign::DynamicSearchAdsSetting,
>,
/// The setting for controlling Shopping campaigns.
#[prost(message, optional, tag = "36")]
pub shopping_setting: ::core::option::Option<campaign::ShoppingSetting>,
/// Setting for targeting related features.
#[prost(message, optional, tag = "43")]
pub targeting_setting: ::core::option::Option<super::common::TargetingSetting>,
/// Immutable. Setting for audience related features.
#[prost(message, optional, tag = "73")]
pub audience_setting: ::core::option::Option<campaign::AudienceSetting>,
/// The setting for ads geotargeting.
#[prost(message, optional, tag = "47")]
pub geo_target_type_setting: ::core::option::Option<campaign::GeoTargetTypeSetting>,
/// The setting for local campaign.
#[prost(message, optional, tag = "50")]
pub local_campaign_setting: ::core::option::Option<campaign::LocalCampaignSetting>,
/// The setting related to App Campaign.
#[prost(message, optional, tag = "51")]
pub app_campaign_setting: ::core::option::Option<campaign::AppCampaignSetting>,
/// Output only. The resource names of labels attached to this campaign.
#[prost(string, repeated, tag = "61")]
pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Output only. The type of campaign: normal, draft, or experiment.
#[prost(
enumeration = "super::enums::campaign_experiment_type_enum::CampaignExperimentType",
tag = "17"
)]
pub experiment_type: i32,
/// Output only. The resource name of the base campaign of a draft or
/// experiment campaign. For base campaigns, this is equal to `resource_name`.
///
/// This field is read-only.
#[prost(string, optional, tag = "56")]
pub base_campaign: ::core::option::Option<::prost::alloc::string::String>,
/// The budget of the campaign.
#[prost(string, optional, tag = "62")]
pub campaign_budget: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The type of bidding strategy.
///
/// A bidding strategy can be created by setting either the bidding scheme to
/// create a standard bidding strategy or the `bidding_strategy` field to
/// create a portfolio bidding strategy.
///
/// This field is read-only.
#[prost(
enumeration = "super::enums::bidding_strategy_type_enum::BiddingStrategyType",
tag = "22"
)]
pub bidding_strategy_type: i32,
/// Output only. Resource name of AccessibleBiddingStrategy, a read-only view
/// of the unrestricted attributes of the attached portfolio bidding strategy
/// identified by 'bidding_strategy'. Empty, if the campaign does not use a
/// portfolio strategy. Unrestricted strategy attributes are available to all
/// customers with whom the strategy is shared and are read from the
/// AccessibleBiddingStrategy resource. In contrast, restricted attributes are
/// only available to the owner customer of the strategy and their managers.
/// Restricted attributes can only be read from the BiddingStrategy resource.
#[prost(string, tag = "71")]
pub accessible_bidding_strategy: ::prost::alloc::string::String,
/// The date when campaign started in serving customer's timezone in YYYY-MM-DD
/// format.
#[prost(string, optional, tag = "63")]
pub start_date: ::core::option::Option<::prost::alloc::string::String>,
/// The campaign group this campaign belongs to.
#[prost(string, optional, tag = "76")]
pub campaign_group: ::core::option::Option<::prost::alloc::string::String>,
/// The last day of the campaign in serving customer's timezone in YYYY-MM-DD
/// format. On create, defaults to 2037-12-30, which means the campaign will
/// run indefinitely. To set an existing campaign to run indefinitely, set this
/// field to 2037-12-30.
#[prost(string, optional, tag = "64")]
pub end_date: ::core::option::Option<::prost::alloc::string::String>,
/// Suffix used to append query parameters to landing pages that are served
/// with parallel tracking.
#[prost(string, optional, tag = "65")]
pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>,
/// A list that limits how often each user will see this campaign's ads.
#[prost(message, repeated, tag = "40")]
pub frequency_caps: ::prost::alloc::vec::Vec<super::common::FrequencyCapEntry>,
/// Output only. 3-Tier Brand Safety setting for the campaign.
#[prost(
enumeration = "super::enums::brand_safety_suitability_enum::BrandSafetySuitability",
tag = "42"
)]
pub video_brand_safety_suitability: i32,
/// Describes how unbranded pharma ads will be displayed.
#[prost(message, optional, tag = "44")]
pub vanity_pharma: ::core::option::Option<campaign::VanityPharma>,
/// Selective optimization setting for this campaign, which includes a set of
/// conversion actions to optimize this campaign towards.
/// This feature only applies to app campaigns that use MULTI_CHANNEL as
/// AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as
/// AdvertisingChannelSubType.
#[prost(message, optional, tag = "45")]
pub selective_optimization: ::core::option::Option<campaign::SelectiveOptimization>,
/// Optimization goal setting for this campaign, which includes a set of
/// optimization goal types.
#[prost(message, optional, tag = "54")]
pub optimization_goal_setting: ::core::option::Option<
campaign::OptimizationGoalSetting,
>,
/// Output only. Campaign-level settings for tracking information.
#[prost(message, optional, tag = "46")]
pub tracking_setting: ::core::option::Option<campaign::TrackingSetting>,
/// Payment mode for the campaign.
#[prost(enumeration = "super::enums::payment_mode_enum::PaymentMode", tag = "52")]
pub payment_mode: i32,
/// Output only. Optimization score of the campaign.
///
/// Optimization score is an estimate of how well a campaign is set to perform.
/// It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the
/// campaign is performing at full potential. This field is null for unscored
/// campaigns.
///
/// See "About optimization score" at
/// <https://support.google.com/google-ads/answer/9061546.>
///
/// This field is read-only.
#[prost(double, optional, tag = "66")]
pub optimization_score: ::core::option::Option<f64>,
/// The asset field types that should be excluded from this campaign. Asset
/// links with these field types will not be inherited by this campaign from
/// the upper level.
#[prost(
enumeration = "super::enums::asset_field_type_enum::AssetFieldType",
repeated,
tag = "69"
)]
pub excluded_parent_asset_field_types: ::prost::alloc::vec::Vec<i32>,
/// The asset set types that should be excluded from this campaign. Asset set
/// links with these types will not be inherited by this campaign from
/// the upper level.
/// Location group types (GMB_DYNAMIC_LOCATION_GROUP,
/// CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of
/// LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all
/// location group asset sets are not allowed to be linked to this campaign,
/// and all Location Extension (LE) and Affiliate Location Extensions (ALE)
/// will not be served under this campaign.
/// Only LOCATION_SYNC is currently supported.
#[prost(
enumeration = "super::enums::asset_set_type_enum::AssetSetType",
repeated,
tag = "80"
)]
pub excluded_parent_asset_set_types: ::prost::alloc::vec::Vec<i32>,
/// Represents opting out of URL expansion to more targeted URLs. If opted out
/// (true), only the final URLs in the asset group or URLs specified in the
/// advertiser's Google Merchant Center or business data feeds are targeted.
/// If opted in (false), the entire domain will be targeted. This field can
/// only be set for Performance Max campaigns, where the default value is
/// false.
#[prost(bool, optional, tag = "72")]
pub url_expansion_opt_out: ::core::option::Option<bool>,
/// Output only. Information about campaigns being upgraded to Performance Max.
#[prost(message, optional, tag = "77")]
pub performance_max_upgrade: ::core::option::Option<campaign::PerformanceMaxUpgrade>,
/// Immutable. The set of hotel properties for Performance Max for travel goals
/// campaigns.
#[prost(string, optional, tag = "83")]
pub hotel_property_asset_set: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. Listing type of ads served for this campaign.
/// Field is restricted for usage with Performance Max campaigns.
#[prost(
enumeration = "super::enums::listing_type_enum::ListingType",
optional,
tag = "86"
)]
pub listing_type: ::core::option::Option<i32>,
/// Contains the opt-in/out status of each AssetAutomationType.
/// See documentation of each asset automation type enum for default
/// opt in/out behavior.
#[prost(message, repeated, tag = "88")]
pub asset_automation_settings: ::prost::alloc::vec::Vec<
campaign::AssetAutomationSetting,
>,
/// The bidding strategy for the campaign.
///
/// Must be either portfolio (created through BiddingStrategy service) or
/// standard, that is embedded into the campaign.
#[prost(
oneof = "campaign::CampaignBiddingStrategy",
tags = "67, 49, 74, 24, 25, 37, 30, 31, 26, 48, 29, 27, 34, 41"
)]
pub campaign_bidding_strategy: ::core::option::Option<
campaign::CampaignBiddingStrategy,
>,
}
/// Nested message and enum types in `Campaign`.
pub mod campaign {
/// Information about a campaign being upgraded to Performance Max.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PerformanceMaxUpgrade {
/// Output only. Indicates which Performance Max campaign the campaign is
/// upgraded to.
#[prost(string, tag = "1")]
pub performance_max_campaign: ::prost::alloc::string::String,
/// Output only. Indicates legacy campaign upgraded to Performance Max.
#[prost(string, tag = "2")]
pub pre_upgrade_campaign: ::prost::alloc::string::String,
/// Output only. The upgrade status of a campaign requested to be upgraded to
/// Performance Max.
#[prost(
enumeration = "super::super::enums::performance_max_upgrade_status_enum::PerformanceMaxUpgradeStatus",
tag = "3"
)]
pub status: i32,
}
/// The network settings for the campaign.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct NetworkSettings {
/// Whether ads will be served with google.com search results.
#[prost(bool, optional, tag = "5")]
pub target_google_search: ::core::option::Option<bool>,
/// Whether ads will be served on partner sites in the Google Search Network
/// (requires `target_google_search` to also be `true`).
#[prost(bool, optional, tag = "6")]
pub target_search_network: ::core::option::Option<bool>,
/// Whether ads will be served on specified placements in the Google Display
/// Network. Placements are specified using the Placement criterion.
#[prost(bool, optional, tag = "7")]
pub target_content_network: ::core::option::Option<bool>,
/// Whether ads will be served on the Google Partner Network.
/// This is available only to some select Google partner accounts.
#[prost(bool, optional, tag = "8")]
pub target_partner_search_network: ::core::option::Option<bool>,
/// Whether ads will be served on YouTube.
#[prost(bool, optional, tag = "9")]
pub target_youtube: ::core::option::Option<bool>,
/// Whether ads will be served on the Google TV network.
#[prost(bool, optional, tag = "10")]
pub target_google_tv_network: ::core::option::Option<bool>,
}
/// Campaign-level settings for hotel ads.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct HotelSettingInfo {
/// Immutable. The linked Hotel Center account.
#[prost(int64, optional, tag = "2")]
pub hotel_center_id: ::core::option::Option<i64>,
}
/// The setting for controlling Dynamic Search Ads (DSA).
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DynamicSearchAdsSetting {
/// Required. The Internet domain name that this setting represents, for
/// example, "google.com" or "www.google.com".
#[prost(string, tag = "6")]
pub domain_name: ::prost::alloc::string::String,
/// Required. The language code specifying the language of the domain, for
/// example, "en".
#[prost(string, tag = "7")]
pub language_code: ::prost::alloc::string::String,
/// Whether the campaign uses advertiser supplied URLs exclusively.
#[prost(bool, optional, tag = "8")]
pub use_supplied_urls_only: ::core::option::Option<bool>,
/// The list of page feeds associated with the campaign.
#[prost(string, repeated, tag = "9")]
pub feeds: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// The setting for Shopping campaigns. Defines the universe of products that
/// can be advertised by the campaign, and how this campaign interacts with
/// other Shopping campaigns.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ShoppingSetting {
/// Immutable. ID of the Merchant Center account.
/// This field is required for create operations. This field is immutable for
/// Shopping campaigns.
#[prost(int64, optional, tag = "5")]
pub merchant_id: ::core::option::Option<i64>,
/// Feed label of products to include in the campaign.
/// Only one of feed_label or sales_country can be set.
/// If used instead of sales_country, the feed_label field accepts country
/// codes in the same format for example: 'XX'.
/// Otherwise can be any string used for feed label in Google Merchant
/// Center.
#[prost(string, tag = "10")]
pub feed_label: ::prost::alloc::string::String,
/// Priority of the campaign. Campaigns with numerically higher priorities
/// take precedence over those with lower priorities.
/// This field is required for Shopping campaigns, with values between 0 and
/// 2, inclusive.
/// This field is optional for Smart Shopping campaigns, but must be equal to
/// 3 if set.
#[prost(int32, optional, tag = "7")]
pub campaign_priority: ::core::option::Option<i32>,
/// Whether to include local products.
#[prost(bool, optional, tag = "8")]
pub enable_local: ::core::option::Option<bool>,
/// Immutable. Whether to target Vehicle Listing inventory. This field is
/// supported only in Smart Shopping Campaigns. For setting Vehicle Listing
/// inventory in Performance Max campaigns, use `listing_type` instead.
#[prost(bool, tag = "9")]
pub use_vehicle_inventory: bool,
/// Immutable. The ads account IDs of advertising partners cooperating within
/// the campaign.
#[prost(int64, repeated, packed = "false", tag = "11")]
pub advertising_partner_ids: ::prost::alloc::vec::Vec<i64>,
}
/// Campaign-level settings for tracking information.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TrackingSetting {
/// Output only. The url used for dynamic tracking.
#[prost(string, optional, tag = "2")]
pub tracking_url: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a collection of settings related to ads geotargeting.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct GeoTargetTypeSetting {
/// The setting used for positive geotargeting in this particular campaign.
#[prost(
enumeration = "super::super::enums::positive_geo_target_type_enum::PositiveGeoTargetType",
tag = "1"
)]
pub positive_geo_target_type: i32,
/// The setting used for negative geotargeting in this particular campaign.
#[prost(
enumeration = "super::super::enums::negative_geo_target_type_enum::NegativeGeoTargetType",
tag = "2"
)]
pub negative_geo_target_type: i32,
}
/// Campaign setting for local campaigns.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct LocalCampaignSetting {
/// The location source type for this local campaign.
#[prost(
enumeration = "super::super::enums::location_source_type_enum::LocationSourceType",
tag = "1"
)]
pub location_source_type: i32,
}
/// Campaign-level settings for App Campaigns.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AppCampaignSetting {
/// Represents the goal which the bidding strategy of this app campaign
/// should optimize towards.
#[prost(
enumeration = "super::super::enums::app_campaign_bidding_strategy_goal_type_enum::AppCampaignBiddingStrategyGoalType",
tag = "1"
)]
pub bidding_strategy_goal_type: i32,
/// Immutable. A string that uniquely identifies a mobile application.
#[prost(string, optional, tag = "4")]
pub app_id: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The application store that distributes this specific app.
#[prost(
enumeration = "super::super::enums::app_campaign_app_store_enum::AppCampaignAppStore",
tag = "3"
)]
pub app_store: i32,
}
/// Describes how unbranded pharma ads will be displayed.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct VanityPharma {
/// The display mode for vanity pharma URLs.
#[prost(
enumeration = "super::super::enums::vanity_pharma_display_url_mode_enum::VanityPharmaDisplayUrlMode",
tag = "1"
)]
pub vanity_pharma_display_url_mode: i32,
/// The text that will be displayed in display URL of the text ad when
/// website description is the selected display mode for vanity pharma URLs.
#[prost(
enumeration = "super::super::enums::vanity_pharma_text_enum::VanityPharmaText",
tag = "2"
)]
pub vanity_pharma_text: i32,
}
/// Selective optimization setting for this campaign, which includes a set of
/// conversion actions to optimize this campaign towards.
/// This feature only applies to app campaigns that use MULTI_CHANNEL as
/// AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as
/// AdvertisingChannelSubType.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SelectiveOptimization {
/// The selected set of conversion actions for optimizing this campaign.
#[prost(string, repeated, tag = "2")]
pub conversion_actions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Optimization goal setting for this campaign, which includes a set of
/// optimization goal types.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OptimizationGoalSetting {
/// The list of optimization goal types.
#[prost(
enumeration = "super::super::enums::optimization_goal_type_enum::OptimizationGoalType",
repeated,
tag = "1"
)]
pub optimization_goal_types: ::prost::alloc::vec::Vec<i32>,
}
/// Settings for the audience targeting.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AudienceSetting {
/// Immutable. If true, this campaign uses an Audience resource for audience
/// targeting. If false, this campaign may use audience segment criteria
/// instead.
#[prost(bool, optional, tag = "1")]
pub use_audience_grouped: ::core::option::Option<bool>,
}
/// Settings for LocalServicesCampaign subresource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LocalServicesCampaignSettings {
/// Categorical level bids associated with MANUAL_CPA bidding strategy.
#[prost(message, repeated, tag = "1")]
pub category_bids: ::prost::alloc::vec::Vec<CategoryBid>,
}
/// Category bids in LocalServicesReportingCampaignSettings.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CategoryBid {
/// Category for which the bid will be associated with. For example,
/// xcat:service_area_business_plumber.
#[prost(string, optional, tag = "1")]
pub category_id: ::core::option::Option<::prost::alloc::string::String>,
/// Manual CPA bid for the category. Bid must be greater than the
/// reserve price associated for that category. Value is in micros
/// and in the advertiser's currency.
#[prost(int64, optional, tag = "2")]
pub manual_cpa_bid_micros: ::core::option::Option<i64>,
}
/// Settings for Travel campaign.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TravelCampaignSettings {
/// Immutable. The Travel account ID associated with the Travel campaign.
#[prost(int64, optional, tag = "1")]
pub travel_account_id: ::core::option::Option<i64>,
}
/// Settings for Discovery campaign.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DiscoveryCampaignSettings {
/// Immutable. Specifies whether this campaign uses upgraded targeting
/// options. When this field is set to `true`, you can use location and
/// language targeting at the ad group level as opposed to the standard
/// campaign-level targeting. This field defaults to `false`, and can only be
/// set when creating a campaign.
#[prost(bool, optional, tag = "1")]
pub upgraded_targeting: ::core::option::Option<bool>,
}
/// Asset automation setting contains pair of AssetAutomationType and the
/// asset automation opt-in/out status
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AssetAutomationSetting {
/// The asset automation type advertiser would like to opt-in/out.
#[prost(
enumeration = "super::super::enums::asset_automation_type_enum::AssetAutomationType",
optional,
tag = "1"
)]
pub asset_automation_type: ::core::option::Option<i32>,
/// The opt-in/out status of asset automation type.
#[prost(
enumeration = "super::super::enums::asset_automation_status_enum::AssetAutomationStatus",
optional,
tag = "2"
)]
pub asset_automation_status: ::core::option::Option<i32>,
}
/// The bidding strategy for the campaign.
///
/// Must be either portfolio (created through BiddingStrategy service) or
/// standard, that is embedded into the campaign.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum CampaignBiddingStrategy {
/// Portfolio bidding strategy used by campaign.
#[prost(string, tag = "67")]
BiddingStrategy(::prost::alloc::string::String),
/// Commission is an automatic bidding strategy in which the advertiser pays
/// a certain portion of the conversion value.
#[prost(message, tag = "49")]
Commission(super::super::common::Commission),
/// Standard Manual CPA bidding strategy.
/// Manual bidding strategy that allows advertiser to set the bid per
/// advertiser-specified action. Supported only for Local Services campaigns.
#[prost(message, tag = "74")]
ManualCpa(super::super::common::ManualCpa),
/// Standard Manual CPC bidding strategy.
/// Manual click-based bidding where user pays per click.
#[prost(message, tag = "24")]
ManualCpc(super::super::common::ManualCpc),
/// Standard Manual CPM bidding strategy.
/// Manual impression-based bidding where user pays per thousand
/// impressions.
#[prost(message, tag = "25")]
ManualCpm(super::super::common::ManualCpm),
/// A bidding strategy that pays a configurable amount per video view.
#[prost(message, tag = "37")]
ManualCpv(super::super::common::ManualCpv),
/// Standard Maximize Conversions bidding strategy that automatically
/// maximizes number of conversions while spending your budget.
#[prost(message, tag = "30")]
MaximizeConversions(super::super::common::MaximizeConversions),
/// Standard Maximize Conversion Value bidding strategy that automatically
/// sets bids to maximize revenue while spending your budget.
#[prost(message, tag = "31")]
MaximizeConversionValue(super::super::common::MaximizeConversionValue),
/// Standard Target CPA bidding strategy that automatically sets bids to
/// help get as many conversions as possible at the target
/// cost-per-acquisition (CPA) you set.
#[prost(message, tag = "26")]
TargetCpa(super::super::common::TargetCpa),
/// Target Impression Share bidding strategy. An automated bidding strategy
/// that sets bids to achieve a chosen percentage of impressions.
#[prost(message, tag = "48")]
TargetImpressionShare(super::super::common::TargetImpressionShare),
/// Standard Target ROAS bidding strategy that automatically maximizes
/// revenue while averaging a specific target return on ad spend (ROAS).
#[prost(message, tag = "29")]
TargetRoas(super::super::common::TargetRoas),
/// Standard Target Spend bidding strategy that automatically sets your bids
/// to help get as many clicks as possible within your budget.
#[prost(message, tag = "27")]
TargetSpend(super::super::common::TargetSpend),
/// Standard Percent Cpc bidding strategy where bids are a fraction of the
/// advertised price for some good or service.
#[prost(message, tag = "34")]
PercentCpc(super::super::common::PercentCpc),
/// A bidding strategy that automatically optimizes cost per thousand
/// impressions.
#[prost(message, tag = "41")]
TargetCpm(super::super::common::TargetCpm),
}
}
/// A campaign criterion.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignCriterion {
/// Immutable. The resource name of the campaign criterion.
/// Campaign criterion resource names have the form:
///
/// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The campaign to which the criterion belongs.
#[prost(string, optional, tag = "37")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ID of the criterion.
///
/// This field is ignored during mutate.
#[prost(int64, optional, tag = "38")]
pub criterion_id: ::core::option::Option<i64>,
/// Output only. The display name of the criterion.
///
/// This field is ignored for mutates.
#[prost(string, tag = "43")]
pub display_name: ::prost::alloc::string::String,
/// The modifier for the bids when the criterion matches. The modifier must be
/// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers.
/// Use 0 to opt out of a Device type.
#[prost(float, optional, tag = "39")]
pub bid_modifier: ::core::option::Option<f32>,
/// Immutable. Whether to target (`false`) or exclude (`true`) the criterion.
#[prost(bool, optional, tag = "40")]
pub negative: ::core::option::Option<bool>,
/// Output only. The type of the criterion.
#[prost(enumeration = "super::enums::criterion_type_enum::CriterionType", tag = "6")]
pub r#type: i32,
/// The status of the criterion.
#[prost(
enumeration = "super::enums::campaign_criterion_status_enum::CampaignCriterionStatus",
tag = "35"
)]
pub status: i32,
/// The campaign criterion.
///
/// Exactly one must be set.
#[prost(
oneof = "campaign_criterion::Criterion",
tags = "8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 22, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 41, 42, 45, 46, 47"
)]
pub criterion: ::core::option::Option<campaign_criterion::Criterion>,
}
/// Nested message and enum types in `CampaignCriterion`.
pub mod campaign_criterion {
/// The campaign criterion.
///
/// Exactly one must be set.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Criterion {
/// Immutable. Keyword.
#[prost(message, tag = "8")]
Keyword(super::super::common::KeywordInfo),
/// Immutable. Placement.
#[prost(message, tag = "9")]
Placement(super::super::common::PlacementInfo),
/// Immutable. Mobile app category.
#[prost(message, tag = "10")]
MobileAppCategory(super::super::common::MobileAppCategoryInfo),
/// Immutable. Mobile application.
#[prost(message, tag = "11")]
MobileApplication(super::super::common::MobileApplicationInfo),
/// Immutable. Location.
#[prost(message, tag = "12")]
Location(super::super::common::LocationInfo),
/// Immutable. Device.
#[prost(message, tag = "13")]
Device(super::super::common::DeviceInfo),
/// Immutable. Ad Schedule.
#[prost(message, tag = "15")]
AdSchedule(super::super::common::AdScheduleInfo),
/// Immutable. Age range.
#[prost(message, tag = "16")]
AgeRange(super::super::common::AgeRangeInfo),
/// Immutable. Gender.
#[prost(message, tag = "17")]
Gender(super::super::common::GenderInfo),
/// Immutable. Income range.
#[prost(message, tag = "18")]
IncomeRange(super::super::common::IncomeRangeInfo),
/// Immutable. Parental status.
#[prost(message, tag = "19")]
ParentalStatus(super::super::common::ParentalStatusInfo),
/// Immutable. User List.
/// The Similar Audiences sunset starts May 2023. Refer to
/// <https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html>
/// for other options.
#[prost(message, tag = "22")]
UserList(super::super::common::UserListInfo),
/// Immutable. YouTube Video.
#[prost(message, tag = "20")]
YoutubeVideo(super::super::common::YouTubeVideoInfo),
/// Immutable. YouTube Channel.
#[prost(message, tag = "21")]
YoutubeChannel(super::super::common::YouTubeChannelInfo),
/// Immutable. Proximity.
#[prost(message, tag = "23")]
Proximity(super::super::common::ProximityInfo),
/// Immutable. Topic.
#[prost(message, tag = "24")]
Topic(super::super::common::TopicInfo),
/// Immutable. Listing scope.
#[prost(message, tag = "25")]
ListingScope(super::super::common::ListingScopeInfo),
/// Immutable. Language.
#[prost(message, tag = "26")]
Language(super::super::common::LanguageInfo),
/// Immutable. IpBlock.
#[prost(message, tag = "27")]
IpBlock(super::super::common::IpBlockInfo),
/// Immutable. ContentLabel.
#[prost(message, tag = "28")]
ContentLabel(super::super::common::ContentLabelInfo),
/// Immutable. Carrier.
#[prost(message, tag = "29")]
Carrier(super::super::common::CarrierInfo),
/// Immutable. User Interest.
#[prost(message, tag = "30")]
UserInterest(super::super::common::UserInterestInfo),
/// Immutable. Webpage.
#[prost(message, tag = "31")]
Webpage(super::super::common::WebpageInfo),
/// Immutable. Operating system version.
#[prost(message, tag = "32")]
OperatingSystemVersion(super::super::common::OperatingSystemVersionInfo),
/// Immutable. Mobile Device.
#[prost(message, tag = "33")]
MobileDevice(super::super::common::MobileDeviceInfo),
/// Immutable. Location Group
#[prost(message, tag = "34")]
LocationGroup(super::super::common::LocationGroupInfo),
/// Immutable. Custom Affinity.
#[prost(message, tag = "36")]
CustomAffinity(super::super::common::CustomAffinityInfo),
/// Immutable. Custom Audience
#[prost(message, tag = "41")]
CustomAudience(super::super::common::CustomAudienceInfo),
/// Immutable. Combined Audience.
#[prost(message, tag = "42")]
CombinedAudience(super::super::common::CombinedAudienceInfo),
/// Immutable. Smart Campaign Keyword Theme.
#[prost(message, tag = "45")]
KeywordTheme(super::super::common::KeywordThemeInfo),
/// Immutable. GLS service campaign criterion.
#[prost(message, tag = "46")]
LocalServiceId(super::super::common::LocalServiceIdInfo),
/// Immutable. Brand list campaign criterion.
#[prost(message, tag = "47")]
BrandList(super::super::common::BrandListInfo),
}
}
/// A campaign feed.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignFeed {
/// Immutable. The resource name of the campaign feed.
/// Campaign feed resource names have the form:
///
/// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The feed to which the CampaignFeed belongs.
#[prost(string, optional, tag = "7")]
pub feed: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The campaign to which the CampaignFeed belongs.
#[prost(string, optional, tag = "8")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
/// Indicates which placeholder types the feed may populate under the connected
/// campaign. Required.
#[prost(
enumeration = "super::enums::placeholder_type_enum::PlaceholderType",
repeated,
tag = "4"
)]
pub placeholder_types: ::prost::alloc::vec::Vec<i32>,
/// Matching function associated with the CampaignFeed.
/// The matching function is used to filter the set of feed items selected.
/// Required.
#[prost(message, optional, tag = "5")]
pub matching_function: ::core::option::Option<super::common::MatchingFunction>,
/// Output only. Status of the campaign feed.
/// This field is read-only.
#[prost(
enumeration = "super::enums::feed_link_status_enum::FeedLinkStatus",
tag = "6"
)]
pub status: i32,
}
/// Describes the granular change of returned resources of certain resource
/// types. Changes made through the UI or API in the past 30 days are included.
/// Previous and new values of the changed fields are shown. ChangeEvent could
/// have up to 3 minutes delay to reflect a new change.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChangeEvent {
/// Output only. The resource name of the change event.
/// Change event resource names have the form:
///
/// `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Time at which the change was committed on this resource.
#[prost(string, tag = "2")]
pub change_date_time: ::prost::alloc::string::String,
/// Output only. The type of the changed resource. This dictates what resource
/// will be set in old_resource and new_resource.
#[prost(
enumeration = "super::enums::change_event_resource_type_enum::ChangeEventResourceType",
tag = "3"
)]
pub change_resource_type: i32,
/// Output only. The Simply resource this change occurred on.
#[prost(string, tag = "4")]
pub change_resource_name: ::prost::alloc::string::String,
/// Output only. Where the change was made through.
#[prost(
enumeration = "super::enums::change_client_type_enum::ChangeClientType",
tag = "5"
)]
pub client_type: i32,
/// Output only. The email of the user who made this change.
#[prost(string, tag = "6")]
pub user_email: ::prost::alloc::string::String,
/// Output only. The old resource before the change. Only changed fields will
/// be populated.
#[prost(message, optional, tag = "7")]
pub old_resource: ::core::option::Option<change_event::ChangedResource>,
/// Output only. The new resource after the change. Only changed fields will be
/// populated.
#[prost(message, optional, tag = "8")]
pub new_resource: ::core::option::Option<change_event::ChangedResource>,
/// Output only. The operation on the changed resource.
#[prost(
enumeration = "super::enums::resource_change_operation_enum::ResourceChangeOperation",
tag = "9"
)]
pub resource_change_operation: i32,
/// Output only. A list of fields that are changed in the returned resource.
#[prost(message, optional, tag = "10")]
pub changed_fields: ::core::option::Option<::prost_types::FieldMask>,
/// Output only. The Campaign affected by this change.
#[prost(string, tag = "11")]
pub campaign: ::prost::alloc::string::String,
/// Output only. The AdGroup affected by this change.
#[prost(string, tag = "12")]
pub ad_group: ::prost::alloc::string::String,
/// Output only. The Feed affected by this change.
#[prost(string, tag = "13")]
pub feed: ::prost::alloc::string::String,
/// Output only. The FeedItem affected by this change.
#[prost(string, tag = "14")]
pub feed_item: ::prost::alloc::string::String,
/// Output only. The Asset affected by this change.
#[prost(string, tag = "20")]
pub asset: ::prost::alloc::string::String,
}
/// Nested message and enum types in `ChangeEvent`.
pub mod change_event {
/// A wrapper proto presenting all supported resources.
/// Only the resource of the change_resource_type will be set.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChangedResource {
/// Output only. Set if change_resource_type == AD.
#[prost(message, optional, tag = "1")]
pub ad: ::core::option::Option<super::Ad>,
/// Output only. Set if change_resource_type == AD_GROUP.
#[prost(message, optional, tag = "2")]
pub ad_group: ::core::option::Option<super::AdGroup>,
/// Output only. Set if change_resource_type == AD_GROUP_CRITERION.
#[prost(message, optional, tag = "3")]
pub ad_group_criterion: ::core::option::Option<super::AdGroupCriterion>,
/// Output only. Set if change_resource_type == CAMPAIGN.
#[prost(message, optional, tag = "4")]
pub campaign: ::core::option::Option<super::Campaign>,
/// Output only. Set if change_resource_type == CAMPAIGN_BUDGET.
#[prost(message, optional, tag = "5")]
pub campaign_budget: ::core::option::Option<super::CampaignBudget>,
/// Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER.
#[prost(message, optional, tag = "6")]
pub ad_group_bid_modifier: ::core::option::Option<super::AdGroupBidModifier>,
/// Output only. Set if change_resource_type == CAMPAIGN_CRITERION.
#[prost(message, optional, tag = "7")]
pub campaign_criterion: ::core::option::Option<super::CampaignCriterion>,
/// Output only. Set if change_resource_type == FEED.
#[prost(message, optional, tag = "8")]
pub feed: ::core::option::Option<super::Feed>,
/// Output only. Set if change_resource_type == FEED_ITEM.
#[prost(message, optional, tag = "9")]
pub feed_item: ::core::option::Option<super::FeedItem>,
/// Output only. Set if change_resource_type == CAMPAIGN_FEED.
#[prost(message, optional, tag = "10")]
pub campaign_feed: ::core::option::Option<super::CampaignFeed>,
/// Output only. Set if change_resource_type == AD_GROUP_FEED.
#[prost(message, optional, tag = "11")]
pub ad_group_feed: ::core::option::Option<super::AdGroupFeed>,
/// Output only. Set if change_resource_type == AD_GROUP_AD.
#[prost(message, optional, tag = "12")]
pub ad_group_ad: ::core::option::Option<super::AdGroupAd>,
/// Output only. Set if change_resource_type == ASSET.
#[prost(message, optional, tag = "13")]
pub asset: ::core::option::Option<super::Asset>,
/// Output only. Set if change_resource_type == CUSTOMER_ASSET.
#[prost(message, optional, tag = "14")]
pub customer_asset: ::core::option::Option<super::CustomerAsset>,
/// Output only. Set if change_resource_type == CAMPAIGN_ASSET.
#[prost(message, optional, tag = "15")]
pub campaign_asset: ::core::option::Option<super::CampaignAsset>,
/// Output only. Set if change_resource_type == AD_GROUP_ASSET.
#[prost(message, optional, tag = "16")]
pub ad_group_asset: ::core::option::Option<super::AdGroupAsset>,
/// Output only. Set if change_resource_type == ASSET_SET.
#[prost(message, optional, tag = "17")]
pub asset_set: ::core::option::Option<super::AssetSet>,
/// Output only. Set if change_resource_type == ASSET_SET_ASSET.
#[prost(message, optional, tag = "18")]
pub asset_set_asset: ::core::option::Option<super::AssetSetAsset>,
/// Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET.
#[prost(message, optional, tag = "19")]
pub campaign_asset_set: ::core::option::Option<super::CampaignAssetSet>,
}
}
/// A mobile application category constant.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MobileAppCategoryConstant {
/// Output only. The resource name of the mobile app category constant.
/// Mobile app category constant resource names have the form:
///
/// `mobileAppCategoryConstants/{mobile_app_category_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the mobile app category constant.
#[prost(int32, optional, tag = "4")]
pub id: ::core::option::Option<i32>,
/// Output only. Mobile app category name.
#[prost(string, optional, tag = "5")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
}
/// A feed placeholder view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FeedPlaceholderView {
/// Output only. The resource name of the feed placeholder view.
/// Feed placeholder view resource names have the form:
///
/// `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The placeholder type of the feed placeholder view.
#[prost(
enumeration = "super::enums::placeholder_type_enum::PlaceholderType",
tag = "2"
)]
pub placeholder_type: i32,
}
/// A hotel group view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HotelGroupView {
/// Output only. The resource name of the hotel group view.
/// Hotel Group view resource names have the form:
///
/// `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// A payments account, which can be used to set up billing for an Ads customer.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaymentsAccount {
/// Output only. The resource name of the payments account.
/// PaymentsAccount resource names have the form:
///
/// `customers/{customer_id}/paymentsAccounts/{payments_account_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. A 16 digit ID used to identify a payments account.
#[prost(string, optional, tag = "8")]
pub payments_account_id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The name of the payments account.
#[prost(string, optional, tag = "9")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The currency code of the payments account.
/// A subset of the currency codes derived from the ISO 4217 standard is
/// supported.
#[prost(string, optional, tag = "10")]
pub currency_code: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. A 12 digit ID used to identify the payments profile associated
/// with the payments account.
#[prost(string, optional, tag = "11")]
pub payments_profile_id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. A secondary payments profile ID present in uncommon
/// situations, for example, when a sequential liability agreement has been
/// arranged.
#[prost(string, optional, tag = "12")]
pub secondary_payments_profile_id: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. Paying manager of this payment account.
#[prost(string, optional, tag = "13")]
pub paying_manager_customer: ::core::option::Option<::prost::alloc::string::String>,
}
/// A managed placement view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ManagedPlacementView {
/// Output only. The resource name of the Managed Placement view.
/// Managed placement view resource names have the form:
///
/// `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// A remarketing action. A snippet of JavaScript code that will collect the
/// product id and the type of page people visited (product page, shopping cart
/// page, purchase page, general site visit) on an advertiser's website.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemarketingAction {
/// Immutable. The resource name of the remarketing action.
/// Remarketing action resource names have the form:
///
/// `customers/{customer_id}/remarketingActions/{remarketing_action_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Id of the remarketing action.
#[prost(int64, optional, tag = "5")]
pub id: ::core::option::Option<i64>,
/// The name of the remarketing action.
///
/// This field is required and should not be empty when creating new
/// remarketing actions.
#[prost(string, optional, tag = "6")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The snippets used for tracking remarketing actions.
#[prost(message, repeated, tag = "4")]
pub tag_snippets: ::prost::alloc::vec::Vec<super::common::TagSnippet>,
}
/// An Android privacy shared key view for Google ad group key.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AndroidPrivacySharedKeyGoogleAdGroup {
/// Output only. The resource name of the Android privacy shared key.
/// Android privacy shared key resource names have the form:
///
/// `customers/{customer_id}/androidPrivacySharedKeyGoogleAdGroups/{campaign_id}~{ad_group_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_privacy_interaction_date(yyyy-mm-dd)}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The campaign ID used in the share key encoding.
#[prost(int64, tag = "2")]
pub campaign_id: i64,
/// Output only. The interaction type enum used in the share key encoding.
#[prost(
enumeration = "super::enums::android_privacy_interaction_type_enum::AndroidPrivacyInteractionType",
tag = "3"
)]
pub android_privacy_interaction_type: i32,
/// Output only. The interaction date used in the shared key encoding in the
/// format of "YYYY-MM-DD" in UTC timezone.
#[prost(string, tag = "4")]
pub android_privacy_interaction_date: ::prost::alloc::string::String,
/// Output only. The network type enum used in the share key encoding.
#[prost(
enumeration = "super::enums::android_privacy_network_type_enum::AndroidPrivacyNetworkType",
tag = "5"
)]
pub android_privacy_network_type: i32,
/// Output only. The ad group ID used in the share key encoding.
#[prost(int64, tag = "6")]
pub ad_group_id: i64,
/// Output only. 128 bit hex string of the encoded shared ad group key,
/// including a '0x' prefix. This key can be used to do a bitwise OR operator
/// with the aggregate conversion key to create a full aggregation key to
/// retrieve the Aggregate API Report in Android Privacy Sandbox.
#[prost(string, tag = "7")]
pub shared_ad_group_key: ::prost::alloc::string::String,
}
/// Represents a bidding seasonality adjustment.
///
/// See "About seasonality adjustments" at
/// <https://support.google.com/google-ads/answer/10369906.>
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BiddingSeasonalityAdjustment {
/// Immutable. The resource name of the seasonality adjustment.
/// Seasonality adjustment resource names have the form:
///
/// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the seasonality adjustment.
#[prost(int64, tag = "2")]
pub seasonality_adjustment_id: i64,
/// The scope of the seasonality adjustment.
#[prost(
enumeration = "super::enums::seasonality_event_scope_enum::SeasonalityEventScope",
tag = "3"
)]
pub scope: i32,
/// Output only. The status of the seasonality adjustment.
#[prost(
enumeration = "super::enums::seasonality_event_status_enum::SeasonalityEventStatus",
tag = "4"
)]
pub status: i32,
/// Required. The inclusive start time of the seasonality adjustment in
/// yyyy-MM-dd HH:mm:ss format.
///
/// A seasonality adjustment is forward looking and should be used for events
/// that start and end in the future.
#[prost(string, tag = "5")]
pub start_date_time: ::prost::alloc::string::String,
/// Required. The exclusive end time of the seasonality adjustment in
/// yyyy-MM-dd HH:mm:ss format.
///
/// The length of [start_date_time, end_date_time) interval must be
/// within (0, 14 days].
#[prost(string, tag = "6")]
pub end_date_time: ::prost::alloc::string::String,
/// The name of the seasonality adjustment. The name can be at most 255
/// characters.
#[prost(string, tag = "7")]
pub name: ::prost::alloc::string::String,
/// The description of the seasonality adjustment. The description can be at
/// most 2048 characters.
#[prost(string, tag = "8")]
pub description: ::prost::alloc::string::String,
/// If not specified, all devices will be included in this adjustment.
/// Otherwise, only the specified targeted devices will be included in this
/// adjustment.
#[prost(enumeration = "super::enums::device_enum::Device", repeated, tag = "9")]
pub devices: ::prost::alloc::vec::Vec<i32>,
/// Conversion rate modifier estimated based on expected conversion rate
/// changes. When this field is unset or set to 1.0 no adjustment will be
/// applied to traffic. The allowed range is 0.1 to 10.0.
#[prost(double, tag = "10")]
pub conversion_rate_modifier: f64,
/// The seasonality adjustment will apply to the campaigns listed when the
/// scope of this adjustment is CAMPAIGN. The maximum number of campaigns per
/// event is 2000.
/// Note: a seasonality adjustment with both advertising_channel_types and
/// campaign_ids is not supported.
#[prost(string, repeated, tag = "11")]
pub campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The seasonality adjustment will apply to all the campaigns under the listed
/// channels retroactively as well as going forward when the scope of this
/// adjustment is CHANNEL.
/// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING.
/// Note: a seasonality adjustment with both advertising_channel_types and
/// campaign_ids is not supported.
#[prost(
enumeration = "super::enums::advertising_channel_type_enum::AdvertisingChannelType",
repeated,
tag = "12"
)]
pub advertising_channel_types: ::prost::alloc::vec::Vec<i32>,
}
/// A group placement view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GroupPlacementView {
/// Output only. The resource name of the group placement view.
/// Group placement view resource names have the form:
///
/// `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The automatic placement string at group level, e. g. web
/// domain, mobile app ID, or a YouTube channel ID.
#[prost(string, optional, tag = "6")]
pub placement: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Domain name for websites and YouTube channel name for YouTube
/// channels.
#[prost(string, optional, tag = "7")]
pub display_name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. URL of the group placement, for example, domain, link to the
/// mobile application in app store, or a YouTube channel URL.
#[prost(string, optional, tag = "8")]
pub target_url: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Type of the placement, for example, Website, YouTube Channel,
/// Mobile Application.
#[prost(enumeration = "super::enums::placement_type_enum::PlacementType", tag = "5")]
pub placement_type: i32,
}
/// AdGroupAssetSet is the linkage between an ad group and an asset set.
/// Creating an AdGroupAssetSet links an asset set with an ad group.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupAssetSet {
/// Immutable. The resource name of the ad group asset set.
/// Ad group asset set resource names have the form:
///
/// `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The ad group to which this asset set is linked.
#[prost(string, tag = "2")]
pub ad_group: ::prost::alloc::string::String,
/// Immutable. The asset set which is linked to the ad group.
#[prost(string, tag = "3")]
pub asset_set: ::prost::alloc::string::String,
/// Output only. The status of the ad group asset set. Read-only.
#[prost(
enumeration = "super::enums::asset_set_link_status_enum::AssetSetLinkStatus",
tag = "4"
)]
pub status: i32,
}
/// A feed mapping.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FeedMapping {
/// Immutable. The resource name of the feed mapping.
/// Feed mapping resource names have the form:
///
/// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The feed of this feed mapping.
#[prost(string, optional, tag = "7")]
pub feed: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. Feed attributes to field mappings. These mappings are a
/// one-to-many relationship meaning that 1 feed attribute can be used to
/// populate multiple placeholder fields, but 1 placeholder field can only draw
/// data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder
/// field can be mapped to multiple feed attributes. Required.
#[prost(message, repeated, tag = "5")]
pub attribute_field_mappings: ::prost::alloc::vec::Vec<AttributeFieldMapping>,
/// Output only. Status of the feed mapping.
/// This field is read-only.
#[prost(
enumeration = "super::enums::feed_mapping_status_enum::FeedMappingStatus",
tag = "6"
)]
pub status: i32,
/// Feed mapping target. Can be either a placeholder or a criterion. For a
/// given feed, the active FeedMappings must have unique targets. Required.
#[prost(oneof = "feed_mapping::Target", tags = "3, 4")]
pub target: ::core::option::Option<feed_mapping::Target>,
}
/// Nested message and enum types in `FeedMapping`.
pub mod feed_mapping {
/// Feed mapping target. Can be either a placeholder or a criterion. For a
/// given feed, the active FeedMappings must have unique targets. Required.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum Target {
/// Immutable. The placeholder type of this mapping (for example, if the
/// mapping maps feed attributes to placeholder fields).
#[prost(
enumeration = "super::super::enums::placeholder_type_enum::PlaceholderType",
tag = "3"
)]
PlaceholderType(i32),
/// Immutable. The criterion type of this mapping (for example, if the
/// mapping maps feed attributes to criterion fields).
#[prost(
enumeration = "super::super::enums::feed_mapping_criterion_type_enum::FeedMappingCriterionType",
tag = "4"
)]
CriterionType(i32),
}
}
/// Maps from feed attribute id to a placeholder or criterion field id.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AttributeFieldMapping {
/// Immutable. Feed attribute from which to map.
#[prost(int64, optional, tag = "24")]
pub feed_attribute_id: ::core::option::Option<i64>,
/// Output only. The placeholder field ID. If a placeholder field enum is not
/// published in the current API version, then this field will be populated and
/// the field oneof will be empty. This field is read-only.
#[prost(int64, optional, tag = "25")]
pub field_id: ::core::option::Option<i64>,
/// Placeholder or criterion field to be populated using data from
/// the above feed attribute. Required.
#[prost(
oneof = "attribute_field_mapping::Field",
tags = "3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 26"
)]
pub field: ::core::option::Option<attribute_field_mapping::Field>,
}
/// Nested message and enum types in `AttributeFieldMapping`.
pub mod attribute_field_mapping {
/// Placeholder or criterion field to be populated using data from
/// the above feed attribute. Required.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum Field {
/// Immutable. Sitelink Placeholder Fields.
#[prost(
enumeration = "super::super::enums::sitelink_placeholder_field_enum::SitelinkPlaceholderField",
tag = "3"
)]
SitelinkField(i32),
/// Immutable. Call Placeholder Fields.
#[prost(
enumeration = "super::super::enums::call_placeholder_field_enum::CallPlaceholderField",
tag = "4"
)]
CallField(i32),
/// Immutable. App Placeholder Fields.
#[prost(
enumeration = "super::super::enums::app_placeholder_field_enum::AppPlaceholderField",
tag = "5"
)]
AppField(i32),
/// Output only. Location Placeholder Fields. This field is read-only.
#[prost(
enumeration = "super::super::enums::location_placeholder_field_enum::LocationPlaceholderField",
tag = "6"
)]
LocationField(i32),
/// Output only. Affiliate Location Placeholder Fields. This field is
/// read-only.
#[prost(
enumeration = "super::super::enums::affiliate_location_placeholder_field_enum::AffiliateLocationPlaceholderField",
tag = "7"
)]
AffiliateLocationField(i32),
/// Immutable. Callout Placeholder Fields.
#[prost(
enumeration = "super::super::enums::callout_placeholder_field_enum::CalloutPlaceholderField",
tag = "8"
)]
CalloutField(i32),
/// Immutable. Structured Snippet Placeholder Fields.
#[prost(
enumeration = "super::super::enums::structured_snippet_placeholder_field_enum::StructuredSnippetPlaceholderField",
tag = "9"
)]
StructuredSnippetField(i32),
/// Immutable. Message Placeholder Fields.
#[prost(
enumeration = "super::super::enums::message_placeholder_field_enum::MessagePlaceholderField",
tag = "10"
)]
MessageField(i32),
/// Immutable. Price Placeholder Fields.
#[prost(
enumeration = "super::super::enums::price_placeholder_field_enum::PricePlaceholderField",
tag = "11"
)]
PriceField(i32),
/// Immutable. Promotion Placeholder Fields.
#[prost(
enumeration = "super::super::enums::promotion_placeholder_field_enum::PromotionPlaceholderField",
tag = "12"
)]
PromotionField(i32),
/// Immutable. Ad Customizer Placeholder Fields
#[prost(
enumeration = "super::super::enums::ad_customizer_placeholder_field_enum::AdCustomizerPlaceholderField",
tag = "13"
)]
AdCustomizerField(i32),
/// Immutable. Dynamic Search Ad Page Feed Fields.
#[prost(
enumeration = "super::super::enums::dsa_page_feed_criterion_field_enum::DsaPageFeedCriterionField",
tag = "14"
)]
DsaPageFeedField(i32),
/// Immutable. Location Target Fields.
#[prost(
enumeration = "super::super::enums::location_extension_targeting_criterion_field_enum::LocationExtensionTargetingCriterionField",
tag = "15"
)]
LocationExtensionTargetingField(i32),
/// Immutable. Education Placeholder Fields
#[prost(
enumeration = "super::super::enums::education_placeholder_field_enum::EducationPlaceholderField",
tag = "16"
)]
EducationField(i32),
/// Immutable. Flight Placeholder Fields
#[prost(
enumeration = "super::super::enums::flight_placeholder_field_enum::FlightPlaceholderField",
tag = "17"
)]
FlightField(i32),
/// Immutable. Custom Placeholder Fields
#[prost(
enumeration = "super::super::enums::custom_placeholder_field_enum::CustomPlaceholderField",
tag = "18"
)]
CustomField(i32),
/// Immutable. Hotel Placeholder Fields
#[prost(
enumeration = "super::super::enums::hotel_placeholder_field_enum::HotelPlaceholderField",
tag = "19"
)]
HotelField(i32),
/// Immutable. Real Estate Placeholder Fields
#[prost(
enumeration = "super::super::enums::real_estate_placeholder_field_enum::RealEstatePlaceholderField",
tag = "20"
)]
RealEstateField(i32),
/// Immutable. Travel Placeholder Fields
#[prost(
enumeration = "super::super::enums::travel_placeholder_field_enum::TravelPlaceholderField",
tag = "21"
)]
TravelField(i32),
/// Immutable. Local Placeholder Fields
#[prost(
enumeration = "super::super::enums::local_placeholder_field_enum::LocalPlaceholderField",
tag = "22"
)]
LocalField(i32),
/// Immutable. Job Placeholder Fields
#[prost(
enumeration = "super::super::enums::job_placeholder_field_enum::JobPlaceholderField",
tag = "23"
)]
JobField(i32),
/// Immutable. Image Placeholder Fields
#[prost(
enumeration = "super::super::enums::image_placeholder_field_enum::ImagePlaceholderField",
tag = "26"
)]
ImageField(i32),
}
}
/// Qualifying Questions for Lead Form.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QualifyingQuestion {
/// Output only. The resource name of the qualifying question.
///
/// 'qualifyingQuestions/{qualifyingQuestionId}'
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The id of the qualifying question.
#[prost(int64, tag = "2")]
pub qualifying_question_id: i64,
/// Output only. The locale of the qualifying question.
#[prost(string, tag = "3")]
pub locale: ::prost::alloc::string::String,
/// Output only. The qualifying question.
#[prost(string, tag = "4")]
pub text: ::prost::alloc::string::String,
}
/// An invoice. All invoice information is snapshotted to match the PDF invoice.
/// For invoices older than the launch of InvoiceService, the snapshotted
/// information may not match the PDF invoice.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Invoice {
/// Output only. The resource name of the invoice. Multiple customers can share
/// a given invoice, so multiple resource names may point to the same invoice.
/// Invoice resource names have the form:
///
/// `customers/{customer_id}/invoices/{invoice_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the invoice. It appears on the invoice PDF as
/// "Invoice number".
#[prost(string, optional, tag = "25")]
pub id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The type of invoice.
#[prost(enumeration = "super::enums::invoice_type_enum::InvoiceType", tag = "3")]
pub r#type: i32,
/// Output only. The resource name of this invoice's billing setup.
///
/// `customers/{customer_id}/billingSetups/{billing_setup_id}`
#[prost(string, optional, tag = "26")]
pub billing_setup: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. A 16 digit ID used to identify the payments account associated
/// with the billing setup, for example, "1234-5678-9012-3456". It appears on
/// the invoice PDF as "Billing Account Number".
#[prost(string, optional, tag = "27")]
pub payments_account_id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. A 12 digit ID used to identify the payments profile associated
/// with the billing setup, for example, "1234-5678-9012". It appears on the
/// invoice PDF as "Billing ID".
#[prost(string, optional, tag = "28")]
pub payments_profile_id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The issue date in yyyy-mm-dd format. It appears on the invoice
/// PDF as either "Issue date" or "Invoice date".
#[prost(string, optional, tag = "29")]
pub issue_date: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The due date in yyyy-mm-dd format.
#[prost(string, optional, tag = "30")]
pub due_date: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The service period date range of this invoice. The end date is
/// inclusive.
#[prost(message, optional, tag = "9")]
pub service_date_range: ::core::option::Option<super::common::DateRange>,
/// Output only. The currency code. All costs are returned in this currency. A
/// subset of the currency codes derived from the ISO 4217 standard is
/// supported.
#[prost(string, optional, tag = "31")]
pub currency_code: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The pretax subtotal amount of invoice level adjustments, in
/// micros.
#[prost(int64, tag = "19")]
pub adjustments_subtotal_amount_micros: i64,
/// Output only. The sum of taxes on the invoice level adjustments, in micros.
#[prost(int64, tag = "20")]
pub adjustments_tax_amount_micros: i64,
/// Output only. The total amount of invoice level adjustments, in micros.
#[prost(int64, tag = "21")]
pub adjustments_total_amount_micros: i64,
/// Output only. The pretax subtotal amount of invoice level regulatory costs,
/// in micros.
#[prost(int64, tag = "22")]
pub regulatory_costs_subtotal_amount_micros: i64,
/// Output only. The sum of taxes on the invoice level regulatory costs, in
/// micros.
#[prost(int64, tag = "23")]
pub regulatory_costs_tax_amount_micros: i64,
/// Output only. The total amount of invoice level regulatory costs, in micros.
#[prost(int64, tag = "24")]
pub regulatory_costs_total_amount_micros: i64,
/// Output only. The pretax subtotal amount of invoice level export charges, in
/// micros.
#[prost(int64, optional, tag = "40")]
pub export_charge_subtotal_amount_micros: ::core::option::Option<i64>,
/// Output only. The sum of taxes on the invoice level export charges, in
/// micros.
#[prost(int64, optional, tag = "41")]
pub export_charge_tax_amount_micros: ::core::option::Option<i64>,
/// Output only. The total amount of invoice level export charges, in micros.
#[prost(int64, optional, tag = "42")]
pub export_charge_total_amount_micros: ::core::option::Option<i64>,
/// Output only. The pretax subtotal amount, in micros. This is equal to the
/// sum of the AccountBudgetSummary subtotal amounts and
/// Invoice.adjustments_subtotal_amount_micros.
#[prost(int64, optional, tag = "33")]
pub subtotal_amount_micros: ::core::option::Option<i64>,
/// Output only. The sum of all taxes on the invoice, in micros. This equals
/// the sum of the AccountBudgetSummary tax amounts, plus taxes not associated
/// with a specific account budget.
#[prost(int64, optional, tag = "34")]
pub tax_amount_micros: ::core::option::Option<i64>,
/// Output only. The total amount, in micros. This equals the sum of
/// Invoice.subtotal_amount_micros, Invoice.tax_amount_micros,
/// Invoice.regulatory_costs_subtotal_amount_micros, and
/// Invoice.export_charge_subtotal_amount_micros (which is separated into a
/// separate line item starting with V14.1).
#[prost(int64, optional, tag = "35")]
pub total_amount_micros: ::core::option::Option<i64>,
/// Output only. The resource name of the original invoice corrected, wrote
/// off, or canceled by this invoice, if applicable. If `corrected_invoice` is
/// set, `replaced_invoices` will not be set. Invoice resource names have the
/// form:
///
/// `customers/{customer_id}/invoices/{invoice_id}`
#[prost(string, optional, tag = "36")]
pub corrected_invoice: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The resource name of the original invoice(s) being rebilled or
/// replaced by this invoice, if applicable. There might be multiple replaced
/// invoices due to invoice consolidation. The replaced invoices may not belong
/// to the same payments account. If `replaced_invoices` is set,
/// `corrected_invoice` will not be set. Invoice resource names have the form:
///
/// `customers/{customer_id}/invoices/{invoice_id}`
#[prost(string, repeated, tag = "37")]
pub replaced_invoices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Output only. The URL to a PDF copy of the invoice. Users need to pass in
/// their OAuth token to request the PDF with this URL.
#[prost(string, optional, tag = "38")]
pub pdf_url: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The list of summarized account budget information associated
/// with this invoice.
#[prost(message, repeated, tag = "18")]
pub account_budget_summaries: ::prost::alloc::vec::Vec<
invoice::AccountBudgetSummary,
>,
/// Output only. The list of summarized account information associated with
/// this invoice.
#[prost(message, repeated, tag = "39")]
pub account_summaries: ::prost::alloc::vec::Vec<invoice::AccountSummary>,
}
/// Nested message and enum types in `Invoice`.
pub mod invoice {
/// Represents a summarized view at account level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AccountSummary {
/// Output only. The account associated with the account summary.
#[prost(string, optional, tag = "1")]
pub customer: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Pretax billing correction subtotal amount, in micros.
#[prost(int64, optional, tag = "2")]
pub billing_correction_subtotal_amount_micros: ::core::option::Option<i64>,
/// Output only. Tax on billing correction, in micros.
#[prost(int64, optional, tag = "3")]
pub billing_correction_tax_amount_micros: ::core::option::Option<i64>,
/// Output only. Total billing correction amount, in micros.
#[prost(int64, optional, tag = "4")]
pub billing_correction_total_amount_micros: ::core::option::Option<i64>,
/// Output only. Pretax coupon adjustment subtotal amount, in micros.
#[prost(int64, optional, tag = "5")]
pub coupon_adjustment_subtotal_amount_micros: ::core::option::Option<i64>,
/// Output only. Tax on coupon adjustment, in micros.
#[prost(int64, optional, tag = "6")]
pub coupon_adjustment_tax_amount_micros: ::core::option::Option<i64>,
/// Output only. Total coupon adjustment amount, in micros.
#[prost(int64, optional, tag = "7")]
pub coupon_adjustment_total_amount_micros: ::core::option::Option<i64>,
/// Output only. Pretax excess credit adjustment subtotal amount, in micros.
#[prost(int64, optional, tag = "8")]
pub excess_credit_adjustment_subtotal_amount_micros: ::core::option::Option<i64>,
/// Output only. Tax on excess credit adjustment, in micros.
#[prost(int64, optional, tag = "9")]
pub excess_credit_adjustment_tax_amount_micros: ::core::option::Option<i64>,
/// Output only. Total excess credit adjustment amount, in micros.
#[prost(int64, optional, tag = "10")]
pub excess_credit_adjustment_total_amount_micros: ::core::option::Option<i64>,
/// Output only. Pretax regulatory costs subtotal amount, in micros.
#[prost(int64, optional, tag = "11")]
pub regulatory_costs_subtotal_amount_micros: ::core::option::Option<i64>,
/// Output only. Tax on regulatory costs, in micros.
#[prost(int64, optional, tag = "12")]
pub regulatory_costs_tax_amount_micros: ::core::option::Option<i64>,
/// Output only. Total regulatory costs amount, in micros.
#[prost(int64, optional, tag = "13")]
pub regulatory_costs_total_amount_micros: ::core::option::Option<i64>,
/// Output only. Pretax export charge subtotal amount, in micros.
#[prost(int64, optional, tag = "17")]
pub export_charge_subtotal_amount_micros: ::core::option::Option<i64>,
/// Output only. Tax on export charge, in micros.
#[prost(int64, optional, tag = "18")]
pub export_charge_tax_amount_micros: ::core::option::Option<i64>,
/// Output only. Total export charge amount, in micros.
#[prost(int64, optional, tag = "19")]
pub export_charge_total_amount_micros: ::core::option::Option<i64>,
/// Output only. Total pretax subtotal amount attributable to the account
/// during the service period, in micros.
#[prost(int64, optional, tag = "14")]
pub subtotal_amount_micros: ::core::option::Option<i64>,
/// Output only. Total tax amount attributable to the account during the
/// service period, in micros.
#[prost(int64, optional, tag = "15")]
pub tax_amount_micros: ::core::option::Option<i64>,
/// Output only. Total amount attributable to the account during the service
/// period, in micros. This equals the sum of the subtotal_amount_micros and
/// tax_amount_micros.
#[prost(int64, optional, tag = "16")]
pub total_amount_micros: ::core::option::Option<i64>,
}
/// Represents a summarized account budget billable cost.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AccountBudgetSummary {
/// Output only. The resource name of the customer associated with this
/// account budget. This contains the customer ID, which appears on the
/// invoice PDF as "Account ID". Customer resource names have the form:
///
/// `customers/{customer_id}`
#[prost(string, optional, tag = "10")]
pub customer: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The descriptive name of the account budget's customer. It
/// appears on the invoice PDF as "Account".
#[prost(string, optional, tag = "11")]
pub customer_descriptive_name: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. The resource name of the account budget associated with this
/// summarized billable cost. AccountBudget resource names have the form:
///
/// `customers/{customer_id}/accountBudgets/{account_budget_id}`
#[prost(string, optional, tag = "12")]
pub account_budget: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The name of the account budget. It appears on the invoice
/// PDF as "Account budget".
#[prost(string, optional, tag = "13")]
pub account_budget_name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The purchase order number of the account budget. It appears
/// on the invoice PDF as "Purchase order".
#[prost(string, optional, tag = "14")]
pub purchase_order_number: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. The pretax subtotal amount attributable to this budget
/// during the service period, in micros.
#[prost(int64, optional, tag = "15")]
pub subtotal_amount_micros: ::core::option::Option<i64>,
/// Output only. The tax amount attributable to this budget during the
/// service period, in micros.
#[prost(int64, optional, tag = "16")]
pub tax_amount_micros: ::core::option::Option<i64>,
/// Output only. The total amount attributable to this budget during the
/// service period, in micros. This equals the sum of the account budget
/// subtotal amount and the account budget tax amount.
#[prost(int64, optional, tag = "17")]
pub total_amount_micros: ::core::option::Option<i64>,
/// Output only. The billable activity date range of the account budget,
/// within the service date range of this invoice. The end date is inclusive.
/// This can be different from the account budget's start and end time.
#[prost(message, optional, tag = "9")]
pub billable_activity_date_range: ::core::option::Option<
super::super::common::DateRange,
>,
/// Output only. The pretax served amount attributable to this budget during
/// the service period, in micros. This is only useful to reconcile invoice
/// and delivery data.
#[prost(int64, optional, tag = "18")]
pub served_amount_micros: ::core::option::Option<i64>,
/// Output only. The pretax billed amount attributable to this budget during
/// the service period, in micros. This does not account for any adjustments.
#[prost(int64, optional, tag = "19")]
pub billed_amount_micros: ::core::option::Option<i64>,
/// Output only. The pretax overdelivery amount attributable to this budget
/// during the service period, in micros (negative value).
#[prost(int64, optional, tag = "20")]
pub overdelivery_amount_micros: ::core::option::Option<i64>,
/// Output only. The pretax invalid activity amount attributable to this
/// budget in previous months, in micros (negative value).
#[prost(int64, optional, tag = "21")]
pub invalid_activity_amount_micros: ::core::option::Option<i64>,
/// Output only. The list of summarized invalid activity credits with
/// original linkages.
#[prost(message, repeated, tag = "22")]
pub invalid_activity_summaries: ::prost::alloc::vec::Vec<InvalidActivitySummary>,
}
/// Details about the invalid activity for the invoice that contain
/// additional details about invoice against which corrections are made.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InvalidActivitySummary {
/// Output only. Original month of service related to this invalid activity
/// credit.
#[prost(
enumeration = "super::super::enums::month_of_year_enum::MonthOfYear",
optional,
tag = "1"
)]
pub original_month_of_service: ::core::option::Option<i32>,
/// Output only. Original year of service related to this invalid activity
/// credit.
#[prost(string, optional, tag = "2")]
pub original_year_of_service: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. Original invoice number related to this invalid activity
/// credit.
#[prost(string, optional, tag = "3")]
pub original_invoice_id: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Original account budget name related to this invalid
/// activity credit.
#[prost(string, optional, tag = "4")]
pub original_account_budget_name: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. Original purchase order number related to this invalid
/// activity credit.
#[prost(string, optional, tag = "5")]
pub original_purchase_order_number: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. Invalid activity amount in micros.
#[prost(int64, optional, tag = "6")]
pub amount_micros: ::core::option::Option<i64>,
}
}
/// A Campaign search term view.
/// Historical data is available starting March 2023.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignSearchTermInsight {
/// Output only. The resource name of the campaign level search term insight.
/// Campaign level search term insight resource names have the form:
///
/// `customers/{customer_id}/campaignSearchTermInsights/{campaign_id}~{category_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The label for the search category. An empty string denotes the
/// catch-all category for search terms that didn't fit into another category.
#[prost(string, optional, tag = "2")]
pub category_label: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ID of the insight.
#[prost(int64, optional, tag = "3")]
pub id: ::core::option::Option<i64>,
/// Output only. The ID of the campaign.
#[prost(int64, optional, tag = "4")]
pub campaign_id: ::core::option::Option<i64>,
}
/// A campaign audience view.
/// Includes performance data from interests and remarketing lists for Display
/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA),
/// aggregated by campaign and audience criterion. This view only includes
/// audiences attached at the campaign level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignAudienceView {
/// Output only. The resource name of the campaign audience view.
/// Campaign audience view resource names have the form:
///
/// `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// A landing page view with metrics aggregated at the expanded final URL
/// level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExpandedLandingPageView {
/// Output only. The resource name of the expanded landing page view.
/// Expanded landing page view resource names have the form:
///
/// `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The final URL that clicks are directed to.
#[prost(string, optional, tag = "3")]
pub expanded_final_url: ::core::option::Option<::prost::alloc::string::String>,
}
/// A relationship between an ad group criterion and a label.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupCriterionLabel {
/// Immutable. The resource name of the ad group criterion label.
/// Ad group criterion label resource names have the form:
/// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The ad group criterion to which the label is attached.
#[prost(string, optional, tag = "4")]
pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The label assigned to the ad group criterion.
#[prost(string, optional, tag = "5")]
pub label: ::core::option::Option<::prost::alloc::string::String>,
}
/// A link between an AdGroupAd and an Asset.
/// Currently we only support AdGroupAdAssetView for AppAds and Responsive Search
/// Ads.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupAdAssetView {
/// Output only. The resource name of the ad group ad asset view.
/// Ad group ad asset view resource names have the form (Before V4):
///
/// `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}`
///
/// Ad group ad asset view resource names have the form (Beginning from V4):
///
/// `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ad group ad to which the asset is linked.
#[prost(string, optional, tag = "9")]
pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The asset which is linked to the ad group ad.
#[prost(string, optional, tag = "10")]
pub asset: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Role that the asset takes in the ad.
#[prost(
enumeration = "super::enums::asset_field_type_enum::AssetFieldType",
tag = "2"
)]
pub field_type: i32,
/// Output only. The status between the asset and the latest version of the ad.
/// If true, the asset is linked to the latest version of the ad. If false, it
/// means the link once existed but has been removed and is no longer present
/// in the latest version of the ad.
#[prost(bool, optional, tag = "8")]
pub enabled: ::core::option::Option<bool>,
/// Output only. Policy information for the ad group ad asset.
#[prost(message, optional, tag = "3")]
pub policy_summary: ::core::option::Option<AdGroupAdAssetPolicySummary>,
/// Output only. Performance of an asset linkage.
#[prost(
enumeration = "super::enums::asset_performance_label_enum::AssetPerformanceLabel",
tag = "4"
)]
pub performance_label: i32,
/// Output only. Pinned field.
#[prost(
enumeration = "super::enums::served_asset_field_type_enum::ServedAssetFieldType",
tag = "11"
)]
pub pinned_field: i32,
/// Output only. Source of the ad group ad asset.
#[prost(enumeration = "super::enums::asset_source_enum::AssetSource", tag = "12")]
pub source: i32,
}
/// Contains policy information for an ad group ad asset.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupAdAssetPolicySummary {
/// Output only. The list of policy findings for the ad group ad asset.
#[prost(message, repeated, tag = "1")]
pub policy_topic_entries: ::prost::alloc::vec::Vec<super::common::PolicyTopicEntry>,
/// Output only. Where in the review process this ad group ad asset is.
#[prost(
enumeration = "super::enums::policy_review_status_enum::PolicyReviewStatus",
tag = "2"
)]
pub review_status: i32,
/// Output only. The overall approval status of this ad group ad asset,
/// calculated based on the status of its individual policy topic entries.
#[prost(
enumeration = "super::enums::policy_approval_status_enum::PolicyApprovalStatus",
tag = "3"
)]
pub approval_status: i32,
}
/// Represents a set of feed items. The set can be used and shared among certain
/// feed item features. For instance, the set can be referenced within the
/// matching functions of CustomerFeed, CampaignFeed, and AdGroupFeed.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FeedItemSet {
/// Immutable. The resource name of the feed item set.
/// Feed item set resource names have the form:
/// `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The resource name of the feed containing the feed items in the
/// set. Immutable. Required.
#[prost(string, tag = "2")]
pub feed: ::prost::alloc::string::String,
/// Output only. ID of the set.
#[prost(int64, tag = "3")]
pub feed_item_set_id: i64,
/// Name of the set. Must be unique within the account.
#[prost(string, tag = "4")]
pub display_name: ::prost::alloc::string::String,
/// Output only. Status of the feed item set.
/// This field is read-only.
#[prost(
enumeration = "super::enums::feed_item_set_status_enum::FeedItemSetStatus",
tag = "8"
)]
pub status: i32,
/// Represents a filter on locations in a feed item set.
/// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed.
#[prost(oneof = "feed_item_set::DynamicSetFilter", tags = "5, 6")]
pub dynamic_set_filter: ::core::option::Option<feed_item_set::DynamicSetFilter>,
}
/// Nested message and enum types in `FeedItemSet`.
pub mod feed_item_set {
/// Represents a filter on locations in a feed item set.
/// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum DynamicSetFilter {
/// Filter for dynamic location set.
/// It is only used for sets of locations.
#[prost(message, tag = "5")]
DynamicLocationSetFilter(super::super::common::DynamicLocationSetFilter),
/// Filter for dynamic affiliate location set.
/// This field doesn't apply generally to feed item sets. It is only used for
/// sets of affiliate locations.
#[prost(message, tag = "6")]
DynamicAffiliateLocationSetFilter(
super::super::common::DynamicAffiliateLocationSetFilter,
),
}
}
/// Represents the permission of a single user onto a single customer.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerUserAccess {
/// Immutable. Name of the resource.
/// Resource names have the form:
/// `customers/{customer_id}/customerUserAccesses/{user_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. User id of the user with the customer access.
/// Read only field
#[prost(int64, tag = "2")]
pub user_id: i64,
/// Output only. Email address of the user.
/// Read only field
#[prost(string, optional, tag = "3")]
pub email_address: ::core::option::Option<::prost::alloc::string::String>,
/// Access role of the user.
#[prost(enumeration = "super::enums::access_role_enum::AccessRole", tag = "4")]
pub access_role: i32,
/// Output only. The customer user access creation time.
/// Read only field
/// The format is "YYYY-MM-DD HH:MM:SS".
/// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
#[prost(string, optional, tag = "6")]
pub access_creation_date_time: ::core::option::Option<
::prost::alloc::string::String,
>,
/// Output only. The email address of the inviter user.
/// Read only field
#[prost(string, optional, tag = "7")]
pub inviter_user_email_address: ::core::option::Option<
::prost::alloc::string::String,
>,
}
/// A label.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Label {
/// Immutable. Name of the resource.
/// Label resource names have the form:
/// `customers/{customer_id}/labels/{label_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. ID of the label. Read only.
#[prost(int64, optional, tag = "6")]
pub id: ::core::option::Option<i64>,
/// The name of the label.
///
/// This field is required and should not be empty when creating a new label.
///
/// The length of this string should be between 1 and 80, inclusive.
#[prost(string, optional, tag = "7")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Status of the label. Read only.
#[prost(enumeration = "super::enums::label_status_enum::LabelStatus", tag = "4")]
pub status: i32,
/// A type of label displaying text on a colored background.
#[prost(message, optional, tag = "5")]
pub text_label: ::core::option::Option<super::common::TextLabel>,
}
/// Audience is an effective targeting option that lets you
/// intersect different segment attributes, such as detailed demographics and
/// affinities, to create audiences that represent sections of your target
/// segments.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Audience {
/// Immutable. The resource name of the audience.
/// Audience names have the form:
///
/// `customers/{customer_id}/audiences/{audience_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. ID of the audience.
#[prost(int64, tag = "2")]
pub id: i64,
/// Output only. Status of this audience. Indicates whether the audience
/// is enabled or removed.
#[prost(
enumeration = "super::enums::audience_status_enum::AudienceStatus",
tag = "3"
)]
pub status: i32,
/// Name of the audience. It should be unique across all audiences within the
/// account. It must have a minimum length of 1 and maximum length of 255.
/// Required when scope is not set or is set to CUSTOMER. Cannot be set or
/// updated when scope is ASSET_GROUP.
#[prost(string, optional, tag = "10")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Description of this audience.
#[prost(string, tag = "5")]
pub description: ::prost::alloc::string::String,
/// Positive dimensions specifying the audience composition.
#[prost(message, repeated, tag = "6")]
pub dimensions: ::prost::alloc::vec::Vec<super::common::AudienceDimension>,
/// Negative dimension specifying the audience composition.
#[prost(message, optional, tag = "7")]
pub exclusion_dimension: ::core::option::Option<
super::common::AudienceExclusionDimension,
>,
/// Defines the scope this audience can be used in. By default, the scope is
/// CUSTOMER. Audiences can be created with a scope of ASSET_GROUP for
/// exclusive use by a single asset_group. Scope may change from ASSET_GROUP to
/// CUSTOMER but not from CUSTOMER to ASSET_GROUP.
#[prost(enumeration = "super::enums::audience_scope_enum::AudienceScope", tag = "8")]
pub scope: i32,
/// Immutable. The asset group that this audience is scoped under. Must be set
/// if and only if scope is ASSET_GROUP. Immutable after creation. If an
/// audience with ASSET_GROUP scope is upgraded to CUSTOMER scope, this field
/// will automatically be cleared.
#[prost(string, tag = "9")]
pub asset_group: ::prost::alloc::string::String,
}
/// A conversion value rule
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConversionValueRule {
/// Immutable. The resource name of the conversion value rule.
/// Conversion value rule resource names have the form:
///
/// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the conversion value rule.
#[prost(int64, tag = "2")]
pub id: i64,
/// Action applied when the rule is triggered.
#[prost(message, optional, tag = "3")]
pub action: ::core::option::Option<conversion_value_rule::ValueRuleAction>,
/// Condition for Geo location that must be satisfied for the value rule to
/// apply.
#[prost(message, optional, tag = "4")]
pub geo_location_condition: ::core::option::Option<
conversion_value_rule::ValueRuleGeoLocationCondition,
>,
/// Condition for device type that must be satisfied for the value rule to
/// apply.
#[prost(message, optional, tag = "5")]
pub device_condition: ::core::option::Option<
conversion_value_rule::ValueRuleDeviceCondition,
>,
/// Condition for audience that must be satisfied for the value rule to apply.
#[prost(message, optional, tag = "6")]
pub audience_condition: ::core::option::Option<
conversion_value_rule::ValueRuleAudienceCondition,
>,
/// Output only. The resource name of the conversion value rule's owner
/// customer. When the value rule is inherited from a manager customer,
/// owner_customer will be the resource name of the manager whereas the
/// customer in the resource_name will be of the requesting serving customer.
/// ** Read-only **
#[prost(string, tag = "7")]
pub owner_customer: ::prost::alloc::string::String,
/// The status of the conversion value rule.
#[prost(
enumeration = "super::enums::conversion_value_rule_status_enum::ConversionValueRuleStatus",
tag = "8"
)]
pub status: i32,
}
/// Nested message and enum types in `ConversionValueRule`.
pub mod conversion_value_rule {
/// Action applied when rule is applied.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ValueRuleAction {
/// Specifies applied operation.
#[prost(
enumeration = "super::super::enums::value_rule_operation_enum::ValueRuleOperation",
tag = "1"
)]
pub operation: i32,
/// Specifies applied value.
#[prost(double, tag = "2")]
pub value: f64,
}
/// Condition on Geo dimension.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ValueRuleGeoLocationCondition {
/// Geo locations that advertisers want to exclude.
#[prost(string, repeated, tag = "1")]
pub excluded_geo_target_constants: ::prost::alloc::vec::Vec<
::prost::alloc::string::String,
>,
/// Excluded Geo location match type.
#[prost(
enumeration = "super::super::enums::value_rule_geo_location_match_type_enum::ValueRuleGeoLocationMatchType",
tag = "2"
)]
pub excluded_geo_match_type: i32,
/// Geo locations that advertisers want to include.
#[prost(string, repeated, tag = "3")]
pub geo_target_constants: ::prost::alloc::vec::Vec<
::prost::alloc::string::String,
>,
/// Included Geo location match type.
#[prost(
enumeration = "super::super::enums::value_rule_geo_location_match_type_enum::ValueRuleGeoLocationMatchType",
tag = "4"
)]
pub geo_match_type: i32,
}
/// Condition on Device dimension.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ValueRuleDeviceCondition {
/// Value for device type condition.
#[prost(
enumeration = "super::super::enums::value_rule_device_type_enum::ValueRuleDeviceType",
repeated,
tag = "1"
)]
pub device_types: ::prost::alloc::vec::Vec<i32>,
}
/// Condition on Audience dimension.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ValueRuleAudienceCondition {
/// User Lists.
/// The Similar Audiences sunset starts May 2023. Refer to
/// <https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html>
/// for other options.
#[prost(string, repeated, tag = "1")]
pub user_lists: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// User Interests.
#[prost(string, repeated, tag = "2")]
pub user_interests: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
}
/// A user list. This is a list of users a customer may target.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserList {
/// Immutable. The resource name of the user list.
/// User list resource names have the form:
///
/// `customers/{customer_id}/userLists/{user_list_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Id of the user list.
#[prost(int64, optional, tag = "25")]
pub id: ::core::option::Option<i64>,
/// Output only. An option that indicates if a user may edit a list. Depends on
/// the list ownership and list type. For example, external remarketing user
/// lists are not editable.
///
/// This field is read-only.
#[prost(bool, optional, tag = "26")]
pub read_only: ::core::option::Option<bool>,
/// Name of this user list. Depending on its access_reason, the user list name
/// may not be unique (for example, if access_reason=SHARED)
#[prost(string, optional, tag = "27")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Description of this user list.
#[prost(string, optional, tag = "28")]
pub description: ::core::option::Option<::prost::alloc::string::String>,
/// Membership status of this user list. Indicates whether a user list is open
/// or active. Only open user lists can accumulate more users and can be
/// targeted to.
#[prost(
enumeration = "super::enums::user_list_membership_status_enum::UserListMembershipStatus",
tag = "6"
)]
pub membership_status: i32,
/// An ID from external system. It is used by user list sellers to correlate
/// IDs on their systems.
#[prost(string, optional, tag = "29")]
pub integration_code: ::core::option::Option<::prost::alloc::string::String>,
/// Number of days a user's cookie stays on your list since its most recent
/// addition to the list. This field must be between 0 and 540 inclusive.
/// However, for CRM based userlists, this field can be set to 10000 which
/// means no expiration.
///
/// It'll be ignored for logical_user_list.
#[prost(int64, optional, tag = "30")]
pub membership_life_span: ::core::option::Option<i64>,
/// Output only. Estimated number of users in this user list, on the Google
/// Display Network. This value is null if the number of users has not yet been
/// determined.
///
/// This field is read-only.
#[prost(int64, optional, tag = "31")]
pub size_for_display: ::core::option::Option<i64>,
/// Output only. Size range in terms of number of users of the UserList, on the
/// Google Display Network.
///
/// This field is read-only.
#[prost(
enumeration = "super::enums::user_list_size_range_enum::UserListSizeRange",
tag = "10"
)]
pub size_range_for_display: i32,
/// Output only. Estimated number of users in this user list in the google.com
/// domain. These are the users available for targeting in Search campaigns.
/// This value is null if the number of users has not yet been determined.
///
/// This field is read-only.
#[prost(int64, optional, tag = "32")]
pub size_for_search: ::core::option::Option<i64>,
/// Output only. Size range in terms of number of users of the UserList, for
/// Search ads.
///
/// This field is read-only.
#[prost(
enumeration = "super::enums::user_list_size_range_enum::UserListSizeRange",
tag = "12"
)]
pub size_range_for_search: i32,
/// Output only. Type of this list.
///
/// This field is read-only.
#[prost(enumeration = "super::enums::user_list_type_enum::UserListType", tag = "13")]
pub r#type: i32,
/// Indicating the reason why this user list membership status is closed. It is
/// only populated on lists that were automatically closed due to inactivity,
/// and will be cleared once the list membership status becomes open.
#[prost(
enumeration = "super::enums::user_list_closing_reason_enum::UserListClosingReason",
tag = "14"
)]
pub closing_reason: i32,
/// Output only. Indicates the reason this account has been granted access to
/// the list. The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED.
///
/// This field is read-only.
#[prost(enumeration = "super::enums::access_reason_enum::AccessReason", tag = "15")]
pub access_reason: i32,
/// Indicates if this share is still enabled. When a UserList is shared with
/// the user this field is set to ENABLED. Later the userList owner can decide
/// to revoke the share and make it DISABLED.
/// The default value of this field is set to ENABLED.
#[prost(
enumeration = "super::enums::user_list_access_status_enum::UserListAccessStatus",
tag = "16"
)]
pub account_user_list_status: i32,
/// Indicates if this user list is eligible for Google Search Network.
#[prost(bool, optional, tag = "33")]
pub eligible_for_search: ::core::option::Option<bool>,
/// Output only. Indicates this user list is eligible for Google Display
/// Network.
///
/// This field is read-only.
#[prost(bool, optional, tag = "34")]
pub eligible_for_display: ::core::option::Option<bool>,
/// Output only. Indicates match rate for Customer Match lists. The range of
/// this field is \[0-100\]. This will be null for other list types or when it's
/// not possible to calculate the match rate.
///
/// This field is read-only.
#[prost(int32, optional, tag = "24")]
pub match_rate_percentage: ::core::option::Option<i32>,
/// The user list.
///
/// Exactly one must be set.
#[prost(oneof = "user_list::UserList", tags = "19, 20, 21, 22, 23, 36")]
pub user_list: ::core::option::Option<user_list::UserList>,
}
/// Nested message and enum types in `UserList`.
pub mod user_list {
/// The user list.
///
/// Exactly one must be set.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum UserList {
/// User list of CRM users provided by the advertiser.
#[prost(message, tag = "19")]
CrmBasedUserList(super::super::common::CrmBasedUserListInfo),
/// Output only. User list which are similar to users from another UserList.
/// These lists are readonly and automatically created by google.
#[prost(message, tag = "20")]
SimilarUserList(super::super::common::SimilarUserListInfo),
/// User list generated by a rule.
#[prost(message, tag = "21")]
RuleBasedUserList(super::super::common::RuleBasedUserListInfo),
/// User list that is a custom combination of user lists and user interests.
#[prost(message, tag = "22")]
LogicalUserList(super::super::common::LogicalUserListInfo),
/// User list targeting as a collection of conversion or remarketing actions.
#[prost(message, tag = "23")]
BasicUserList(super::super::common::BasicUserListInfo),
/// Immutable. Lookalike User List.
#[prost(message, tag = "36")]
LookalikeUserList(super::super::common::LookalikeUserListInfo),
}
}
/// AssetGroupSignal represents a signal in an asset group. The existence of a
/// signal tells the performance max campaign who's most likely to convert.
/// Performance Max uses the signal to look for new people with similar or
/// stronger intent to find conversions across Search, Display, Video, and more.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetGroupSignal {
/// Immutable. The resource name of the asset group signal.
/// Asset group signal resource name have the form:
///
/// `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The asset group which this asset group signal belongs to.
#[prost(string, tag = "2")]
pub asset_group: ::prost::alloc::string::String,
/// Output only. Approval status is the output value for search theme signal
/// after Google ads policy review. When using Audience signal, this field is
/// not used and will be absent.
#[prost(
enumeration = "super::enums::asset_group_signal_approval_status_enum::AssetGroupSignalApprovalStatus",
tag = "6"
)]
pub approval_status: i32,
/// Output only. Computed for SearchTheme signals.
/// When using Audience signal, this field is not used and will be absent.
#[prost(string, repeated, tag = "7")]
pub disapproval_reasons: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The signal of the asset group.
#[prost(oneof = "asset_group_signal::Signal", tags = "4, 5")]
pub signal: ::core::option::Option<asset_group_signal::Signal>,
}
/// Nested message and enum types in `AssetGroupSignal`.
pub mod asset_group_signal {
/// The signal of the asset group.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Signal {
/// Immutable. The audience signal to be used by the performance max
/// campaign.
#[prost(message, tag = "4")]
Audience(super::super::common::AudienceInfo),
/// Immutable. The search_theme signal to be used by the performance max
/// campaign.
/// Mutate errors of search_theme criterion includes
/// AssetGroupSignalError.UNSPECIFIED
/// AssetGroupSignalError.UNKNOWN
/// AssetGroupSignalError.TOO_MANY_WORDS
/// AssetGroupSignalError.SEARCH_THEME_POLICY_VIOLATION
/// FieldError.REQUIRED
/// StringFormatError.ILLEGAL_CHARS
/// StringLengthError.TOO_LONG
/// ResourceCountLimitExceededError.RESOURCE_LIMIT
#[prost(message, tag = "5")]
SearchTheme(super::super::common::SearchThemeInfo),
}
}
/// A conversion custom variable
/// See "About custom variables for conversions" at
/// <https://support.google.com/google-ads/answer/9964350>
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConversionCustomVariable {
/// Immutable. The resource name of the conversion custom variable.
/// Conversion custom variable resource names have the form:
///
/// `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the conversion custom variable.
#[prost(int64, tag = "2")]
pub id: i64,
/// Required. The name of the conversion custom variable.
/// Name should be unique. The maximum length of name is 100 characters.
/// There should not be any extra spaces before and after.
#[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String,
/// Required. Immutable. The tag of the conversion custom variable. It is used
/// in the event snippet and sent to Google Ads along with conversion pings.
/// For conversion uploads in Google Ads API, the resource name of the
/// conversion custom variable is used. Tag should be unique. The maximum size
/// of tag is 100 bytes. There should not be any extra spaces before and after.
/// Currently only lowercase letters, numbers and underscores are allowed in
/// the tag.
#[prost(string, tag = "4")]
pub tag: ::prost::alloc::string::String,
/// The status of the conversion custom variable for conversion event accrual.
#[prost(
enumeration = "super::enums::conversion_custom_variable_status_enum::ConversionCustomVariableStatus",
tag = "5"
)]
pub status: i32,
/// Output only. The resource name of the customer that owns the conversion
/// custom variable.
#[prost(string, tag = "6")]
pub owner_customer: ::prost::alloc::string::String,
}
/// An asset group.
/// AssetGroupAsset is used to link an asset to the asset group.
/// AssetGroupSignal is used to associate a signal to an asset group.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetGroup {
/// Immutable. The resource name of the asset group.
/// Asset group resource names have the form:
///
/// `customers/{customer_id}/assetGroups/{asset_group_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the asset group.
#[prost(int64, tag = "9")]
pub id: i64,
/// Immutable. The campaign with which this asset group is associated.
/// The asset which is linked to the asset group.
#[prost(string, tag = "2")]
pub campaign: ::prost::alloc::string::String,
/// Required. Name of the asset group. Required. It must have a minimum length
/// of 1 and maximum length of 128. It must be unique under a campaign.
#[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String,
/// A list of final URLs after all cross domain redirects. In performance max,
/// by default, the urls are eligible for expansion unless opted out.
#[prost(string, repeated, tag = "4")]
pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// A list of final mobile URLs after all cross domain redirects. In
/// performance max, by default, the urls are eligible for expansion
/// unless opted out.
#[prost(string, repeated, tag = "5")]
pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The status of the asset group.
#[prost(
enumeration = "super::enums::asset_group_status_enum::AssetGroupStatus",
tag = "6"
)]
pub status: i32,
/// Output only. The primary status of the asset group. Provides insights into
/// why an asset group is not serving or not serving optimally.
#[prost(
enumeration = "super::enums::asset_group_primary_status_enum::AssetGroupPrimaryStatus",
tag = "11"
)]
pub primary_status: i32,
/// Output only. Provides reasons into why an asset group is not serving or not
/// serving optimally. It will be empty when the asset group is serving without
/// issues.
#[prost(
enumeration = "super::enums::asset_group_primary_status_reason_enum::AssetGroupPrimaryStatusReason",
repeated,
packed = "false",
tag = "12"
)]
pub primary_status_reasons: ::prost::alloc::vec::Vec<i32>,
/// First part of text that may appear appended to the url displayed in
/// the ad.
#[prost(string, tag = "7")]
pub path1: ::prost::alloc::string::String,
/// Second part of text that may appear appended to the url displayed in
/// the ad. This field can only be set when path1 is set.
#[prost(string, tag = "8")]
pub path2: ::prost::alloc::string::String,
/// Output only. Overall ad strength of this asset group.
#[prost(enumeration = "super::enums::ad_strength_enum::AdStrength", tag = "10")]
pub ad_strength: i32,
}
/// A carrier criterion that can be used in campaign targeting.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CarrierConstant {
/// Output only. The resource name of the carrier criterion.
/// Carrier criterion resource names have the form:
///
/// `carrierConstants/{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the carrier criterion.
#[prost(int64, optional, tag = "5")]
pub id: ::core::option::Option<i64>,
/// Output only. The full name of the carrier in English.
#[prost(string, optional, tag = "6")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The country code of the country where the carrier is located,
/// for example, "AR", "FR", etc.
#[prost(string, optional, tag = "7")]
pub country_code: ::core::option::Option<::prost::alloc::string::String>,
}
/// A customer feed.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerFeed {
/// Immutable. The resource name of the customer feed.
/// Customer feed resource names have the form:
///
/// `customers/{customer_id}/customerFeeds/{feed_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The feed being linked to the customer.
#[prost(string, optional, tag = "6")]
pub feed: ::core::option::Option<::prost::alloc::string::String>,
/// Indicates which placeholder types the feed may populate under the connected
/// customer. Required.
#[prost(
enumeration = "super::enums::placeholder_type_enum::PlaceholderType",
repeated,
tag = "3"
)]
pub placeholder_types: ::prost::alloc::vec::Vec<i32>,
/// Matching function associated with the CustomerFeed.
/// The matching function is used to filter the set of feed items selected.
/// Required.
#[prost(message, optional, tag = "4")]
pub matching_function: ::core::option::Option<super::common::MatchingFunction>,
/// Output only. Status of the customer feed.
/// This field is read-only.
#[prost(
enumeration = "super::enums::feed_link_status_enum::FeedLinkStatus",
tag = "5"
)]
pub status: i32,
}
/// CampaignSharedSets are used for managing the shared sets associated with a
/// campaign.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignSharedSet {
/// Immutable. The resource name of the campaign shared set.
/// Campaign shared set resource names have the form:
///
/// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The campaign to which the campaign shared set belongs.
#[prost(string, optional, tag = "5")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The shared set associated with the campaign. This may be a
/// negative keyword shared set of another customer. This customer should be a
/// manager of the other customer, otherwise the campaign shared set will exist
/// but have no serving effect. Only negative keyword shared sets can be
/// associated with Shopping campaigns. Only negative placement shared sets can
/// be associated with Display mobile app campaigns.
#[prost(string, optional, tag = "6")]
pub shared_set: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The status of this campaign shared set. Read only.
#[prost(
enumeration = "super::enums::campaign_shared_set_status_enum::CampaignSharedSetStatus",
tag = "2"
)]
pub status: i32,
}
/// A currency constant.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CurrencyConstant {
/// Output only. The resource name of the currency constant.
/// Currency constant resource names have the form:
///
/// `currencyConstants/{code}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. ISO 4217 three-letter currency code, for example, "USD"
#[prost(string, optional, tag = "6")]
pub code: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Full English name of the currency.
#[prost(string, optional, tag = "7")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Standard symbol for describing this currency, for example, '$'
/// for US Dollars.
#[prost(string, optional, tag = "8")]
pub symbol: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The billable unit for this currency. Billed amounts should be
/// multiples of this value.
#[prost(int64, optional, tag = "9")]
pub billable_unit_micros: ::core::option::Option<i64>,
}
/// A campaign draft.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignDraft {
/// Immutable. The resource name of the campaign draft.
/// Campaign draft resource names have the form:
///
/// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the draft.
///
/// This field is read-only.
#[prost(int64, optional, tag = "9")]
pub draft_id: ::core::option::Option<i64>,
/// Immutable. The base campaign to which the draft belongs.
#[prost(string, optional, tag = "10")]
pub base_campaign: ::core::option::Option<::prost::alloc::string::String>,
/// The name of the campaign draft.
///
/// This field is required and should not be empty when creating new
/// campaign drafts.
///
/// It must not contain any null (code point 0x0), NL line feed
/// (code point 0xA) or carriage return (code point 0xD) characters.
#[prost(string, optional, tag = "11")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Resource name of the Campaign that results from overlaying the
/// draft changes onto the base campaign.
///
/// This field is read-only.
#[prost(string, optional, tag = "12")]
pub draft_campaign: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The status of the campaign draft. This field is read-only.
///
/// When a new campaign draft is added, the status defaults to PROPOSED.
#[prost(
enumeration = "super::enums::campaign_draft_status_enum::CampaignDraftStatus",
tag = "6"
)]
pub status: i32,
/// Output only. Whether there is an experiment based on this draft currently
/// serving.
#[prost(bool, optional, tag = "13")]
pub has_experiment_running: ::core::option::Option<bool>,
/// Output only. The resource name of the long-running operation that can be
/// used to poll for completion of draft promotion. This is only set if the
/// draft promotion is in progress or finished.
#[prost(string, optional, tag = "14")]
pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>,
}
/// Settings for configuring Smart campaigns.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SmartCampaignSetting {
/// Immutable. The resource name of the Smart campaign setting.
/// Smart campaign setting resource names have the form:
///
/// `customers/{customer_id}/smartCampaignSettings/{campaign_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The campaign to which these settings apply.
#[prost(string, tag = "2")]
pub campaign: ::prost::alloc::string::String,
/// Phone number and country code.
#[prost(message, optional, tag = "3")]
pub phone_number: ::core::option::Option<smart_campaign_setting::PhoneNumber>,
/// The language code to advertise in from the set of
/// \[supported language codes\]
/// (<https://developers.google.com/google-ads/api/reference/data/codes-formats#languages>).
#[prost(string, tag = "7")]
pub advertising_language_code: ::prost::alloc::string::String,
/// The landing page of this campaign.
#[prost(oneof = "smart_campaign_setting::LandingPage", tags = "8, 9")]
pub landing_page: ::core::option::Option<smart_campaign_setting::LandingPage>,
/// The business setting of this campaign.
#[prost(oneof = "smart_campaign_setting::BusinessSetting", tags = "5, 10")]
pub business_setting: ::core::option::Option<
smart_campaign_setting::BusinessSetting,
>,
}
/// Nested message and enum types in `SmartCampaignSetting`.
pub mod smart_campaign_setting {
/// Phone number and country code in smart campaign settings.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PhoneNumber {
/// Phone number of the smart campaign.
#[prost(string, optional, tag = "1")]
pub phone_number: ::core::option::Option<::prost::alloc::string::String>,
/// Upper-case, two-letter country code as defined by ISO-3166.
#[prost(string, optional, tag = "2")]
pub country_code: ::core::option::Option<::prost::alloc::string::String>,
}
/// Settings for configuring a business profile optimized for ads as this
/// campaign's landing page.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AdOptimizedBusinessProfileSetting {
/// Enabling a lead form on your business profile enables prospective
/// customers to contact your business by filling out a simple form,
/// and you'll receive their information through email.
#[prost(bool, optional, tag = "1")]
pub include_lead_form: ::core::option::Option<bool>,
}
/// The landing page of this campaign.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum LandingPage {
/// The user-provided landing page URL for this Campaign.
#[prost(string, tag = "8")]
FinalUrl(::prost::alloc::string::String),
/// Settings for configuring a business profile optimized for ads as this
/// campaign's landing page. This campaign must be linked to a business
/// profile to use this option. For more information on this feature,
/// consult <https://support.google.com/google-ads/answer/9827068.>
#[prost(message, tag = "9")]
AdOptimizedBusinessProfileSetting(AdOptimizedBusinessProfileSetting),
}
/// The business setting of this campaign.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum BusinessSetting {
/// The name of the business.
#[prost(string, tag = "5")]
BusinessName(::prost::alloc::string::String),
/// The resource name of a Business Profile location.
/// Business Profile location resource names can be fetched through the
/// Business Profile API and adhere to the following format:
/// `locations/{locationId}`.
///
/// See the \[Business Profile API\]
/// (<https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations>)
/// for additional details.
#[prost(string, tag = "10")]
BusinessProfileLocation(::prost::alloc::string::String),
}
}
/// A location view summarizes the performance of campaigns by
/// Location criteria.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LocationView {
/// Output only. The resource name of the location view.
/// Location view resource names have the form:
///
/// `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// AssetGroupListingGroupFilter represents a listing group filter tree node in
/// an asset group.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AssetGroupListingGroupFilter {
/// Immutable. The resource name of the asset group listing group filter.
/// Asset group listing group filter resource name have the form:
///
/// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The asset group which this asset group listing group filter is
/// part of.
#[prost(string, tag = "2")]
pub asset_group: ::prost::alloc::string::String,
/// Output only. The ID of the ListingGroupFilter.
#[prost(int64, tag = "3")]
pub id: i64,
/// Immutable. Type of a listing group filter node.
#[prost(
enumeration = "super::enums::listing_group_filter_type_enum::ListingGroupFilterType",
tag = "4"
)]
pub r#type: i32,
/// Immutable. The source of listings filtered by this listing group filter.
#[prost(
enumeration = "super::enums::listing_group_filter_listing_source_enum::ListingGroupFilterListingSource",
tag = "9"
)]
pub listing_source: i32,
/// Dimension value with which this listing group is refining its parent.
/// Undefined for the root group.
#[prost(message, optional, tag = "6")]
pub case_value: ::core::option::Option<ListingGroupFilterDimension>,
/// Immutable. Resource name of the parent listing group subdivision. Null for
/// the root listing group filter node.
#[prost(string, tag = "7")]
pub parent_listing_group_filter: ::prost::alloc::string::String,
/// Output only. The path of dimensions defining this listing group filter.
#[prost(message, optional, tag = "8")]
pub path: ::core::option::Option<ListingGroupFilterDimensionPath>,
}
/// The path defining of dimensions defining a listing group filter.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListingGroupFilterDimensionPath {
/// Output only. The complete path of dimensions through the listing group
/// filter hierarchy (excluding the root node) to this listing group filter.
#[prost(message, repeated, tag = "1")]
pub dimensions: ::prost::alloc::vec::Vec<ListingGroupFilterDimension>,
}
/// Listing dimensions for the asset group listing group filter.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListingGroupFilterDimension {
/// Dimension of one of the types below is always present.
#[prost(
oneof = "listing_group_filter_dimension::Dimension",
tags = "10, 2, 3, 4, 5, 6, 7, 9"
)]
pub dimension: ::core::option::Option<listing_group_filter_dimension::Dimension>,
}
/// Nested message and enum types in `ListingGroupFilterDimension`.
pub mod listing_group_filter_dimension {
/// One element of a category at a certain level. Top-level categories
/// are at level 1, their children at level 2, and so on. We currently support
/// up to 5 levels. The user must specify a dimension type that indicates the
/// level of the category. All cases of the same subdivision must have the same
/// dimension type (category level).
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProductCategory {
/// ID of the product category.
///
/// This ID is equivalent to the google_product_category ID as described in
/// this article: <https://support.google.com/merchants/answer/6324436>
#[prost(int64, optional, tag = "1")]
pub category_id: ::core::option::Option<i64>,
/// Indicates the level of the category in the taxonomy.
#[prost(
enumeration = "super::super::enums::listing_group_filter_product_category_level_enum::ListingGroupFilterProductCategoryLevel",
tag = "2"
)]
pub level: i32,
}
/// Brand of the product.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProductBrand {
/// String value of the product brand.
#[prost(string, optional, tag = "1")]
pub value: ::core::option::Option<::prost::alloc::string::String>,
}
/// Locality of a product offer.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProductChannel {
/// Value of the locality.
#[prost(
enumeration = "super::super::enums::listing_group_filter_product_channel_enum::ListingGroupFilterProductChannel",
tag = "1"
)]
pub channel: i32,
}
/// Condition of a product offer.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProductCondition {
/// Value of the condition.
#[prost(
enumeration = "super::super::enums::listing_group_filter_product_condition_enum::ListingGroupFilterProductCondition",
tag = "1"
)]
pub condition: i32,
}
/// Custom attribute of a product offer.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProductCustomAttribute {
/// String value of the product custom attribute.
#[prost(string, optional, tag = "1")]
pub value: ::core::option::Option<::prost::alloc::string::String>,
/// Indicates the index of the custom attribute.
#[prost(
enumeration = "super::super::enums::listing_group_filter_custom_attribute_index_enum::ListingGroupFilterCustomAttributeIndex",
tag = "2"
)]
pub index: i32,
}
/// Item id of a product offer.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProductItemId {
/// Value of the id.
#[prost(string, optional, tag = "1")]
pub value: ::core::option::Option<::prost::alloc::string::String>,
}
/// Type of a product offer.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProductType {
/// Value of the type.
#[prost(string, optional, tag = "1")]
pub value: ::core::option::Option<::prost::alloc::string::String>,
/// Level of the type.
#[prost(
enumeration = "super::super::enums::listing_group_filter_product_type_level_enum::ListingGroupFilterProductTypeLevel",
tag = "2"
)]
pub level: i32,
}
/// Filters for URLs in a page feed and URLs from the advertiser web domain.
/// Several root nodes with this dimension are allowed in an asset group and
/// their conditions are considered in OR.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Webpage {
/// The webpage conditions are case sensitive and these are and-ed together
/// when evaluated for filtering. All the conditions should be of same type.
/// Example1: for URL1 = www.ads.google.com?ocid=1&euid=2
/// and URL2 = www.ads.google.com?ocid=1
/// and with "ocid" and "euid" as url_contains conditions,
/// URL1 will be matched, but URL2 not.
///
/// Example2 : If URL1 has Label1, Label2 and URL2 has Label2, Label3, then
/// with Label1 and Label2 as custom_label conditions, URL1 will be matched
/// but not URL2.
/// With Label2 as the only custom_label condition then both URL1 and URL2
/// will be matched.
#[prost(message, repeated, tag = "1")]
pub conditions: ::prost::alloc::vec::Vec<WebpageCondition>,
}
/// Matching condition for URL filtering.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WebpageCondition {
/// Condition for filtering the URLs.
#[prost(oneof = "webpage_condition::Condition", tags = "1, 2")]
pub condition: ::core::option::Option<webpage_condition::Condition>,
}
/// Nested message and enum types in `WebpageCondition`.
pub mod webpage_condition {
/// Condition for filtering the URLs.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Condition {
/// Filters the URLs in a page feed that have this custom label. A custom
/// label can be added to a campaign by creating an AssetSet of type
/// PAGE_FEED and linking it to the campaign using CampaignAssetSet.
#[prost(string, tag = "1")]
CustomLabel(::prost::alloc::string::String),
/// Filters the URLs in a page feed and the URLs from the advertiser web
/// domain that contain this string.
#[prost(string, tag = "2")]
UrlContains(::prost::alloc::string::String),
}
}
/// Dimension of one of the types below is always present.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Dimension {
/// Category of a product offer.
#[prost(message, tag = "10")]
ProductCategory(ProductCategory),
/// Brand of a product offer.
#[prost(message, tag = "2")]
ProductBrand(ProductBrand),
/// Locality of a product offer.
#[prost(message, tag = "3")]
ProductChannel(ProductChannel),
/// Condition of a product offer.
#[prost(message, tag = "4")]
ProductCondition(ProductCondition),
/// Custom attribute of a product offer.
#[prost(message, tag = "5")]
ProductCustomAttribute(ProductCustomAttribute),
/// Item id of a product offer.
#[prost(message, tag = "6")]
ProductItemId(ProductItemId),
/// Type of a product offer.
#[prost(message, tag = "7")]
ProductType(ProductType),
/// Filters for URLs in a page feed and URLs from the advertiser web domain.
#[prost(message, tag = "9")]
Webpage(Webpage),
}
}
/// A Google ads experiment for users to experiment changes on multiple
/// campaigns, compare the performance, and apply the effective changes.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Experiment {
/// Immutable. The resource name of the experiment.
/// Experiment resource names have the form:
///
/// `customers/{customer_id}/experiments/{experiment_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the experiment. Read only.
#[prost(int64, optional, tag = "9")]
pub experiment_id: ::core::option::Option<i64>,
/// Required. The name of the experiment. It must have a minimum length of 1
/// and maximum length of 1024. It must be unique under a customer.
#[prost(string, tag = "10")]
pub name: ::prost::alloc::string::String,
/// The description of the experiment. It must have a minimum length of 1 and
/// maximum length of 2048.
#[prost(string, tag = "11")]
pub description: ::prost::alloc::string::String,
/// For system managed experiments, the advertiser must provide a suffix during
/// construction, in the setup stage before moving to initiated. The suffix
/// will be appended to the in-design and experiment campaign names so that the
/// name is base campaign name + suffix.
#[prost(string, tag = "12")]
pub suffix: ::prost::alloc::string::String,
/// Required. The product/feature that uses this experiment.
#[prost(
enumeration = "super::enums::experiment_type_enum::ExperimentType",
tag = "13"
)]
pub r#type: i32,
/// The Advertiser-chosen status of this experiment.
#[prost(
enumeration = "super::enums::experiment_status_enum::ExperimentStatus",
tag = "14"
)]
pub status: i32,
/// Date when the experiment starts. By default, the experiment starts
/// now or on the campaign's start date, whichever is later. If this field is
/// set, then the experiment starts at the beginning of the specified date in
/// the customer's time zone.
///
/// Format: YYYY-MM-DD
/// Example: 2019-03-14
#[prost(string, optional, tag = "15")]
pub start_date: ::core::option::Option<::prost::alloc::string::String>,
/// Date when the experiment ends. By default, the experiment ends on
/// the campaign's end date. If this field is set, then the experiment ends at
/// the end of the specified date in the customer's time zone.
///
/// Format: YYYY-MM-DD
/// Example: 2019-04-18
#[prost(string, optional, tag = "16")]
pub end_date: ::core::option::Option<::prost::alloc::string::String>,
/// The goals of this experiment.
#[prost(message, repeated, tag = "17")]
pub goals: ::prost::alloc::vec::Vec<super::common::MetricGoal>,
/// Output only. The resource name of the long-running operation that can be
/// used to poll for completion of experiment schedule or promote. The most
/// recent long running operation is returned.
#[prost(string, optional, tag = "18")]
pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The status of the experiment promotion process.
#[prost(
enumeration = "super::enums::async_action_status_enum::AsyncActionStatus",
tag = "19"
)]
pub promote_status: i32,
}
/// A per store view.
/// This view provides per store impression reach and local action conversion
/// stats for advertisers.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PerStoreView {
/// Output only. The resource name of the per store view.
/// Per Store view resource names have the form:
///
/// `customers/{customer_id}/perStoreViews/{place_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The place ID of the per store view.
#[prost(string, tag = "2")]
pub place_id: ::prost::alloc::string::String,
}
/// Describe a resource for combined audiences which includes different
/// audiences.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CombinedAudience {
/// Immutable. The resource name of the combined audience.
/// Combined audience names have the form:
///
/// `customers/{customer_id}/combinedAudience/{combined_audience_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. ID of the combined audience.
#[prost(int64, tag = "2")]
pub id: i64,
/// Output only. Status of this combined audience. Indicates whether the
/// combined audience is enabled or removed.
#[prost(
enumeration = "super::enums::combined_audience_status_enum::CombinedAudienceStatus",
tag = "3"
)]
pub status: i32,
/// Output only. Name of the combined audience. It should be unique across all
/// combined audiences.
#[prost(string, tag = "4")]
pub name: ::prost::alloc::string::String,
/// Output only. Description of this combined audience.
#[prost(string, tag = "5")]
pub description: ::prost::alloc::string::String,
}
/// A search term view with metrics aggregated by search term at the ad group
/// level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SearchTermView {
/// Output only. The resource name of the search term view.
/// Search term view resource names have the form:
///
/// `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The search term.
#[prost(string, optional, tag = "5")]
pub search_term: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ad group the search term served in.
#[prost(string, optional, tag = "6")]
pub ad_group: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Indicates whether the search term is currently one of your
/// targeted or excluded keywords.
#[prost(
enumeration = "super::enums::search_term_targeting_status_enum::SearchTermTargetingStatus",
tag = "4"
)]
pub status: i32,
}
/// A life event: a particular interest-based vertical to be targeted to reach
/// users when they are in the midst of important life milestones.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LifeEvent {
/// Output only. The resource name of the life event.
/// Life event resource names have the form:
///
/// `customers/{customer_id}/lifeEvents/{life_event_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the life event.
#[prost(int64, tag = "2")]
pub id: i64,
/// Output only. The name of the life event, for example,"Recently Moved"
#[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String,
/// Output only. The parent of the life_event.
#[prost(string, tag = "4")]
pub parent: ::prost::alloc::string::String,
/// Output only. True if the life event is launched to all channels and
/// locales.
#[prost(bool, tag = "5")]
pub launched_to_all: bool,
/// Output only. Availability information of the life event.
#[prost(message, repeated, tag = "6")]
pub availabilities: ::prost::alloc::vec::Vec<
super::common::CriterionCategoryAvailability,
>,
}
/// A campaign extension setting.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignExtensionSetting {
/// Immutable. The resource name of the campaign extension setting.
/// CampaignExtensionSetting resource names have the form:
///
/// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The extension type of the customer extension setting.
#[prost(enumeration = "super::enums::extension_type_enum::ExtensionType", tag = "2")]
pub extension_type: i32,
/// Immutable. The resource name of the campaign. The linked extension feed
/// items will serve under this campaign. Campaign resource names have the
/// form:
///
/// `customers/{customer_id}/campaigns/{campaign_id}`
#[prost(string, optional, tag = "6")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
/// The resource names of the extension feed items to serve under the campaign.
/// ExtensionFeedItem resource names have the form:
///
/// `customers/{customer_id}/extensionFeedItems/{feed_item_id}`
#[prost(string, repeated, tag = "7")]
pub extension_feed_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The device for which the extensions will serve. Optional.
#[prost(
enumeration = "super::enums::extension_setting_device_enum::ExtensionSettingDevice",
tag = "5"
)]
pub device: i32,
}
/// A view on the usage of ad group ad asset combination.
/// Now we only support AdGroupAdAssetCombinationView for Responsive Search Ads,
/// with more ad types planned for the future.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupAdAssetCombinationView {
/// Output only. The resource name of the ad group ad asset combination view.
/// The combination ID is 128 bits long, where the upper 64 bits are stored in
/// asset_combination_id_high, and the lower 64 bits are stored in
/// asset_combination_id_low.
/// AdGroupAd Asset Combination view resource names have the form:
/// `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Served assets.
#[prost(message, repeated, tag = "2")]
pub served_assets: ::prost::alloc::vec::Vec<super::common::AssetUsage>,
/// Output only. The status between the asset combination and the latest
/// version of the ad. If true, the asset combination is linked to the latest
/// version of the ad. If false, it means the link once existed but has been
/// removed and is no longer present in the latest version of the ad.
#[prost(bool, optional, tag = "3")]
pub enabled: ::core::option::Option<bool>,
}
/// Represent an invitation to a new user on this customer account.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerUserAccessInvitation {
/// Immutable. Name of the resource.
/// Resource names have the form:
/// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the invitation.
/// This field is read-only.
#[prost(int64, tag = "2")]
pub invitation_id: i64,
/// Immutable. Access role of the user.
#[prost(enumeration = "super::enums::access_role_enum::AccessRole", tag = "3")]
pub access_role: i32,
/// Immutable. Email address the invitation was sent to.
/// This can differ from the email address of the account
/// that accepts the invite.
#[prost(string, tag = "4")]
pub email_address: ::prost::alloc::string::String,
/// Output only. Time invitation was created.
/// This field is read-only.
/// The format is "YYYY-MM-DD HH:MM:SS".
/// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
#[prost(string, tag = "5")]
pub creation_date_time: ::prost::alloc::string::String,
/// Output only. Invitation status of the user.
#[prost(
enumeration = "super::enums::access_invitation_status_enum::AccessInvitationStatus",
tag = "6"
)]
pub invitation_status: i32,
}
/// A list of mutates being processed asynchronously. The mutates are uploaded
/// by the user. The mutates themselves aren't readable and the results of the
/// job can only be read using BatchJobService.ListBatchJobResults.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BatchJob {
/// Immutable. The resource name of the batch job.
/// Batch job resource names have the form:
///
/// `customers/{customer_id}/batchJobs/{batch_job_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. ID of this batch job.
#[prost(int64, optional, tag = "7")]
pub id: ::core::option::Option<i64>,
/// Output only. The next sequence token to use when adding operations. Only
/// set when the batch job status is PENDING.
#[prost(string, optional, tag = "8")]
pub next_add_sequence_token: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Contains additional information about this batch job.
#[prost(message, optional, tag = "4")]
pub metadata: ::core::option::Option<batch_job::BatchJobMetadata>,
/// Output only. Status of this batch job.
#[prost(
enumeration = "super::enums::batch_job_status_enum::BatchJobStatus",
tag = "5"
)]
pub status: i32,
/// Output only. The resource name of the long-running operation that can be
/// used to poll for completion. Only set when the batch job status is RUNNING
/// or DONE.
#[prost(string, optional, tag = "9")]
pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `BatchJob`.
pub mod batch_job {
/// Additional information about the batch job. This message is also used as
/// metadata returned in batch job Long Running Operations.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BatchJobMetadata {
/// Output only. The time when this batch job was created.
/// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00"
#[prost(string, optional, tag = "8")]
pub creation_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The time when this batch job started running.
/// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30"
#[prost(string, optional, tag = "7")]
pub start_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The time when this batch job was completed.
/// Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00"
#[prost(string, optional, tag = "9")]
pub completion_date_time: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The fraction (between 0.0 and 1.0) of mutates that have been
/// processed. This is empty if the job hasn't started running yet.
#[prost(double, optional, tag = "10")]
pub estimated_completion_ratio: ::core::option::Option<f64>,
/// Output only. The number of mutate operations in the batch job.
#[prost(int64, optional, tag = "11")]
pub operation_count: ::core::option::Option<i64>,
/// Output only. The number of mutate operations executed by the batch job.
/// Present only if the job has started running.
#[prost(int64, optional, tag = "12")]
pub executed_operation_count: ::core::option::Option<i64>,
/// Immutable. The approximate upper bound for how long a batch job can be
/// executed, in seconds. If the job runs more than the given upper bound,
/// the job will be canceled.
#[prost(int32, optional, tag = "13")]
pub execution_limit_seconds: ::core::option::Option<i32>,
}
}
/// Campaign level customer lifecycle goal settings.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignLifecycleGoal {
/// Immutable. The resource name of the customer lifecycle goal of a campaign.
///
/// `customers/{customer_id}/campaignLifecycleGoal/{campaign_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The campaign where the goal is attached.
#[prost(string, tag = "2")]
pub campaign: ::prost::alloc::string::String,
/// Output only. The customer acquisition goal settings for the campaign. The
/// customer acquisition goal is described in this article:
/// <https://support.google.com/google-ads/answer/12080169>
#[prost(message, optional, tag = "3")]
pub customer_acquisition_goal_settings: ::core::option::Option<
CustomerAcquisitionGoalSettings,
>,
}
/// The customer acquisition goal settings for the campaign.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct CustomerAcquisitionGoalSettings {
/// Output only. Customer acquisition optimization mode of this campaign.
#[prost(
enumeration = "super::enums::customer_acquisition_optimization_mode_enum::CustomerAcquisitionOptimizationMode",
tag = "1"
)]
pub optimization_mode: i32,
/// Output only. Campaign specific values for the customer acquisition goal.
#[prost(message, optional, tag = "2")]
pub value_settings: ::core::option::Option<
super::common::LifecycleGoalValueSettings,
>,
}
/// A conversion value rule set
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConversionValueRuleSet {
/// Immutable. The resource name of the conversion value rule set.
/// Conversion value rule set resource names have the form:
///
/// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the conversion value rule set.
#[prost(int64, tag = "2")]
pub id: i64,
/// Resource names of rules within the rule set.
#[prost(string, repeated, tag = "3")]
pub conversion_value_rules: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Defines dimensions for Value Rule conditions. The condition types of value
/// rules within this value rule set must be of these dimensions. The first
/// entry in this list is the primary dimension of the included value rules.
/// When using value rule primary dimension segmentation, conversion values
/// will be segmented into the values adjusted by value rules and the original
/// values, if some value rules apply.
#[prost(
enumeration = "super::enums::value_rule_set_dimension_enum::ValueRuleSetDimension",
repeated,
tag = "4"
)]
pub dimensions: ::prost::alloc::vec::Vec<i32>,
/// Output only. The resource name of the conversion value rule set's owner
/// customer. When the value rule set is inherited from a manager customer,
/// owner_customer will be the resource name of the manager whereas the
/// customer in the resource_name will be of the requesting serving customer.
/// ** Read-only **
#[prost(string, tag = "5")]
pub owner_customer: ::prost::alloc::string::String,
/// Immutable. Defines the scope where the conversion value rule set is
/// attached.
#[prost(
enumeration = "super::enums::value_rule_set_attachment_type_enum::ValueRuleSetAttachmentType",
tag = "6"
)]
pub attachment_type: i32,
/// The resource name of the campaign when the conversion value rule
/// set is attached to a campaign.
#[prost(string, tag = "7")]
pub campaign: ::prost::alloc::string::String,
/// Output only. The status of the conversion value rule set.
/// ** Read-only **
#[prost(
enumeration = "super::enums::conversion_value_rule_set_status_enum::ConversionValueRuleSetStatus",
tag = "8"
)]
pub status: i32,
/// Immutable. The conversion action categories of the conversion value rule
/// set.
#[prost(
enumeration = "super::enums::conversion_action_category_enum::ConversionActionCategory",
repeated,
packed = "false",
tag = "9"
)]
pub conversion_action_categories: ::prost::alloc::vec::Vec<i32>,
}
/// A CustomerSkAdNetworkConversionValueSchema.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerSkAdNetworkConversionValueSchema {
/// Output only. The resource name of the schema.
/// CustomerSkAdNetworkConversionValueSchema resource names have the form:
/// customers/{customer_id}/customerSkAdNetworkConversionValueSchemas/{account_link_id}
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The schema for the specified resource.
#[prost(message, optional, tag = "2")]
pub schema: ::core::option::Option<
customer_sk_ad_network_conversion_value_schema::SkAdNetworkConversionValueSchema,
>,
}
/// Nested message and enum types in `CustomerSkAdNetworkConversionValueSchema`.
pub mod customer_sk_ad_network_conversion_value_schema {
/// The CustomerLink specific SkAdNetworkConversionValueSchema.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SkAdNetworkConversionValueSchema {
/// Required. Output only. Apple App Store app ID.
#[prost(string, tag = "1")]
pub app_id: ::prost::alloc::string::String,
/// Output only. A time window (measured in hours) post-install, after which
/// the App Attribution Partner or advertiser stops calling
/// \[updateConversionValue\]
/// (<https://developer.apple.com/documentation/storekit/skadnetwork/3566697-updateconversionvalue>).
#[prost(int32, tag = "2")]
pub measurement_window_hours: i32,
/// Output only. Fine grained conversion value mappings.
#[prost(message, repeated, tag = "3")]
pub fine_grained_conversion_value_mappings: ::prost::alloc::vec::Vec<
sk_ad_network_conversion_value_schema::FineGrainedConversionValueMappings,
>,
}
/// Nested message and enum types in `SkAdNetworkConversionValueSchema`.
pub mod sk_ad_network_conversion_value_schema {
/// Mappings for fine grained conversion value.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FineGrainedConversionValueMappings {
/// Output only. Fine grained conversion value. Valid values are in the
/// inclusive range \[0,63\].
#[prost(int32, tag = "1")]
pub fine_grained_conversion_value: i32,
/// Output only. Conversion events the fine grained conversion value maps
/// to.
#[prost(message, optional, tag = "2")]
pub conversion_value_mapping: ::core::option::Option<ConversionValueMapping>,
}
/// Represents mapping from one conversion value to one or more conversion
/// events.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConversionValueMapping {
/// Output only. The minimum of the time range in which a user was last
/// active during the measurement window.
#[prost(int64, tag = "1")]
pub min_time_post_install_hours: i64,
/// Output only. The maximum of the time range in which a user was last
/// active during the measurement window.
#[prost(int64, tag = "2")]
pub max_time_post_install_hours: i64,
/// Output only. The conversion value may be mapped to multiple events with
/// various attributes.
#[prost(message, repeated, tag = "3")]
pub mapped_events: ::prost::alloc::vec::Vec<Event>,
}
/// Defines a Google conversion event that the conversion value is mapped to.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Event {
/// Output only. Google event name represented by this conversion value.
#[prost(string, tag = "1")]
pub mapped_event_name: ::prost::alloc::string::String,
/// Output only. The reported currency for the event_revenue. ISO 4217
/// three-letter currency code, for example, "USD"
#[prost(string, tag = "2")]
pub currency_code: ::prost::alloc::string::String,
/// Either a range or specific value for event revenue.
#[prost(oneof = "event::RevenueRate", tags = "3, 4")]
pub revenue_rate: ::core::option::Option<event::RevenueRate>,
/// Either a range or specific value for event counter.
#[prost(oneof = "event::EventRate", tags = "5, 6")]
pub event_rate: ::core::option::Option<event::EventRate>,
}
/// Nested message and enum types in `Event`.
pub mod event {
/// Defines a range for revenue values.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RevenueRange {
/// Output only. For revenue ranges, the minimum value in `currency_code`
/// for which this conversion value would be updated. A value of 0 will
/// be treated as unset.
#[prost(double, tag = "3")]
pub min_event_revenue: f64,
/// Output only. For revenue ranges, the maximum value in `currency_code`
/// for which this conversion value would be updated. A value of 0 will
/// be treated as unset.
#[prost(double, tag = "4")]
pub max_event_revenue: f64,
}
/// Defines a range for event counter values.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct EventOccurrenceRange {
/// Output only. For event counter ranges, the minimum of the defined
/// range. A value of 0 will be treated as unset.
#[prost(int64, tag = "1")]
pub min_event_count: i64,
/// Output only. For event counter ranges, the maximum of the defined
/// range. A value of 0 will be treated as unset.
#[prost(int64, tag = "2")]
pub max_event_count: i64,
}
/// Either a range or specific value for event revenue.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum RevenueRate {
/// Output only. The event revenue range.
#[prost(message, tag = "3")]
EventRevenueRange(RevenueRange),
/// Output only. The specific event revenue value.
#[prost(double, tag = "4")]
EventRevenueValue(f64),
}
/// Either a range or specific value for event counter.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum EventRate {
/// Output only. The event counter range.
#[prost(message, tag = "5")]
EventOccurrenceRange(EventOccurrenceRange),
/// Output only. For specific event counter values.
#[prost(int64, tag = "6")]
EventCounter(i64),
}
}
}
}
/// A travel activity group view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TravelActivityGroupView {
/// Output only. The resource name of the travel activity group view.
/// Travel Activity Group view resource names have the form:
///
/// `customers/{customer_id}/travelActivityGroupViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// A parental status view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ParentalStatusView {
/// Output only. The resource name of the parental status view.
/// Parental Status view resource names have the form:
///
/// `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// Represents a relationship between a campaign and a label.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignLabel {
/// Immutable. Name of the resource.
/// Campaign label resource names have the form:
/// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The campaign to which the label is attached.
#[prost(string, optional, tag = "4")]
pub campaign: ::core::option::Option<::prost::alloc::string::String>,
/// Immutable. The label assigned to the campaign.
#[prost(string, optional, tag = "5")]
pub label: ::core::option::Option<::prost::alloc::string::String>,
}
/// A Customer search term view.
/// Historical data is available starting March 2023.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerSearchTermInsight {
/// Output only. The resource name of the customer level search term insight.
/// Customer level search term insight resource names have the form:
///
/// `customers/{customer_id}/customerSearchTermInsights/{category_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The label for the search category. An empty string denotes the
/// catch-all category for search terms that didn't fit into another category.
#[prost(string, optional, tag = "2")]
pub category_label: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The ID of the insight.
#[prost(int64, optional, tag = "3")]
pub id: ::core::option::Option<i64>,
}
/// Shopping performance view.
/// Provides Shopping campaign statistics aggregated at several product dimension
/// levels. Product dimension values from Merchant Center such as brand,
/// category, custom attributes, product condition and product type will reflect
/// the state of each dimension as of the date and time when the corresponding
/// event was recorded.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ShoppingPerformanceView {
/// Output only. The resource name of the Shopping performance view.
/// Shopping performance view resource names have the form:
/// `customers/{customer_id}/shoppingPerformanceView`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
}
/// A call view that includes data for call tracking of call-only ads or call
/// extensions.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CallView {
/// Output only. The resource name of the call view.
/// Call view resource names have the form:
///
/// `customers/{customer_id}/callViews/{call_detail_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Country code of the caller.
#[prost(string, tag = "2")]
pub caller_country_code: ::prost::alloc::string::String,
/// Output only. Area code of the caller. Null if the call duration is shorter
/// than 15 seconds.
#[prost(string, tag = "3")]
pub caller_area_code: ::prost::alloc::string::String,
/// Output only. The advertiser-provided call duration in seconds.
#[prost(int64, tag = "4")]
pub call_duration_seconds: i64,
/// Output only. The advertiser-provided call start date time.
#[prost(string, tag = "5")]
pub start_call_date_time: ::prost::alloc::string::String,
/// Output only. The advertiser-provided call end date time.
#[prost(string, tag = "6")]
pub end_call_date_time: ::prost::alloc::string::String,
/// Output only. The call tracking display location.
#[prost(
enumeration = "super::enums::call_tracking_display_location_enum::CallTrackingDisplayLocation",
tag = "7"
)]
pub call_tracking_display_location: i32,
/// Output only. The type of the call.
#[prost(enumeration = "super::enums::call_type_enum::CallType", tag = "8")]
pub r#type: i32,
/// Output only. The status of the call.
#[prost(
enumeration = "super::enums::google_voice_call_status_enum::GoogleVoiceCallStatus",
tag = "9"
)]
pub call_status: i32,
}
/// A customer extension setting.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerExtensionSetting {
/// Immutable. The resource name of the customer extension setting.
/// CustomerExtensionSetting resource names have the form:
///
/// `customers/{customer_id}/customerExtensionSettings/{extension_type}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The extension type of the customer extension setting.
#[prost(enumeration = "super::enums::extension_type_enum::ExtensionType", tag = "2")]
pub extension_type: i32,
/// The resource names of the extension feed items to serve under the customer.
/// ExtensionFeedItem resource names have the form:
///
/// `customers/{customer_id}/extensionFeedItems/{feed_item_id}`
#[prost(string, repeated, tag = "5")]
pub extension_feed_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// The device for which the extensions will serve. Optional.
#[prost(
enumeration = "super::enums::extension_setting_device_enum::ExtensionSettingDevice",
tag = "4"
)]
pub device: i32,
}
/// The biddability setting for the specified campaign only for all
/// conversion actions with a matching category and origin.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CampaignConversionGoal {
/// Immutable. The resource name of the campaign conversion goal.
/// Campaign conversion goal resource names have the form:
///
/// `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Immutable. The campaign with which this campaign conversion goal is
/// associated.
#[prost(string, tag = "2")]
pub campaign: ::prost::alloc::string::String,
/// The conversion category of this campaign conversion goal.
#[prost(
enumeration = "super::enums::conversion_action_category_enum::ConversionActionCategory",
tag = "3"
)]
pub category: i32,
/// The conversion origin of this campaign conversion goal.
#[prost(
enumeration = "super::enums::conversion_origin_enum::ConversionOrigin",
tag = "4"
)]
pub origin: i32,
/// The biddability of the campaign conversion goal.
#[prost(bool, tag = "5")]
pub biddable: bool,
}
/// Offline conversion upload client summary.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OfflineConversionUploadClientSummary {
/// Output only. The resource name of the offline conversion upload client
/// summary. Offline conversion upload client summary resource names have the
/// form:
///
/// `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Client type of the upload event.
#[prost(
enumeration = "super::enums::offline_event_upload_client_enum::OfflineEventUploadClient",
tag = "2"
)]
pub client: i32,
/// Output only. Overall status for offline conversion client summary. Status
/// is generated
/// from most recent calendar day with upload stats
#[prost(
enumeration = "super::enums::offline_conversion_diagnostic_status_enum::OfflineConversionDiagnosticStatus",
tag = "3"
)]
pub status: i32,
/// Output only. Total count of uploaded events.
#[prost(int64, tag = "4")]
pub total_event_count: i64,
/// Output only. Total count of successful uploaded events.
#[prost(int64, tag = "5")]
pub successful_event_count: i64,
/// Output only. Successful rate.
#[prost(double, tag = "6")]
pub success_rate: f64,
/// Output only. Date for the latest upload batch. The format is "yyyy-mm-dd
/// hh:mm:ss", and it's in the time zone of the Google Ads account.
#[prost(string, tag = "7")]
pub last_upload_date_time: ::prost::alloc::string::String,
/// Output only. Summary of history stats by last N days.
#[prost(message, repeated, tag = "8")]
pub daily_summaries: ::prost::alloc::vec::Vec<OfflineConversionSummary>,
/// Output only. Summary of history stats by last N jobs.
#[prost(message, repeated, tag = "9")]
pub job_summaries: ::prost::alloc::vec::Vec<OfflineConversionSummary>,
/// Output only. Details for each error code. Alerts are generated from most
/// recent calendar day with upload stats.
#[prost(message, repeated, tag = "10")]
pub alerts: ::prost::alloc::vec::Vec<OfflineConversionAlert>,
}
/// Historical upload summary, grouped by upload date or job.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OfflineConversionSummary {
/// Output only. Total count of successful event.
#[prost(int64, tag = "3")]
pub successful_count: i64,
/// Output only. Total count of failed event.
#[prost(int64, tag = "4")]
pub failed_count: i64,
/// Dimension key for summary.
#[prost(oneof = "offline_conversion_summary::DimensionKey", tags = "1, 2")]
pub dimension_key: ::core::option::Option<offline_conversion_summary::DimensionKey>,
}
/// Nested message and enum types in `OfflineConversionSummary`.
pub mod offline_conversion_summary {
/// Dimension key for summary.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum DimensionKey {
/// Output only. Dimension key for last N jobs.
#[prost(int64, tag = "1")]
JobId(i64),
/// Output only. Dimension key for last N days.
#[prost(string, tag = "2")]
UploadDate(::prost::alloc::string::String),
}
}
/// Alert for offline conversion client summary.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct OfflineConversionAlert {
/// Output only. Error for offline conversion client alert.
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<OfflineConversionError>,
/// Output only. Percentage of the error, the range of this field should be
/// \[0, 1.0\].
#[prost(double, tag = "2")]
pub error_percentage: f64,
}
/// Possible errors for offline conversion client summary.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct OfflineConversionError {
/// Error with description.
#[prost(
oneof = "offline_conversion_error::ErrorCode",
tags = "1, 2, 3, 4, 5, 6, 7, 8, 9, 10"
)]
pub error_code: ::core::option::Option<offline_conversion_error::ErrorCode>,
}
/// Nested message and enum types in `OfflineConversionError`.
pub mod offline_conversion_error {
/// Error with description.
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum ErrorCode {
/// Output only. Collection size error.
#[prost(
enumeration = "super::super::errors::collection_size_error_enum::CollectionSizeError",
tag = "1"
)]
CollectionSizeError(i32),
/// Output only. Conversion adjustment upload error.
#[prost(
enumeration = "super::super::errors::conversion_adjustment_upload_error_enum::ConversionAdjustmentUploadError",
tag = "2"
)]
ConversionAdjustmentUploadError(i32),
/// Output only. Conversion upload error.
#[prost(
enumeration = "super::super::errors::conversion_upload_error_enum::ConversionUploadError",
tag = "3"
)]
ConversionUploadError(i32),
/// Output only. Date error.
#[prost(
enumeration = "super::super::errors::date_error_enum::DateError",
tag = "4"
)]
DateError(i32),
/// Output only. Distinct error.
#[prost(
enumeration = "super::super::errors::distinct_error_enum::DistinctError",
tag = "5"
)]
DistinctError(i32),
/// Output only. Field error.
#[prost(
enumeration = "super::super::errors::field_error_enum::FieldError",
tag = "6"
)]
FieldError(i32),
/// Output only. Mutate error.
#[prost(
enumeration = "super::super::errors::mutate_error_enum::MutateError",
tag = "7"
)]
MutateError(i32),
/// Output only. Not allowlisted error.
#[prost(
enumeration = "super::super::errors::not_allowlisted_error_enum::NotAllowlistedError",
tag = "8"
)]
NotAllowlistedError(i32),
/// Output only. String format error.
#[prost(
enumeration = "super::super::errors::string_format_error_enum::StringFormatError",
tag = "9"
)]
StringFormatError(i32),
/// Output only. String length error.
#[prost(
enumeration = "super::super::errors::string_length_error_enum::StringLengthError",
tag = "10"
)]
StringLengthError(i32),
}
}
/// A customizer attribute.
/// Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or
/// AdGroupCriterionCustomizer to associate a customizer attribute and
/// set its value at the customer, campaign, ad group, or ad group criterion
/// level, respectively.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomizerAttribute {
/// Immutable. The resource name of the customizer attribute.
/// Customizer Attribute resource names have the form:
///
/// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the customizer attribute.
#[prost(int64, tag = "2")]
pub id: i64,
/// Required. Immutable. Name of the customizer attribute. Required. It must
/// have a minimum length of 1 and maximum length of 40. Name of an enabled
/// customizer attribute must be unique (case insensitive).
#[prost(string, tag = "3")]
pub name: ::prost::alloc::string::String,
/// Immutable. The type of the customizer attribute.
#[prost(
enumeration = "super::enums::customizer_attribute_type_enum::CustomizerAttributeType",
tag = "4"
)]
pub r#type: i32,
/// Output only. The status of the customizer attribute.
#[prost(
enumeration = "super::enums::customizer_attribute_status_enum::CustomizerAttributeStatus",
tag = "5"
)]
pub status: i32,
}
/// A mobile operating system version or a range of versions, depending on
/// `operator_type`. List of available mobile platforms at
/// <https://developers.google.com/google-ads/api/reference/data/codes-formats#mobile-platforms>
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OperatingSystemVersionConstant {
/// Output only. The resource name of the operating system version constant.
/// Operating system version constant resource names have the form:
///
/// `operatingSystemVersionConstants/{criterion_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The ID of the operating system version.
#[prost(int64, optional, tag = "7")]
pub id: ::core::option::Option<i64>,
/// Output only. Name of the operating system.
#[prost(string, optional, tag = "8")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. The OS Major Version number.
#[prost(int32, optional, tag = "9")]
pub os_major_version: ::core::option::Option<i32>,
/// Output only. The OS Minor Version number.
#[prost(int32, optional, tag = "10")]
pub os_minor_version: ::core::option::Option<i32>,
/// Output only. Determines whether this constant represents a single version
/// or a range of versions.
#[prost(
enumeration = "super::enums::operating_system_version_operator_type_enum::OperatingSystemVersionOperatorType",
tag = "6"
)]
pub operator_type: i32,
}
/// A Smart campaign search term view.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SmartCampaignSearchTermView {
/// Output only. The resource name of the Smart campaign search term view.
/// Smart campaign search term view resource names have the form:
///
/// `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. The search term.
#[prost(string, tag = "2")]
pub search_term: ::prost::alloc::string::String,
/// Output only. The Smart campaign the search term served in.
#[prost(string, tag = "3")]
pub campaign: ::prost::alloc::string::String,
}
/// A custom interest. This is a list of users by interest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomInterest {
/// Immutable. The resource name of the custom interest.
/// Custom interest resource names have the form:
///
/// `customers/{customer_id}/customInterests/{custom_interest_id}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Id of the custom interest.
#[prost(int64, optional, tag = "8")]
pub id: ::core::option::Option<i64>,
/// Status of this custom interest. Indicates whether the custom interest is
/// enabled or removed.
#[prost(
enumeration = "super::enums::custom_interest_status_enum::CustomInterestStatus",
tag = "3"
)]
pub status: i32,
/// Name of the custom interest. It should be unique across the same custom
/// affinity audience.
/// This field is required for create operations.
#[prost(string, optional, tag = "9")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
/// Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT.
/// By default the type is set to CUSTOM_AFFINITY.
#[prost(
enumeration = "super::enums::custom_interest_type_enum::CustomInterestType",
tag = "5"
)]
pub r#type: i32,
/// Description of this custom interest audience.
#[prost(string, optional, tag = "10")]
pub description: ::core::option::Option<::prost::alloc::string::String>,
/// List of custom interest members that this custom interest is composed of.
/// Members can be added during CustomInterest creation. If members are
/// presented in UPDATE operation, existing members will be overridden.
#[prost(message, repeated, tag = "7")]
pub members: ::prost::alloc::vec::Vec<CustomInterestMember>,
}
/// A member of custom interest audience. A member can be a keyword or url.
/// It is immutable, that is, it can only be created or removed but not changed.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomInterestMember {
/// The type of custom interest member, KEYWORD or URL.
#[prost(
enumeration = "super::enums::custom_interest_member_type_enum::CustomInterestMemberType",
tag = "1"
)]
pub member_type: i32,
/// Keyword text when member_type is KEYWORD or URL string when
/// member_type is URL.
#[prost(string, optional, tag = "3")]
pub parameter: ::core::option::Option<::prost::alloc::string::String>,
}
/// An ad group simulation. Supported combinations of advertising
/// channel type, simulation type and simulation modification method is
/// detailed below respectively.
///
/// 1. SEARCH - CPC_BID - DEFAULT
/// 2. SEARCH - CPC_BID - UNIFORM
/// 3. SEARCH - TARGET_CPA - UNIFORM
/// 4. SEARCH - TARGET_ROAS - UNIFORM
/// 5. DISPLAY - CPC_BID - DEFAULT
/// 6. DISPLAY - CPC_BID - UNIFORM
/// 7. DISPLAY - TARGET_CPA - UNIFORM
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdGroupSimulation {
/// Output only. The resource name of the ad group simulation.
/// Ad group simulation resource names have the form:
///
/// `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Ad group id of the simulation.
#[prost(int64, optional, tag = "12")]
pub ad_group_id: ::core::option::Option<i64>,
/// Output only. The field that the simulation modifies.
#[prost(
enumeration = "super::enums::simulation_type_enum::SimulationType",
tag = "3"
)]
pub r#type: i32,
/// Output only. How the simulation modifies the field.
#[prost(
enumeration = "super::enums::simulation_modification_method_enum::SimulationModificationMethod",
tag = "4"
)]
pub modification_method: i32,
/// Output only. First day on which the simulation is based, in YYYY-MM-DD
/// format.
#[prost(string, optional, tag = "13")]
pub start_date: ::core::option::Option<::prost::alloc::string::String>,
/// Output only. Last day on which the simulation is based, in YYYY-MM-DD
/// format
#[prost(string, optional, tag = "14")]
pub end_date: ::core::option::Option<::prost::alloc::string::String>,
/// List of simulation points.
#[prost(oneof = "ad_group_simulation::PointList", tags = "8, 10, 9, 11")]
pub point_list: ::core::option::Option<ad_group_simulation::PointList>,
}
/// Nested message and enum types in `AdGroupSimulation`.
pub mod ad_group_simulation {
/// List of simulation points.
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum PointList {
/// Output only. Simulation points if the simulation type is CPC_BID.
#[prost(message, tag = "8")]
CpcBidPointList(super::super::common::CpcBidSimulationPointList),
/// Output only. Simulation points if the simulation type is CPV_BID.
#[prost(message, tag = "10")]
CpvBidPointList(super::super::common::CpvBidSimulationPointList),
/// Output only. Simulation points if the simulation type is TARGET_CPA.
#[prost(message, tag = "9")]
TargetCpaPointList(super::super::common::TargetCpaSimulationPointList),
/// Output only. Simulation points if the simulation type is TARGET_ROAS.
#[prost(message, tag = "11")]
TargetRoasPointList(super::super::common::TargetRoasSimulationPointList),
}
}
/// A distance view with metrics aggregated by the user's distance from an
/// advertiser's location extensions. Each DistanceBucket includes all
/// impressions that fall within its distance and a single impression will
/// contribute to the metrics for all DistanceBuckets that include the user's
/// distance.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DistanceView {
/// Output only. The resource name of the distance view.
/// Distance view resource names have the form:
///
/// `customers/{customer_id}/distanceViews/1~{distance_bucket}`
#[prost(string, tag = "1")]
pub resource_name: ::prost::alloc::string::String,
/// Output only. Grouping of user distance from location extensions.
#[prost(
enumeration = "super::enums::distance_bucket_enum::DistanceBucket",
tag = "2"
)]
pub distance_bucket: i32,
/// Output only. True if the DistanceBucket is using the metric system, false
/// otherwise.
#[prost(bool, optional, tag = "4")]
pub metric_system: ::core::option::Option<bool>,
}