RE: Facing error while getting Campaigns

2022-02-21 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello Sem, Thanks for reaching out to the Google Ads API support. It seems you have encountered a plugin failed with error: Exception occurred in metadata credentials plugin. Could you please confirm if you are using our client libraries of .Net dotnet_source? If yes, could you please provide u

Facing error while getting Campaigns

2022-02-20 Thread Sem Milestone
I am getting below error while calling Campaigns from Google Ads api. Please let me know is anyone have any idea about this error. Status(StatusCode="Unavailable", Detail="Getting metadata from plugin failed with error: Exception occurred in metadata credentials plugin. System.Net.Http.HttpReque

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

Getting campaigns

2021-12-17 Thread Hugo
Hello i have trouble in php to get campaigns, i'm using the function GetCampaigns from the github repository but nothing print in my terminal -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: Google ADs API: Not getting campaigns list in response even after got status as OK

2021-06-16 Thread Shikha Arzare
Thanks for responding. The previous email was having request and response data for test creds, so does this also should be confidential? I tried with that (customer ID of the client account) as well, but bad luck. Please suggest. On Thu, Jun 17, 2021 at 10:57 AM Google Ads API Forum Advisor wr

RE: Google ADs API: Not getting campaigns list in response even after got status as OK

2021-06-16 Thread Google Ads API Forum Advisor
Hi Shikha, Thank you for posting your concern. I would like to inform you first that I am going to delete your initial post as it contains generated logs on your end. Moving forward, please note that the report types with metrics such as the campaign report can only be requested against client

Google ADs API: Not getting campaigns list in response even after got status as OK

2021-06-15 Thread shikha...@hiteshi.com
Hi Team, We have created test creds on Google ADs platform. Generated developer token, OAuth client ID and secret, and refresh token. We have created one campaign in the test account. Now, we are trying to call Google ADs API's getCampaign() API with test creds (using clientID and client sec

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

Getting campaigns that have been running for x hours

2021-04-19 Thread Samir Sabri
Hello For a specific customer account, we can get a listing of all campaigns, however, how can we get a listing of running campaigns that have been running for x hours? is that possible? Thanks, -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googlead

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

Getting campaigns name with theirs photos

2020-11-12 Thread Krzysztof Rodo
Hi, I need to create table with these fields: |Name of campaign||Impressions|Cost||Conversation Rate||Conversions||Date||Budget||Image/Video of this ad|| How my query should look like? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper

Re: adServingOptimizationStatusSpecified set to True when getting Campaigns

2018-03-07 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Trevor, Thanks for explaining your scenario. It seems that this issue is more on the .NET client library as you mentioned that the C# object has adServingOptimizationStatusSpecified field which is set to true automatically, and this makes your request fail since if you are updating a field

Re: adServingOptimizationStatusSpecified set to True when getting Campaigns

2018-03-07 Thread Trevor Sanders
I'm not sure I made the issue clear with my original post. I am using the AdWords C# SDK to get and modify campaign objects from the API. These are the steps I'm taking, and the issue I'm having: - Get

Re: adServingOptimizationStatusSpecified set to True when getting Campaigns

2018-03-05 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Trevor, I could not see the adServingOptimizationStatusSpecified field in the campaign level, only the adServingOptimizationStatus field, and is not a Boolean type. This s

adServingOptimizationStatusSpecified set to True when getting Campaigns

2018-03-05 Thread Trevor Sanders
When updating to v201802, I came across a migration issue that is associated with v201710. I am using the dotnet client library to get campaigns from the API, perform some updates to them, and make mutate requests. However, although I am not setting AdServingOptimizationStatus

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

Getting campaigns labels script error

2014-05-30 Thread papathak papathak
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 the script was running ok, but today is displays the above runtime error. What i am missing? Thank

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

Getting campaigns and campaign stats for managed clients

2014-04-28 Thread Ryan England
Hi guys, I'm having trouble generating an XML feed using PHP and the Adwords API of our MCC clients, their campaigns, and then subsequently each campaign's stats. I had this working correctly with v201302, however it appears that in the upgrade to v201309, something somewhere has been changed a

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,

getting campaigns from the sandbox

2011-02-03 Thread yawnmoth
http://google-api-adwords-php.googlecode.com/svn/trunk/examples/v200909/GetAllCampaigns.php I'm using that script to connect to the AdWords sandbox and pull a list of the campaigns from the sandbox. I know what campaigns are in my regular account but have no clue what's in the sandbox. The abo

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

Getting campaigns for ALL clients

2010-09-21 Thread adwords.d...@4walls.us
Hi Everyone, I am using the latest PHP api code. In our MCC we have around 10 accounts linked together, with various campaigns and ad groups. I am trying to get stats for ALL of them. I am able to login to the MCC with my developer account and view all of the various clients and campaigns vie