You are here

function dfp_tag_save in Doubleclick for Publishers (DFP) 7

Same name and namespace in other branches
  1. 7.2 dfp.module \dfp_tag_save()

Save a single tag.

File

./dfp.module, line 498

Code

function dfp_tag_save(&$tag) {
  $update = isset($tag->adid) && is_numeric($tag->adid) ? array(
    'adid',
  ) : array();
  return drupal_write_record('dfp_tags', $tag, $update);
}