- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- CustomerSkAdNetworkConversionValueSchemaOperation
- CustomerSkAdNetworkConversionValueSchema
- SkAdNetworkConversionValueSchema
- FineGrainedConversionValueMappings
- ConversionValueMapping
- Event
- RevenueRange
- EventOccurrenceRange
- PostbackMapping
- CoarseGrainedConversionValueMappings
- MutateCustomerSkAdNetworkConversionValueSchemaResult
- Try it!
Creates or updates the CustomerSkAdNetworkConversionValueSchema.
List of thrown errors: AuthenticationError AuthorizationError FieldError InternalError MutateError
HTTP request
POST https://googleads.googleapis.com/v17/customers/{customerId}/customerSkAdNetworkConversionValueSchemas:mutate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customerId |
The ID of the customer whose shared sets are being modified. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"operation": {
object ( |
Fields | |
---|---|
operation |
The operation to perform. |
validateOnly |
If true, the request is validated but not executed. Only errors are returned, not results. |
enableWarnings |
Optional. If true, enables returning warnings. Warnings return error messages and error codes without blocking the execution of the mutate operation. |
Response body
Response message for customerSkAdNetworkConversionValueSchemas.mutate.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "result": { object ( |
Fields | |
---|---|
result |
All results for the mutate. |
warning |
Non blocking errors that provides schema validation failure details. Returned only when enableWarnings = true. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.
CustomerSkAdNetworkConversionValueSchemaOperation
A single update operation for a CustomerSkAdNetworkConversionValueSchema.
JSON representation |
---|
{
"update": {
object ( |
Fields | |
---|---|
update |
Update operation: The schema is expected to have a valid resource name. |
CustomerSkAdNetworkConversionValueSchema
A CustomerSkAdNetworkConversionValueSchema.
JSON representation |
---|
{
"resourceName": string,
"schema": {
object ( |
Fields | |
---|---|
resourceName |
Output only. The resource name of the schema. CustomerSkAdNetworkConversionValueSchema resource names have the form: customers/{customerId}/customerSkAdNetworkConversionValueSchemas/{accountLinkId} |
schema |
Output only. The schema for the specified resource. |
SkAdNetworkConversionValueSchema
The CustomerLink specific SkAdNetworkConversionValueSchema.
JSON representation |
---|
{ "appId": string, "measurementWindowHours": integer, "fineGrainedConversionValueMappings": [ { object ( |
Fields | |
---|---|
appId |
Required. Output only. Apple App Store app ID. |
measurementWindowHours |
Output only. A time window (measured in hours) post-install, after which the App Attribution Partner or advertiser stops calling updateConversionValue. |
fineGrainedConversionValueMappings[] |
Output only. Fine grained conversion value mappings. For SkAdNetwork versions >= 4.0 that support multiple conversion windows, fine grained conversion value mappings are only applicable to the first postback. |
postbackMappings[] |
Output only. Per-postback conversion value mappings for postbacks in multiple conversion windows. Only applicable for SkAdNetwork versions >= 4.0. |
FineGrainedConversionValueMappings
Mappings for fine grained conversion value.
JSON representation |
---|
{
"fineGrainedConversionValue": integer,
"conversionValueMapping": {
object ( |
Fields | |
---|---|
fineGrainedConversionValue |
Output only. Fine grained conversion value. Valid values are in the inclusive range [0,63]. |
conversionValueMapping |
Output only. Conversion events the fine grained conversion value maps to. |
ConversionValueMapping
Represents mapping from one conversion value to one or more conversion events.
JSON representation |
---|
{
"minTimePostInstallHours": string,
"maxTimePostInstallHours": string,
"mappedEvents": [
{
object ( |
Fields | |
---|---|
minTimePostInstallHours |
Output only. The minimum of the time range in which a user was last active during the measurement window. |
maxTimePostInstallHours |
Output only. The maximum of the time range in which a user was last active during the measurement window. |
mappedEvents[] |
Output only. The conversion value may be mapped to multiple events with various attributes. |
Event
Defines a Google conversion event that the conversion value is mapped to.
JSON representation |
---|
{ "mappedEventName": string, "currencyCode": string, // Union field |
Fields | |
---|---|
mappedEventName |
Output only. Google event name represented by this conversion value. |
currencyCode |
Output only. The reported currency for the event_revenue. ISO 4217 three-letter currency code, for example, "USD" |
Union field revenue_rate . Either a range or specific value for event revenue. revenue_rate can be only one of the following: |
|
eventRevenueRange |
Output only. The event revenue range. |
eventRevenueValue |
Output only. The specific event revenue value. |
Union field event_rate . Either a range or specific value for event counter. event_rate can be only one of the following: |
|
eventOccurrenceRange |
Output only. The event counter range. |
eventCounter |
Output only. For specific event counter values. |
RevenueRange
Defines a range for revenue values.
JSON representation |
---|
{ "minEventRevenue": number, "maxEventRevenue": number } |
Fields | |
---|---|
minEventRevenue |
Output only. For revenue ranges, the minimum value in |
maxEventRevenue |
Output only. For revenue ranges, the maximum value in |
EventOccurrenceRange
Defines a range for event counter values.
JSON representation |
---|
{ "minEventCount": string, "maxEventCount": string } |
Fields | |
---|---|
minEventCount |
Output only. For event counter ranges, the minimum of the defined range. A value of 0 will be treated as unset. |
maxEventCount |
Output only. For event counter ranges, the maximum of the defined range. A value of 0 will be treated as unset. |
PostbackMapping
Mappings for each postback in multiple conversion windows.
JSON representation |
---|
{ "postbackSequenceIndex": integer, "coarseGrainedConversionValueMappings": { object ( |
Fields | |
---|---|
postbackSequenceIndex |
Output only. 0-based index that indicates the order of postback. Valid values are in the inclusive range [0,2]. |
coarseGrainedConversionValueMappings |
Output only. Conversion value mappings for all coarse grained conversion values. |
Union field lock_window_trigger . Event or conversion value used for locking conversion window. lock_window_trigger can be only one of the following: |
|
lockWindowCoarseConversionValue |
Output only. Coarse grained conversion value that triggers conversion window lock. |
lockWindowFineConversionValue |
Output only. Fine grained conversion value that triggers conversion window lock. |
lockWindowEvent |
Output only. Event name that triggers conversion window lock. |
CoarseGrainedConversionValueMappings
Mappings for coarse grained conversion values.
JSON representation |
---|
{ "lowConversionValueMapping": { object ( |
Fields | |
---|---|
lowConversionValueMapping |
Output only. Mapping for "low" coarse conversion value. |
mediumConversionValueMapping |
Output only. Mapping for "medium" coarse conversion value. |
highConversionValueMapping |
Output only. Mapping for "high" coarse conversion value. |
MutateCustomerSkAdNetworkConversionValueSchemaResult
The result for the CustomerSkAdNetworkConversionValueSchema mutate.
JSON representation |
---|
{ "resourceName": string, "appId": string } |
Fields | |
---|---|
resourceName |
Resource name of the customer that was modified. |
appId |
App ID of the SkanConversionValue modified. |