I think maybe I can help clarify this directly. (If you’d still prefer to see a live example in action I’ll set it up on a non-client site for you to check out. Sound good?)
Here is the Local SEO area of the plugin, where a logo is defined.
Here are my structured data testing tool results for an AMP page with manual & auto-generated by WordPress AMP plugin schema settings. I set the logo image myself within functions.php because the native AMP plugin settings did not allow me to (correctly) set one within the interface.
Here is that code redacted for reference:
add_filter( 'amp_post_template_metadata', 'xyz_amp_modify_json_metadata', 10, 2 );
function xyz_amp_modify_json_metadata( $metadata, $post ) {
$metadata['@type'] = 'NewsArticle';
$metadata['publisher']['logo'] = array(
'@type' => 'ImageObject',
'url' => 'WEBSITEURL-amp-logo.png',
'height' => 60,
'width' => 600,
);
return $metadata;
}
add_action('wp_head', 'load_head_code');
As you can see, I put in a dedicated AMP logo image, with the dimensions demanded by Google’s documentation on the subject.
Then I turned on AMP support within Rank Math
And these are the structured data results afterwards.
As you can see, the overall result is better! There’s more detail about the article item itself, and it is formatted better. HOWEVER, for the logo area of the structured data, it is using the logo that is set in the Local SEO area, which is much larger than the 600 wide by 60 high image demanded by Google’s AMP spec. It also doesn’t have dimensions specified for that logo, which isn’t flagged as an error or warning, but is almost certainly preferred.
So the AMP support for Rank Math is working well, it’s just missing the ability to specify an AMP-specific logo that matches Google’s spec.