Hi Support,
I am looking to pull conversion_actions related fields from segments
resource. The segments.conversion_actions
<https://developers.google.com/google-ads/api/docs/fields/segments#segmentsconversion_action>
documentation states that is is selectable from most of the View resources.
But I am getting following error , please see the details below and advice.
2019-03-10 10:09:35,080 INFO [Gax-3] logging.RequestLogger
(RequestLogger.java:151) - FAILURE REQUEST DETAIL.
Request
-------
MethodName: google.ads.googleads.v0.services.GoogleAdsService/Search
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=8730611186,
x-goog-api-client=gl-java/11.0.1 gapic/ gax/1.35.0 grpc/1.16.1}
Body: customer_id: "REDACTED"
query: "SELECT segments.date, segments.device, segments.conversion_action,
segments.conversion_action_category, segments.conversion_action_name,
ad_group_ad.ad.id, ad_group_ad.status, metrics.active_view_cpm,
metrics.active_view_ctr, metrics.active_view_impressions,
metrics.active_view_measurability,
metrics.active_view_measurable_cost_micros,
metrics.active_view_measurable_impressions,
metrics.active_view_viewability, metrics.all_conversions,
metrics.all_conversions_from_interactions_rate,
metrics.all_conversions_from_interactions_value_per_interaction,
metrics.all_conversions_value, metrics.all_conversions_value_per_cost,
metrics.average_cost, metrics.average_cpc, metrics.average_cpe,
metrics.average_cpm, metrics.average_cpv, metrics.average_position,
metrics.clicks, metrics.conversions,
metrics.conversions_from_interactions_rate,
metrics.conversions_from_interactions_value_per_interaction,
metrics.conversions_value, metrics.conversions_value_per_cost,
metrics.cost_micros, metrics.cost_per_all_conversions,
metrics.cost_per_conversion,
metrics.cost_per_current_model_attributed_conversion,
metrics.cross_device_conversions, metrics.ctr,
metrics.current_model_attributed_conversions,
metrics.current_model_attributed_conversions_from_interactions_rate,
metrics.current_model_attributed_conversions_from_interactions_value_per_interaction,
metrics.current_model_attributed_conversions_value,
metrics.current_model_attributed_conversions_value_per_cost,
metrics.engagement_rate, metrics.engagements, metrics.gmail_forwards,
metrics.gmail_saves, metrics.gmail_secondary_clicks, metrics.impressions,
metrics.interaction_rate, metrics.interactions,
metrics.top_impression_percentage, metrics.value_per_all_conversions,
metrics.value_per_conversion,
metrics.value_per_current_model_attributed_conversion,
metrics.video_quartile_100_rate, metrics.video_quartile_25_rate,
metrics.video_quartile_50_rate, metrics.video_quartile_75_rate,
metrics.video_view_rate, metrics.video_views,
metrics.view_through_conversions FROM ad_group_ad WHERE segments.date
DURING LAST_30_DAYS AND ad_group_ad.status IN (ENABLED, PAUSED) AND
metrics.impressions > 0 "
page_size: 1000
Response
--------
Headers:
Metadata(content-type=application/grpc,request-id=-gqaZyUzn6ADVyNtPGMzLQ,date=Sat,
09 Mar 2019 23:09:34 GMT,alt-svc=quic=":443"; ma=2592000; v="46,44,43,39")
Body: null
Status: Status{code=INVALID_ARGUMENT, description=Request contains an
invalid argument., cause=null}.
Request ID -gqaZyUzn6ADVyNtPGMzLQ failed due to GoogleAdsException.
Underlying errors:
Error 0: error_code {
query_error: UNRECOGNIZED_FIELD
}
message: "Unrecognized fields in the query:
\'segments.conversion_action_category\', \'segments.conversion_action\',
\'segments.conversion_action_name\'."
I have already tried fetching segments.conversion_action for these
resources and I am get same error:
*keyword_view*
*ad_group_audience_view*
*campaign_audience_view*
*age_range_view*
*parental_status_view*
*gender_view*
*ad_group_ad*
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/2509827a-0ada-4170-b525-a908abb5f025%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.