<div data-ads><div style="margin:20px 0px 20px 0px"><strong><?php echo __('State') ?></strong></div><div data-state class="<?php echo join(chr(32), $block->getState()['class']) ?>"><?php foreach($block->getState()['notes'] as $note): ?> <div><?php echo $note ?></div><?php endforeach ?> <?php if ($block->getErrors()) : ?> <div data-ads-errors><div><strong><?php echo __('Encountered a few errors') ?></strong></div><?php foreach($block->getErrors() as $error): ?> <div><?php echo $error ?></div><?php endforeach ?></div><?php endif ?></div><?php if ($block->getConversionActions()): ?> <div style="margin:20px 0px 20px 0px"><strong><?php echo __('All conversion actions') ?></strong></div><table><tr><th><?php echo __('Conversion Name') ?></th><th width="200"><?php echo __('Conversion Action Id') ?></th></tr><?php foreach($block->getConversionActions() as $action): ?> <tr><td><?php echo $action->getConversionAction()->getName() ?></td><td width="200"><?php echo $action->getConversionAction()->getId() ?></td></tr><?php endforeach ?></table><?php else: ?> <div><p><?php echo __('No available conversion actions found.') ?></p></div><?php endif ?> <div style="margin:20px 0px 20px 0px"><strong><?php echo __('Setup information') ?></strong></div><?php if ($block->getSetup()): ?> <table><?php foreach($block->getSetup() as $entity): ?> <tr><td><?php echo __('Resource name') ?></td><td><?php echo $entity->getCustomer()->getResourceName() ?></td></tr><tr><td><?php echo __('Conversion Tracking ID') ?></td><td><?php echo $entity->getCustomer()->getConversionTrackingSetting()->getConversionTrackingId() ?></td></tr><tr><td><?php echo __('Conversion Tracking Status') ?></td><td><?php echo $entity->getCustomer()->getConversionTrackingSetting()->getConversionTrackingStatus() ?></td></tr><tr><td><?php echo __('Google Ads Conversion Customer') ?></td><td><?php echo $entity->getCustomer()->getConversionTrackingSetting()->getGoogleAdsConversionCustomer() ?></td></tr><?php endforeach ?></table><?php else: ?> <div><p><?php echo __('No setup information found.') ?></p></div><?php endif ?></div>