I have shared the request and response details below. Please let me know what is the issue and how to resolve this.
Request details:
URL:
Header:
{'Content-Type': 'application/json', 'developer-token': 'REDACTED', 'login-customer-id': 'REDACTED', 'Authorization': 'Bearer REDACTED'}
Data:
{'validate_only': True, 'operations': [{'create': {'status': 'PAUSED', 'advertisingChannelType': 'SEARCH', 'name': 'test', 'campaignBudget': 'customers/REDACTED/campaignBudgets/REDACTED', 'startDate': '2022-07-10', 'endDate': '2022-07-20', 'networkSettings': {'targetGoogleSearch': 'true', 'targetSearchNetwork': 'true', 'targetContentNetwork': 'false', 'targetPartnerSearchNetwork': 'false'}, 'biddingStrategyType': 'MAXIMIZE_CONVERSIONS', 'selectiveOptimization': {'conversionActions': ['customers/REDACTED/conversionActions/REDACTED', 'customers/REDACTED/conversionActions/REDACTED', 'customers/REDACTED/conversionActions/REDACTED', 'customers/REDACTED/conversionActions/REDACTED', 'customers/REDACTED/conversionActions/REDACTED', 'customers/REDACTED/conversionActions/REDACTED']}, 'maximizeConversions': {}}}]}
Getting the following error:
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "
type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"requestError": "UNKNOWN"
},
"message": "The error code is not in this version.",
"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
},
{
"fieldName": "create"
},
{
"fieldName": "selective_optimization"
},
{
"fieldName": "conversion_actions"
}
]
}
}
],
"requestId": "ywajMew3_-B46URFU60f0Q"
}
]
}
}