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")
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!