Skip to content

Instantly share code, notes, and snippets.

@mayra-cabrera
Created January 27, 2016 16:30
Show Gist options
  • Save mayra-cabrera/cd6dbd83abdabdc35d3c to your computer and use it in GitHub Desktop.
Save mayra-cabrera/cd6dbd83abdabdc35d3c to your computer and use it in GitHub Desktop.
{:line_item=>
{:start_date_time=>{:date=>{:year=>2016, :month=>1, :day=>27}, :hour=>17, :minute=>57, :second=>0, :time_zone_id=>"America/Mexico_City"},
:end_date_time=>{:date=>{:year=>2016, :month=>1, :day=>28}, :hour=>23, :minute=>59, :second=>0, :time_zone_id=>"America/Mexico_City"},
:line_item_type=>"STANDARD",
:cost_type=>"CPM",
:delivery_rate_type=>"EVENLY",
:primary_goal=>{:goal_type=>"LIFETIME", :unit_type=>"IMPRESSIONS", :units=>10},
:creative_rotation_type=>"EVEN",
:frequency_caps=>[{:max_impressions=>3, :num_time_units=>24, :time_unit=>"HOUR"}],
:creative_placeholders=>[{:size=>{:width=>728, :height=>90, :is_aspect_ratio=>false}, :creative_size_type=>"PIXEL"}],
:targeting=>{:geo_targeting=>{:targeted_locations=>[{:id=>2484, :type=>"COUNTRY", :display_name=>"Mexico"}]}, :inventory_targeting=>{:targeted_placement_ids=>[1844203]}}},
:advertiser_id=>"570690043"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment