Hey, I've trying to get started with the Google Ads API in order to pull some of the data that we regularly use in the Google Ads UI.
However, I can't seem to pull any ad groups from our enabled campaigns.
SELECT
campaign.id,
campaign.name,
campaign.status,
ad_group.id,
ad_group.name
FROM ad_group
WHERE campaign.status = 'ENABLED'
When I take out the WHERE clause, there are no issues, so I'm confused about what might be going wrong here.
**Confidentiality**
The
information contained in this e-mail is confidential, may be privileged
and is intended solely for the use of the named addressee. Access to
this e-mail by any other person is not authorised. If you are not the
intended recipient, you should not disclose, copy, distribute, take any
action or rely on it and you should please notify the sender by reply.
Any opinions expressed are not necessarily those of the company.
We
may monitor all incoming and outgoing emails in line with current
legislation. We have taken steps to ensure that this email and
attachments are free from any virus, but it remains your responsibility
to ensure that viruses do not adversely affect you.