Re: SettingError.SETTING_TYPE_IS_NOT_AVAILABLE

2012-04-10 Thread Aaron Sherman
Note: there's also another thread on this same issue that I opened 
yesterday.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: CampaignOperation mutate suddenly failing with SettingError

2012-04-10 Thread Aaron Sherman
On Tuesday, April 10, 2012 12:22:48 PM UTC-4, Danial Klimkin wrote:
>
> Hi Aaron,
>
>
> There is a temporary issue affecting Sandbox only. We are working to 
> resolve it.
>
>>
>>
>>
Thank you very much for the follow-up. Should I expect to see an update, 
here, or just keep re-running the tests, periodically?
 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


CampaignOperation mutate suddenly failing with SettingError

2012-04-09 Thread Aaron Sherman
In code which has been running against the sandbox for some time now (in a 
test suite), I've just started to get SettingErrors. I've backed out all of 
our recent changes and re-tested, and code that worked just fine a few days 
ago, now fails as of this afternoon.

The error indicates a path which isn't in the request itself 
(operations[0].operand.settings[1]), so how do I find out what data the 
error is referencing?

If you need more detail, here's the request body:

 
  https://adwords.google.com/api/adwords/cm/v201109"; 
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201109";>
   
ADD

 Unit test campaign 
b8fac442-b174-4148-b7ea-a96997551341
 PAUSED
 
  DAILY
  
   5000
  
  STANDARD
 
 
 

   
  
 

And this is the response:


http://schemas.xmlsoap.org/soap/envelope/";>
 
  https://adwords.google.com/api/adwords/cm/v201109";>
   0004bd456fcc1b380a0ce10514f8
   CampaignService
   mutate
   1
   579
   1
  
 
 
  
   soap:Server
   [SettingError.SETTING_TYPE_IS_NOT_AVAILABLE @ 
operations[0].operand.settings[1]]
   
https://adwords.google.com/api/adwords/cm/v201109";>
 [SettingError.SETTING_TYPE_IS_NOT_AVAILABLE @ 
operations[0].operand.settings[1]]
 ApiException
 http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="SettingError">
  operations[0].operand.settings[1]
  
  SettingError.SETTING_TYPE_IS_NOT_AVAILABLE
  SettingError
  SETTING_TYPE_IS_NOT_AVAILABLE
 

   
  
 


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: LocationCriterionService Selector returns bogus values

2012-04-03 Thread Aaron Sherman
Thanks again for taking the time to reply.

With respect to using the CSV; this is where I had to go, but the problem 
is that in separate queries about the data in the CSVs being out of date, 
we've been told that if we want more current information we should use the 
location service. You see the circular nature of the problem...

One obvious solution is to take the CSV and verify it once every 
some-reasonable-period against the API, but if the API is likely to return 
"best guess" answers, then the verification isn't worth doing. What would 
help a bit is if we had some guarantees with respect to the "Last-Modified" 
header on the CSVs. At least then we could know that that date represented 
the last time the data was pulled (rather than just a timestamp on a file 
that might have been touched by an automated process).

However, the core problem remains: the CSV isn't current enough and the API 
isn't precise enough. One of those eventually needs to be fixed.


On Tuesday, April 3, 2012 11:16:53 AM UTC-4, Eric Koleda wrote:
>
> Hi Aaron,
>
> No, unfortunately it's not possible to change the results returned by that 
> service.  If you want to perform a more strict lookup you may want to 
> download the CSV and query that dataset locally:
>
> https://developers.google.com/adwords/api/docs/appendix/geotargeting
>
> Best,
> - Eric
>
> On Monday, April 2, 2012 6:57:01 PM UTC-4, Aaron Sherman wrote:
>>
>>
>>
>> On Monday, April 2, 2012 4:27:32 PM UTC-4, Eric Koleda wrote:
>>>
>>> Hi Aaron,
>>>
>>> The short answer is that the LocationCriterionService returns suggested 
>>> locations given your input, and those suggestions may occasionally include 
>>> some seemingly off-topic results.  For the input "Abbeville, Alabama" I 
>>> wasn't able to get the behavior you're seeing, so it may have been a 
>>> temporary issue.
>>>
>>>>
>>>>
>> Hmmm... I'll have to perform some more testing. Is there any way to turn 
>> off the "suggestions" and just get entries whose LocationName could 
>> rationally be said to be "equal" to the requested value?
>>
>>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: LocationCriterionService Selector returns bogus values

2012-04-02 Thread Aaron Sherman


On Monday, April 2, 2012 4:27:32 PM UTC-4, Eric Koleda wrote:
>
> Hi Aaron,
>
> The short answer is that the LocationCriterionService returns suggested 
> locations given your input, and those suggestions may occasionally include 
> some seemingly off-topic results.  For the input "Abbeville, Alabama" I 
> wasn't able to get the behavior you're seeing, so it may have been a 
> temporary issue.
>
>>
>>
Hmmm... I'll have to perform some more testing. Is there any way to turn 
off the "suggestions" and just get entries whose LocationName could 
rationally be said to be "equal" to the requested value?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: LocationCriterionService Selector returns bogus values

2012-03-16 Thread Aaron Sherman
On Friday, March 16, 2012 5:22:31 AM UTC-4, Anash P. Oommen wrote:
>
>
> Could you please post the sanitized xml or the request id for this request?
>
>>
>>
Anash, this is the request ID in the response headers:

   0004bb5e111358380a0c0b28547d

The body of my request is:

  https://adwords.google.com/api/adwords/cm/v201109"; 
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201109";>
   
Id
CriteriaType
LocationName
IsObsolete
ParentLocations

 LocationName
 EQUALS
 Abbeville, Alabama

   
  

Hope that helps in tracking this down. PS: this is repeatable, and happens 
for many locations. For example matching on "EQUALS" for "LocationName" of 
"Boston" gets the expected "Boston" entry for Massachusetts, USA, but also 
returns an entry for "Dayton, OH".

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


LocationCriterionService Selector returns bogus values

2012-03-15 Thread Aaron Sherman
When requesting LocationCriterionService entries, I use the following 
Predicate in my Selector:

field: LocationName
operator: EQUALS
values: [ 'Abbeville, Alabama' ]

and I get a result which includes:

   'id': '1012927',
   'locationName': 'Abbeville',
   'parentLocations':
'displayType': 'State',
'id': '21133',
'locationName': 'Alabama'},

and:

   'id': '1023149',
   'locationName': 'Middleport',
   'parentLocations':
'displayType': 'State',
'id': '21167',
'locationName': 'New York'

I've abbreviated this output a bit, but all of the essentials are there. 
Why is a city in New York being returned?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en