Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Discover v201109: Filtering on Criterion type
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
AdWords API Team  
View profile  
 More options Nov 16 2011, 11:28 am
From: AdWords API Team <adwordsapiadvi...@google.com>
Date: Wed, 16 Nov 2011 16:28:17 +0000
Local: Wed, Nov 16 2011 11:28 am
Subject: [AdWords API Blog] Discover v201109: Filtering on Criterion type

We've noticed a popular question in the forum: “How do I retrieve criteria  
of a specific type via the API?”. Previously, there was no straightforward  
way to filter by the criterion type on the server side and the only  
workaround was to retrieve all criteria and process the list on the client  
side.

In v201109 we introduced a new filterable field called 'CriteriaType' to  
the Criterion object. For example, the following request will return  
criteria of types 'KEYWORD' and 'PLACEMENT' only:

<get>
   <serviceSelector>
     <fields>Id</fields>
     <fields>CriteriaType</fields>
     <predicates>
       <field>CriteriaType</field>
       <operator>IN</operator>
       <values>KEYWORD</values>
       <values>PLACEMENT</values>
     </predicates>
   </serviceSelector>
</get>

You can find out the list of available criteria types in the documentation.

We hope this enhancement will make it easier to work with criteria. Please  
visit the forum or join our Google+ Hangout today if you have any questions  
regarding this change.

Danial Klimkin, AdWords API Team.

--
Posted By AdWords API Team to AdWords API Blog at 11/16/2011 08:28:00 AM


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »