Hi,
I am new to Google Ads API and trying to show ads stats on my web page.My
requirement is to show Add To Cart ,Purchase and Checkout action stats for
deferent category like campaign and ads group. Below is code query I am
using
$query = "SELECT campaign.id, "
. "campaign.name, "
. "segments.conversion_action "
. "FROM campaign "
. "WHERE segments.date BETWEEN '2019-01-01' AND '2019-12-31' "
. "ORDER BY segments.conversion_action DESC "
. "LIMIT 50";
After I execute this query I am getting empty response I have tried
segments.conversion_action,conversion_action_category,segments.conversion_action_name
but every time I got empty response
Also,if I do-not use any segment then I am able to name and id of
campaign.I am not sure if I am doing anything wrong any help please.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/0dc24e54-762c-4e0e-bafa-9dad67914436n%40googlegroups.com.