Re: Query for getting all campaign with the given name - Google Ads

2021-11-03 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Wayne, Glad that it worked on your end. You can indeed use a get request to retrieve all the details of a Campaign resource. However, get requests are more costly in terms of usage as discussed here. The alternative would be to use search requests instead, which you can find out more via th

Re: Query for getting all campaign with the given name - Google Ads

2021-11-02 Thread Wayne
Thanks a lot Peter! That helped! :) However, will it be possible to return an entire campaign? I mean here in the query we have to SELECT the fields we want, is it possible to return the whole campaign? Using query? Or a GET call? I just have the campaign name. So how to get the whole campaign?

RE: Query for getting all campaign with the given name - Google Ads

2021-11-02 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Wayne, You can use our Query builder and Query validator prior to using your GAQL in your API requests. As for filtering campaign names, you can use operators such as LIKE as seen in the query below : SELECT campaign_budget.id, campaign_budget.name, campaign_budget.resource_name, campaign.n