You are here

AdTypes.php in Facebook Instant Articles 8.2

Same filename and directory in other branches
  1. 3.x src/AdTypes.php

File

src/AdTypes.php
View source
<?php

namespace Drupal\fb_instant_articles;


/**
 * Ad type constants.
 */
final class AdTypes {

  /**
   * No ads will automatically be inserted into Instant Articles.
   */
  const AD_TYPE_NONE = 'none';

  /**
   * Use Facebook Audience Network for ads.
   */
  const AD_TYPE_FBAN = 'fban';

  /**
   * Use an IFrame as the method of placing ads into Instant Articles.
   */
  const AD_TYPE_SOURCE_URL = 'source_url';

  /**
   * Use a custom embed code for ads placed into Instant Articles.
   */
  const AD_TYPE_EMBED_CODE = 'embed_code';

}

Classes

Namesort descending Description
AdTypes Ad type constants.