Hi All,

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

Using this as a guide: 
https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/advancedoperations/UsePortfolioBiddingStrategy.java

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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/15e78250-1c2b-4a11-bd0a-d240aa542fff%40googlegroups.com.

Reply via email to