Hi Api AdWords team,
Currently i can not get the BidModifier of Location although I created some
Location with BidModifier on the AdWords. All BidModifiers of all Location
are null. Are there any problem with my Campaign? My test code is below:
CampaignCriterionServiceInterface campaignCriterionService =
getCampaignCriterionServiceInterface();
Selector selector = new Selector();
selector.setFields(new String[] {"Id", "CampaignId",
"PlatformName", "CriteriaType", "BidModifier", "DayOfWeek",
"StartHour", "StartMinute", "EndHour", "EndMinute",
"LocationName", "DisplayType", "TargetingStatus",
"ParentLocations", "GeoPoint", "RadiusDistanceUnits",
"RadiusInUnits", "Address"});
List<Predicate> predicateList = new ArrayList<Predicate>();
Predicate campaignPredicate = new Predicate();
campaignPredicate.setField("CampaignId");
campaignPredicate.setOperator(PredicateOperator.EQUALS);
campaignPredicate.setValues(new
String[]{String.valueOf(campaignId)});
predicateList.add(campaignPredicate);
selector.setPredicates(predicateList.toArray(new
Predicate[predicateList.size()]));
CampaignCriterion[] campaignCriterions = null;
try {
campaignCriterions =
campaignCriterionService.get(selector).getEntries();
} catch (ApiException e) {
} catch (RemoteException e) {
}
Regards,
Justin
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.