Team Data PerformicsDE <pfx....@gmail.com>: Sep 29 03:45AM -0700
I have a similar problem.
When I make this Request:
"https://googleads.googleapis.com/v10/customers/MyCustomer_ID/keywordPlans/My_keywordPlans:generateHistoricalMetrics"
I get the results for germany. I changed location in the Plan but I see no
changes.
I have tried to change the Body the Request but I get an error.
{
"error": {
"code": 400,
"message": "Invalid JSON payload received. Unknown name
\"customerId\": Cannot find field.\nInvalid JSON payload received. Unknown
name \"language\": Cannot find field.\nInvalid JSON payload received.
Unknown name \"geoTargetConstants\": Cannot find field.\nInvalid JSON
payload received. Unknown name \"keywordPlanNetwork\": Cannot find field.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"description": "Invalid JSON payload received.
Unknown name \"customerId\": Cannot find field."
},
{
"description": "Invalid JSON payload received.
Unknown name \"language\": Cannot find field."
},
{
"description": "Invalid JSON payload received.
Unknown name \"geoTargetConstants\": Cannot find field."
},
{
"description": "Invalid JSON payload received.
Unknown name \"keywordPlanNetwork\": Cannot find field."
}
]
}
]
}
}
=> Do you know any way to specify the location or show the data at global
level?
Google Ads API Forum Advisor <ads...@forumsupport.google>: Sep 29 10:05AM
Hi Jaime,
Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.
Moving forward to your concern, I understand that you have 2 MCC accounts. Could you please provide us those 2 MCC accounts for us to check it on our end. The USER_PERMISSION_DENIED means that a user doesn't have permission to access a customer and you’re accessing a client customer using 'login-customer-id’ in the request.
To address the above error, you will need to ensure that the user / email address you used to generate the credentials indeed has access to the account in your request. If the user / email address has access or is associated with the MCC / manager account, you will need to specify the said MCC / manager account ID as the value of the login-customer-id field.
If the issue persists, please provide us the complete request and response logs with request ID and request header generated on your end? You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com. If you haven't enabled the logging yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.
Kind regards,
Sherwin Vincent
Google Ads API Team
ref:_00D1U1174p._5004Q2euSYB:ref
Selicean Titus <seli....@gmail.com>: Sep 29 02:52AM -0700
I understand. Thanks for investigating.
I have one last question though, could you tell me if those fields have
implications (enables or disables configuration) at the Ad Group or Ad
level?
Thank you!
On Wednesday, 28 September 2022 at 21:30:40 UTC+3 adsapi wrote:
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to adwords-api...@googlegroups.com.