Hi Tim,
Thanks for posting this question. It looks like our documentation is
missing a key point:
If a resource is in the *segments* list for the *FROM* resource, then
including that resource in your query will automatically exclude zero
impression rows.
For this case, you can see the list of *segments* for *extension_feed_item*
by
going to this page
<https://developers.google.com/google-ads/api/docs/fields/extension_feed_item>
and
expanding the *Segments* in the first section. You'll see there that
*ad_group* and *campaign* are listed.
I'll make a note that we need to clarify this in our docs.
If you want to see the association between a feed item and campaigns or ad
groups, you can use the *campaign_extension_setting* or
*ad_group_extension_setting* resources instead.
Cheers,
Josh, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
On 04/16/19 06:26:17 [email protected] wrote:
I'm trying a simple query in the Google Ads API to get sitelinks along with
their campaign id and ad group id.
SELECT
ad_group.id,
extension_feed_item.sitelink_feed_item.line1
FROM
extension_feed_item
LIMIT
100
This doesn't appear to return results for sitelinks with zero impressions
(similar to the old AdWords API). It does included them if I exclude the
ad_group.id.
Is there any way to run the above query, or constructor a similar query,
and include sitelinks with zero impressions?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/8f71dded-d422-4fec-aced-f7fcca40f384%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/8f71dded-d422-4fec-aced-f7fcca40f384%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/1a0h7lg000000001gvv0ic000jf2c4y6gmj2cpp6co30c1g68r38dhn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.