lstejskal/adapi

View on GitHub
examples/delete_ad_group.rb

Summary

Maintainability
A
0 mins
Test Coverage
# encoding: utf-8

require 'adapi'

require_relative 'add_bare_ad_group'

$ad_group.delete

$ad_group = Adapi::AdGroup.find(:first, :id => $ad_group.id, :campaign_id => $campaign.id)

puts "TRYING TO FIND IT: " + ($ad_group.present? ? $ad_group.attributes : "nil")