Location criteria, first introduced in v201109, are undergoing some changes for the v201206 release. This blog post explains these changes and what they mean for your software.
PHASING_OUT obsolete Location criteria
The Location criteria object has a new field,
targetingStatus, which can be one of ACTIVE, OBSOLETE and PHASING_OUT.
- ACTIVE Locations can be targeted as normal.
- OBSOLETE Location targets have been retired and cannot be targeted.
- PHASING_OUT Locations will shortly become obsolete and should not be targeted.
Locations can be phased out for a number of reasons: the location may be re-structured into smaller (or larger areas), geo-political changes, etc. The AdWords UI reflects these changes and now the AdWords API will make these changes visible to developers. We will publish a blog post 4 weeks in advance of a location moving to PHASING_OUT.
What this means for your software
As of the launch of v201206, Location criteria that are PHASING_OUT will still be accepted. Starting 4 weeks later (week of 7/23), adding these targets will cause a CriterionError.Reason.CANNOT_TARGET_CRITERION error message. Please make sure before adding a Location target that it is ACTIVE. Choose a different target if it is labeled OBSOLETE or PHASING_OUT.
Soon to PHASE_OUT
Check out this
help center article to learn which specific locations will be removed after July 23rd. The article also provides more detail about the phasing-out process in general.
In addition, we will introduce two new separate targets, one for Serbia and one for Montenegro in the coming weeks. These new targets will replace the current single Serbia Montenegro target, and the targeting status of Serbia Montenegro will change to PHASING_OUT sometime after July 27th.
We have documented this new status field in our downloadable
documentation. The LocationCriterionService and CampaignCriterionService will also populate this field. Please update your code to check this field or your application may break.
If you have any questions, please post on
the forum or attend one of the
AdWords API Office Hours Hangouts.
- Kevin Winter, AdWords API Team