TargetingIdeaService not returning SearchParameters in results

163 views
Skip to first unread message

Calin Ignat

unread,
Jun 15, 2016, 5:13:07 AM6/15/16
to AdWords API Forum
Greetings,

I have a recent arisen problem with TargetingIdeaService, not returning the seed keywords...

For  example: 
If i add car rental Valencia airport to the SearchParameters that keyword will not be returned, if i don't add it or add another variation like car rental in Valencia airport it it will come within the results... but lose car rental in Valencia airport
Also,
I have another question, there are two soap requests in the log (attached), is that normal for one operation or there is a bug on my end making two requests?
I ask this because sometimes i get [soap:Server] [RateExceededError <rateName=RATE_LIMIT, rateKey=null, rateScope=ACCOUNT, retryAfterSeconds=30>] even if i don't seem to make a lot of requests, 1 every 2-3 seconds.

Thank you very much,
Good day.


object(TargetingIdeaSelector)[4014]
  public 'searchParameters' => 
    array (size=4)
      0 => 
        object(LanguageSearchParameter)[4017]
          public 'languages' => 
            array (size=1)
              0 => 
                object(Language)[4025]
                  public 'code' => null
                  public 'name' => null
                  public 'id' => int 1000
                  public 'type' => null
                  public 'CriterionType' => null
                  private '_parameterMap' (Criterion) => 
                    array (size=1)
                      'Criterion.Type' => string 'CriterionType' (length=13)
          public 'SearchParameterType' => null
          private '_parameterMap' (SearchParameter) => 
            array (size=1)
              'SearchParameter.Type' => string 'SearchParameterType' (length=19)
      1 => 
        object(RelatedToQuerySearchParameter)[4024]
          public 'queries' => 
            array (size=3)
              0 => string 'car rental VLC' (length=14)
              1 => string 'car hire VLC' (length=12)
              2 => string 'car rental Valencia airport' (length=27)
          public 'SearchParameterType' => null
          private '_parameterMap' (SearchParameter) => 
            array (size=1)
              'SearchParameter.Type' => string 'SearchParameterType' (length=19)
      2 => 
        object(LocationSearchParameter)[4020]
          public 'locations' => 
            array (size=1)
              0 => 
                object(Location)[4026]
                  public 'locationName' => null
                  public 'displayType' => null
                  public 'targetingStatus' => null
                  public 'parentLocations' => null
                  public 'id' => string '2840' (length=4)
                  public 'type' => null
                  public 'CriterionType' => null
                  private '_parameterMap' (Criterion) => 
                    array (size=1)
                      'Criterion.Type' => string 'CriterionType' (length=13)
          public 'SearchParameterType' => null
          private '_parameterMap' (SearchParameter) => 
            array (size=1)
              'SearchParameter.Type' => string 'SearchParameterType' (length=19)
      3 => 
        object(IdeaTextFilterSearchParameter)[4021]
          public 'included' => 
            array (size=7)
              0 => string '"VLC"' (length=5)
              1 => string '"car"' (length=5)
              2 => string '"cars"' (length=6)
              3 => string '"van"' (length=5)
              4 => string '"rent"' (length=6)
              5 => string '"rental"' (length=8)
              6 => string '"hire"' (length=6)
          public 'excluded' => 
            array (size=60)
              0 => string '"center"' (length=8)
              1 => string '"telephone"' (length=11)
              2 => string '"return"' (length=8)
              3 => string '"address"' (length=9)
              -----more unrelated negatives-----
          public 'SearchParameterType' => null
          private '_parameterMap' (SearchParameter) => 
            array (size=1)
              'SearchParameter.Type' => string 'SearchParameterType' (length=19)
  public 'ideaType' => string 'KEYWORD' (length=7)
  public 'requestType' => string 'IDEAS' (length=5)
  public 'requestedAttributeTypes' => 
    array (size=4)
      0 => string 'KEYWORD_TEXT' (length=12)
      1 => string 'SEARCH_VOLUME' (length=13)
      2 => string 'AVERAGE_CPC' (length=11)
      3 => string 'COMPETITION' (length=11)
  public 'paging' => 
    object(Paging)[4023]
      public 'startIndex' => int 0
      public 'numberResults' => int 500
  public 'localeCode' => null
  public 'currencyCode' => null
soap_xml.log
Message has been deleted

Shwetha Vastrad (AdWords API Team)

unread,
Jun 15, 2016, 2:49:02 PM6/15/16
to AdWords API Forum
Hi Calin,

To include a particular keyword in the TargetingIdeaService response, you need to include that keyword in the IdeaTextFilterSearchParameter. If you are want statistics for the seed keywords, you could consider using the TargetingIdeaService with RequestType set to STATS. Since the RequestType IDEAS is used to find other keywords related to the seed keywords, the seed keywords aren't included in the response. 

There are a total of 3 requests in the attached log. The first request is made to CustomerService to get the client details. The second and third requests are to the TargetingIdeaService. There are two requests because you are using paging to get the results. 

You might be hitting a rate limit if you have concurrent threads running to access the API. This guide describes some recommended practices to avoid the RateExceededError.

Regards,
Shwetha, AdWords API Team.

Calin Ignat

unread,
Jun 16, 2016, 1:30:11 AM6/16/16
to AdWords API Forum
Thank you, everything its a lot more clear now.
I've already changed the seed keywords just a bit so i get the good keywords back too. In the keyword planer the seed keyword is returned if it has volume, if i am not mistaken...
I don't always run multiple threads and when i do there are just two, when creating campaigns. But that error hits only sometimes even if i'm only sending 1 request every 2-5 seconds. From what I've notice its a bit random, sometimes i go days without any error, sometimes it comes after only a few requests.

Good day.

bukaroo

unread,
Dec 28, 2017, 12:32:19 PM12/28/17
to AdWords API Forum
What is the rate limit for concurrent threads? I can't find any concrete number in the docs.
Reply all
Reply to author
Forward
0 new messages