{
"operations": [
{
"create":{
"type": "MOBILE_APPLICATION",
"status": "ENABLED",
"campaign": "customers/******/campaigns/*******",
"negative": "true",
"mobileApplication": {
"appId": "1-1546365343",
"name": "QR Code Reader · Scan QR Code"
}
}
}
],
"validateOnly": "true",
"responseContentType": "MUTABLE_RESOURCE"
}
and this is server response:
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "
type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"contextError": "OPERATION_NOT_PERMITTED_FOR_CONTEXT"
},
"message": "The operation is not allowed for the given context.",
"trigger": {
"stringValue": "MULTIPLE(MULTIPLE_MOBILE_APP)"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
},
{
"fieldName": "create"
},
{
"fieldName": "mobile_application"
}
]
}
}
],
"requestId": "**************"
}
]
}
}