Hello, 

I'm trying add campaignCriteria for app based in REST api. Bu I'm getting 
this error => MULTIPLE(MULTIPLE_MOBILE_APP)

What is the problem? any suggestion? Thanks

https://googleads.googleapis.com/v9/customers/*******/campaignCriteria:mutate 
*This 
is my JSON *=>

{
"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": "**************"
            }
        ]
    }
} 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/87d7949b-3979-4e97-9ecf-26ca6276f878n%40googlegroups.com.
  • cu... Ali Talip Sever
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to