Re: Google Ads API: Error Creating BiddingStrategy

2021-04-28 Thread Gregory Hewett
Thank you very much for the reply Ernie. I had not found this blog post, 
and you are correct, this is exactly what is causing the issue. I've 
followed the blog post steps to correct the issue. Thank you very much!

On Wednesday, April 28, 2021 at 7:12:10 PM UTC-7 adsapiforumadvisor wrote:

> Hi Gregory,
>
> Thank you for posting your concern.
>
> I would like to inform you that I am going to remove your initial post as 
> it contains generated API logs. Allow me to post the body of your concern 
> below instead:
> "
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *I am seeing a new issue with the Google Ads API when trying to create a 
> bidding strategy.  Client: Google Ads Java SDK Version: Latest v6 (11.0.0) 
> Here is an example of the request: Request ---REDACTED As you can see, 
> it's very simple: creating an enhanced cpc bidding strategy. The response I 
> consistently receive is: Response REDACTED This sounds like some 
> kind of 400 error, but I've looked at the docs and confirmed I'm sending 
> all required fields and the string length is within limits. I've upgraded 
> to the latest java sdk library version, but still no helpful error message 
> returned. Can you please advise how to debug this? This code path has not 
> been changed and other identical requests have succeeded before. Please let 
> me know if you need any other info from me.  Thank you for your time!*"
>
> It appears that the issue is related to this blog post 
> 
>  
> that on March 22, 2021 we will begin to sunset Enhanced cost-per-click 
> (ECPC) bid strategies. The following behaviors will be blocked in all 
> versions of both the AdWords API and the Google Ads API: 
>
>- Creating new portfolio ECPC strategies. 
>- Attaching portfolio ECPC strategies to campaigns. 
>
>
> You may check the link of the blog post that I provided to know more 
> information about this update. Let me know if you have further questions.
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2GISNO:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/e8c3014c-18ea-4602-9500-f9d2d7b8754fn%40googlegroups.com.


Re: Google Ads API: Error Creating BiddingStrategy

2021-04-28 Thread Gregory Hewett
Some more context on this issue:

1. It appears this used to be transient. The first instance of this error 
was on 4/15/2021, and we have successful instances on and after 4/18/2021.
2. Now, the error is not transient and occurs every time we try to create 
the bidding strategy with enhanced cpc.

On Wednesday, April 28, 2021 at 2:07:04 PM UTC-7 Gregory Hewett wrote:

> Hi there,
>
> I am seeing a new issue with the Google Ads API when trying to create a 
> bidding strategy. 
>
> Client: Google Ads Java SDK <https://github.com/googleads/google-ads-java>
> Version: Latest v6 (11.0.0)
>
> Here is an example of the request:
>
> Request
> ---
> MethodName: 
> google.ads.googleads.v6.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_252 gapic/ gax/1.60.1 grpc/1.32.2}
> Body: customer_id: "REDACTED"
> operations {
>   create {
> enhanced_cpc {
> }
> name: "Name"
>   }
> }
>
> As you can see, it's very simple: creating an enhanced cpc bidding 
> strategy. The response I consistently receive is:
>
> Response
> 
> Headers: 
> Metadata(content-type=application/grpc,request-id=_hAi8RqwxI5hXrlBBR_Q1A,date=Wed,
>  
> 28 Apr 2021 20:55:47 GMT,alt-svc=h3-29=":443"; ma=2592000,h3-T051=":443"; 
> ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
> ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
> Body: null
> Failure message: errors {
>   error_code {
> request_error: UNKNOWN
>   }
>   message: "The error code is not in this version."
>   trigger {
> string_value: "ENHANCED_CPC"
>   }
>   location {
> field_path_elements {
>   field_name: "operations"
>   index: 0
> }
> field_path_elements {
>   field_name: "create"
> }
> field_path_elements {
>   field_name: "scheme"
> }
>   }
> }
>
> Status: Status{code=INVALID_ARGUMENT, description=Request contains an 
> invalid argument., cause=null}
>
> This sounds like some kind of 400 error, but I've looked at the docs 
> <https://developers.google.com/google-ads/api/reference/rpc/v6/BiddingStrategy#scheme>
>  
> and confirmed I'm sending all required fields and the string length is 
> within limits. I've upgraded to the latest java sdk library version, but 
> still no helpful error message returned. Can you please advise how to debug 
> this? This code path has not been changed and other identical requests have 
> succeeded before. Please let me know if you need any other info from me. 
> Thank you for your time!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/aefed111-a3d5-4592-bcf0-4d4de643aaccn%40googlegroups.com.


Google Ads API: Error Creating BiddingStrategy

2021-04-28 Thread Gregory Hewett
Hi there,

I am seeing a new issue with the Google Ads API when trying to create a 
bidding strategy. 

Client: Google Ads Java SDK 
Version: Latest v6 (11.0.0)

Here is an example of the request:

Request
---
MethodName: 
google.ads.googleads.v6.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_252 gapic/ gax/1.60.1 grpc/1.32.2}
Body: customer_id: "REDACTED"
operations {
  create {
enhanced_cpc {
}
name: "Name"
  }
}

As you can see, it's very simple: creating an enhanced cpc bidding 
strategy. The response I consistently receive is:

Response

Headers: 
Metadata(content-type=application/grpc,request-id=_hAi8RqwxI5hXrlBBR_Q1A,date=Wed,
 
28 Apr 2021 20:55:47 GMT,alt-svc=h3-29=":443"; ma=2592000,h3-T051=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
  error_code {
request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
string_value: "ENHANCED_CPC"
  }
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "scheme"
}
  }
}

Status: Status{code=INVALID_ARGUMENT, description=Request contains an 
invalid argument., cause=null}

This sounds like some kind of 400 error, but I've looked at the docs 

 
and confirmed I'm sending all required fields and the string length is 
within limits. I've upgraded to the latest java sdk library version, but 
still no helpful error message returned. Can you please advise how to debug 
this? This code path has not been changed and other identical requests have 
succeeded before. Please let me know if you need any other info from me. 
Thank you for your time!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/329ce27c-5bf6-498b-b3e9-4f573d5f1ebfn%40googlegroups.com.