__( 'Manifest signed', 'geistm-adnet' ), 'done' => $geistm_signed_ok, 'note' => $geistm_signed_ok ? __( 'Your site declaration is signed and current.', 'geistm-adnet' ) : sprintf( /* translators: %s: link to the overview tab */ __( 'Approve & sign on the %s tab first — the network only trusts a signed declaration.', 'geistm-adnet' ), '' . esc_html__( 'Overview', 'geistm-adnet' ) . '' ), ); if ( $geistm_net ) { $geistm_scan = isset( $geistm_net['scan'] ) ? $geistm_net['scan'] : array(); $geistm_exch = isset( $geistm_net['exchange'] ) ? $geistm_net['exchange'] : array(); $geistm_dns = isset( $geistm_net['dns'] ) ? $geistm_net['dns'] : array(); $geistm_rows[] = array( 'label' => __( 'Discovered', 'geistm-adnet' ), 'done' => ! empty( $geistm_scan['indexed'] ), 'note' => ! empty( $geistm_scan['indexed'] ) ? __( 'Your site is listed in the network\'s discovery index.', 'geistm-adnet' ) : ( isset( $geistm_scan['reachable'] ) && false === $geistm_scan['reachable'] ? __( 'The discovery index could not be reached — try again in a minute.', 'geistm-adnet' ) : __( 'Not listed yet. Check & Connect submits your site; indexing usually completes within a few minutes.', 'geistm-adnet' ) ), ); $geistm_rows[] = array( 'label' => __( 'Signature verified', 'geistm-adnet' ), 'done' => ! empty( $geistm_scan['signed'] ) && ! empty( $geistm_scan['hashValid'] ), 'note' => ( ! empty( $geistm_scan['signed'] ) && ! empty( $geistm_scan['hashValid'] ) ) ? __( 'The network has confirmed your signed declaration.', 'geistm-adnet' ) : __( 'The index hasn\'t confirmed your latest signature yet. Sign your manifest, then Check & Connect to request a fresh review.', 'geistm-adnet' ), ); $geistm_dns_ok = ! empty( $geistm_dns['present'] ) || ! empty( $geistm_scan['dnsVerified'] ); $geistm_rows[] = array( 'label' => __( 'Domain verified', 'geistm-adnet' ), 'done' => $geistm_dns_ok, 'note' => $geistm_dns_ok ? __( 'Your DNS verification record is in place — your site qualifies for more campaigns.', 'geistm-adnet' ) : __( 'Optional but recommended: add the DNS record below (like a Search Console verification record) to qualify for campaigns that require a verified domain.', 'geistm-adnet' ), ); $geistm_exch_unreachable = isset( $geistm_exch['reachable'] ) && false === $geistm_exch['reachable']; if ( ! empty( $geistm_exch['registered'] ) ) { $geistm_matches = intval( $geistm_exch['matches'] ); if ( 'browser' === ( $geistm_exch['via'] ?? '' ) ) { $geistm_match_note = sprintf( /* translators: %d: number of matched campaigns */ __( 'Registered with the matcher — %d campaigns matched (checked from your browser). Your server can\'t reach the network host directly; ads still work — they load in your visitors\' browsers.', 'geistm-adnet' ), $geistm_matches ); } elseif ( $geistm_matches > 0 ) { $geistm_match_note = sprintf( /* translators: %d: number of matched campaigns */ _n( 'Registered with the matcher — %d campaign currently matched to your site.', 'Registered with the matcher — %d campaigns currently matched to your site.', $geistm_matches, 'geistm-adnet' ), $geistm_matches ); } else { $geistm_match_note = __( 'Registered with the matcher. Matches appear within about 10 minutes of connecting.', 'geistm-adnet' ); } $geistm_rows[] = array( 'id' => 'geistm-row-matching', 'label' => __( 'Ad matching', 'geistm-adnet' ), 'done' => true, 'note' => $geistm_match_note, ); } else { $geistm_rows[] = array( 'id' => 'geistm-row-matching', 'label' => __( 'Ad matching', 'geistm-adnet' ), 'done' => false, 'unreachable' => $geistm_exch_unreachable, 'note' => $geistm_exch_unreachable ? __( 'Your server couldn\'t reach the ad network host (often DNS or a firewall at your hosting provider). Checking from your browser instead…', 'geistm-adnet' ) : __( 'Not registered with the matcher yet — Check & Connect takes care of it.', 'geistm-adnet' ), ); } } ?>
| ✓ ○ | ||
| ○ |
TXT ""