I'm trying to retrieve all sitelinks of an account, which, according to the
UI, has 6587 sitelinks. I also need to determine to which group or campaign
they are linked to. So for campaigns do this query:
SELECT
campaign_asset.campaign, asset.type,
asset.sitelink_asset.description1, asset.sitelink_asset.description2,
asset.sitelink_asset.link_text,
asset.final_mobile_urls, asset.final_urls
FROM campaign_asset
but I get no results (even the RequestId of the response is null?!)
When I supply a similar query for ad groups (first selected field is
different, and the report clause aswell), again I get no results, and an
empty RequestId.
When I just request all assets, using this query:
SELECT
asset.type,
asset.sitelink_asset.description1, asset.sitelink_asset.description2,
asset.sitelink_asset.link_text,
asset.final_mobile_urls, asset.final_urls
FROM asset
I get 2865 results, but none of them is a Sitelink asset (RequestId
"K9SnSsmAufHV8_Rsh8KUEw")
All results were executed against account 510-237-3090
What could explain this behaviour?
And what is the recommended way to retrieve existing sitelinks, their
level, and the group or campaign they're connected to?
Thanks!
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2827b27e-230d-424b-8489-3cca6037fbd2n%40googlegroups.com.