Details
Description
Location extension is not created for an order if deployed through API
Steps :
1. Create a merchant through API.
2. Deploy an order with location extension through Api.
Expected Behavior
Location extension should be created in Google Adwords successfully .
Actual Behavior
Exception observed in listener log . (Attribute name (province) has value null) is showing in the log.
Lister log
2016-04-22 07:24:56.464 (3) [P18T1]: [oauth] Returning access token from OAuth service: ya29..zALKVCSqJY3P5jE4HbFch7zT1HW4uTm0uADDqbfltFRCtF-ZvwYErke7
2016-04-22 07:24:56.497 (3) [P18T1]: FeedItemChangeRequest (accountID 101): Sending 8 add requests
2016-04-22 07:24:56.498 (1) [P18T1]: Exception [Invalid attribute value for accountID: 101]:java.lang.IllegalArgumentException: Attribute name (province) has value null
at com.thesearchagency.searchengines.google.contenteditor.changerequest.feed.FeedItemChangeRequest.setAttributeValue(FeedItemChangeRequest.java:165)
at com.thesearchagency.searchengines.google.contenteditor.changerequest.feed.FeedItemChangeRequest.mapAttributeValues(FeedItemChangeRequest.java:135)
at com.thesearchagency.searchengines.google.contenteditor.changerequest.feed.FeedItemChangeRequest.getFeedItems(FeedItemChangeRequest.java:86)
at com.thesearchagency.searchengines.google.contenteditor.changerequest.feed.FeedItemChangeRequest.createRequest(FeedItemChangeRequest.java:37)
at com.thesearchagency.searchengines.google.contenteditor.changerequest.feed.FeedItemChangeRequest.createRequest(FeedItemChangeRequest.java:26)
at com.thesearchagency.searchengines.google.contenteditor.changerequest.BaseChangeRequest.makeRequest(BaseChangeRequest.java:94)
at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$SearchEngineUserWorker.handleFeedItems(GoogleContentEditor.java:1204)
at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$SearchEngineUserWorker.call(GoogleContentEditor.java:1028)
at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$SearchEngineUserWorker.call(GoogleContentEditor.java:1002)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Note :
Kindly find the attached log and the deployment request.