Facebook横幅广告大小

时间:2019-06-04 10:22:03

标签: ios swift facebook-audience-network

我在自己的应用程序中集成了Facebook横幅广告,但是我觉得尺寸有问题。

/**
 * Add test
 */
add_action( 'woocommerce_after_single_product_summary', 'tjobbetest', 5 );

function tjobbetest() {
    $current_tags = get_the_terms( get_the_ID(), 'product_tag' );

    //only start if we have some tags
    if ( $current_tags && ! is_wp_error( $current_tags ) ) { 

        //create a list to hold our tags
        echo '<ul class="product_tags">';

        //for each tag we create a list item
        foreach ($current_tags as $tag) {

            $tag_title = $tag->name; // tag name

            echo '<li><img src="/img/tags/'.$tag_title.'.png"></li>';
        }

        echo '</ul>';
    }
}

Facebook ad size

1 个答案:

答案 0 :(得分:0)

我刚刚注释了这一行,横幅现在看起来不错!

// fbAdView.frame = CGRect(x: 0, y: 0, width: 320, height: 90)
相关问题