Hello :) Issue is when we use your code
{ "operations": [ { "create": { "name": "demand gen campaign233", "advertisingChannelType": "DEMAND_GEN", "status": "ENABLED", "campaignBudget": "customers/{customerId}/campaignBudgets/{campaign_budget_id}", "targetCpa": { "targetCpaMicros": 10000 } } } ] } { "results": [ { "resourceName": "customers/{customerId}/campaigns/{campaignId}" } ] } We find Target Cost Per Action option in the campaign which I dont need. I need to create campaign without Target Cost Per Action. How I can do this ?? Thanks On Monday, 28 April 2025 at 21:18:20 UTC+5:30 Google Ads API Forum Advisor wrote: > Hi Ashish, > > Based on the provided information, it appears that you’ve encountered the > 'The required field was not present’ error while attempting to create a > demand gen campaign via the Google Ads API. It is required to include the > bidding strategy field while creating the demand gen campaign via the API. > I would like to inform you that to create a demand gen campaign, you have > to follow the given steps: > > 1. Create a budget. > 2. Create a Demand Gen campaign with appropriate bidding strategies. > 3. Create an ad group without a type. > 4. Create audiences. > 5. Create assets and Demand Gen ads. > > Please note that after the budget is created, you can create a campaign. > Demand Gen campaigns have an AdvertisingChannelType > <https://developers.google.com/google-ads/api/reference/rpc/v19/AdvertisingChannelTypeEnum.AdvertisingChannelType> > of > DEMAND_GEN. No AdvertisingChannelSubType should be set. Set up conversion > goals > <https://developers.google.com/google-ads/api/docs/conversions/goals/overview> > for > your campaign. Supported bidding strategies > <https://support.google.com/google-ads/answer/13695389> are maximize > clicks, target CPA, maximize conversions, and target ROAS. Kindly refer to > create > a demand gen campaign > <https://developers.google.com/google-ads/api/docs/demand-gen/create-campaign?hl=en> > for > more information. Reporting information for demand gen campaigns can be > retrieved at different levels, similar to other campaign types, refer to > the Report and optimize > <https://developers.google.com/google-ads/api/docs/demand-gen/reporting?hl=en>. > We > tried to create the demand gen from my end and we were able to create the > campaign successfully without any errors. Kindly refer to the sample > request and response bodies below for reference: > > > { > "operations": [ > { > "create": { > "name": "demand gen campaign233", > "advertisingChannelType": "DEMAND_GEN", > "status": "ENABLED", > "campaignBudget": > "customers/{customerId}/campaignBudgets/{campaign_budget_id}", > "targetCpa": { > "targetCpaMicros": 10000 > } > } > } > ] > } > > > { > "results": [ > { > "resourceName": "customers/{customerId}/campaigns/{campaignId}" > } > ] > } > > I request you kindly create the demand gen campaign by following the given > suggestions via the Google Ads API and let us know how if you still face > any issues. > > > [image: Google Logo] Google Ads API Team > Feedback > How was our support today? > > [image: rating1] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001qUt5qIAC> > > [image: rating2] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001qUt5qIAC> > > [image: rating3] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001qUt5qIAC> > > [image: rating4] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001qUt5qIAC> > > [image: rating5] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001qUt5qIAC> > > [2025-04-28 15:47:32Z GMT] This message is in relation to case > "ref:!00D1U01174p.!500Ht01qUt5q:ref" (ADR-00301597) > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/adwords-api/edd0cf54-607c-48fd-a98a-b67d3427d786n%40googlegroups.com.