OLD | NEW |
1 library googleapis.doubleclicksearch.v2; | 1 library googleapis.doubleclicksearch.v2; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 | 677 |
678 /** DS ad ID. */ | 678 /** DS ad ID. */ |
679 core.String adId; | 679 core.String adId; |
680 | 680 |
681 /** DS advertiser ID. */ | 681 /** DS advertiser ID. */ |
682 core.String advertiserId; | 682 core.String advertiserId; |
683 | 683 |
684 /** DS agency ID. */ | 684 /** DS agency ID. */ |
685 core.String agencyId; | 685 core.String agencyId; |
686 | 686 |
| 687 /** Attribution model name. */ |
| 688 core.String attributionModel; |
| 689 |
687 /** DS campaign ID. */ | 690 /** DS campaign ID. */ |
688 core.String campaignId; | 691 core.String campaignId; |
689 | 692 |
690 /** DS click ID for the conversion. */ | 693 /** DS click ID for the conversion. */ |
691 core.String clickId; | 694 core.String clickId; |
692 | 695 |
693 /** Advertiser-provided ID for the conversion, also known as the order ID. */ | 696 /** Advertiser-provided ID for the conversion, also known as the order ID. */ |
694 core.String conversionId; | 697 core.String conversionId; |
695 | 698 |
696 /** | 699 /** |
697 * The time at which the conversion was last modified, in epoch millis UTC. | 700 * The time at which the conversion was last modified, in epoch millis UTC. |
698 */ | 701 */ |
699 core.String conversionModifiedTimestamp; | 702 core.String conversionModifiedTimestamp; |
700 | 703 |
701 /** The time at which the conversion took place, in epoch millis UTC. */ | 704 /** The time at which the conversion took place, in epoch millis UTC. */ |
702 core.String conversionTimestamp; | 705 core.String conversionTimestamp; |
703 | 706 |
| 707 /** Conversion count in millis. */ |
| 708 core.String countMillis; |
| 709 |
704 /** DS criterion (keyword) ID. */ | 710 /** DS criterion (keyword) ID. */ |
705 core.String criterionId; | 711 core.String criterionId; |
706 | 712 |
707 /** | 713 /** |
708 * The currency code for the conversion's revenue. Should be in ISO 4217 | 714 * The currency code for the conversion's revenue. Should be in ISO 4217 |
709 * alphabetic (3-char) format. | 715 * alphabetic (3-char) format. |
710 */ | 716 */ |
711 core.String currencyCode; | 717 core.String currencyCode; |
712 | 718 |
713 /** | 719 /** |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 } | 779 } |
774 if (_json.containsKey("adId")) { | 780 if (_json.containsKey("adId")) { |
775 adId = _json["adId"]; | 781 adId = _json["adId"]; |
776 } | 782 } |
777 if (_json.containsKey("advertiserId")) { | 783 if (_json.containsKey("advertiserId")) { |
778 advertiserId = _json["advertiserId"]; | 784 advertiserId = _json["advertiserId"]; |
779 } | 785 } |
780 if (_json.containsKey("agencyId")) { | 786 if (_json.containsKey("agencyId")) { |
781 agencyId = _json["agencyId"]; | 787 agencyId = _json["agencyId"]; |
782 } | 788 } |
| 789 if (_json.containsKey("attributionModel")) { |
| 790 attributionModel = _json["attributionModel"]; |
| 791 } |
783 if (_json.containsKey("campaignId")) { | 792 if (_json.containsKey("campaignId")) { |
784 campaignId = _json["campaignId"]; | 793 campaignId = _json["campaignId"]; |
785 } | 794 } |
786 if (_json.containsKey("clickId")) { | 795 if (_json.containsKey("clickId")) { |
787 clickId = _json["clickId"]; | 796 clickId = _json["clickId"]; |
788 } | 797 } |
789 if (_json.containsKey("conversionId")) { | 798 if (_json.containsKey("conversionId")) { |
790 conversionId = _json["conversionId"]; | 799 conversionId = _json["conversionId"]; |
791 } | 800 } |
792 if (_json.containsKey("conversionModifiedTimestamp")) { | 801 if (_json.containsKey("conversionModifiedTimestamp")) { |
793 conversionModifiedTimestamp = _json["conversionModifiedTimestamp"]; | 802 conversionModifiedTimestamp = _json["conversionModifiedTimestamp"]; |
794 } | 803 } |
795 if (_json.containsKey("conversionTimestamp")) { | 804 if (_json.containsKey("conversionTimestamp")) { |
796 conversionTimestamp = _json["conversionTimestamp"]; | 805 conversionTimestamp = _json["conversionTimestamp"]; |
797 } | 806 } |
| 807 if (_json.containsKey("countMillis")) { |
| 808 countMillis = _json["countMillis"]; |
| 809 } |
798 if (_json.containsKey("criterionId")) { | 810 if (_json.containsKey("criterionId")) { |
799 criterionId = _json["criterionId"]; | 811 criterionId = _json["criterionId"]; |
800 } | 812 } |
801 if (_json.containsKey("currencyCode")) { | 813 if (_json.containsKey("currencyCode")) { |
802 currencyCode = _json["currencyCode"]; | 814 currencyCode = _json["currencyCode"]; |
803 } | 815 } |
804 if (_json.containsKey("customDimension")) { | 816 if (_json.containsKey("customDimension")) { |
805 customDimension = _json["customDimension"].map((value) => new CustomDimens
ion.fromJson(value)).toList(); | 817 customDimension = _json["customDimension"].map((value) => new CustomDimens
ion.fromJson(value)).toList(); |
806 } | 818 } |
807 if (_json.containsKey("customMetric")) { | 819 if (_json.containsKey("customMetric")) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 } | 858 } |
847 if (adId != null) { | 859 if (adId != null) { |
848 _json["adId"] = adId; | 860 _json["adId"] = adId; |
849 } | 861 } |
850 if (advertiserId != null) { | 862 if (advertiserId != null) { |
851 _json["advertiserId"] = advertiserId; | 863 _json["advertiserId"] = advertiserId; |
852 } | 864 } |
853 if (agencyId != null) { | 865 if (agencyId != null) { |
854 _json["agencyId"] = agencyId; | 866 _json["agencyId"] = agencyId; |
855 } | 867 } |
| 868 if (attributionModel != null) { |
| 869 _json["attributionModel"] = attributionModel; |
| 870 } |
856 if (campaignId != null) { | 871 if (campaignId != null) { |
857 _json["campaignId"] = campaignId; | 872 _json["campaignId"] = campaignId; |
858 } | 873 } |
859 if (clickId != null) { | 874 if (clickId != null) { |
860 _json["clickId"] = clickId; | 875 _json["clickId"] = clickId; |
861 } | 876 } |
862 if (conversionId != null) { | 877 if (conversionId != null) { |
863 _json["conversionId"] = conversionId; | 878 _json["conversionId"] = conversionId; |
864 } | 879 } |
865 if (conversionModifiedTimestamp != null) { | 880 if (conversionModifiedTimestamp != null) { |
866 _json["conversionModifiedTimestamp"] = conversionModifiedTimestamp; | 881 _json["conversionModifiedTimestamp"] = conversionModifiedTimestamp; |
867 } | 882 } |
868 if (conversionTimestamp != null) { | 883 if (conversionTimestamp != null) { |
869 _json["conversionTimestamp"] = conversionTimestamp; | 884 _json["conversionTimestamp"] = conversionTimestamp; |
870 } | 885 } |
| 886 if (countMillis != null) { |
| 887 _json["countMillis"] = countMillis; |
| 888 } |
871 if (criterionId != null) { | 889 if (criterionId != null) { |
872 _json["criterionId"] = criterionId; | 890 _json["criterionId"] = criterionId; |
873 } | 891 } |
874 if (currencyCode != null) { | 892 if (currencyCode != null) { |
875 _json["currencyCode"] = currencyCode; | 893 _json["currencyCode"] = currencyCode; |
876 } | 894 } |
877 if (customDimension != null) { | 895 if (customDimension != null) { |
878 _json["customDimension"] = customDimension.map((value) => (value).toJson()
).toList(); | 896 _json["customDimension"] = customDimension.map((value) => (value).toJson()
).toList(); |
879 } | 897 } |
880 if (customMetric != null) { | 898 if (customMetric != null) { |
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1895 core.Map toJson() { | 1913 core.Map toJson() { |
1896 var _json = new core.Map(); | 1914 var _json = new core.Map(); |
1897 if (availabilities != null) { | 1915 if (availabilities != null) { |
1898 _json["availabilities"] = availabilities.map((value) => (value).toJson()).
toList(); | 1916 _json["availabilities"] = availabilities.map((value) => (value).toJson()).
toList(); |
1899 } | 1917 } |
1900 return _json; | 1918 return _json; |
1901 } | 1919 } |
1902 } | 1920 } |
1903 | 1921 |
1904 | 1922 |
OLD | NEW |