Hi,
Thank you for reaching out to the Google Ads API support team.
Kindly note that making a subquery in Google ads query language is not supported. I would recommend that you refer to
GAQL Grammar and
Query Structure guides for more information.
In order to retrieve the asset group data via the Google Ads API, please refer to the below sample query.
SELECT asset_group.id, asset_group.name, asset_group.campaign, campaign.id, campaign.name FROM asset_group
Also, you can construct your own customized query using the
asset_group query builder. Before that, take a look at the
Fields/Segments/Metrics that can be used with the asset group resource. You can use
Query Validator to validate your query, then you can try making a request using the
Method:customers.googleAds.search or
Method:customers.googleAds.searchStream. I hope this helps.
I had to delete your post since sensitive details were attached. You may send the sensitive details via reply privately to the author option.
This message is in relation to case "ref:!00D1U01174p.!5004Q02vFn00:ref" (ADR-00266890)
Thanks,
|
Google Ads API Team |