String query = " SELECT metrics.average_cost, metrics.average_cpc,
metrics.average_cpe, metrics.average_cpm, metrics.average_cpv,
metrics.average_page_views, " +
"metrics.average_time_on_site, segments.date " +
"FROM campaign " +
"WHERE campaign.advertising_channel_type = 'SEARCH' and segments.date
BETWEEN '2021-10-19' AND '2021-10-21' ";
when i seach by this query the result is:
-------------
campaign {
resource_name: "customers/3280624166/campaigns/13813170170"
}
metrics {
average_cost: 1.244E7
average_cpc: 1.244E7
average_cpm: 1.5170731707317073E9
average_page_views: 2.1666666666666665
average_time_on_site: 233.83333333333334
}
segments {
date: "2021-10-21"
}
------------
campaign {
resource_name: "customers/3280624166/campaigns/14755251085"
}
metrics {
average_cpm: 0.0
}
segments {
date: "2021-10-21"
}
the result is *segments by date and campaign ;*
*how can i segments by date only?*
*when the date = "2021-10-21" has one result no two*
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00cc00ce-01f4-449e-a0ab-2a365b94b9a9n%40googlegroups.com.