RE: Getting campaigns

2021-12-19 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Hugo, Thank you for reaching out. So our team can take a closer look, could you provide the complete request and response logs, with the request-id, generated when you performed the GetCampaigns request? Since you are using PHP, and if you haven't yet, you can enable logging by referring to

Re: Getting campaigns that have been running for x hours

2021-04-20 Thread Google Ads API Forum Advisor Prod
Hi Samir, Unfortunately, there is no method in the API to determine how many hours a campaign has been running. You may be able to use the hour field and use some logic to calculate this depending on if the campaigns had impressions for consecutive hours. Regards, Anthony Anthony Google Ads A

Re: Getting campaigns that have been running for x hours

2021-04-20 Thread Samir Sabri
Thanks Anthony, but I did not meat to investigate on a certain hour, but I needed to know which campaign that has been active for certain amount of hours. For example, I want to know which campaigns that have been running for 8 hours or more so far. We have custom logic that calculates the camp

Re: Getting campaigns that have been running for x hours

2021-04-19 Thread Samir Sabri
Thanks, but how can we get only the actively running campaigns? On Mon, Apr 19, 2021 at 9:18 PM Google Ads API Forum Advisor Prod < adsapiforumadvi...@gmail.com> wrote: > Hello, > > You can run the campaign report and select the field hour >

RE: Getting campaigns that have been running for x hours

2021-04-19 Thread Google Ads API Forum Advisor Prod
Hello, You can run the campaign report and select the field hour to see if your campaigns were running and had impressions for that hour. Regards, Anthony Anthony Google Ads API Team ref:_00D1U1174p._5004Q2FZgM7:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our b

Re: Getting campaigns name with theirs photos

2020-11-13 Thread Google Ads API Forum Advisor Prod
Hello, You can run a report from the ad_group_ad level which will contain details on image ads. Let me know if you face any issues. Cheers, Anthony Google Ads API Team Anthony Google Ads API Team ref:_00D1U1174p._5004Q27tSdD:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also fi

Re: Getting campaigns name with theirs photos

2020-11-13 Thread Krzysztof Rodo
So how can I fetch images of each campaign/ad and connect it with campaign? piątek, 13 listopada 2020 o 15:19:49 UTC+1 adsapiforumadvisor napisał(a): > Hello, > > Unfortunately, you won't be able to get the image/video field with these > reports. However, you can use the following query to get m

RE: Getting campaigns name with theirs photos

2020-11-13 Thread Google Ads API Forum Advisor Prod
Hello, Unfortunately, you won't be able to get the image/video field with these reports. However, you can use the following query to get most of what you are looking for: SELECT campaign.name, metrics.impressions, metrics.cost_micros, metrics.conversions_from_interactions_rate, metrics.conversi

Re: Getting campaigns labels script error

2014-05-30 Thread papathak papathak
oops! Thanks Mike On Friday, May 30, 2014 2:56:03 PM UTC+3, papathak papathak wrote: > > Hello team, > > i am trying to get the labels of my adwords campaigns through adwords > script, but i get an error: "Field name Labels is invalid. Please check > your spelling and casing." > Until yesterday

Re: Getting campaigns labels script error

2014-05-30 Thread Michael Cloonan (AdWords API Team)
Hello, This forum is for the AdWords API. We have another forum for AdWords scripts , where you'll be able to get more help. Regards, Mike, AdWords API Team On Friday, May 30, 2014 7:56:03 AM UTC-4, papathak papathak wrote: > > Hello tea

Re: Getting campaigns and campaign stats for managed clients

2014-05-08 Thread Ray Tsang (AdWords API Team)
My apologies, it should be SetClientCustomerId(...) . Thanks, Ray On Thursday, May 8, 2014 5:21:26 AM UTC-4, Ryan England wrote: > > Hi Ray, > > Again, thanks for your reply and your clear instr

Re: Getting campaigns and campaign stats for managed clients

2014-05-08 Thread Ryan England
Hi Ray, Again, thanks for your reply and your clear instruction. I believe the SetClientId may have come from a much older code sample, so old in fact, that the code examples aren't online any longer (perhaps v20110X). Unfortunately, I have changed this to SetCustomerClientId and am still gett

Re: Getting campaigns and campaign stats for managed clients

2014-05-07 Thread Ray Tsang (AdWords API Team)
Ryan, It should be $user->SetCustomerClientId(...). It seems like there are quite a few similar questions from other people in the forum - could I trouble you to confirm where you found the $user->SetClientId(..) code? Was it from a legacy library, or a example code? Please point me to it so

Re: Getting campaigns and campaign stats for managed clients

2014-05-07 Thread Ryan England
Hi Ray, Thanks for your reply. I understand that the Campaign Stats are not available using this method, and will need to be switched to reports, no problems. Unfortunately, I'm not even getting that far, as I can't even get a list of campaigns for each client. The client ID is returned correct

Re: Getting campaigns and campaign stats for managed clients

2014-04-28 Thread Ray Tsang (AdWords API Team)
Ryan, Please take a look at the v201309 announcement. Stats objects are no longer available. You will need to use reports instead. Thanks! Ray On Monday, April 28, 2014 5:00:13 AM UTC-4, Ryan England wr

Re: getting campaigns from the sandbox

2011-02-03 Thread AdWords API Advisor
Hi, The sandbox accounts are initially empty, you need to create campaigns in them using AddCampaign.php before trying out the GetAllCampaigns.php example. Also, if you are starting fresh, I recommend you to use the latest version of the API (v201008) instead of v200909. Cheers, Anahs P. Oommen,

Re: Getting campaigns for ALL clients

2010-09-24 Thread AdWords API Advisor
Hi Dave, You can retrieve the child accounts using AccountService, see http://code.google.com/apis/adwords/docs/developer/AccountService.html for details. Also, could you post a requestId for an API call that returned the random campaign id? I could look up the logs and investigate for further det

Re: Getting campaigns for ALL clients

2010-09-22 Thread Dave
Hi Anash, Thanks for helping clear this up for me. Do you have any idea why I still receive 1 random campaign when querying the CampaignService with no clientEmail specified? Also, is there any API service which allows you to query for a list of client accounts? This would make it much more scale

Re: Getting campaigns for ALL clients

2010-09-22 Thread AdWords API Advisor
Hi Dave, When making calls to AdWords API, you generally have to make calls against one account at a time. But since you are trying to retrieve stats alone, you could try the ReportService instead. You can generate a report with crossClient = true to pull the stats for all the client accounts in a

Re: Getting campaigns for ALL clients

2010-09-22 Thread Dave
Can anyone shed any light on this issue? I could really use some help. To simplify it a bit, the question I really need answered is, can you make requests against the Campaign and AdGroupAd services for ALL client accounts, or is it necessary to do each one individually. On Sep 21, 8:25 am, "adwo