.net examples GetCampaigns.cs query formats UAC campaigns

24 views
Skip to first unread message

Andrew Williamson

unread,
Dec 14, 2018, 4:44:05 PM12/14/18
to AdWords API and Google Ads API Forum
I'm running the .net examples, specifically GetCampaigns.

This runs without error and returns some of my campaigns using the default query (shown below).

It however doesn't list all of my campaigns. I specifically want to list my UAC campaigns.

I have read elsewhere that I might be able to get these by selecting from the CAMPAIGN_PERFORMANCE_REPORT.  I can't however find how this should be formatted to work in the query shown below.

Any tips would be most welcome.




 SearchGoogleAdsRequest request = new SearchGoogleAdsRequest()
            {
                PageSize = PAGE_SIZE,
                Query = @"SELECT
                            campaign.id,
                            campaign.name,
                            campaign.network_settings.target_content_network
                        FROM campaign
                        ORDER BY campaign.id",
                CustomerId = customerId.ToString()
            };
Reply all
Reply to author
Forward
0 new messages