Hi,
    We inadvertently pushed some incorrect validation for this attribute 
that affects v201109_1.  V201109 should be unaffected an can be used as a 
temporary workaround.  We hope to have a fix for this shortly.  I apologize 
for the inconvenience.

- Kevin Winter
AdWords API Team

On Thursday, June 28, 2012 6:59:59 AM UTC-4, Alexander Nitschke wrote:
>
> I have an urgent problem: The TargetingIdeaService used to work fine - 
> until yesterday. There were no changes in the coding, but suddenly the 
> TargetingIdeaService is producing an exception 
> [TargetingIdeaError.INVALID_ATTRIBUTE_TYPE @ selector; 
> trigger:'CRITERION']. According to the doc, this exception could happen if 
> the IdeaType would be IdeaType.PLACEMENT along with an 
> AttributeType.CRITERION, understandably so. But our IdeaType is 
> IdeaType.KEYWORD as it always was, so this looks like a bug introduced 
> today. Any remedies are urgently needed. Here is our basic code snippet:
>
>         Dim targetingIdeaService As TargetingIdeaService = 
> user.GetService(AdWordsService.v201109_1.TargetingIdeaService)
>
>         ' Create the selector.
>         Dim selector As New TargetingIdeaSelector
>         selector.requestType = RequestType.IDEAS
>         selector.ideaType = IdeaType.KEYWORD
>         selector.requestedAttributeTypes = New AttributeType() 
> {AttributeType.CRITERION, AttributeType.AVERAGE_TARGETED_MONTHLY_SEARCHES}
>
>         ' Define paging to limit results.
>         Dim paging As New Paging
>         paging.startIndex = 0
>         paging.numberResults = 200
>         selector.paging = paging
>
>         ' Create related to url search parameter.
>         Dim relatedToUrlSearchParameter As New RelatedToUrlSearchParameter
>         relatedToUrlSearchParameter.urls = New String() {url}
>
>         ' Landesweit
>         Dim Location As New Location
>         Location.id = GCountryId
>
>         Dim locationSearchParameter As New LocationSearchParameter
>         locationSearchParameter.locations = New Location() {Location}
>
>         selector.searchParameters = New SearchParameter() 
> {relatedToUrlSearchParameter}
>
>         Dim strMsg As String = ""
>         Try
>             Dim page As TargetingIdeaPage = 
> targetingIdeaService.get(selector)
>  
>             ' Code removed, here the Keywords are saved, but it doesn't 
> get here anyway
>
>         Catch ex As Exception
>             strMsg = "Failed to retrieve related keywords. Exception says 
> " & ex.InnerException.Message
>         End Try
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to