Bidding Strategy Resource creation error

61 views
Skip to first unread message

adatestaccount

unread,
Sep 7, 2023, 8:30:53 AM9/7/23
to Google Ads API and AdWords API Forum
Hi,

I am trying to create bidding strategy resource by sending the below payload.
I get the error that the 'scheme' field is  missing. But the official document states that no scheme is needed when type is 'MANUAL_CPV'. Please Help me out with this. 
payload:
var biddingStrategyPayload3 = {
      "operations": [
        {
          "create": {
            "name": strategyName, // Replace with your desired strategy name
            "status": "ENABLED", // You can set it to ENABLED or other appropriate status
            "type": "MANUAL_CPV",
            // "scheme":{}
          }
        }
      ]
    };
error:
Failed to create bidding strategy. Response: { "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v14.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "fieldError": "REQUIRED" }, "message": "The required field was not present.", "location": { "fieldPathElements": [ { "fieldName": "operations", "index": 0 }, { "fieldName": "create" }, { "fieldName": "scheme" } ] } } ], "requestId": "qhDdoNsOrGqayh3RnxX_Iw" } ] } }
REFRESH

Google Ads API Forum Advisor

unread,
Sep 7, 2023, 2:09:14 PM9/7/23
to adaaut...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out to Google Ads API team.

Based on our documentation, any bidding strategy is defined by a single bidding scheme that matches its type and contains the relevant bids. Furthermore, this documentation states that the scheme field can only be one of the following: enhancedCpc, maximizeConversionValue, maximizeConversions, targetCpa, targetImpressionShare, targetRoas, targetSpend. With this, you will need to specify a scheme when creating a bidding strategy in order to avoid encountering the error.

For MANUAL_CPV value, can you please confirm if it's possible to create a bidding strategy of this type in the Google Ads UI? If yes, kindly provide an uncropped screenshot so we can further investigate and assist you on this. You may provide it to us via Reply privately to author option.

This message is in relation to case "ref:_00D1U1174p._5004Q2oj9tU:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages