Re: TargetingIdeaService return keywords stats not matched with Web UI.

2013-08-20 Thread Chirag
Hello Danial, Thanks for info, Yes this was corrected by me earlier. My main issue is how i can get previous month / previous date *AVG CPC*data? As now adwords api *TargetingIdeaService* changed from UI of keywords planner tool. And you said earlier that UI is AVG value where in API we found e

Re: Dynamic Ads Reporting

2013-08-20 Thread Takeshi Hagikura (AdWords API Team)
Hi, There are only beta features available for Dynamic Search Ads, Keywordless category reportand Keywordless query report

Re: Issues running GetRefreshToken.php

2013-08-20 Thread Ewan Heming
Hi Alan, What's the error you're getting? Regards, Ewan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You receive

Issues running GetRefreshToken.php

2013-08-20 Thread Alan Coleman
Hello everyone, I'm trying to get hold of a refresh_token for my auth.ini file I understand from the guidethat I need to run GetRefreshToken.php, however there doesn't seem to be much advice on actually *how* to run this file. At t

Re: TargetingIdeaService return keywords stats not matched with Web UI.

2013-08-20 Thread Danial Klimkin
Hello Chirag, Looking on the code below, the network parameter is not specified correctly: $networkTargetParameter = new NetworkSearchParameter(); $networksetting = new NetworkSetting(); $networksetting->SearchParameterType = 'targetGoogleSearch'; $networkTargetParameter->networkSetting =

Re: Receiving QuotaCheckError.INCOMPLETE_SIGNUP

2013-08-20 Thread gapi
I have the same error. I have entered my billing information (Visa)!!! I waste a lot time because i didn't get my Refresh_token 1. i removed in getrefreshtoken.php: if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { // return ; } 2. i copied the Token from redirected url into: $user->SetOAut

Getting AuthenticationError.OAUTH_TOKEN_REVOKED

2013-08-20 Thread Gunnar Radzom
We have a tool that is downloading data (campaigns, adgroups, adgroupads and adgroupcriterions) from the adwords api. https://developers.google.com/adwords/api/index We used the version v201302 and recently switched to the latest version v201306 of the api. We use up to 20 Tasks to send r

Test Account

2013-08-20 Thread Павел Силенко
There is a test account, ID client: 374-873-6083, for any given query error: QuotaCheckError.INCOMPLETE_SIGNUP Help solve the problem! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/g

Re: PHP Client Library and Deprecated Services

2013-08-20 Thread Alistair Ballantine
Ah, okay - I figured it would end up being a misunderstanding on my part. Thank you for the information. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=

Getting AuthenticationError.OAUTH_TOKEN_REVOKED Exception

2013-08-20 Thread Gunnar Radzom
We have a tool that is downloading data (campaigns, adgroups, adgroupads and adgroupcriterions) from the adwords api. https://developers.google.com/adwords/api/index We used the version v201302 and recently switched to the latest version v201306 of the api. We use up to 20 Tasks to send r

Stats for keyword are reproduced and shwon for wrong ads

2013-08-20 Thread David Morawitzky
Hey, in my project I am trying to get stats for every keyword in the form of: campaign_ID campaign_Name adGroup_ID adGroup_Name ad_ID ad_Header targetURL keyword_id keyword_text matchtype network average_position clicks impressions ctr qualityfactor cost average_cpc I am using AdGroupCriterionSer

Adding sitelinks to AdGroups via API

2013-08-20 Thread Heidi Schuster
Hi there, I have managed to add a sitelink to a campaign using the following code: Sitelink[] links = new Sitelink[]{new Sitelink("API TEST", "http://bla.com";)}; SitelinksExtension se = new SitelinksExtension(); se.setSitelinks(links); CampaignAdExtension ad =

Retrieving Adhoc Reports using OAuth

2013-08-20 Thread Alistair Ballantine
I'm having a little difficulty figuring out how to Download AdHoc reports using OAuth2 as the authentication mechanism. I can retrieve an access_token just fine using OAuth, but I only ever get the error GOOGLE_ACCOUNT_COOKIE_INVALID when using it. I can successfully connect and download a repo

Adding sitelink to AdGroup via API returns error

2013-08-20 Thread Heidi Schuster
Hi there, I have managed to add a sitelink to a campaign using the following code: Sitelink[] links = new Sitelink[]{new Sitelink("API TEST", "http://bla.com";)}; SitelinksExtension se = new SitelinksExtension(); se.setSitelinks(links); CampaignAdExtension ad =

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-20 Thread Takeshi Hagikura (AdWords API Team)
Hi Jur, Sorry I didn't mean to post client id and client secret. I wanted to know what account did use to get your client id and client secret. If you used your MCC account under which your test account is in or the test account itself for getting client id and secret, the CampaignService.get

Re: OAuth2 still asking for email & password values

2013-08-20 Thread Alan Coleman
As always, thanks very much for taking the time to help. Cheers! On Tuesday, August 20, 2013 3:26:13 PM UTC+1, Takeshi Hagikura (AdWords API Team) wrote: > > Hi Alan, > > > Just one more question if I may, how long will the refresh_token last > for? > refresh_token never expires unless you exp

Re: Adwords API limits

2013-08-20 Thread Jeremy Aube
You should add code that handles any RateExceededError that you get. Generally the error will include information about how long you should back off for (usually 30 seconds). It may take a full minute though before you can make a successful request, however, so you should be prepared to catch t

Re: OAuth2 still asking for email & password values

2013-08-20 Thread Takeshi Hagikura (AdWords API Team)
Hi Alan, > Just one more question if I may, how long will the refresh_token last for? refresh_token never expires unless you explicitly revoke the API access. Best, - Takeshi, On Tuesday, August 20, 2013 9:00:52 PM UTC+9, Alan Coleman wrote: > > Thanks Takeshi, your help is always appreciate

Re: OAuth2 still asking for email & password values

2013-08-20 Thread Alan Coleman
Thanks Takeshi, your help is always appreciated. I was confused about the refresh_token procedure. Just one more question if I may, how long will the refresh_token last for? Many thanks. On Tuesday, August 20, 2013 12:04:36 PM UTC+1, Takeshi Hagikura (AdWords API Team) wrote: > > As in this

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-20 Thread Jur
Hello Takeshi, Clientid: 535034169318-5vb9ld76jrt5htp9860ps5k6kjqua6c6.apps.googleusercontent.com Client_secreat:fEQ5CL5xL9s-joJI990A-8C4 I use the standard getCampainsExample function: // Include the AdWordsUser require_once LIB_PATH . '/AdWordsUser.php'; function GetCampaignsExample(AdWords

Re: OAuth2 still asking for email & password values

2013-08-20 Thread Takeshi Hagikura (AdWords API Team)
As in this guide, I recommend to store refresh_token in your auth.ini. Once you store refresh_token, you'll not be asked for email and password pair. Please see the "Running OAuth2.0 example" section and run this GetRefreshToken.php<

Re: OAuth2 still asking for email & password values

2013-08-20 Thread Alan Coleman
Hi Takeshi, Thanks for your reply. I'm running a script that verifies an AdWords Ad against the API before storing it locally, simple stuff and it works with my current Client Login set up. I've been through all the OAuth2 documentation and it all makes sense. I've created the application iden

Re: Issue migrating from v201209 to v201306

2013-08-20 Thread Alan Coleman
Hi Tommy, I tried to migrate from v201302 to v201306 using Client Login and received an error that informed me that Client Login is no longer supported. Thanks On Monday, July 29, 2013 4:03:06 PM UTC+1, Tommy Newman wrote: > > Thanks Anash, I have put a couple of issues there, but perhaps you c

Re: OAuth2 still asking for email & password values

2013-08-20 Thread Takeshi Hagikura (AdWords API Team)
Hi Alan, What script are you running when you see a validation error? Please see this guide on OAuth2 introduction with PHP. If you have further questions, please let us know. Best, - Takeshi, AdWords API Team On Monday, August 19

Re: Authentication error with New Google.Ads.Common.dll , Google.AdWords.dll version V201306

2013-08-20 Thread Anash P. Oommen (AdWords API Team)
Hi Pramod, Could you try the code in a slightly different manner? The C# code equivalent is as follows: AdWordsUser user = new AdWordsUser(); AdWordsAppConfig config = (AdWordsAppConfig) user.Config; config.DeveloperToken = ""; //...more settings CampaignService campaignService = (Campaign