I am trying to retrieve all Search Terms via the Google Ads PHP API.
However, I noticed that a lot of them are missing. After investigation I
found out that API returns only those terms that belong to the type
*SEARCH* campaigns. Others types are ignored. I don't understand why it
works like this since when I click in Google Ads UI, the table containing
these search terms has all of them in it.
My GAGL query that returns search terms that belong to *SEARCH* campaigns
looks as follows:
*SELECT search_term_view.resource_name, ad_group.id, ad_group.status,
campaign.id, search_term_view.ad_group, search_term_view.resource_name,
search_term_view.search_term, search_term_view.status,
segments.keyword.info.match_type, segments.date, metrics.clicks,
metrics.impressions, metrics.ctr, metrics.average_cpc FROM search_term_view
WHERE segments.date DURING LAST_7_DAYS AND*
When I try to specify other campaign types, I get 0 results, despite in the
UI these search terms exist:
...FROM search_term_view
WHERE segments.date DURING LAST_7_DAYS AND
campaign.advertising_channel_type IN ('DISPLAY', 'SHOPPING')
How can I get all Search terms?
Best,
Lukas.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f856e982-95ab-4a1a-96cb-f33548fad6ean%40googlegroups.com.