Error with discovery campaign

63 views
Skip to first unread message

Vinicius R A

unread,
Jun 20, 2023, 2:15:19 PM6/20/23
to Google Ads API and AdWords API Forum
Hello google ads team, i´m trying to create a discovery campaign, but generate the error:

 Error with message "The required field was not present.".
                On field: operations
                On field: create
                On field: campaign_bidding_strategy

I already managed to create using target_cpa, but for maximize conversions, it´s not possible, generating the error:

Error with message "The operation is not allowed for the given context.".
                On field: operations
                On field: create
                On field: bidding_strategy

Supported bidding strategies are target CPA, maximize conversions, and target ROAS. -  https://developers.google.com/google-ads/api/docs/discovery/create-campaign?hl=pt-br


help me, please

Google Ads API Forum Advisor

unread,
Jun 22, 2023, 5:10:04 AM6/22/23
to vinir...@gmail.com, adwor...@googlegroups.com
Hi Vinicius,

Thank you for reaching out to the Google Ads API forum. I hope that you are doing well today.

I understand your concern and to further help you with this, could you please provide us the complete request and response logs with request-id and request headers generated on your end to further investigate the issue? 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 https://developers.google.com/google-ads/api/docs/client-libs?hl=en.

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.

Reference links:  
This message is in relation to case "ref:_00D1U1174p._5004Q2mVgXW:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages