RE: target_cpa_micros seems to be required?

2021-01-11 Thread Google Ads API Forum Advisor Prod
Hi,

Thanks for posting your concern.

To take a closer look at the issue, could you provide instead the complete API 
request and response logs with request ID, generated on your end, where we can 
see the issue?

If you haven't enabled the logging of API transactions for Ruby client library, 
then you may follow this guide.

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2AJVRZ: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/ywvQp0QMT7O300LKjhlfRkS_WdgcelqosCgQ%40sfdc.net.


target_cpa_micros seems to be required?

2021-01-11 Thread Vee D.
Hello.

I'm trying to duplicate two Google Ads campaigns through the Google Ads API 
(using google-ads-ruby), but the gRPC server returns me the following error 
(output by my code):

*Google Ads Error:*
*Error #1:* The field's value is invalid.
*Location:* mutate_operations.ad_group_operation.create.target_cpa_micros
*Value: *{:boolean_value=>false, :int64_value=>0, :float_value=>0.0, 
:double_value=>0.0, :string_value=>""}
*Error #2:* The field's value is invalid.
*Location:* mutate_operations.ad_group_operation.create.target_cpa_micros
*Value: *{:boolean_value=>false, :int64_value=>0, :float_value=>0.0, 
:double_value=>0.0, :string_value=>""}

It is worth mentioning the ad group objects in question are being fetched 
from Google Ads directly.
If target_cpa_micros is set to a value, everything then works, but since 
cpc_bid_micros and cpm_bid_micros are already set, also setting 
target_cpa_micros may produce a completely separate outcome, which I'm 
trying to avoid.

The Ruby framework is fairly buggy, but this error is being returned from 
the gRPC server.
Would you be able to point me in the right direction here?

Thanks!


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5c5bb664-0aab-4118-ac39-efc3ff948be2n%40googlegroups.com.