Re: How to incrementally fetch Campaign, AdGroup Ads with date range Batch the calls.

2014-01-11 Thread Ewan Heming
Hi Bikram, You can find the ids of new and changed objects using the CustomerSyncServicehttps://developers.google.com/adwords/api/docs/reference/latest/CustomerSyncService, then call the services to get the data. Also, many of the fields are available in the reporting service, so you could

Re: Unable to get OAuth 2.0 refresh_token with GetRefreshToken.php

2013-08-31 Thread Ewan Heming
Hi Alan, If you haven't already worked it out, I put some instructions together for using the OAuth Playground with the AdWords APIhttp://www.ewanheming.com/adwords-api-oauth-playground . Regards, Ewan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and

Re: Unable to get OAuth 2.0 refresh_token with GetRefreshToken.php

2013-08-30 Thread Ewan Heming
Hi Yuhao, I think that your problem might be to do with your JDK setup, not the API, and this threadhttp://stackoverflow.com/questions/9619030/resolving-javax-net-ssl-sslhandshakeexception-sun-security-validator-validatoreshould solve your problem. I'll post the OAuth playground example later

Re: Unable to get OAuth 2.0 refresh_token with GetRefreshToken.php

2013-08-29 Thread Ewan Heming
Hi Alan, You shouldn't need a new developer token as you can use any token with any authorized AdWords account. You can also use any client_id and client_secret to generate the OAuth tokens. Quite a few of the people I've worked with have had problems generating tokens when they just want to

Re: google adwords api oauth2 test environment

2013-08-26 Thread Ewan Heming
Hi Mike, You only need the callback to use the OAuth web flowhttps://developers.google.com/accounts/docs/OAuth2WebServer, you can get your tokens using the Installed App Flowhttps://developers.google.com/accounts/docs/OAuth2InstalledApp. You should find an example in the client library you're

Re: Issues running GetRefreshToken.php

2013-08-21 Thread Ewan Heming
Hi Alan, As Evgeniy mentioned, there's probably something wrong with your PHP configuration, but you could try adding the parameters to the example file instead of auth.ini. At line 85 of GetRefreshToken.php you should find the following code: $user = new AdWordsUser();

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

Re: oauth2 mcc account vs adwords account

2013-08-19 Thread Ewan Heming
Hi Michael, Once you've authenticated an MCC account, you will have access to all of the client accounts without needing additional tokens. Regards, Ewan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com

Empty Performance Reports

2013-08-15 Thread Ewan Heming
Hi All, I answered a questionhttps://groups.google.com/forum/#!topic/adwords-scripts/N9adFMXAY0Yon the AdWords Scripts forum where I mentioned that reports without any metric fields are often empty. I've always just added the impressions column when I just want the structural data, but

Re: KEYWORD_PERFORMANCE_REPORT Data with test key

2013-05-21 Thread Ewan Heming
Hi Dev, The GetReportFields operationhttps://developers.google.com/adwords/api/docs/reference/latest/ReportDefinitionService#getReportFieldsjust returns an enumeration of the possible fields you can request in a report, which are also available in the report reference

Re: NetworkSetting searchParameters filter doesn't work with AdWords API PHP library

2013-04-15 Thread Ewan Heming
Hi Victor, The AdWords API includes the search partner data by defaulthttp://googleadsdeveloper.blogspot.co.uk/2012/11/understanding-adwords-api.html. You can exclude search partner traffic using the NetworkSearchParameter, but you can just leave it out if you want the total for the whole

Re: NetworkSetting searchParameters filter doesn't work with AdWords API PHP library

2013-04-15 Thread Ewan Heming
Hi Victor, Are you using any other search parameters? If you want the global search volume, you have to remove all of the parameters apart from the seed keywords. Regards, Ewan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group:

Re: Setting Ad Device Preference is not working

2013-03-29 Thread Ewan Heming
Hi Oliver, You can only use a SET operation to change the Ad Statushttps://developers.google.com/adwords/api/docs/reference/v201302/AdGroupAdService; apart from that ads are immutable, so you need to create a new one if you want to change any fields. Regards, Ewan -- --

Re: Cannot set 'enhanced' property of campaign to false via API v201302

2013-03-29 Thread Ewan Heming
Hi, You can only create enhanced campaigns using v201302https://developers.google.com/adwords/api/docs/guides/enhanced-campaigns. The enhanced property is read-only; its only use is to determine if an account has been updated yet. Regards, Ewan -- --

Re: Cost Per Conversion Proper Calculation

2013-03-29 Thread Ewan Heming
Hi, You can obtain these fields via the API by downloading a Campaign Performance Reporthttps://developers.google.com/adwords/api/docs/appendix/reports#campaign containing the ConversionRate and CostPerConversion fields. The values in the report should match up with the UI data. Regards,

Re: Campaign Performance Report not returning any data

2013-03-26 Thread Ewan Heming
Hi Jonathan, I don't think it's possible to retrieve a report with these fields populated using a test account because there's no performance data available. I think that the tokens team just wants a clear picture about how you intend to use the API, so they can ensure you'll be using it

Re: Regarding enhanced campaigns and Device preferred field

2013-03-25 Thread Ewan Heming
Hi Shay, Have you set a device preference for any of your ads yet? I created a test ad with the mobile checkbox activated, then downloaded an ad performance report: the DevicePreference field in the report contained the id 30001, which shows a preference for the mobile

Re: General API question re: account access using MCC account and Oauth2...

2013-03-25 Thread Ewan Heming
Hi Ken, You can use an approved developer token with any account you have authorization to access; you don't need to link the account to your MCC. Regards, Ewan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group:

Re: Exact, broad and phrase results using Targeting Idea Service

2013-03-21 Thread Ewan Heming
Hi Dimce, Unfortunately, beginning with v201209, the API only supports exact match queries to the TargetingIdeaService. V201206 is the only version of the API that supports broad and phrase match queries, but you shouldn't use it as it has been deprecated and will be sunset on the 25th of

Re: MCC authtoken (client login) capabilities?

2013-03-20 Thread Ewan Heming
Hi Reed, You can make exactly the same API calls using ClientLogin as you can with OAuth. If an account is linked to an MCC that you can access, then you can make get and mutate calls for the account by setting its customer id. However, ClientLogin is deprecated, so you should use OAuth 2.0 if

Re: Basic vs Standard access

2013-03-15 Thread Ewan Heming
Hi, AdWords API quotas are applied to the developer token, so the limit is for all of the applications sharing the same token. If the applications are processing multiple accounts, they will still be using the token's quota. Regards, Ewan -- --

Re: How Much Historical Data is Available Through the Reporting API?

2013-03-14 Thread Ewan Heming
Hi Kevin, These are just some helpful predefined constants, but you can specify any date range you like using a custom start and end date. I'm not sure about official limits as I can't find them in the documentation anymore, but I've been able to successfully download reports that dated back

Re: Competition score

2013-03-14 Thread Ewan Heming
Hi Marc, It's still available using the COMPETITIONhttps://developers.google.com/adwords/api/docs/reference/v201302/TargetingIdeaService.AttributeType#COMPETITION attribute of the TargetingIdeaService. From what I can remember, it's always had a double value in the zero to one range, which

Re: targeting ideas api question, TargetingIdeaService

2013-03-03 Thread Ewan Heming
Hi, I don't think that's possible. To achieve this, you need to make an individual request for each seed keyword. I might be wrong, but I think that you sometimes get suggestions that are related to combinations of seed keywords when you target more than one at a time. Regards, Ewan --

Re: AveragePosition in Adwords

2013-02-28 Thread Ewan Heming
Hi, Averaging an average--if that's the correct term for it--doesn't actually work in the way you're expecting. You need to get back to the original sum of individaul positions for the seven day period, then divide them by the sum of impressions for the same peroid. So the equation is going

Re: Geo performance report countries list

2013-02-17 Thread Ewan Heming
Do you mean the list of country targets? Those can be obtained by filtering the Geo Targets Tablehttps://developers.google.com/adwords/api/docs/appendix/geotargeting and downloading the results. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion

Re: Error sandBox

2012-12-23 Thread Ewan Heming
Unfortunately, the sandbox is no morehttp://googleadsdeveloper.blogspot.co.uk/2012/11/introducing-test-accounts.html, but the great new is that it's been replaced by test accountshttps://developers.google.com/adwords/api/docs/test-accounts, which are a much more reliable way of testing

Re: Problem with sandbox - Error 502 (Server Error)

2012-12-23 Thread Ewan Heming
See: https://groups.google.com/forum/?fromgroups=#!topic/adwords-api/RF_QW0B-Lhs -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api

Re: Error sandBox

2012-12-23 Thread Ewan Heming
Unfortunately, the sandbox is no morehttp://googleadsdeveloper.blogspot.co.uk/2012/11/introducing-test-accounts.html, but the great news is that it's been replaced by test accountshttps://developers.google.com/adwords/api/docs/test-accounts, which are a much more reliable way of testing

Re: How long for Test Accounts to get set up

2012-11-28 Thread Ewan Heming
Hi Chris, The account should still be in the AdWords interface, and you can just make a call to the API to see if it's working. I know that people I've been working for didn't actually receive an email stating that their test account was active, but I was able to use it with the API while

Re: Proper authentication for the new Test Account

2012-11-28 Thread Ewan Heming
Hi Stamatina, I think that you need to enter the customer ID of your test account (as a number, without the dashes) into the setClientCustomerIds method of the selector, instead of the using the setClientEmails method with your MCC email. Regards, Ewan On Wednesday, November 28, 2012

Re: Proper authentication for the new Test Account

2012-11-24 Thread Ewan Heming
Hi Stamatina, The credentials you're sending sound correct, so maybe the problem is somewhere else. Could you post the code you're using in case there's a problem with it? Thanks, Ewan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group:

Re: Is it possible to download a list of clicks using the API?

2012-11-24 Thread Ewan Heming
Hi James, The GCLID parameter is only meant for internal use within Google Analytics; if you want to perform your own tracking, you need to use the Value Trackhttp://support.google.com/adwords/bin/answer.py?hl=enanswer=2375447 URL parameters. You should be able to add parameters to the

Re: Sandbox EstimateKeywordTraffic requests were working. However, now they result in [AuthenticationError.NOT_ADS_USER @ ; trigger:'']

2012-10-23 Thread Ewan Heming
Hi Bob, This threadhttps://groups.google.com/forum/?fromgroups=#!topic/adwords-api/0xIxgBk9wXomentions that it's a known issue being looked into, but there's no fix date available yet. Regards, Ewan -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and

Re: Can't authenticate - customer not found

2012-10-21 Thread Ewan Heming
Hi Karlis, The sandbox creates five customer ids when you activate it; the one displayed in your AdWords account is for the live API, not the sandbox. You need to remove the clientId altogether for your first call to the API, then either use the

Re: Sandbox EstimateKeywordTraffic requests were working. However, now they result in [AuthenticationError.NOT_ADS_USER @ ; trigger:'']

2012-10-20 Thread Ewan Heming
Hi Daniel, I think that the problem Bobert is referring to is that the sandbox is currently not working at all for the TargetingIdeaService and TrafficEstimatorService; it just returns the error: AuthenticationError.NOT_ADS_USER @ ; trigger:'null'. I've just tried it myself and had the same

Re: ad copy

2012-10-20 Thread Ewan Heming
Hi Udy, There isn't a copy operation, so you would need to download the ads from the source AdGroup, then use an ADD operation to upload them to the new AdGroup. Regards, Ewan -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group:

Re: QuotaCheckError.ACCOUNT_DELINQUENT

2012-10-20 Thread Ewan Heming
Hi, I've often seen this for issues as simple as an expired credit card; you should have notifications in your AdWords accounts that explain what problem Google has with them. Regards, Ewan -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group:

Re: [AuthenticationError.LOGIN_COOKIE_REQUIRED @ ; trigger:'null']

2012-10-15 Thread Ewan Heming
Hi Laid, You need to enter the username and password for an AdWords account into the $username and $password variables of the script; I've updated it to throw a more relevant error if you don't. The sandbox does require a developer token, username, password, and customer id for the account

Re: [AuthenticationError.LOGIN_COOKIE_REQUIRED @ ; trigger:'null']

2012-10-15 Thread Ewan Heming
Hi Laid, Are you sending the correct customer id for the campaign where you're trying to create the adgroup? If you could post the code you're using then I should be able to see what the problem is. Regards, Ewan -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog

Re: [AuthenticationError.LOGIN_COOKIE_REQUIRED @ ; trigger:'null']

2012-10-12 Thread Ewan Heming
Hi laid, I noticed you asked the same question on my blog post about using the AdWords API without a Client Libraryhttps://www.ewanheming.com/2011/04/ppc-software-development/connecting-to-the-adwords-api-using-just-soap that I wrote last year. I think your problem is just that you haven't

Re: Creating a reporting API - Would I be allowed to ask for traffic estimation?

2012-10-12 Thread Ewan Heming
Hi Brice, I don't work for Google and the team that monitors this forum won't be able to answer your question directly, but the way I understand it, you can develop a tool like this as long as it was just using the reporting part of the API; however, you would need to take note of the section

Re: Pull Data

2012-10-12 Thread Ewan Heming
Hi Vlad, If your AdWords account is linked to your Analytics account, then you should be able to do this already from the Advertising AdWords Keywords Clicks report. Regards, Ewan -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group:

Re: Is intra-day reporting available

2012-09-18 Thread Ewan Heming
Hi Ken, Yes, you can pull reports for the current day by setting the dateRangeType to TODAY; my experience is that this matches what your marketing guys should be able to view within the AdWords web UI. However, there are delays in reporting that depending on the type of report you are

Re: Reporting on site link and ad extensions

2012-09-18 Thread Ewan Heming
The URL in the Ad Performance Report is just the one for the Ad Headline itself, so you need to use the CampaignAdExtensionServicehttps://developers.google.com/adwords/api/docs/reference/latest/CampaignAdExtensionService and

Re: Finding sites that paid for adwords based on a keyword

2012-09-16 Thread Ewan Heming
Hi Nainil, There is no legitimate way to obtain this information as Google doesn't publish their customers potentially sensitive marketing data! Some vendors of Competitive Intelligence tools claim to be using an API, but that's just what they have to say as most of them as running large scale

Re: How to get ConversionTypeName and ConversionCategoryName into ad report.

2012-09-14 Thread Ewan Heming
Hi, Although not a direct answer to your question, I wanted to check if there was a reason why you want to download the report using the XML format? A few years ago it was the only available option, but now you can choose other formats like CSV. I find that this much easier to use; moreover, I

Re: How can an account revoke access to an OAuth'ed user?

2012-09-11 Thread Ewan Heming
Hi Oliver, oAuth access to a Google account isn't managed through AdWords directly; you need to go to the security https://www.google.com/settings/security section of your main account settings, then click the Edit button next to Authorizing applications and sites. Regards, Ewan --

Re: Anyone interested in a PSR-0 compliant PHP client?

2012-09-05 Thread Ewan Heming
I've recently been thinking about the same issue myself because it would make working with the Symfony framework much easier. I don't have too much spare time, but would certainly be happy to help out with at least the namespace issue for improved classloading and IDE support. --

Re: Possible bug in PHP library.

2012-08-28 Thread Ewan Heming
Hi, This isn't a bug, the API only returns the fields you ask for in your request. You should see a line in your code similar to the following: $selector-fields = array('Id', 'Name'); You need to modify it to include all of the fields that you require; the list of available fields can be

Re: How to Determine Device Type with the Php Client Library

2012-08-15 Thread Ewan Heming
Hi, I think that the device type is called a Platform targethttps://developers.google.com/adwords/api/docs/appendix/targetingtypes#device_typesin the CampaignCriterionService, so you need to issue a

Re: AdHoc reports without developer key

2012-08-06 Thread Ewan Heming
Unfortunately it isn't, but you could try linking your account to Google Analytics and downloading the data from the Core Reporting APIhttps://developers.google.com/analytics/devguides/reporting/core/v3/. The GA API's are much easier to gain access to and might contain enough data if you only

Re: Get destination url report for only paused adgroups

2012-08-05 Thread Ewan Heming
Hi Sumit, You just need to add a predicatehttps://developers.google.com/adwords/api/docs/reference/latest/ReportDefinitionService.Predicateto the selector to filter your report. I'm not too familiar with Python, but I thing the following should work: report_downloader =

Re: Get destination url report for only paused adgroups

2012-08-05 Thread Ewan Heming
Sorry, the Python AWQL example is: http://code.google.com/p/google-api-ads-python/source/browse/trunk/examples/adspygoogle/adwords/v201206/reporting/download_criteria_report_with_awql.py On Sunday, August 5, 2012 5:52:03 PM UTC+1, Ewan Heming wrote: Hi Sumit, You just need to add

Re: SOAP Module for AdWords Maven 1.4.0 Java Client Library

2012-07-23 Thread Ewan Heming
Hi Kevin, I also assumed that what worked on Linux would work on Windows, but wasn't aware of any problem until I delivered the code to a customer and they tried to run it! I think that my customer has actually worked out what was wrong, so I'll see if I can find out Regards, Ewan --

Re: Can we access Adwords API only with developer key?

2012-07-21 Thread Ewan Heming
Hi Vipin, You question is a bit confusing: it suggests you want to access third party AdWords accounts without authority, which is probably not what you mean! If you're asking about the TrafficEstimatorService or TargetingIdeaService, which don't necessarily need access to a specific account,

Re: Can I use 'GetCampaignStats' in the sandbox ?

2012-07-18 Thread Ewan Heming
Unfortunately, the results are always zero. Random values would be a very useful feature though, especially if the ad hoc reports also returned some matching data. It's hard to know if you've match everything up correctly using the sandbox; the only way to be sure is to do live testing, which

Re: Adding CriterionUserInterest to Campaign always returns CriterionError.CANNOT_ADD_CRITERIA_TYPE

2012-07-16 Thread Ewan Heming
I checked out your code in more detail: The problem is that Linux Unix isn't a CriterionUserInterest, it's a Verticalhttps://developers.google.com/adwords/api/docs/appendix/verticals. This code's working for me in the sandbox: $interestId = 736; //Linux Unix $interest = new Vertical();

Re: Adding CriterionUserInterest to Campaign always returns CriterionError.CANNOT_ADD_CRITERIA_TYPE

2012-07-15 Thread Ewan Heming
Have you tried adding a negative User Interest Criterion to a campaign in the normal web interface? I know that I tried a similar thing with a negative Proximity target and got an error because it isn't actually possible at the moment. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also

Re: Transfer a token and free API units to another account

2012-07-12 Thread Ewan Heming
I don't work for Google, so I'm not sure about the specifics of moving tokens and free quota to another account, but it does sound like something that might be difficult. However, your token itself can be used independently of your MCC, so it can be used to access a separate account (MCC or

Re: Can I use the sandbox with a developer token being approved ?

2012-07-11 Thread Ewan Heming
You don't need a developer token to use the sandbox, you just need a Google account. The developer token in the sandbox is just your account email plus a chosen currency. You can find out more about using the sandbox herehttps://developers.google.com/adwords/api/docs/sandbox . --

Re: Getting Started API

2012-07-11 Thread Ewan Heming
If you can understand the example code that comes with the PHP Client Library http://code.google.com/p/google-api-adwords-php/, then you should be able to learn how to use the AdWords API. You can also check out this blog post that explains how to use the

SOAP Module for AdWords Maven 1.4.0 Java Client Library

2012-07-03 Thread Ewan Heming
Hi, I've built a Java client using the Maven client library; on my Ubuntu box it's working fine, but when I try and run the exact same project on Windows I get the following error: Unable to locate a SOAP module by reflection. Did you forget to add a plugin specifying which SOAP framework to

Re: Adwords API Team - Please reply to any of my emails or forum posts or my acount email.

2012-06-25 Thread Ewan Heming
How long have you actually been waiting for a response? Token applications are taking a very long time to process at the moment, and I think that the ones being escalated have been waiting excessively long. While you're waiting you could try looking at the AdWords API

Re: report cost clarification needed

2012-06-20 Thread Ewan Heming
Hi Jeremy, Downloading reports is actually now free since v201109 of the API, but you need to use the new AdHoc Reportshttps://developers.google.com/adwords/api/docs/guides/reporting. The two items that you're referring to are part of the the deprecated

Re: Create campaign based on AdWords Editor Export?

2012-06-18 Thread Ewan Heming
Hi, There's no Bulk File Upload feature like that in the AdWords API at the moment, so you'd need to parse your file and make API calls to create your campaigns, ads, and keywords etc. Regards, Ewan -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion

Re: Sannbox Environment API

2012-06-17 Thread Ewan Heming
Hi Ronak, Unfortunately the reports in the sandbox don't contain any data; you need to use the production API to test that your reports are being imported into your system properly. It would be a very useful addition though Regards, Ewan --

Re: Create a new account using CreateAccountService

2012-06-14 Thread Ewan Heming
I don't believe that there is any way to do that; although, I think you might be able to create an account linked to your MCC then invite your clients to access it, but the invite would need to be sent manually so I'm not sure if it would be any use to you. --

Re: Daily budget over $2000 causes odd API errror

2012-06-11 Thread Ewan Heming
I'm not sure if this is the problem, but the error mentions that your budget is too low, not too high; maybe your code isn't converting the $2000 into micros before posting to the API? Just a guess as a micro amount of 2000 is less than 1 cent, which is probably too low for a daily budget. --

Re: Does Adwords API support oAuth 2.0? (.NET)

2012-05-08 Thread Ewan Heming
Hi Stéphane, It currently only supports oAuth 1.0ahttp://adwordsapi.blogspot.com/2011/10/adwords-api-now-fully-supports-oauth.html, so you'll need to use a slightly different process for authenticating AdWords than Analytics. Regards, Ewan --

Re: api for getting info using gclid

2012-04-25 Thread Ewan Heming
Hi Vijayraj, I usually use the {creative} parameter to get the ad id, then match this up in the API to find out which adgroup triggered the ad. I can then match the {keyword} and {matchtype} parameters to a keyword within the adgroup. It's a bit convoluted and not the most efficient process,

Re: api for getting info using gclid

2012-04-25 Thread Ewan Heming
Hi Vijayraj, I haven't used it for a while, but I'm reasonably confident that it's the keyword from your account, not the search query. I seem to remember being able to match them up with the keywords in an adgroup in the past anyway, but my memory isn't that great these days, so you should

Re: sandbox

2012-04-18 Thread Ewan Heming
Yes, I think that the caching on my site is a bit too aggressive: I'm only using an Amazon Micro instance, so I mostly rely on CloudFlair to deliver my content fast, but it does mean I sometimes need to clear the cache before comments show up. After the script displays your customer ids, it

Re: sandbox

2012-04-17 Thread Ewan Heming
I wrote a post about using the sandbox with the PHP AdWords API Client Libraryhttp://www.ewanheming.com/2011/12/ppc-software-development/adwords-api/using-the-adwords-api-sandbox, not sure if you've found it already because I got some comments from someone with a similar nick to yours. Anyway,

Re: Downloading keyword performance report for a particular day

2012-04-06 Thread Ewan Heming
I don't know much Python so I can't help with the code itself, but you need to set the dateRangeTypehttp://code.google.com/apis/adwords/docs/reference/latest/ReportDefinitionService.Selector.html#dateRangefield of your report definition to 'CUSTOM_DATE', then add set the

Re: API Signup Page is broken!!

2012-04-05 Thread Ewan Heming
If I remember correctly you're supposed to sign up by navigating to the My Account AdWords API Center screen from within an MCC account; if you don't have an MCC account, then you'll need to create one first. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and

Re: Filter campaigns by bidding strategy

2012-04-02 Thread Ewan Heming
No, there isn't, but you can pull a report that lists the campaigns based on the eligibility criteria: ie having received at least 15 conversions in the past 30 days.http://www.google.com/ads/conversionoptimizer/get-started.html#tab=enable-conversion You can then use the campaign ids from the

Re: adhoc Report

2012-04-02 Thread Ewan Heming
Ad Hoc reports can be downloaded in a single request without having to create and upload a ReportDefinition first; this makes the process simpler to implement, places less load on the AdWords API servers (making reporting faster), and reduces the API unit costs to zero (as there was no charge

Re: ad hoc report vs api get calls

2012-04-02 Thread Ewan Heming
Hi, 1. Most of the get requests currentlyonly cost 1 unit per callhttp://code.google.com/apis/adwords/docs/ratesheet.html, so for example, if you download 10 campaigns, adgroups, keywords, or ads, it will cost you 10 units. If you need to download a large number of items in one go, then

Re: Documentation errors in TargetingIdeaService

2012-03-31 Thread Ewan Heming
Yes, I can see there are links at the top of the page for these attributes, but they've been removed from the table at the bottom. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com

Re: Does Adwords UI report counts all clicks from search partner's network

2012-03-30 Thread Ewan Heming
This forum is specifically focused on questions about the AdWords API, so the best place to ask your question is on the AdWords Community sitehttp://www.en.adwords-community.com/t5/AdWords-Community/ct-p/AdWords, or maybe even the Google Analytics

Re: Filter campaigns by bidding strategy

2012-03-29 Thread Ewan Heming
Can't you just filter your campaigns based on the conversion optimizer eligibility criteria? I think it's just that you've received at least 15 conversions in the past 30 days. http://www.google.com/ads/conversionoptimizer/get-started.html#tab=enable-conversion --

Re: where to do performance/load tests for adwords applications

2012-03-28 Thread Ewan Heming
Hi Sun, I think that you really need to build a mock that periodically throws the rate limit exception, then build your app to deal with the possibility that it could happen at any time. I believe that Google doesn't actually publish such limits because they depend on what the overall server

Re: Search keywords in account

2012-03-28 Thread Ewan Heming
The simplest thing to do is download a keyword performance reporthttp://code.google.com/apis/adwords/docs/appendix/reports.html#keywords and use a predicatehttp://code.google.com/apis/adwords/docs/reference/latest/AdGroupAdService.Predicate.htmlto select the keywords for which you're

Re: Is the 'id' for a product criterion unique?

2012-03-28 Thread Ewan Heming
I believe that all criterion ids are only unique within an AdGroup. Try creating an identical product criterion in a different AdGroup and see what id it's given; I know that a keyword with the same text and match type will get the same id. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: Adwords Tokens

2012-03-23 Thread Ewan Heming
For the record, I'm not a Google employee, so don't actually know why your specific application was rejected. However, I do a lot of work with the AdWords API, so I'm trying to get my head around the details of the TOS. I came across your post that suggested that the results of the

Re: Campaign Costs

2012-03-23 Thread Ewan Heming
You should just need to set the clientId property of the user to the customer id you obtained from the ServicedAccountService: $customerId = 1234512345; $user-SetClientId($customerId); Then the campaigns for that account will be returned. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: mutatejobservice get question

2012-03-23 Thread Ewan Heming
You should use the report service for this instead of get operations. Pull a keyword report with the following fields: - CampaignName - AdGroupName - KeywordText - KeywordMatchType - CampaignId - AdGroupId - KeywordId You'll then be able to write a script that would match your Excel sheets to

Re: Adwords Tokens

2012-03-21 Thread Ewan Heming
Hi @seonative, I was wondering about your tool called sitefactorhttp://www.sitefactor.de/; where exactly are you getting your Google Ranking data from? I wasn't aware that Google offered any API that gives access to such data. Are you using mechanical turk to check each search term manually?

Re: Bad authentication: widespread problem for every programmer

2012-03-19 Thread Ewan Heming
I can see that you've got something entered into the clientEmail header; this is now deprecated to accommodate MCC only accounts with no login email, so you have to use the clientCustomerId header instead.http://adwordsapi.blogspot.com/2011/11/discover-v201109-changes-to-accounts.html --

Re: error using GetKeywordOpportunities

2012-03-19 Thread Ewan Heming
I seem to remember something about the BulkOpportunityService being deprecated; however, I can't find a blog post about it. I don't think it's listed as a service in the V201109 documentationhttp://code.google.com/apis/adwords/docs/reference/latest/BulkOpportunityService.htmlanyway; the

Re: Creating keyword performace report usind adwords API

2012-03-19 Thread Ewan Heming
It's actually quite easy as the main difference is that you don't need to create a report before downloading it anymore. Something like the following should work (although I haven't tested it): $adGroupId = (float) $_GET['id']; $adGroupName = $_GET['name']; # Create ad group predicate.

Re: Instability of production APIs

2012-03-18 Thread Ewan Heming
Is it possible that your problem is due to the change to strict SOAP validationhttp://googleadsdeveloper.blogspot.com/2012/01/adwords-soap-header-validation-is-being.html in V201109? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group:

Re: Ad qualityScore - which report?

2012-03-15 Thread Ewan Heming
I wasn't aware you could get that metric via the web interface, so I'm not sure if you're going to be able to get it via the API either: It's possible to segment ad reports by keyword, but I don't think that keyword reports can be segmented by ad. --

Re: ServicedAccountService or InfoService

2012-03-12 Thread Ewan Heming
Hi Danial, OK, I'll just use the InfoService. However, it was a bit confusing because if I logged into the API using a non-mcc account that was linked to an mcc, then the ServicedAccountService worked fine; however, if the non-mcc account wasn't linked to any mcc at all, the result would be a

Re: Need authToken?

2012-03-11 Thread Ewan Heming
You can't use the clientEmail to login anymore; you have to use the customer id instead. This means that the following code won't work: $user-SetClientId(exam...@gmail.com); But this will: $user-SetClientId(123-456-7890); Only the customer id can be used now; this can be found in the

Re: AdWords API v201109 Performance vs. AdWords Editor

2012-03-10 Thread Ewan Heming
If you can get the fields you need using reportshttp://code.google.com/apis/adwords/docs/appendix/reports.html, then it'll probably be a bit faster than the AdWords Editor. If you use the get operations, then it could be much slower. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

ServicedAccountService or InfoService

2012-03-09 Thread Ewan Heming
Hi, Is there any difference between using the ServicedAccountService and InfoService while trying to retrieve the customer ID for a normal (non MCC) account? Thanks, Ewan -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group:

Re: URGENT: What should I enter to clientId?

2012-03-05 Thread Ewan Heming
If you're using PHP, you could try out the tutorial I put on my blog: http://www.ewanheming.com/2011/12/ppc-software-development/adwords-api/using-the-adwords-api-sandbox Hope it helps -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group:

Re: URGENT: What should I enter to clientId?

2012-03-05 Thread Ewan Heming
*:*14970.44343346992AdWordsSoapClient-__construct( )..\CampaignService.php*:*568680.44343346992AdsSoapClient-__construct( ) ..\AdWordsSoapClient.php*:*5390.44343349480SoapClient-SoapClient( ) ..\AdsSoapClient.php*:*163 On Monday, March 5, 2012 3:24:50 PM UTC+2, Ewan Heming wrote: If you're using PHP, you could try out

  1   2   >