Hi Mike,
Thanks for reaching out to the Google Ads API Fang.
I’ve checked your API request payload and I found that you are using PERFORMANCE_MAX campaign type to create an Ad group with below API request. You may note that campaign ID 19646139075 is a PERFORMANCE_MAX and it does not support the Ad group.
{
"customerId": "***",
"operations": [
{
"create": {
"name": "Google Ads - Shopping Demo Product | 76155 | 499156 | | Untitled Value1 |",
"status": "ENABLED",
"adRotationMode": "OPTIMIZE",
"campaign": "customers/*****/campaigns/19646139075"
}
}
]
}
This is why you encountered said error on your end when you try to use Ad group service. I hope this helps.
Regards,
|
||||||
Hi Mike,
I'm a colleague of Yasar from the Google Ads API team.
I can confirm that it is not possible to create an ad group under a Performance Max campaign. I suggest you check out this documentation to learn about the resources needed when creating Performance Max campaigns. Also, this documentation notes that you shouldn't select an AdGroup when querying Performance Max campaigns, since no campaigns will be returned.
Regards,
|
||||||