Re: Unknown Error - message: "The error code is not in this version."

2022-04-29 Thread Or Zilca
Hi,
replied in private, still waiting for response 

On Wednesday, April 27, 2022 at 4:20:29 PM UTC+3 adsapi wrote:

> Hi there,
>
> Could you privately send us the full request and response 'DEBUG' log 
> level log of API communications 
> 
>  
> that got you this error?
>
> Regards,
>
> [image: Google Logo] 
> Aryeh 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2aNhVO: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 
"Google Ads API and AdWords 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/72b2467a-58c7-4ee9-a4a4-fda2154e0e79n%40googlegroups.com.


RE: Unknown Error - message: "The error code is not in this version."

2022-04-27 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi there,

Could you privately send us the full request and response 'DEBUG' log level log 
of API communications that got you this error?

Regards,

Aryeh
Google Ads API Team
ref:_00D1U1174p._5004Q2aNhVO: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 
"Google Ads API and AdWords 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/sgIdL0RB02DR00EhR_2MCNTQeZrRMXI1_bTg%40sfdc.net.


Re: Unknown Error - message: "The error code is not in this version."

2022-04-27 Thread Or Zilca
can anyone please assist on this?

On Tuesday, April 26, 2022 at 4:59:07 PM UTC+3 Or Zilca wrote:

> When trying to create a campaign with "bidding_strategy_type": 
> "TARGET_ROAS"
>
> I try to add a campaign.selective_optimization.conversion_actions[]
>
> using the latest python package:
> google-ads==15.1.1
>
> *the request:*
>  operations {
> create {
>status: PAUSED
>advertising_channel_type: DISPLAY
>bidding_strategy_type: TARGET_ROAS
>target_roas {
>  target_roas: 1.05
>}
>selective_optimization {
>  conversion_actions: "customers/XXX/conversionActions/XXX"
>  conversion_actions: "customers/XXX/conversionActions/XXX"
>}
>name: "test campaign"
>campaign_budget: "customers/XXX/campaignBudgets/XXX"
>start_date: "20220426"
>final_url_suffix: "..."
> }
> }
>
> I get the following error:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *status = StatusCode.INVALID_ARGUMENTdetails = "Request contains an 
> invalid argument."debug_error_string = 
> "{"created":"@1650979513.867247600","description":"Error received from peer 
> ipv4:x.x.x.x","file":"src/core/lib/surface/call.cc","file_line":903,"grpc_message":"Request
>  
> contains an invalid argument.","grpc_status":3}", <_InactiveRpcError of RPC 
> that terminated with:status = StatusCode.INVALID_ARGUMENTdetails = "Request 
> contains an invalid argument."debug_error_string = 
> "{"created":"@1650979513.867247600","description":"Error received from peer 
> ipv4:142.250.185.138:443 
> <http://142.250.185.138:443>","file":"src/core/lib/surface/call.cc","file_line":903,"grpc_message":"Request
>  
> contains an invalid argument.","grpc_status":3}", errors { error_code {  
>  request_error: UNKNOWN } message: "The error code is not in this 
> version." trigger {   string_value: "" } location {   field_path_elements 
> { field_name: "operations" index: 0   }   field_path_elements {
>  field_name: "create"   }   field_path_elements { field_name: 
> "selective_optimization"   }   field_path_elements { field_name: 
> "conversion_actions"   } }request_id: "R-dZPmoxaZJnhgG-CoPjRA", 
> 'R-dZPmoxaZJnhgG-CoPjRA')*
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/7dac2f87-971d-46a2-a8bf-2bd2c8b2d7ean%40googlegroups.com.


Unknown Error - message: "The error code is not in this version."

2022-04-26 Thread Or Zilca
When trying to create a campaign with "bidding_strategy_type": "TARGET_ROAS"

I try to add a campaign.selective_optimization.conversion_actions[]

using the latest python package:
google-ads==15.1.1

*the request:*
 operations {
create {
   status: PAUSED
   advertising_channel_type: DISPLAY
   bidding_strategy_type: TARGET_ROAS
   target_roas {
 target_roas: 1.05
   }
   selective_optimization {
 conversion_actions: "customers/XXX/conversionActions/XXX"
 conversion_actions: "customers/XXX/conversionActions/XXX"
   }
   name: "test campaign"
   campaign_budget: "customers/XXX/campaignBudgets/XXX"
   start_date: "20220426"
   final_url_suffix: "..."
}
}

I get the following error:
































*status = StatusCode.INVALID_ARGUMENTdetails = "Request contains an invalid 
argument."debug_error_string = 
"{"created":"@1650979513.867247600","description":"Error received from peer 
ipv4:x.x.x.x","file":"src/core/lib/surface/call.cc","file_line":903,"grpc_message":"Request
 
contains an invalid argument.","grpc_status":3}", <_InactiveRpcError of RPC 
that terminated with:status = StatusCode.INVALID_ARGUMENTdetails = "Request 
contains an invalid argument."debug_error_string = 
"{"created":"@1650979513.867247600","description":"Error received from peer 
ipv4:142.250.185.138:443","file":"src/core/lib/surface/call.cc","file_line":903,"grpc_message":"Request
 
contains an invalid argument.","grpc_status":3}", errors { error_code {  
 request_error: UNKNOWN } message: "The error code is not in this 
version." trigger {   string_value: "" } location {   field_path_elements 
{ field_name: "operations" index: 0   }   field_path_elements {
 field_name: "create"   }   field_path_elements { field_name: 
"selective_optimization"   }   field_path_elements { field_name: 
"conversion_actions"   } }request_id: "R-dZPmoxaZJnhgG-CoPjRA", 
'R-dZPmoxaZJnhgG-CoPjRA')*

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/01630822-86af-4a5d-b1a1-7e437341b415n%40googlegroups.com.