Re: all_conversion_value returns zero in Google Ads API, but works in Google Adwords API

2022-03-10 Thread Ершов Александр
Hello!
Found out the issue, it was on my side.
I was using the method to get Conversions.
Should have use getAllConversionsValue(). 
When switched to it, data started coming.

Only one question left.
When I was calculating the data in the Google Adwords API (ROAS), to make 
sure it's equal to the UI value of ROAS,
I had to subtract the cost of mobile calls via the code below.
Should I use it in the new Google Ads API, too?
May be you know, just wanted to check with you

$query = (new ReportQueryBuilder())

->select([

'AllConversionValue', 'Cost', 'Device'

])


->from(ReportDefinitionReportType::ACCOUNT_PERFORMANCE_REPORT)

->where('ClickType')->in(['CALLS'])

->where('Device')->in(['HIGH_END_MOBILE'])

->duringDateRange(ReportDefinitionDateRangeType::TODAY)

->build();


$reportSettingsOverride = (new ReportSettingsBuilder())

->build();

On Thursday, March 10, 2022 at 9:42:10 AM UTC+4 adsapi wrote:

> Hi,
>
> Thank you for posting your concern to our team.
>
> To investigate the issue, could you provide the complete request 
> 
>  and response 
> 
>  logs 
> with request ID 
> 
>  and request header 
> 
>  generated 
> on your end where we can see the error?
>
> You can provide it via *Reply privately to author* option. If this option 
> is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2XnAQ2: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 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/b50d0131-92fd-4344-9a70-a2f740228340n%40googlegroups.com.


RE: all_conversion_value returns zero in Google Ads API, but works in Google Adwords API

2022-03-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for posting your concern to our team.

To investigate the issue, could you provide the complete request and response 
logs with request ID and request header generated on your end where we can see 
the error?

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

Regards,

Ernie John
Google Ads API Team
ref:_00D1U1174p._5004Q2XnAQ2: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 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/w8NJB0R8IL5300PxPY4kw7Qm--hoR6hW54jg%40sfdc.net.


all_conversion_value returns zero in Google Ads API, but works in Google Adwords API

2022-03-09 Thread Ершов Александр
Hello!
This code works correctly in the Google Adwords API

$query = (new ReportQueryBuilder())

->select([

'AllConversionValue', 'Cost', 'Device'

])

->from(ReportDefinitionReportType::ACCOUNT_PERFORMANCE_REPORT)

->duringDateRange(ReportDefinitionDateRangeType::TODAY)

->build();

but the new one ( I used conversion tool 
https://developers-dot-devsite-v2-prod.appspot.com/google-ads/api/docs/migration/query-migration-tool_a8523c3e61730f1a26af89941c07e858bcc10faf0d6c1a006181be96d8c0b4fb.frame?hl=ru#loaded
  
) returns all_conversion_value, equal to zero (but cost value is correct 
for all segments)

SELECT metrics.all_conversions_value, metrics.cost_micros, segments.device 
FROM customer WHERE segments.date DURING TODAY

The requests are done to the same account, it's been verified.


Could you please take a look, when you have time?

Best regards API

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8ab8ec7d-c2a9-4b1a-9653-b5f2b07b1d3dn%40googlegroups.com.