28 lines
1.6 KiB
Ruby
28 lines
1.6 KiB
Ruby
json.key @BETTER_VIDEO_API_KEY
|
|
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
|
|
json.websiteurl campaign.websiteurl if campaign.websiteurl
|
|
json.zip campaign.zip if campaign.zip |