Hello Google Ads team,
I am trying to use uploadUserData https://developers.google.com/google-ads/api/rest/reference/rest/v12/customers/uploadUserData?hl=fr
When i use this request . Everything is fine
But when I add enablePartialFailure or enableWarnings, I got the following error
Is there no way to verify if my request (payload) in operations is correct?
{
"error": {
"code": 400,
"message": "Invalid JSON payload received. Unknown name \"enableWarnings\": Cannot find field.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"description": "Invalid JSON payload received. Unknown name \"enableWarnings\": Cannot find field."
}
]
}
]
}
}
Other questions :
In some cases I send partial parameters into addressInfo
for example :
all fields except the firstName Or i have only information postalCode
Question : I can send this request in payload ? Or I exclude addressInfo section
Example :
{
"customerMatchUserListMetadata": {
"userList": "customers/XXXXXXX/userLists/XXXXXXXX"
},
"operations": [
{
"create": {
"userIdentifiers": [
{
"hashedEmail": "e233d4a29013e9d87150c6237c6777bedf379ebf1acdc5d6126fec7e8bb74fb5"
},
{
"addressInfo": {
"postalCode": "10011"
}
}
]
}
}
]
}
Thx,
Hello,
Thank you for reaching out to Google Ads API Support.
With regards to your concern, you are getting an error when adding enablePartialFailure or enableWarnings because the request method you are using does not support these fields as referred in this documentation. Please see responses below for each question.
"Is there no way to verify if my request (payload) in operations is correct?"
--> You need to use query explorer that can be seen on the right side of this page to verify your payload.
"I can send this request in payload ? Or I exclude addressInfo section"
--> Note that your request does impacts on the Matching process. If user has firstName and address then you may specify both.
Please let us know if you have additional questions.
Regards,
![]() |
Google Ads API Team |
{
"addressInfo": {
"postalCode": "10011"
}
}
Thx
![]() |
zayane yassine Tél : 0662151260
about.me/yassine.zayane
|
{
"addressInfo": {
"postalCode": "10011"
}
}
Thx