Re: Filter AdGroups by campaign status

2020-08-11 Thread denma test
Hello Yes, done with AdGroup Performance Report, it looks fine to work it. Thanks. On Tuesday, August 11, 2020 at 9:11:22 PM UTC+5:30, adsapiforumadvisor wrote: > > Hello, > > Unfortunately, there is no CampaignStatus field in the AdGroupService. You > will either need to use the AdGroup Perform

Re: Filter AdGroups by campaign status

2020-08-11 Thread Google Ads API Forum Advisor Prod
Hello, Unfortunately, there is no CampaignStatus field in the AdGroupService. You will either need to use the AdGroup Performance Report or call a GET method on the CampaignService to get all your enabled and paused then pass those campaigns to the AdGroupService. Regards, Anthony Google Ads A

Re: Filter AdGroups by campaign status

2020-08-10 Thread denma test
Hi Anthony, Actually am not using Adgroup Performance Report service, am using AdGrup services to list all my adgroups as mentioned in previous code. Only thing is that service is returns all adgroups even from removed campaigns too, i just need to eliminate that part alone. Please correct me if

RE: Filter AdGroups by campaign status

2020-08-10 Thread Google Ads API Forum Advisor Prod
Hello, You can filter ad groups by their campaign statuses by using the field CampaignStatus. Regards, Anthony Google Ads API Team ref:_00D1U1174p._5004Q23IfL2:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=

Filter AdGroups by campaign status

2020-08-08 Thread denma test
public function getAdGroups(){ $session = self::setSession(); $adWordsServices = new AdWordsServices(); $adGroupService = $adWordsServices->get($session, AdGroupService::class); $adGroupData = array(); // Create selector. $selector = new Selector();

Re: Filter adgroups by campaign

2016-04-06 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Leonardo, You can use predicates to filter ad groups by either their campaign Id or name. Our Client Libraries contain examples on how to do so. Here is our Java example

Filter adgroups by campaign

2016-04-06 Thread Construtiva Sis
Hello, it is possible I get all adgroups per campaign using filtering Predicate? something like this: predicate.field = "campaignName" Then return the groups in this campaign. Thanks for any help! att. Leonardo Dutra dos Anjos. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also f

Re: Filter adgroups by campaign

2010-07-13 Thread phpguy
Hi Eric, I'm not sure if I'm doing something wrong or now but I had used the code from the example with the 201003 version and it wouldn't filter but instead displayed all campaigns (deleted, paused and enabled). Right when I changed it to v200909 it worked. Just wanted to give you the update in

Re: Filter adgroups by campaign

2010-07-12 Thread AdWords API Advisor
Hi, Yes, this is possible using the campaignIds field of the selector: http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupService.AdGroupSelector.html#campaignIds A PHP example is available here: http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v20

Filter adgroups by campaign

2010-07-09 Thread phpguy
I'm looking to retrieve ad groups from specific campaigns. Is there anyway to do this? I've seen the selector field by date but was hoping to do it by campaign. Thanks for any help! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adword