Re: get customer campaigns list, REST API

2022-09-06 Thread Anna Lysak
Thank you very much! It works! On Monday, September 5, 2022 at 9:58:23 PM UTC+3 adsapi wrote: > Hi Anna, > > Thanks for reaching out to the Google Ads API Forum. > > The URL sent is incorrect, and this is the reason you received the error > 404. Instead, you may use the ‘ > *https://googlead

RE: get customer campaigns list, REST API

2022-09-05 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Anna, Thanks for reaching out to the Google Ads API Forum. The URL sent is incorrect, and this is the reason you received the error 404. Instead, you may use the ‘https://googleads.googleapis.com/v11/customers/6074981807/googleAds:search' to get all the campaigns. Following are the two end

Re: get customer campaigns list, REST API

2022-09-05 Thread Anna Lysak
This is what I tried: I sent POST request to this : url = 'https://googleads.googleapis.com/v11/customers/6074981807/campaigns:search' And this is the body: params = { "query": "SELECT campaign.id, campaign.name, campaign.status FROM campaign ORDER BY campaign.id" } response = await aiohttp_sess