Hi Jinky,
Is there possibility to get statistics metrics by date? Like
"""
SELECT asset.id,
asset.name,
asset.type,
metrics.ctr,
metrics.average_cpc,
metrics.impressions,
metrics.clicks,
metrics.interactions,
metrics.interaction_rate,
metrics.average_cost,
metrics.phone_through_rate,
metrics.phone_calls,
metrics.phone_impressions,
metrics.conversions,
metrics.cost_per_conversion,
metrics.all_conversions,
metrics.value_per_all_conversions,
metrics.cross_device_conversions,
metrics.all_conversions_value,
metrics.cost_per_all_conversions,
metrics.conversions_value,
*segments.date*
FROM campaign_asset
WHERE *segments.date > '2022-09-10' and segments.date < '2022-09-20'*
AND asset.id=XXXXX AND asset.type='LEAD_FORM'
"""
This query doesn't return metrics data, it only returns
Data {
"fieldMask":
"asset.id,asset.name,asset.type,metrics.ctr,metrics.averageCpc,metrics.impressions,metrics.clicks,metrics.interactions,metrics.interactionRate,metrics.averageCost,metrics.phoneThroughRate,metrics.phoneCalls,metrics.phoneImpressions,metrics.conversions,metrics.costPerConversion,metrics.allConversions,metrics.valuePerAllConversions,metrics.crossDeviceConversions,metrics.allConversionsValue,metrics.costPerAllConversions,metrics.conversionsValue,segments.date"
}
headers <CIMultiDictProxy('Request-Id': '*JCk2SXc5r0BIG1yLLQtFAA*',
Thanks in advance!
Anna.
On Friday, September 16, 2022 at 9:03:31 PM UTC+3 adsapi wrote:
> Hi Anna,
>
> Thank you for sending more details. I work with Heidi and allow me to
> assist you here.
>
> Upon checking the provided logs, I am afraid that this is not enough to
> further investigate the issue. It would be helpful if you can provide the
> complete API logs within the format of *request
> <https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#request>*
> and *response
> <https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#response>*
> logs with
> the *request-id
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#request-id>
> *
> and *request header
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>*
> that
> generated on your end also *whole Google Ads UI screenshot where you can
> see the data you want to retrieve in the API?*
>
>
> * "And for this, “They are available(zeros) if querying 'FROM campaign”*
> * -Could you also provide us the complete API logs(request
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
> and response
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
> with request-id
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
> )
> generated on your end seeing the available(zeros) if querying 'FROM
> campaign?" *that was mentioned by my colleague.
>
> That said, please provide the information without reducting part as this
> information will help our team to better check. If you haven't
> yet, logging can be enabled by navigating to the *Client libraries >
> Your client library (ex. Java) > Logging* documentation, which you can
> access from this link
> <https://developers.google.com/google-ads/api/docs/client-libs?hl=en>.
>
> For privacy purposes, you can provide it via the Reply privately to author
> option. If this option is not available, then send it instead on this email
> address [email protected].
>
> Best regards,
> [image: Google Logo]
> Jinky
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2ePL6o: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 [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/aae12b12-d12b-491f-ad8a-11bda83b331cn%40googlegroups.com.