2014-04-21 15:07:45 +00:00
|
|
|
json.address campaign.address if campaign.address
|
|
|
|
json.advertisername campaign.advertisername if campaign.advertisername
|
|
|
|
json.awards campaign.awards if campaign.awards
|
|
|
|
json.background campaign.background if campaign.background
|
|
|
|
json.billingcode campaign.billingcode if campaign.billingcode
|
|
|
|
json.businessphone campaign.businessphone if campaign.businessphone
|
|
|
|
json.categories campaign.categories if campaign.categories
|
|
|
|
json.city campaign.city if campaign.city
|
|
|
|
json.clientid campaign.clientid if campaign.clientid
|
|
|
|
json.companycolors campaign.companycolors if campaign.companycolors
|
|
|
|
json.contactphone campaign.contactphone if campaign.contactphone
|
|
|
|
json.customerfirstname campaign.customerfirstname if campaign.customerfirstname
|
|
|
|
json.customerlastname campaign.customerlastname if campaign.customerlastname
|
|
|
|
json.description campaign.description if campaign.description
|
|
|
|
json.emailaddress campaign.emailaddress if campaign.emailaddress
|
|
|
|
json.facebookurl campaign.facebookurl if campaign.facebookurl
|
|
|
|
json.listingcode campaign.listingcode if campaign.listingcode
|
|
|
|
json.productsandservices campaign.productsandservices if campaign.productsandservices
|
|
|
|
json.state campaign.state if campaign.state
|
|
|
|
json.targetaudience campaign.targetaudience if campaign.targetaudience
|
|
|
|
json.tollfreephone campaign.tollfreephone if campaign.tollfreephone
|
|
|
|
json.videolistings campaign.videolistings.each do |videolisting|
|
|
|
|
json.partial! 'campaigns/videolisting', videolisting: videolisting
|
|
|
|
end
|
|
|
|
json.vpa campaign.vpa if campaign.vpa
|
2014-05-05 18:07:33 +00:00
|
|
|
json.vpa_email campaign.vpa_email if campaign.vpa_email
|
2014-04-21 15:07:45 +00:00
|
|
|
json.websiteurl campaign.websiteurl if campaign.websiteurl
|
|
|
|
json.zip campaign.zip if campaign.zip
|