Hi, 

Thanks for reaching out to the Google Ads API Forum. I hope you are doing 
well today.

Moving forward to your concern about having N/A result in the metrics table, 
can you please try to use the sample query below in retrieving your data 
using REST.

SELECT campaign.resource_name, campaign.id, campaign.name, campaign.status, 
metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc FROM 
campaign

If it happens that the issue still persists or still has NULL value, for 
our team to further compare, investigate, and validate why you are 
encountering issues, can you provide more information with regards to your  
concern or issues?


   - 
   
   Provide the complete (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>)
 
   logs with request ID generated as shown in the respective links.
   - 
   
   Complete screenshots (without cropping) from the Google Ads UI.
   
 

We do this to check if there’s an error thrown on your side and we can 
further investigate. 

 

If you haven't enabled logging yet, it can be enabled by navigating to the 
Client libraries > Your client library (ex. Java) > Logging documentation 
<https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging>,
 
which you can access from this link. For REST interface requests, you can 
enable logging via the curl command by using the -i flag. 

This will cause the tool to include the HTTP response headers in the output.

You can provide it via Reply privately to the author option. If this option 
is not available, then send it instead on this email address 
googleadsapi-supp...@google.com.

Also, I would also like you to know that we are going to delete your post 
here on this forum as it contains confidential information such as the logs 
that you've provided.

Have a great day.

Regards,

Google Ads API Team
On Saturday, March 18, 2023 at 6:21:01 AM UTC+8 Google Ads API and AdWords 
API Forum wrote:

Re-posting the last inquiry (
https://groups.google.com/g/adwords-api/c/0QAWCPctQ6M) from the forum as it 
wasn't routed to our support queue.

Regards,
Google Ads API Team
On Saturday, March 18, 2023 at 12:43:44 AM UTC+8 sga...@emergiacc.com wrote:

Hi!

Please help me with this. I need return others metrics. Im using the 
Laravel Sample App , im try get others metrics, for 
example metrics.average_cpc and result is N/A.

Screenshot of the result in the browser:

[image: screenshot.png]

Screenshot of the code of the fields of show report form :

[image: Screenshot 1.png]

How to consulting an others metrics?

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 
"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/637a944f-fe68-4bf6-b7f7-259480e1f9cbn%40googlegroups.com.

Reply via email to