Sure, here it is. I`m using the .net library example:

GoogleAdsServiceClient googleAdsService = client.GetService(
                Services.V2.GoogleAdsService);

            // Create a request that will retrieve all campaigns using
pages of the specified
            // page size.
            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()
            };

Extracted from
https://github.com/googleads/google-ads-dotnet/blob/master/examples/BasicOperations/GetCampaigns.cs

My ClientID is "4858178525".

It brings all campaigns other than "Display - Aprendiz" and "Display -
Mestres"

This code example gets all campaigns. To add campaigns, run AddCampaigns.cs.
[ "campaign.id", "campaign.name",
"campaign.network_settings.target_content_network" ]
Campaign with ID 973143272 and name 'Campanha de Professor' was found.
Campaign with ID 973843578 and name 'Keyword Territory' was found.
Campaign with ID 1486533267 and name 'Android' was found.
Campaign with ID 1486590468 and name 'Aprendizes' was found.
Campaign with ID 1508076843 and name 'Campanha de Professor #2' was found.
Campaign with ID 1524014799 and name 'Mestre' was found.
Campaign with ID 1593777592 and name 'SplitAds' was found.
Campaign with ID 1698578041 and name 'Alunos - Display' was found.
Campaign with ID 1802535065 and name 'Institucional' was found.
Campaign with ID 1989999516 and name 'Idiomas - Aprendiz' was found.
Campaign with ID 2044102472 and name 'Reconhecimento - vídeo youtube' was
found.
Campaign with ID 2074491262 and name 'Ciências - Aprendiz' was found.
Campaign with ID 2075452929 and name 'Artes - Aprendiz' was found.
Campaign with ID 2082396391 and name 'Esportes - aprendiz' was found.
Campaign with ID 2083594746 and name 'Ofícios e Hobbies - aprendiz' was
found.
Campaign with ID 6464334415 and name 'Idiomas - mestre' was found.
Campaign with ID 6464460186 and name 'Artes - Mestre' was found.
Campaign with ID 6469329493 and name 'Ciências - Mestres' was found.
Campaign with ID 6469443568 and name 'Esportes - Mestre' was found.
Campaign with ID 6469785489 and name 'Ofícios e Hobbies - Mestres' was
found.
Campaign with ID 6730891914 and name 'Mestres - geral' was found.
Campaign with ID 6732396154 and name 'Aprendiz - geral' was found.
Campaign with ID 9160177884 and name 'App promotion - Android' was found.
Campaign with ID 9197085488 and name 'App promotion - iOS' was found.
Campaign with ID 973143272 and name 'Campanha de Professor' was found.
Campaign with ID 973843578 and name 'Keyword Territory' was found.
Campaign with ID 1486533267 and name 'Android' was found.
Campaign with ID 1486590468 and name 'Aprendizes' was found.
Campaign with ID 1508076843 and name 'Campanha de Professor #2' was found.
Campaign with ID 1524014799 and name 'Mestre' was found.
Campaign with ID 1593777592 and name 'SplitAds' was found.
Campaign with ID 1698578041 and name 'Alunos - Display' was found.
Campaign with ID 1802535065 and name 'Institucional' was found.
Campaign with ID 1989999516 and name 'Idiomas - Aprendiz' was found.
Campaign with ID 2044102472 and name 'Reconhecimento - vídeo youtube' was
found.
Campaign with ID 2074491262 and name 'Ciências - Aprendiz' was found.
Campaign with ID 2075452929 and name 'Artes - Aprendiz' was found.
Campaign with ID 2082396391 and name 'Esportes - aprendiz' was found.
Campaign with ID 2083594746 and name 'Ofícios e Hobbies - aprendiz' was
found.
Campaign with ID 6464334415 and name 'Idiomas - mestre' was found.
Campaign with ID 6464460186 and name 'Artes - Mestre' was found.
Campaign with ID 6469329493 and name 'Ciências - Mestres' was found.
Campaign with ID 6469443568 and name 'Esportes - Mestre' was found.
Campaign with ID 6469785489 and name 'Ofícios e Hobbies - Mestres' was
found.
Campaign with ID 6730891914 and name 'Mestres - geral' was found.
Campaign with ID 6732396154 and name 'Aprendiz - geral' was found.
Campaign with ID 9160177884 and name 'App promotion - Android' was found.
Campaign with ID 9197085488 and name 'App promotion - iOS' was found.

C:\Users\Shapp\source\repos\ConsoleApp1\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.exe
(process 27612) exited with code 0.
To automatically close the console when debugging stops, enable
Tools->Options->Debugging->Automatically close the console when debugging
stops.
Press any key to close this window . . .

On Fri, Feb 28, 2020 at 6:40 PM Google Ads API Forum Advisor Prod <
[email protected]> wrote:

> Hi André,
>
> Thanks for reaching out. In order for me to further investigate the issue
> you have encountered, could you please send me the complete request and
> response logs along with the client customer id?
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
>
>
> ref:_00D1U1174p._5001UKOQCy:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/CAL6MvPm0Ugo98rTK3faxuFUOf6tfNPbwuKDU6mdmcHOApg_cEw%40mail.gmail.com.

Reply via email to