Re: PHP: Get "exact monthly local traffic for keyword"-value from Adwords API

2011-12-29 Thread Evgeniy Bogdanov
As I see you've deleted some important parts of code: // Create selector. Important! What data you want to load? $selector = new TargetingIdeaSelector(); $selector->requestType = 'IDEAS'; $selector->ideaType = 'KEYWORD'; $selector->requestedAttributeTypes = array('CRITERION', 'AVER

Re: SET-Operation not supported

2011-12-29 Thread Minh Le
I got the same problem with you. As I already knew by doing searching on the internet, CampaignCriterionOperation only supports ADD and REMOVE even though it has SET operator. So that, I'm facing a critical error, EntityCountLimitExceeded.CAMPAIGN_LIMIT, when I added the criteria to CampaignCriter

Re: PHP: Get "exact monthly local traffic for keyword"-value from Adwords API

2011-12-29 Thread jepster
Thank's for your answer, but I still cannot solve it. The following is my whole code, which I get the error message "Unmarshalling Error: cvc-type.2: The type definition cannot be abstract for element ns1:searchParameters." http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl

[v201109] SET-Operation not supported

2011-12-29 Thread Roger
Dear Adwords-Team, I'm currently updating my code to the new api-version. In version v201101 the SET-operation can be used to completely overwrite all campaign criterions, but in the new api-version I only get a "[OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0]]". The SET-operation shoul

Re: Location target - find id of cities

2011-12-29 Thread Minh Le
Thanks for your reply. I'm using .NET & C#. I've got the solution from the similar example in the API package. However, it's so painful when I have to look up for over 100 location ids for each campaign! public static void Main(string[] args) { Location loc = new Location(); string st

Regarding v201109 Geo Performance Report

2011-12-29 Thread SEM
Hi, The documentation for Geo Performance Report in v201109 (http:// code.google.com/intl/en/apis/adwords/docs/appendix/reports.html#geo) has Data Type as "Integer" but says that the value is a String for the below criteria_id columns: RegionCriteriaId CountryCriteriaId CityCriteriaId MetroCriter

Re: Pending approval - 239-235-1063

2011-12-29 Thread Evgeniy Bogdanov
Hi. Did you tried to ping adwordsapi-to...@google.com with this problem? Regards, Evgeniy. On 29 дек, 22:21, Online Marketing wrote: > Our API Key has been pending for more than 3 weeks. Can I get an > update on the statue? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on o

Re: DEFAULT_VERSION

2011-12-29 Thread Evgeniy Bogdanov
1) If you will setup DEFAULT_VERSION to v201109 and will not specify in service object constructor other version - library will use specified version: v201109. 2) How do you see that kind of realization? Google do not promise any backward compatibility, neither API or library. So this idea will no

Re: Location target - find id of cities

2011-12-29 Thread Evgeniy Bogdanov
Hi Minh. For PHP you can take a look on example in official library: http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201109/GetLocationCriteria.php Regards, Evgeniy. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group:

Location target - find id of cities

2011-12-29 Thread Minh Le
How to find the criteriaId of a city if I know the city name? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received

Re: DEFAULT_VERSION

2011-12-29 Thread Luis Siquot
My questions are: 1) if I setup DEFAULT_VERSION to "v201109", are ALL objects and methods in the php client library "forced" to use that API version? 2) or, instead, will the php client library automatically use the "proper" API version for non-matching methods/objects? 3) If so, how can I know

Pending approval - 239-235-1063

2011-12-29 Thread Online Marketing
Our API Key has been pending for more than 3 weeks. Can I get an update on the statue? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

CampaignCriterionOperation Operator.SET

2011-12-29 Thread Minh Le
I used CampaignCriterionOperation to add criteria to the campaigns. However, when I used Operator.SET, I got error messages like OperatorError.OPERATOR_NOT_SUPPORTED. Then I changed to Operator.ADD, and then I got errors messages like EntityCountLimitExceeded.CAMPAIGN_LIMIT after running the servi

Re: Filtering reports by city

2011-12-29 Thread Evgeniy Bogdanov
Hi Mikael. Unfortunately you didn't point what type of library and programming language do you use. Problem is that in v201109 changed idea of targeting. Now for all locations you need to specify ID of location, not it's name. You can get know this ID by calling LocationCriterionService (http:/

Re: DEFAULT_VERSION

2011-12-29 Thread Evgeniy Bogdanov
Hi Luis. This constant is used to point library which version of API should be used by default to connect. So you can use just: $targetingIdeaService = $user->GetService('TargetingIdeaService'); Instead of: $targetingIdeaService = $user->GetService('TargetingIdeaService', 'v201109'); Regards, E

Re: PHP: Get "exact monthly local traffic for keyword"-value from Adwords API

2011-12-29 Thread Evgeniy Bogdanov
My code were outdated. For not last version of API (which is currently v201109). I've researched this issue and this is new version of code that you need, it's based on examples/v201109/GetRelatedKeywords.php, changes are commented: try { // Get AdWordsUser from credentials in "../auth.ini" //

Re: deprecation doubt

2011-12-29 Thread nithin
Yes after sunset it wont work. On Dec 29, 2:22 am, Luis Siquot wrote: > Anash, thanks for your quick answer. > > so I was reading the documentation that comes with the library and I am > still a little bit  confused. > > for example, I'm using these objects below from the library on my app: > > x

DEFAULT_VERSION

2011-12-29 Thread Luis Siquot
Can you please let me know what is [SERVER] DEFAULT_VERSION = "v201101" for? Thank you. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

[BidLandscape.LandscapePoint] How to get "Estimated Top Impressions" ?

2011-12-29 Thread Durk Kingma
Dear All, For our adwords optimizing program we need API access to the "estimated top impressions" for each point in the BidLandscape. Does anyone when this measure will become available? Kind regards, Durk KIngma -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog an

Re: PHP: Get "exact monthly local traffic for keyword"-value from Adwords API

2011-12-29 Thread jepster
I mean that the function CountryTargetSearchParameter() is defined in the file TargetingIdeaService.php. So why this error? On 28 Dez., 23:14, jepster <400...@googlemail.com> wrote: > Thank's for sharing your code. > > I've tried your code and I get always the error. > > Fatal error: Call to unde