feat: add new methods for direct product retrieval and improve offer ID handling in GoogleAdsApi class

This commit is contained in:
2026-02-22 15:23:34 +01:00
parent 95cfb7a495
commit 9fb7b20828
4 changed files with 216 additions and 86 deletions

View File

@@ -1517,7 +1517,7 @@ $( function()
( AI_CLAUDE_ENABLED ? '<button type="button" class="btn btn-sm btn-ai-suggest btn-ai-claude" data-field="title" data-provider="claude" title="Zaproponuj tytuł przez Claude"><i class="fa-solid fa-brain"></i> Claude</button>' : '' ) +
( AI_GEMINI_ENABLED ? '<button type="button" class="btn btn-sm btn-ai-suggest btn-ai-gemini" data-field="title" data-provider="gemini" title="Zaproponuj tytuł przez Gemini"><i class="fa-solid fa-diamond"></i> Gemini</button>' : '' ) +
'</div>' +
'<small>0/150 znaków</small>' +
'<small class="js-title-char-count">0/150 znaków</small>' +
'<div class="title-ai-alternatives" style="margin-top:8px;display:none;"></div>' +
'</div>' +
'<div class="form-group">' +
@@ -1610,7 +1610,7 @@ $( function()
var jc = this;
var $form = this.$content.find( 'form' );
var $inputField = this.$content.find( '.name' );
var $charCount = this.$content.find( 'small' ).first();
var $charCount = this.$content.find( '.js-title-char-count' );
var $description = this.$content.find( '.description' );
var $productUrl = this.$content.find( '.product-url' );
var $googleCategory = this.$content.find( '.google-category' );