I made below query to get campaign segments. But I get RST_STREAM error in
return.
------ QUERY
I, [2024-06-13T13:12:37.279130 #516] INFO -- : Outgoing request: Headers:
{"developer-token":"REDACTED","login-customer-id":"REDACTED","x-goog-api-client":"gl-ruby/3.1.4
gccl/27.0.0 gax/0.21.1 gapic/27.0.0 grpc/1.62.0
pb/3.25.3","x-goog-request-params":"customer_id=REDACTED"} Payload:
{"customerId":"REDACTED","query":"SELECT campaign.id,
segments.geo_target_city, geographic_view.location_type,
geographic_view.country_criterion_id, segments.date, metrics.impressions,
metrics.clicks, metrics.cost_micros, metrics.conversions,
metrics.all_conversions, metrics.conversions_value,
metrics.all_conversions_value, metrics.view_through_conversions,
metrics.cross_device_conversions, metrics.video_views,
metrics.interactions, metrics.top_impression_percentage,
metrics.absolute_top_impression_percentage FROM geographic_view WHERE
segments.date BETWEEN '2024-05-01' AND '2024-05-30' AND metrics.impressions
> 0 AND campaign.id IN (REDACTED)"}
------ ERROR RESPONSE
I, [2024-06-13T13:12:37.279244 #516] INFO -- : Incoming response (errors):
GRPC::Internal(13:Received RST_STREAM with error code 2.
debug_error_string:{UNKNOWN:Error received from peer ipv4:74.125.140.95:443
{grpc_message:"Received RST_STREAM with error code 2", grpc_status:13,
created_time:"2024-06-13T13:12:37.278635491+00:00"}}):
called from:
/home/deploy/.rvm/gems/ruby-3.1.4/gems/activesupport-6.1.7.7/lib/active_support/logger_thread_safe_level.rb:67:in
`add'
*** GRPC::Internal Exception: 13:Received RST_STREAM with error code 2.
debug_error_string:{UNKNOWN:Error received from peer ipv4:74.125.140.95:443
{grpc_message:"Received RST_STREAM with error code 2", grpc_status:13,
created_time:"2024-06-13T13:12:37.278635491+00:00"}}
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"Google Ads API and AdWords 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/ee58d5c7-0d39-4e68-ab59-0fe336769f75n%40googlegroups.com.