Hi,

Thank you for contacting the Google Ads API support team.

Based on the request Id, I understand that you are encountering an 
OPERATION_NOT_PERMITTED_FOR_CONTEXT error while trying to create a demand gen 
campaign by setting use_audience_grouped as false. This error indicates that 
the operation is not allowed for the given context. Possible cause for it is 
using audience targeting with a campaign type that is not supported.

Please note that as per the documentation, if ‘use_audience_grouped’ is false, 
the campaign may use audience segment criteria and as per the Audiences 
document, Audience Segment targeting is supported for Display, Search, Video, 
Hotel, and Standard Shopping campaigns. Based on this, please find answers to 
your queries below:

Is it possible to set useAudienceGrouped flag as false upon campaign/adgroup 
creation?

Answer: Yes, it is possible to set the ‘useAudienceGrouped’ flag as false while 
creating a campaign/ ad group for the campaign type which supports audience 
segment targeting.

Is audience segment criteria (user list) supported for demand gen 
campaigns/adgroups?

Answer: No, audience segment criteria is not supported for demand gen 
campaigns/ ad groups.

I hope this clarifies your concern. Feel free to reach out for any  further 
concerns/ queries.

Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-06-03 18:33:32Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!500Ht01re5Fx:ref" (ADR-00309734)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/mCDzU000000000000000000000000000000000000000000000SXAM7W00oT9p1rXsSsqoa6DbjTAw-A%40sfdc.net.
  • De... Gregory Gao
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to