Greetings, i’m trying to add proximity target location with radius to campaign using Ruby, to achieve this i use CampaignCriterionService with
campaign_criteria = [
{ xsi_type: 'Proximity', radius_distance_units: 'kilometers', radius_in_units: 1.5, geo_point: { latitude_in_micro_degrees: 25.0428993, longitude_in_micro_degrees: 121.5688675 } }
]
operations = campaign_criteria.map do |criterion|
{ operator: 'ADD',
operand: {
campaign_id: campaign_id,
criterion: criterion}
}
but face such error - AdsCommon::Errors::ApiException: Unknown exception with error: Unmarshalling Error: Not a number: 25.0428993
i didn't find here in which format i should pass geo_point to proximity object:
any help will appreciate