[Replied in an email but not sure if that's visible, so reposting here]
Hi,
This is the first time we've encountered Smart Shopping campaigns, so we
haven't seen this work with other Smart Shopping campaigns. But, it would
be great if the query didn't return empty because a queried field didn't
exist; for example, if we got
results {
campaign {
resource_name: "customers/6638032144/campaigns/13575782069"
name: "Smart Campaign | Flyport USB Hubs"
}
ad_group {
resource_name: "customers/6638032144/adGroups/127398983241"
status: ENABLED
name: "Ad group"
}
metrics {
clicks: 26
conversions_value: 0.0
conversions: 0.0
cost_micros: 27390000
impressions: 5471
interactions: 26
}
ad_group_ad {
resource_name:
"customers/6638032144/adGroupAds/127398983241~528586995568"
ad {
resource_name: "customers/6638032144/ads/528586995568"
id: 528586995568
}
}
segments {
date: "2022-03-25"
*keyword {*
* info {*
* text: "" OR None, etc.*
* }*
* }*
}
}
for an ad group without a keyword.
More generally - if a queried record (ad_group_ad) does not have a field
that we asked for (like keyword.info.text), is there a way to fill it in
with a default value rather than excluding it entirely? Or, is there a
well-known workaround for this? Do you have a recommended path forward?
Thanks,
Harsha
On Friday, March 25, 2022 at 6:09:16 AM UTC-7 adsapi wrote:
> Hi Harsha,
>
> Thanks for reaching out. Smart shopping campaigns use product groups
> instead of keywords, so using a keyword segment in your query will not
> return any results in your report. Have other smart shopping campaigns
> returned results using the keyword text segment?
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo]
> Matt
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2YrFyb: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 [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
"Google Ads API and AdWords 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/dc383477-8523-4c2a-bd4e-9ac4ed9ac93an%40googlegroups.com.