Re: discrepancy in 'cost_micros' metrics between google ads api and dashboard

2023-11-17 Thread Guilherme Mena
Hi,

Thank you for your assistance with the metrics discrepancy issue. Upon 
rechecking with an updated screenshot from our customer, we found that the 
values in the Google Ads UI now match those from the API.

It seems the issue has been resolved, and there's no further discrepancy. I 
appreciate your support.

Best regards
On Thursday, November 16, 2023 at 4:30:52 PM UTC-3 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> By reviewing your concern, I understand that you are experiencing a 
> discrepancy between the UI and API responses. To investigate this issue 
> further, please provide the following details:​  
>
>- Uncropped UI screenshot where you can see the expected data you want 
>to retrieve in the API 
>- Complete API logs (request 
>
> 
> and response 
>
> 
> with request-id 
>
> 
> and request header 
>
> 
>) 
>
> If you are using a client library and haven't enabled the logging yet, I 
> would request you to enable logging for the specific client library 
> that you are using. You can refer to the guides Java 
> , 
> .Net 
> 
> , PHP 
> 
> , Python 
> 
> , Ruby 
> 
>  or Perl 
>  
> to enable logging at 
> your end. For REST interface requests, you can enable logging via the curl 
> command by using the -i flag.
>
> You can send the details via Reply privately to the author option, or 
> direct private reply to this email.
>   
> This message is in relation to case "ref:!00D1U01174p.!5004Q02qClov:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>
>  
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a4586d10-15ad-410b-b68e-8b35276b3d03n%40googlegroups.com.


Discrepancy in 'cost_micros' Metrics Between Google Ads API and Dashboard

2023-11-16 Thread Guilherme Mena
Hi,

I am reaching out to seek clarification regarding a discrepancy I have 
encountered in the cost metrics reported in the Google Ads user interface 
(UI) compared to what I retrieve through the Google Ads API.

For the period from October 1,2023, to October 31,2023, the cost displayed 
in the Google Ads UI is R$ 3,67 thousand. However, when I query the same 
data for this period through the API, the returned amount is significantly 
different, showing R$ 5,586.32.

The query I am using is as follows:


`SELECT metrics.cost_micros FROM customer WHERE segments.date BETWEEN 
'2023-10-01' AND '2023-10-31'`


I have verified the query parameters and the date range, and they match the 
information on the dashboard. I am also converting 'cost_micros' from 
micros to the standard currency unit correctly.

Could you please assist me in understanding why there is such a variance 
and what steps I can take to ensure that the data I retrieve via the API 
aligns with what is shown in the Google Ads UI?

Thank you for your attention to this matter.

Best regards,




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bd97b5ce-3a85-40ac-9af2-56ad11d13d72n%40googlegroups.com.


listAccessibleCustomers returning empty list

2023-04-17 Thread Guilherme Mena
Hello,

One of my clients is integrating with our platform, and their Google ads 
account is returning an empty list when using the "listAccessibleCustomers" 
function.

What could be causing this issue?

Thanks

P.S. I have already checked the accepted scopes and it's right

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/33a76527-7c04-4f07-8a3f-f06e34610503n%40googlegroups.com.


get correct spent (metrics)

2022-12-14 Thread Guilherme Mena
Hello,

I'm making this request for spent:

SELECT
metrics.cost_micros,
metrics.clicks,
metrics.impressions,
metrics.conversions,
metrics.all_conversions
FROM
customer
WHERE
segments.date BETWEEN '2022-12-09' AND '2022-12-09'


I'm using cost_micros as spent value, i get the result but not as expected.

spent in UI:
R$ 714

spent in api: 
R$ 899

is cost_micros wrong to use?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ccd4fff8-9dcc-4c91-8cc2-7faea91014fdn%40googlegroups.com.


Get correct spend value of the day.

2022-12-14 Thread Guilherme Mena
Hello,

I'm trying to get the correct spend at account level but the result it's 
very different from the cost I get from the performance tab. 

I'm using this query: 

`
SELECT
metrics.cost_micros,
metrics.clicks,
metrics.impressions,
metrics.conversions,
metrics.all_conversions
FROM
customer
WHERE
segments.date BETWEEN '${startDate}' AND '${endDate}'
`

But cost_micros always return a higher value

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/53126c1a-8b0b-4499-bb40-b2c09556fbf4n%40googlegroups.com.