Adding Portfolio Bidding Strategy of type MAXIMIZE_CONVERSIONS Through New API

66 views
Skip to first unread message

Pete Lavetsky (AdWords API Guru)

unread,
Jan 23, 2020, 11:15:00 AM1/23/20
to AdWords API and Google Ads API Forum
Hi All,

Is it possible to add a Portfolio Bidding Strategy of type MAXIMIZE_CONVERSIONS through the new API?


I get this request + response:

Request

-------

MethodName: google.ads.googleads.v2.services.BiddingStrategyService/MutateBiddingStrategies

Endpoint: googleads.googleapis.com:443

Headers: {developer-token=REDACTED, login-customer-id= REDACTED, x-goog-api-client=gl-java/1.8.0_161 gapic/ gax/1.45.0 grpc/1.21.0}

Body: customer_id: "REDACTED"

operations {

  create {

    name {

      value: "Ex Shared Campaign ONE-MAXIMIZE_CONVERSIONS"

    }

    type: MAXIMIZE_CONVERSIONS

    status: ENABLED

  }

}

partial_failure: true



Response

--------

Headers: Metadata(content-disposition=attachment,content-type=application/grpc,request-id=u3UzSIk_W6S3QIn4ybtnLg,date=Thu, 23 Jan 2020 15:52:17 GMT,alt-svc=quic=":443"; ma=2592000; v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000)

Body: results {

}

partial_failure_error {

  code: 3

  message: "The required field was not present., at operations[0].create.scheme"

  details {

    type_url: "type.googleapis.com/google.ads.googleads.v2.errors.GoogleAdsFailure"

    value: "\nT\n\003\350\003\002\022#The required field was not present.\032\002*\000\"$\022\016\n\noperations\022\000\022\b\n\006create\022\b\n\006scheme"

  }

}


From what I can tell, MAXIMIZE_CONVERSIONS is an automated strategy and there's no real fields to set other than the type. Trying to do this through the new API is however proving difficult.


Any help is appreciated


Thanks

Pete

Google Ads API Forum Advisor Prod

unread,
Jan 23, 2020, 4:21:25 PM1/23/20
to pete.l...@gmail.com, adwor...@googlegroups.com

Hi Pete,

Thanks for reaching out to us. I see that you’re trying to set Maximize_Conversions using Portfolio Bidding Strategy. According to this documentation, Maximize_Conversions is a Standard Bidding Strategy Type, and not a Portfolio Bidding Strategy Type. Thus, it is not possible to add a Portfolio Bidding Strategy of type Maximize_Conversions. Let me know if you have further questions.

Thank you,
Bryan, Google Ads API Team



ref:_00D1U1174p._5001USwwK2:ref
Reply all
Reply to author
Forward
Message has been deleted
0 new messages