Hi Leon,
Thank you for reaching out to the Google Ads API support team.
Please be informed that I have removed your response from the forums as it
contains the PII information.
Based on the logs, it seems that you've encountered a "RESOURCE_NOT_FOUND"
error while attempting to create an ad group for a shopping campaign. I noticed
that you are using the incorrect field "campaign_new" in your request. The
correct field to use is "campaign." For further details, please refer to this
AdGroup guide.
Kindly try the below updated request :
{
"operations": [
{
"create": {
"adRotationMode": "OPTIMIZE",
"status": "ENABLED",
"name": "shopping_ad_group_3",
"campaign": "customers/{customer_id}/campaigns/{campaign_id}"
}
}
]
}
If the issue still persists even after following the above suggestion, please
share the updated complete API logs (request and response with request-id and
request header) generated at your end.
As you are using a ruby client library, I would request you to enable logging.
You can refer to the guide Ruby enabled logging at your end.
You can send the details via Reply privately to the author option, or direct
private reply to this email.
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGtzV:ref"
(ADR-00283041)
Thanks,
Google Ads API Team
Feedback
How was our support today?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/adwords-api/CdOzW000000000000000000000000000000000000000000000SPTN3R00prJhK6IwQGSD3YfznDa9tQ%40sfdc.net.