Added PI network to the condition to use affiliate_id instead of publisher_id field to identificate publishers.