@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.0.20230821 → 0.0.20230823
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +420 -1
- package/package.json +1 -1
- package/tests.ts +150 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://analyticsadmin.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230823
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -737,6 +737,9 @@ declare namespace gapi.client {
|
|
|
737
737
|
/** A snapshot of a SearchAds360Link resource in change history. */
|
|
738
738
|
searchAds360Link?:
|
|
739
739
|
GoogleAnalyticsAdminV1alphaSearchAds360Link;
|
|
740
|
+
/** A snapshot of SKAdNetworkConversionValueSchema resource in change history. */
|
|
741
|
+
skadnetworkConversionValueSchema?:
|
|
742
|
+
GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema;
|
|
740
743
|
}
|
|
741
744
|
interface GoogleAnalyticsAdminV1alphaChangeHistoryEvent {
|
|
742
745
|
/** The type of actor that made this change. */
|
|
@@ -856,6 +859,30 @@ declare namespace gapi.client {
|
|
|
856
859
|
name?:
|
|
857
860
|
string;
|
|
858
861
|
}
|
|
862
|
+
interface GoogleAnalyticsAdminV1alphaConversionValues {
|
|
863
|
+
/** Required. A coarse grained conversion value. This value is not guaranteed to be unique. */
|
|
864
|
+
coarseValue?:
|
|
865
|
+
string;
|
|
866
|
+
/** Display name of the SKAdNetwork conversion value. The max allowed display name length is 50 UTF-16 code units. */
|
|
867
|
+
displayName?:
|
|
868
|
+
string;
|
|
869
|
+
/**
|
|
870
|
+
* Event conditions that must be met for this Conversion Value to be achieved. The conditions in this list are ANDed together. It must have minimum of 1 entry and maximum of 3 entries,
|
|
871
|
+
* if the postback window is enabled.
|
|
872
|
+
*/
|
|
873
|
+
eventMappings?:
|
|
874
|
+
GoogleAnalyticsAdminV1alphaEventMapping[];
|
|
875
|
+
/**
|
|
876
|
+
* The fine-grained conversion value. This is applicable only to the first postback window. Its valid values are [0,63], both inclusive. It must be set for postback window 1, and must
|
|
877
|
+
* not be set for postback window 2 & 3. This value is not guaranteed to be unique. If the configuration for the first postback window is re-used for second or third postback windows
|
|
878
|
+
* this field has no effect.
|
|
879
|
+
*/
|
|
880
|
+
fineValue?:
|
|
881
|
+
number;
|
|
882
|
+
/** If true, the SDK should lock to this conversion value for the current postback window. */
|
|
883
|
+
lockEnabled?:
|
|
884
|
+
boolean;
|
|
885
|
+
}
|
|
859
886
|
interface GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest {
|
|
860
887
|
/** Required. The access binding to create. */
|
|
861
888
|
accessBinding?:
|
|
@@ -1179,6 +1206,26 @@ declare namespace gapi.client {
|
|
|
1179
1206
|
sourceCopyParameters?:
|
|
1180
1207
|
boolean;
|
|
1181
1208
|
}
|
|
1209
|
+
interface GoogleAnalyticsAdminV1alphaEventMapping {
|
|
1210
|
+
/** Required. Name of the GA4 event. It must always be set. The max allowed display name length is 40 UTF-16 code units. */
|
|
1211
|
+
eventName?:
|
|
1212
|
+
string;
|
|
1213
|
+
/** The maximum number of times the event occurred. If not set, maximum event count won't be checked. */
|
|
1214
|
+
maxEventCount?:
|
|
1215
|
+
string;
|
|
1216
|
+
/** The maximum revenue generated due to the event. Revenue currency will be defined at the property level. If not set, maximum event value won't be checked. */
|
|
1217
|
+
maxEventValue?:
|
|
1218
|
+
number;
|
|
1219
|
+
/**
|
|
1220
|
+
* At least one of the following four min/max values must be set. The values set will be ANDed together to qualify an event. The minimum number of times the event occurred. If not set,
|
|
1221
|
+
* minimum event count won't be checked.
|
|
1222
|
+
*/
|
|
1223
|
+
minEventCount?:
|
|
1224
|
+
string;
|
|
1225
|
+
/** The minimum revenue generated due to the event. Revenue currency will be defined at the property level. If not set, minimum event value won't be checked. */
|
|
1226
|
+
minEventValue?:
|
|
1227
|
+
number;
|
|
1228
|
+
}
|
|
1182
1229
|
interface GoogleAnalyticsAdminV1alphaExpandedDataSet {
|
|
1183
1230
|
/** Output only. Time when expanded data set began (or will begin) collecing data. */
|
|
1184
1231
|
dataCollectionStartTime?:
|
|
@@ -1535,6 +1582,17 @@ declare namespace gapi.client {
|
|
|
1535
1582
|
searchAds360Links?:
|
|
1536
1583
|
GoogleAnalyticsAdminV1alphaSearchAds360Link[];
|
|
1537
1584
|
}
|
|
1585
|
+
interface GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse {
|
|
1586
|
+
/**
|
|
1587
|
+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. Currently, Google Analytics supports only one
|
|
1588
|
+
* SKAdNetworkConversionValueSchema per dataStream, so this will never be populated.
|
|
1589
|
+
*/
|
|
1590
|
+
nextPageToken?:
|
|
1591
|
+
string;
|
|
1592
|
+
/** List of SKAdNetworkConversionValueSchemas. This will have at most one value. */
|
|
1593
|
+
skadnetworkConversionValueSchemas?:
|
|
1594
|
+
GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema[];
|
|
1595
|
+
}
|
|
1538
1596
|
interface GoogleAnalyticsAdminV1alphaListUserLinksResponse {
|
|
1539
1597
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
1540
1598
|
nextPageToken?:
|
|
@@ -1600,6 +1658,21 @@ declare namespace gapi.client {
|
|
|
1600
1658
|
parameterValue?:
|
|
1601
1659
|
string;
|
|
1602
1660
|
}
|
|
1661
|
+
interface GoogleAnalyticsAdminV1alphaPostbackWindow {
|
|
1662
|
+
/**
|
|
1663
|
+
* Ordering of the repeated field will be used to prioritize the conversion value settings. Lower indexed entries are prioritized higher. The first conversion value setting that
|
|
1664
|
+
* evaluates to true will be selected. It must have at least one entry if enable_postback_window_settings is set to true. It can have maximum of 128 entries.
|
|
1665
|
+
*/
|
|
1666
|
+
conversionValues?:
|
|
1667
|
+
GoogleAnalyticsAdminV1alphaConversionValues[];
|
|
1668
|
+
/**
|
|
1669
|
+
* If enable_postback_window_settings is true, conversion_values must be populated and will be used for determining when and how to set the Conversion Value on a client device and
|
|
1670
|
+
* exporting schema to linked Ads accounts. If false, the settings are not used, but are retained in case they may be used in the future. This must always be true for
|
|
1671
|
+
* postback_window_one.
|
|
1672
|
+
*/
|
|
1673
|
+
postbackWindowSettingsEnabled?:
|
|
1674
|
+
boolean;
|
|
1675
|
+
}
|
|
1603
1676
|
interface GoogleAnalyticsAdminV1alphaProperty {
|
|
1604
1677
|
/** Immutable. The resource name of the parent account Format: accounts/{account_id} Example: "accounts/123" */
|
|
1605
1678
|
account?:
|
|
@@ -1846,6 +1919,39 @@ declare namespace gapi.client {
|
|
|
1846
1919
|
// tslint:disable-next-line:no-empty-interface
|
|
1847
1920
|
interface GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse {
|
|
1848
1921
|
}
|
|
1922
|
+
interface GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema {
|
|
1923
|
+
/**
|
|
1924
|
+
* If enabled, the GA SDK will set conversion values using this schema definition, and schema will be exported to any Google Ads accounts linked to this property. If disabled, the GA
|
|
1925
|
+
* SDK will not automatically set conversion values, and also the schema will not be exported to Ads.
|
|
1926
|
+
*/
|
|
1927
|
+
applyConversionValues?:
|
|
1928
|
+
boolean;
|
|
1929
|
+
/**
|
|
1930
|
+
* Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format:
|
|
1931
|
+
* properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
|
|
1932
|
+
*/
|
|
1933
|
+
name?:
|
|
1934
|
+
string;
|
|
1935
|
+
/**
|
|
1936
|
+
* Required. The conversion value settings for the first postback window. These differ from values for postback window two and three in that they contain a "Fine" grained conversion
|
|
1937
|
+
* value (a numeric value). Conversion values for this postback window must be set. The other windows are optional and may inherit this window's settings if unset or disabled.
|
|
1938
|
+
*/
|
|
1939
|
+
postbackWindowOne?:
|
|
1940
|
+
GoogleAnalyticsAdminV1alphaPostbackWindow;
|
|
1941
|
+
/**
|
|
1942
|
+
* The conversion value settings for the third postback window. This field should only be set if the user chose to define different conversion values for this postback window. It is
|
|
1943
|
+
* allowed to configure window 3 without setting window 2. In case window 1 & 2 settings are set and enable_postback_window_settings for this postback window is set to false, the
|
|
1944
|
+
* schema will inherit settings from postback_window_two.
|
|
1945
|
+
*/
|
|
1946
|
+
postbackWindowThree?:
|
|
1947
|
+
GoogleAnalyticsAdminV1alphaPostbackWindow;
|
|
1948
|
+
/**
|
|
1949
|
+
* The conversion value settings for the second postback window. This field should only be configured if there is a need to define different conversion values for this postback window.
|
|
1950
|
+
* If enable_postback_window_settings is set to false for this postback window, the values from postback_window_one will be used.
|
|
1951
|
+
*/
|
|
1952
|
+
postbackWindowTwo?:
|
|
1953
|
+
GoogleAnalyticsAdminV1alphaPostbackWindow;
|
|
1954
|
+
}
|
|
1849
1955
|
interface GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest {
|
|
1850
1956
|
/** Required. The access binding to update. */
|
|
1851
1957
|
accessBinding?:
|
|
@@ -6893,6 +6999,317 @@ declare namespace gapi.client {
|
|
|
6893
6999
|
},
|
|
6894
7000
|
body: GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret): Request<GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret>;
|
|
6895
7001
|
}
|
|
7002
|
+
interface SKAdNetworkConversionValueSchemaResource {
|
|
7003
|
+
/** Creates a SKAdNetworkConversionValueSchema. */
|
|
7004
|
+
create(request: {
|
|
7005
|
+
/** V1 error format. */
|
|
7006
|
+
"$.xgafv"?:
|
|
7007
|
+
string;
|
|
7008
|
+
/** OAuth access token. */
|
|
7009
|
+
access_token?:
|
|
7010
|
+
string;
|
|
7011
|
+
/** Data format for response. */
|
|
7012
|
+
alt?:
|
|
7013
|
+
string;
|
|
7014
|
+
/** JSONP */
|
|
7015
|
+
callback?:
|
|
7016
|
+
string;
|
|
7017
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7018
|
+
fields?:
|
|
7019
|
+
string;
|
|
7020
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7021
|
+
key?:
|
|
7022
|
+
string;
|
|
7023
|
+
/** OAuth 2.0 token for the current user. */
|
|
7024
|
+
oauth_token?:
|
|
7025
|
+
string;
|
|
7026
|
+
/** Required. The parent resource where this schema will be created. Format: properties/{property}/dataStreams/{dataStream} */
|
|
7027
|
+
parent:
|
|
7028
|
+
string;
|
|
7029
|
+
/** Returns response with indentations and line breaks. */
|
|
7030
|
+
prettyPrint?:
|
|
7031
|
+
boolean;
|
|
7032
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7033
|
+
quotaUser?:
|
|
7034
|
+
string;
|
|
7035
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7036
|
+
upload_protocol?:
|
|
7037
|
+
string;
|
|
7038
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7039
|
+
uploadType?:
|
|
7040
|
+
string;
|
|
7041
|
+
/** Request body */
|
|
7042
|
+
resource:
|
|
7043
|
+
GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema;
|
|
7044
|
+
}): Request<GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema>;
|
|
7045
|
+
create(request: {
|
|
7046
|
+
/** V1 error format. */
|
|
7047
|
+
"$.xgafv"?:
|
|
7048
|
+
string;
|
|
7049
|
+
/** OAuth access token. */
|
|
7050
|
+
access_token?:
|
|
7051
|
+
string;
|
|
7052
|
+
/** Data format for response. */
|
|
7053
|
+
alt?:
|
|
7054
|
+
string;
|
|
7055
|
+
/** JSONP */
|
|
7056
|
+
callback?:
|
|
7057
|
+
string;
|
|
7058
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7059
|
+
fields?:
|
|
7060
|
+
string;
|
|
7061
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7062
|
+
key?:
|
|
7063
|
+
string;
|
|
7064
|
+
/** OAuth 2.0 token for the current user. */
|
|
7065
|
+
oauth_token?:
|
|
7066
|
+
string;
|
|
7067
|
+
/** Required. The parent resource where this schema will be created. Format: properties/{property}/dataStreams/{dataStream} */
|
|
7068
|
+
parent:
|
|
7069
|
+
string;
|
|
7070
|
+
/** Returns response with indentations and line breaks. */
|
|
7071
|
+
prettyPrint?:
|
|
7072
|
+
boolean;
|
|
7073
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7074
|
+
quotaUser?:
|
|
7075
|
+
string;
|
|
7076
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7077
|
+
upload_protocol?:
|
|
7078
|
+
string;
|
|
7079
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7080
|
+
uploadType?:
|
|
7081
|
+
string;
|
|
7082
|
+
},
|
|
7083
|
+
body: GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema): Request<GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema>;
|
|
7084
|
+
/** Deletes target SKAdNetworkConversionValueSchema. */
|
|
7085
|
+
delete(request?: {
|
|
7086
|
+
/** V1 error format. */
|
|
7087
|
+
"$.xgafv"?:
|
|
7088
|
+
string;
|
|
7089
|
+
/** OAuth access token. */
|
|
7090
|
+
access_token?:
|
|
7091
|
+
string;
|
|
7092
|
+
/** Data format for response. */
|
|
7093
|
+
alt?:
|
|
7094
|
+
string;
|
|
7095
|
+
/** JSONP */
|
|
7096
|
+
callback?:
|
|
7097
|
+
string;
|
|
7098
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7099
|
+
fields?:
|
|
7100
|
+
string;
|
|
7101
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7102
|
+
key?:
|
|
7103
|
+
string;
|
|
7104
|
+
/**
|
|
7105
|
+
* Required. The name of the SKAdNetworkConversionValueSchema to delete. Format:
|
|
7106
|
+
* properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
|
|
7107
|
+
*/
|
|
7108
|
+
name:
|
|
7109
|
+
string;
|
|
7110
|
+
/** OAuth 2.0 token for the current user. */
|
|
7111
|
+
oauth_token?:
|
|
7112
|
+
string;
|
|
7113
|
+
/** Returns response with indentations and line breaks. */
|
|
7114
|
+
prettyPrint?:
|
|
7115
|
+
boolean;
|
|
7116
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7117
|
+
quotaUser?:
|
|
7118
|
+
string;
|
|
7119
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7120
|
+
upload_protocol?:
|
|
7121
|
+
string;
|
|
7122
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7123
|
+
uploadType?:
|
|
7124
|
+
string;
|
|
7125
|
+
}): Request<{}>;
|
|
7126
|
+
/** Looks up a single SKAdNetworkConversionValueSchema. */
|
|
7127
|
+
get(request?: {
|
|
7128
|
+
/** V1 error format. */
|
|
7129
|
+
"$.xgafv"?:
|
|
7130
|
+
string;
|
|
7131
|
+
/** OAuth access token. */
|
|
7132
|
+
access_token?:
|
|
7133
|
+
string;
|
|
7134
|
+
/** Data format for response. */
|
|
7135
|
+
alt?:
|
|
7136
|
+
string;
|
|
7137
|
+
/** JSONP */
|
|
7138
|
+
callback?:
|
|
7139
|
+
string;
|
|
7140
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7141
|
+
fields?:
|
|
7142
|
+
string;
|
|
7143
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7144
|
+
key?:
|
|
7145
|
+
string;
|
|
7146
|
+
/**
|
|
7147
|
+
* Required. The resource name of SKAdNetwork conversion value schema to look up. Format:
|
|
7148
|
+
* properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
|
|
7149
|
+
*/
|
|
7150
|
+
name:
|
|
7151
|
+
string;
|
|
7152
|
+
/** OAuth 2.0 token for the current user. */
|
|
7153
|
+
oauth_token?:
|
|
7154
|
+
string;
|
|
7155
|
+
/** Returns response with indentations and line breaks. */
|
|
7156
|
+
prettyPrint?:
|
|
7157
|
+
boolean;
|
|
7158
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7159
|
+
quotaUser?:
|
|
7160
|
+
string;
|
|
7161
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7162
|
+
upload_protocol?:
|
|
7163
|
+
string;
|
|
7164
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7165
|
+
uploadType?:
|
|
7166
|
+
string;
|
|
7167
|
+
}): Request<GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema>;
|
|
7168
|
+
/** Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema. */
|
|
7169
|
+
list(request?: {
|
|
7170
|
+
/** V1 error format. */
|
|
7171
|
+
"$.xgafv"?:
|
|
7172
|
+
string;
|
|
7173
|
+
/** OAuth access token. */
|
|
7174
|
+
access_token?:
|
|
7175
|
+
string;
|
|
7176
|
+
/** Data format for response. */
|
|
7177
|
+
alt?:
|
|
7178
|
+
string;
|
|
7179
|
+
/** JSONP */
|
|
7180
|
+
callback?:
|
|
7181
|
+
string;
|
|
7182
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7183
|
+
fields?:
|
|
7184
|
+
string;
|
|
7185
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7186
|
+
key?:
|
|
7187
|
+
string;
|
|
7188
|
+
/** OAuth 2.0 token for the current user. */
|
|
7189
|
+
oauth_token?:
|
|
7190
|
+
string;
|
|
7191
|
+
/**
|
|
7192
|
+
* The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be
|
|
7193
|
+
* returned. The maximum value is 200; (higher values will be coerced to the maximum)
|
|
7194
|
+
*/
|
|
7195
|
+
pageSize?:
|
|
7196
|
+
number;
|
|
7197
|
+
/**
|
|
7198
|
+
* A page token, received from a previous `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided
|
|
7199
|
+
* to `ListSKAdNetworkConversionValueSchema` must match the call that provided the page token.
|
|
7200
|
+
*/
|
|
7201
|
+
pageToken?:
|
|
7202
|
+
string;
|
|
7203
|
+
/** Required. Format: properties/{property_id}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema Example: properties/1234/dataStreams/5678/sKAdNetworkConversionValueSchema */
|
|
7204
|
+
parent:
|
|
7205
|
+
string;
|
|
7206
|
+
/** Returns response with indentations and line breaks. */
|
|
7207
|
+
prettyPrint?:
|
|
7208
|
+
boolean;
|
|
7209
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7210
|
+
quotaUser?:
|
|
7211
|
+
string;
|
|
7212
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7213
|
+
upload_protocol?:
|
|
7214
|
+
string;
|
|
7215
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7216
|
+
uploadType?:
|
|
7217
|
+
string;
|
|
7218
|
+
}): Request<GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse>;
|
|
7219
|
+
/** Updates a SKAdNetworkConversionValueSchema. */
|
|
7220
|
+
patch(request: {
|
|
7221
|
+
/** V1 error format. */
|
|
7222
|
+
"$.xgafv"?:
|
|
7223
|
+
string;
|
|
7224
|
+
/** OAuth access token. */
|
|
7225
|
+
access_token?:
|
|
7226
|
+
string;
|
|
7227
|
+
/** Data format for response. */
|
|
7228
|
+
alt?:
|
|
7229
|
+
string;
|
|
7230
|
+
/** JSONP */
|
|
7231
|
+
callback?:
|
|
7232
|
+
string;
|
|
7233
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7234
|
+
fields?:
|
|
7235
|
+
string;
|
|
7236
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7237
|
+
key?:
|
|
7238
|
+
string;
|
|
7239
|
+
/**
|
|
7240
|
+
* Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format:
|
|
7241
|
+
* properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
|
|
7242
|
+
*/
|
|
7243
|
+
name:
|
|
7244
|
+
string;
|
|
7245
|
+
/** OAuth 2.0 token for the current user. */
|
|
7246
|
+
oauth_token?:
|
|
7247
|
+
string;
|
|
7248
|
+
/** Returns response with indentations and line breaks. */
|
|
7249
|
+
prettyPrint?:
|
|
7250
|
+
boolean;
|
|
7251
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7252
|
+
quotaUser?:
|
|
7253
|
+
string;
|
|
7254
|
+
/** Required. The list of fields to be updated. Omitted fields will not be updated. */
|
|
7255
|
+
updateMask?:
|
|
7256
|
+
string;
|
|
7257
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7258
|
+
upload_protocol?:
|
|
7259
|
+
string;
|
|
7260
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7261
|
+
uploadType?:
|
|
7262
|
+
string;
|
|
7263
|
+
/** Request body */
|
|
7264
|
+
resource:
|
|
7265
|
+
GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema;
|
|
7266
|
+
}): Request<GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema>;
|
|
7267
|
+
patch(request: {
|
|
7268
|
+
/** V1 error format. */
|
|
7269
|
+
"$.xgafv"?:
|
|
7270
|
+
string;
|
|
7271
|
+
/** OAuth access token. */
|
|
7272
|
+
access_token?:
|
|
7273
|
+
string;
|
|
7274
|
+
/** Data format for response. */
|
|
7275
|
+
alt?:
|
|
7276
|
+
string;
|
|
7277
|
+
/** JSONP */
|
|
7278
|
+
callback?:
|
|
7279
|
+
string;
|
|
7280
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7281
|
+
fields?:
|
|
7282
|
+
string;
|
|
7283
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7284
|
+
key?:
|
|
7285
|
+
string;
|
|
7286
|
+
/**
|
|
7287
|
+
* Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format:
|
|
7288
|
+
* properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
|
|
7289
|
+
*/
|
|
7290
|
+
name:
|
|
7291
|
+
string;
|
|
7292
|
+
/** OAuth 2.0 token for the current user. */
|
|
7293
|
+
oauth_token?:
|
|
7294
|
+
string;
|
|
7295
|
+
/** Returns response with indentations and line breaks. */
|
|
7296
|
+
prettyPrint?:
|
|
7297
|
+
boolean;
|
|
7298
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7299
|
+
quotaUser?:
|
|
7300
|
+
string;
|
|
7301
|
+
/** Required. The list of fields to be updated. Omitted fields will not be updated. */
|
|
7302
|
+
updateMask?:
|
|
7303
|
+
string;
|
|
7304
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7305
|
+
upload_protocol?:
|
|
7306
|
+
string;
|
|
7307
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7308
|
+
uploadType?:
|
|
7309
|
+
string;
|
|
7310
|
+
},
|
|
7311
|
+
body: GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema): Request<GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema>;
|
|
7312
|
+
}
|
|
6896
7313
|
interface DataStreamsResource {
|
|
6897
7314
|
/** Creates a DataStream. */
|
|
6898
7315
|
create(request: {
|
|
@@ -7375,6 +7792,8 @@ declare namespace gapi.client {
|
|
|
7375
7792
|
EventCreateRulesResource;
|
|
7376
7793
|
measurementProtocolSecrets:
|
|
7377
7794
|
MeasurementProtocolSecretsResource;
|
|
7795
|
+
sKAdNetworkConversionValueSchema:
|
|
7796
|
+
SKAdNetworkConversionValueSchemaResource;
|
|
7378
7797
|
}
|
|
7379
7798
|
interface DisplayVideo360AdvertiserLinkProposalsResource {
|
|
7380
7799
|
/** Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created. */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230823
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -1446,6 +1446,155 @@ gapi.load('client', async () => {
|
|
|
1446
1446
|
name: "Test string",
|
|
1447
1447
|
secretValue: "Test string",
|
|
1448
1448
|
});
|
|
1449
|
+
/** Creates a SKAdNetworkConversionValueSchema. */
|
|
1450
|
+
await gapi.client.analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.create({
|
|
1451
|
+
parent: "Test string",
|
|
1452
|
+
}, {
|
|
1453
|
+
applyConversionValues: true,
|
|
1454
|
+
name: "Test string",
|
|
1455
|
+
postbackWindowOne: {
|
|
1456
|
+
conversionValues: [
|
|
1457
|
+
{
|
|
1458
|
+
coarseValue: "Test string",
|
|
1459
|
+
displayName: "Test string",
|
|
1460
|
+
eventMappings: [
|
|
1461
|
+
{
|
|
1462
|
+
eventName: "Test string",
|
|
1463
|
+
maxEventCount: "Test string",
|
|
1464
|
+
maxEventValue: 42,
|
|
1465
|
+
minEventCount: "Test string",
|
|
1466
|
+
minEventValue: 42,
|
|
1467
|
+
}
|
|
1468
|
+
],
|
|
1469
|
+
fineValue: 42,
|
|
1470
|
+
lockEnabled: true,
|
|
1471
|
+
}
|
|
1472
|
+
],
|
|
1473
|
+
postbackWindowSettingsEnabled: true,
|
|
1474
|
+
},
|
|
1475
|
+
postbackWindowThree: {
|
|
1476
|
+
conversionValues: [
|
|
1477
|
+
{
|
|
1478
|
+
coarseValue: "Test string",
|
|
1479
|
+
displayName: "Test string",
|
|
1480
|
+
eventMappings: [
|
|
1481
|
+
{
|
|
1482
|
+
eventName: "Test string",
|
|
1483
|
+
maxEventCount: "Test string",
|
|
1484
|
+
maxEventValue: 42,
|
|
1485
|
+
minEventCount: "Test string",
|
|
1486
|
+
minEventValue: 42,
|
|
1487
|
+
}
|
|
1488
|
+
],
|
|
1489
|
+
fineValue: 42,
|
|
1490
|
+
lockEnabled: true,
|
|
1491
|
+
}
|
|
1492
|
+
],
|
|
1493
|
+
postbackWindowSettingsEnabled: true,
|
|
1494
|
+
},
|
|
1495
|
+
postbackWindowTwo: {
|
|
1496
|
+
conversionValues: [
|
|
1497
|
+
{
|
|
1498
|
+
coarseValue: "Test string",
|
|
1499
|
+
displayName: "Test string",
|
|
1500
|
+
eventMappings: [
|
|
1501
|
+
{
|
|
1502
|
+
eventName: "Test string",
|
|
1503
|
+
maxEventCount: "Test string",
|
|
1504
|
+
maxEventValue: 42,
|
|
1505
|
+
minEventCount: "Test string",
|
|
1506
|
+
minEventValue: 42,
|
|
1507
|
+
}
|
|
1508
|
+
],
|
|
1509
|
+
fineValue: 42,
|
|
1510
|
+
lockEnabled: true,
|
|
1511
|
+
}
|
|
1512
|
+
],
|
|
1513
|
+
postbackWindowSettingsEnabled: true,
|
|
1514
|
+
},
|
|
1515
|
+
});
|
|
1516
|
+
/** Deletes target SKAdNetworkConversionValueSchema. */
|
|
1517
|
+
await gapi.client.analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.delete({
|
|
1518
|
+
name: "Test string",
|
|
1519
|
+
});
|
|
1520
|
+
/** Looks up a single SKAdNetworkConversionValueSchema. */
|
|
1521
|
+
await gapi.client.analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.get({
|
|
1522
|
+
name: "Test string",
|
|
1523
|
+
});
|
|
1524
|
+
/** Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema. */
|
|
1525
|
+
await gapi.client.analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.list({
|
|
1526
|
+
pageSize: 42,
|
|
1527
|
+
pageToken: "Test string",
|
|
1528
|
+
parent: "Test string",
|
|
1529
|
+
});
|
|
1530
|
+
/** Updates a SKAdNetworkConversionValueSchema. */
|
|
1531
|
+
await gapi.client.analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.patch({
|
|
1532
|
+
name: "Test string",
|
|
1533
|
+
updateMask: "Test string",
|
|
1534
|
+
}, {
|
|
1535
|
+
applyConversionValues: true,
|
|
1536
|
+
name: "Test string",
|
|
1537
|
+
postbackWindowOne: {
|
|
1538
|
+
conversionValues: [
|
|
1539
|
+
{
|
|
1540
|
+
coarseValue: "Test string",
|
|
1541
|
+
displayName: "Test string",
|
|
1542
|
+
eventMappings: [
|
|
1543
|
+
{
|
|
1544
|
+
eventName: "Test string",
|
|
1545
|
+
maxEventCount: "Test string",
|
|
1546
|
+
maxEventValue: 42,
|
|
1547
|
+
minEventCount: "Test string",
|
|
1548
|
+
minEventValue: 42,
|
|
1549
|
+
}
|
|
1550
|
+
],
|
|
1551
|
+
fineValue: 42,
|
|
1552
|
+
lockEnabled: true,
|
|
1553
|
+
}
|
|
1554
|
+
],
|
|
1555
|
+
postbackWindowSettingsEnabled: true,
|
|
1556
|
+
},
|
|
1557
|
+
postbackWindowThree: {
|
|
1558
|
+
conversionValues: [
|
|
1559
|
+
{
|
|
1560
|
+
coarseValue: "Test string",
|
|
1561
|
+
displayName: "Test string",
|
|
1562
|
+
eventMappings: [
|
|
1563
|
+
{
|
|
1564
|
+
eventName: "Test string",
|
|
1565
|
+
maxEventCount: "Test string",
|
|
1566
|
+
maxEventValue: 42,
|
|
1567
|
+
minEventCount: "Test string",
|
|
1568
|
+
minEventValue: 42,
|
|
1569
|
+
}
|
|
1570
|
+
],
|
|
1571
|
+
fineValue: 42,
|
|
1572
|
+
lockEnabled: true,
|
|
1573
|
+
}
|
|
1574
|
+
],
|
|
1575
|
+
postbackWindowSettingsEnabled: true,
|
|
1576
|
+
},
|
|
1577
|
+
postbackWindowTwo: {
|
|
1578
|
+
conversionValues: [
|
|
1579
|
+
{
|
|
1580
|
+
coarseValue: "Test string",
|
|
1581
|
+
displayName: "Test string",
|
|
1582
|
+
eventMappings: [
|
|
1583
|
+
{
|
|
1584
|
+
eventName: "Test string",
|
|
1585
|
+
maxEventCount: "Test string",
|
|
1586
|
+
maxEventValue: 42,
|
|
1587
|
+
minEventCount: "Test string",
|
|
1588
|
+
minEventValue: 42,
|
|
1589
|
+
}
|
|
1590
|
+
],
|
|
1591
|
+
fineValue: 42,
|
|
1592
|
+
lockEnabled: true,
|
|
1593
|
+
}
|
|
1594
|
+
],
|
|
1595
|
+
postbackWindowSettingsEnabled: true,
|
|
1596
|
+
},
|
|
1597
|
+
});
|
|
1449
1598
|
/** Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created. */
|
|
1450
1599
|
await gapi.client.analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.approve({
|
|
1451
1600
|
name: "Test string",
|